Lines Matching refs:NUL
172 int use_camel_case = *wp->w_s->b_p_spo != NUL; in spell_check()
224 } while (*mi.mi_fend != NUL && spell_iswordp(mi.mi_fend, wp) in spell_check()
249 if (*mi.mi_fend != NUL) in spell_check()
469 if (flen <= 0 && *mip->mi_fend != NUL) in find_word()
500 if (ptr[wlen] == NUL) in find_word()
538 if (flen <= 0 && *mip->mi_fend != NUL) in find_word()
730 mip->mi_compflags[mip->mi_complen + 1] = NUL; in find_word()
951 for (i = 0; flags[i] != NUL; ++i) in can_compound()
953 *p = NUL; in can_compound()
984 for (p = slang->sl_comprules; *p != NUL; ++p) in match_compoundrule()
991 if (c == NUL) in match_compoundrule()
994 if (*p == '/' || *p == NUL) in match_compoundrule()
1002 while (*p != ']' && *p != NUL) in match_compoundrule()
1121 if (flen == 0 && *mip->mi_fend != NUL) in find_prefix()
1165 if (ptr[wlen] == NUL) in find_prefix()
1211 while (*mip->mi_fend != NUL && spell_iswordp(mip->mi_fend, mip->mi_win)); in fold_more()
1214 if (*mip->mi_fend != NUL) in fold_more()
1246 if (!wp->w_p_spell || *wp->w_s->b_p_spl == NUL in no_spell_checking()
1491 if (*skipwhite(line) == NUL) in spell_move_to()
1518 if (*p != NUL) in spell_cat_line()
1575 if (r == FAIL && *sl.sl_lang != NUL) in spell_load_lang()
1587 if (r == FAIL && *sl.sl_lang != NUL && round == 1 in spell_load_lang()
1760 lp->sl_regions[0] = NUL; in slang_clear()
1857 for (p = str; *p != NUL; ++p) in byte_in_str()
1886 *p++ = NUL; in init_syl_tab()
1887 if (*p == NUL) // trailing slash in init_syl_tab()
1926 for (p = word; *p != NUL; p += len) in count_syllables()
2019 for (splp = spl_copy; *splp != NUL; ) in did_set_spelllang()
2066 lang[len] = NUL; in did_set_spelllang()
2121 if (*slang->sl_regions != NUL) in did_set_spelllang()
2158 for (round = 0; round == 0 || *spf != NUL; ++round) in did_set_spelllang()
2202 *p = NUL; // truncate at ".encoding.add" in did_set_spelllang()
2220 else if (*slang->sl_regions != NUL) in did_set_spelllang()
2314 for (p = lp->sl_midword; *p != NUL; ) in use_midword()
2357 if (rp[i] == NUL) in find_region()
2385 if (end == NULL ? *p == NUL : p >= end) in captype()
2397 for ( ; end == NULL ? *p != NUL : p < end; MB_PTR_ADV(p)) in captype()
2484 if (*wp->w_s->b_p_spl != NUL) in spell_reload()
2751 buf[0] = NUL; in spell_casefold()
2766 buf[outi] = NUL; in spell_casefold()
2786 buf[outi] = NUL; in spell_casefold()
2793 buf[i] = NUL; in spell_casefold()
2827 if (*skipwhite(line) == NUL) in check_need_cap()
2985 for (s = word; *s != NUL; ) in allcap_copy()
3017 *d = NUL; in allcap_copy()
3066 if (curwin->w_p_spell && *curwin->w_s->b_p_spl != NUL) in eval_soundfold()
3146 for (s = inword; *s != NUL; ) in spell_soundfold_sofo()
3157 c = NUL; in spell_soundfold_sofo()
3163 c = NUL; in spell_soundfold_sofo()
3175 if (c != NUL && c != prevc) in spell_soundfold_sofo()
3187 for (s = inword; (c = *s) != NUL; ++s) in spell_soundfold_sofo()
3193 if (c != NUL && (ri == 0 || res[ri - 1] != c)) in spell_soundfold_sofo()
3198 res[ri] = NUL; in spell_soundfold_sofo()
3225 while (*s != NUL) in spell_soundfold_sal()
3239 *t = NUL; in spell_soundfold_sal()
3251 while ((c = word[i]) != NUL) in spell_soundfold_sal()
3282 while (*pf != NUL && *pf != word[i + k]) in spell_soundfold_sal()
3284 if (*pf == NUL) in spell_soundfold_sal()
3309 if (*s == NUL in spell_soundfold_sal()
3325 && p0 != '-' && word[i + k] != NUL) in spell_soundfold_sal()
3353 while (*pf != NUL && *pf != word[i + k0]) in spell_soundfold_sal()
3355 if (*pf == NUL) in spell_soundfold_sal()
3376 if (*s == NUL in spell_soundfold_sal()
3407 if (reslen > 0 && *s != NUL && (res[reslen - 1] == c in spell_soundfold_sal()
3413 while (*s != NUL && word[i + k0] != NUL) in spell_soundfold_sal()
3430 while (*s != NUL && s[1] != NUL && reslen < MAXWLEN) in spell_soundfold_sal()
3440 if (c != NUL) in spell_soundfold_sal()
3459 if (k && !p0 && reslen < MAXWLEN && c != NUL in spell_soundfold_sal()
3471 res[reslen] = NUL; in spell_soundfold_sal()
3509 for (s = inword; *s != NUL; ) in spell_soundfold_wsal()
3531 word[wordlen] = NUL; in spell_soundfold_wsal()
3539 while ((c = word[i]) != NUL) in spell_soundfold_wsal()
3551 && ws[0] != NUL; ++n) in spell_soundfold_wsal()
3575 while (*pf != NUL && *pf != word[i + k]) in spell_soundfold_wsal()
3577 if (*pf == NUL) in spell_soundfold_wsal()
3602 if (*s == NUL in spell_soundfold_wsal()
3618 && p0 != '-' && word[i + k] != NUL) in spell_soundfold_wsal()
3649 while (*pf != NUL && *pf != word[i + k0]) in spell_soundfold_wsal()
3651 if (*pf == NUL) in spell_soundfold_wsal()
3672 if (*s == NUL in spell_soundfold_wsal()
3702 if (reslen > 0 && ws != NULL && *ws != NUL in spell_soundfold_wsal()
3710 while (*ws != NUL && word[i + k0] != NUL) in spell_soundfold_wsal()
3729 while (*ws != NUL && ws[1] != NUL in spell_soundfold_wsal()
3738 c = NUL; in spell_soundfold_wsal()
3743 if (c != NUL) in spell_soundfold_wsal()
3763 if (k && !p0 && reslen < MAXWLEN && c != NUL in spell_soundfold_wsal()
3783 res[l] = NUL; in spell_soundfold_wsal()
4008 word[depth] = NUL; in spell_dump_compl()
4267 while (*p != NUL && spell_iswordp(p, win)) in spell_to_word_end()
4359 for (s = val; *s != NUL; ++s) in valid_spellfile()
4406 if (synblock->b_p_spc == NULL || *synblock->b_p_spc == NUL) in compile_cap_prog()