Lines Matching refs:reslen

3210     int		reslen;  in spell_soundfold_sal()  local
3250 i = reslen = z = 0; in spell_soundfold_sal()
3407 if (reslen > 0 && *s != NUL && (res[reslen - 1] == c in spell_soundfold_sal()
3408 || res[reslen - 1] == *s)) in spell_soundfold_sal()
3409 reslen--; in spell_soundfold_sal()
3430 while (*s != NUL && s[1] != NUL && reslen < MAXWLEN) in spell_soundfold_sal()
3432 if (reslen == 0 || res[reslen - 1] != *s) in spell_soundfold_sal()
3433 res[reslen++] = *s; in spell_soundfold_sal()
3441 res[reslen++] = c; in spell_soundfold_sal()
3459 if (k && !p0 && reslen < MAXWLEN && c != NUL in spell_soundfold_sal()
3460 && (!slang->sl_collapse || reslen == 0 in spell_soundfold_sal()
3461 || res[reslen - 1] != c)) in spell_soundfold_sal()
3463 res[reslen++] = c; in spell_soundfold_sal()
3471 res[reslen] = NUL; in spell_soundfold_sal()
3490 int reslen; in spell_soundfold_wsal() local
3538 i = reslen = z = 0; in spell_soundfold_wsal()
3702 if (reslen > 0 && ws != NULL && *ws != NUL in spell_soundfold_wsal()
3703 && (wres[reslen - 1] == c in spell_soundfold_wsal()
3704 || wres[reslen - 1] == *ws)) in spell_soundfold_wsal()
3705 reslen--; in spell_soundfold_wsal()
3730 && reslen < MAXWLEN) in spell_soundfold_wsal()
3732 if (reslen == 0 || wres[reslen - 1] != *ws) in spell_soundfold_wsal()
3733 wres[reslen++] = *ws; in spell_soundfold_wsal()
3744 wres[reslen++] = c; in spell_soundfold_wsal()
3763 if (k && !p0 && reslen < MAXWLEN && c != NUL in spell_soundfold_wsal()
3764 && (!slang->sl_collapse || reslen == 0 in spell_soundfold_wsal()
3765 || wres[reslen - 1] != c)) in spell_soundfold_wsal()
3767 wres[reslen++] = c; in spell_soundfold_wsal()
3777 for (n = 0; n < reslen; ++n) in spell_soundfold_wsal()