Lines Matching refs:ws
3486 int *ws; in spell_soundfold_wsal() local
3550 for (; ((ws = smp[n].sm_lead_w)[0] & 0xff) == (c & 0xff) in spell_soundfold_wsal()
3551 && ws[0] != NUL; ++n) in spell_soundfold_wsal()
3555 if (c != ws[0]) in spell_soundfold_wsal()
3560 if (word[i + 1] != ws[1]) in spell_soundfold_wsal()
3565 if (word[i + j] != ws[j]) in spell_soundfold_wsal()
3622 for ( ; ((ws = smp[n0].sm_lead_w)[0] & 0xff) in spell_soundfold_wsal()
3626 if (c0 != ws[0]) in spell_soundfold_wsal()
3631 if (word[i + k] != ws[1]) in spell_soundfold_wsal()
3637 if (*pf++ != ws[j]) in spell_soundfold_wsal()
3696 ws = smp[n].sm_to_w; in spell_soundfold_wsal()
3702 if (reslen > 0 && ws != NULL && *ws != NUL in spell_soundfold_wsal()
3704 || wres[reslen - 1] == *ws)) in spell_soundfold_wsal()
3709 if (ws != NULL) in spell_soundfold_wsal()
3710 while (*ws != NUL && word[i + k0] != NUL) in spell_soundfold_wsal()
3712 word[i + k0] = *ws; in spell_soundfold_wsal()
3714 ws++; in spell_soundfold_wsal()
3728 if (ws != NULL) in spell_soundfold_wsal()
3729 while (*ws != NUL && ws[1] != NUL in spell_soundfold_wsal()
3732 if (reslen == 0 || wres[reslen - 1] != *ws) in spell_soundfold_wsal()
3733 wres[reslen++] = *ws; in spell_soundfold_wsal()
3734 ws++; in spell_soundfold_wsal()
3737 if (ws == NULL) in spell_soundfold_wsal()
3740 c = *ws; in spell_soundfold_wsal()