Lines Matching refs:NUL

258 	compflags[sp->ts_complen + 1] = NUL;  in can_be_compound()
260 compflags[sp->ts_complen] = NUL; in can_be_compound()
413 for (p = p_sps; *p != NUL; ) in spell_check_sps()
422 if (*s != NUL && !VIM_ISDIGIT(*s)) in spell_check_sps()
482 if (*curwin->w_s->b_p_spl == NUL) in spell_suggest()
518 while (*p != NUL && !spell_iswordp_nmw(p, curwin)) in spell_suggest()
779 if (*badptr == NUL) in spell_find_suggest()
798 su->su_fbadword[su->su_badlen] = NUL; in spell_find_suggest()
847 for (p = sps_copy; *p != NUL; ) in spell_find_suggest()
950 *p++ = NUL; in spell_suggest_file()
956 p[len] = NUL; in spell_suggest_file()
1100 su->su_fbadword[len] = NUL; in suggest_try_special()
1184 fword[n] = NUL; in suggest_try_change()
1382 tword[sp->ts_twordlen] = NUL; in suggest_trie_walk()
1409 fword_ends = (fword[sp->ts_fidx] == NUL in suggest_trie_walk()
1413 tword[sp->ts_twordlen] = NUL; in suggest_trie_walk()
1470 preword[sp->ts_prewordlen] = NUL; in suggest_trie_walk()
1502 compflags[sp->ts_complen + 1] = NUL; in suggest_trie_walk()
1515 while (*skiptowhite(p) != NUL) in suggest_trie_walk()
1622 if (!spell_iswordp(p, curwin) && *preword != NUL) in suggest_trie_walk()
1712 compflags[sp->ts_complen + 1] = NUL; in suggest_trie_walk()
1730 compflags[sp->ts_complen] = NUL; in suggest_trie_walk()
1747 while (*skiptowhite(p) != NUL) in suggest_trie_walk()
1799 && fword[sp->ts_fidx] != NUL in suggest_trie_walk()
1811 preword[sp->ts_prewordlen] = NUL; in suggest_trie_walk()
1869 if (fword[sp->ts_fidx] == NUL && sp->ts_tcharlen == 0) in suggest_trie_walk()
2052 if (fword[sp->ts_fidx] != NUL in suggest_trie_walk()
2112 if (byts[n + sp->ts_curi] != NUL) in suggest_trie_walk()
2196 if (c == NUL) in suggest_trie_walk()
2217 if (p[n] == NUL) in suggest_trie_walk()
2218 c2 = NUL; in suggest_trie_walk()
2226 if (p[1] == NUL) in suggest_trie_walk()
2227 c2 = NUL; in suggest_trie_walk()
2235 if (c2 == NUL) in suggest_trie_walk()
2250 if (c2 != NUL && TRY_DEEPER(su, stack, depth, SCORE_SWAP)) in suggest_trie_walk()
2332 if (c == c3 || c3 == NUL) in suggest_trie_walk()
2703 *kword = NUL; in find_keepcap_word()
2721 if (fword[fwordidx[depth]] == NUL) in find_keepcap_word()
2727 kword[kwordlen[depth]] = NUL; in find_keepcap_word()
2818 *kword = NUL; in find_keepcap_word()
3021 && *skiptowhite(stp->st_word) == NUL) in stp_sal_score()
3022 for (p = fword; *(p = skiptowhite(p)) != NUL; ) in stp_sal_score()
3219 while (*nrline != NUL) in add_sound_suggest()
3234 if (wordcount == orgnr && byts[n + 1] == NUL) in add_sound_suggest()
3237 if (byts[n + 1] == NUL) in add_sound_suggest()
3241 for ( ; byts[n + i] == NUL; ++i) in add_sound_suggest()
3262 theword[wlen] = NUL; in add_sound_suggest()
3265 for (; i <= byts[n] && byts[n + i] == NUL; ++i) in add_sound_suggest()
3382 if (byts[arridx] == NUL) in soundfold_find()
3384 if (c == NUL) in soundfold_find()
3388 while (len > 0 && byts[arridx] == NUL) in soundfold_find()
3399 if (c == NUL) in soundfold_find()
3789 if ((badsound[0] == NUL && goodsound[1] == NUL) in soundalike_score()
3790 || (goodsound[0] == NUL && badsound[1] == NUL)) in soundalike_score()
3793 if (badsound[0] == NUL || goodsound[0] == NUL) in soundalike_score()
3798 || (badsound[1] != NUL in soundalike_score()
3799 && goodsound[1] != NUL in soundalike_score()
3835 while (*pl == *ps && *pl != NUL) in soundalike_score()
3868 if (*pl2 == NUL) // reached the end in soundalike_score()
3917 if (*pl == NUL) in soundalike_score()
3927 if (*pl2 == NUL) // reached the end in soundalike_score()
3947 if (*pl2 == NUL) // reached the end in soundalike_score()
4020 for (p = badword, badlen = 0; *p != NUL; ) in spell_edit_score()
4023 for (p = goodword, goodlen = 0; *p != NUL; ) in spell_edit_score()
4169 if (bc == NUL) // both words end in spell_edit_score_limit()
4179 if (gc == NUL) // goodword ends, delete badword chars in spell_edit_score_limit()
4185 } while (badword[++bi] != NUL); in spell_edit_score_limit()
4188 else if (bc == NUL) // badword ends, insert badword chars in spell_edit_score_limit()
4194 } while (goodword[++gi] != NUL); in spell_edit_score_limit()
4217 if (goodword[gi2] == NUL) in spell_edit_score_limit()
4323 for (p = badword; *p != NUL; ) in spell_edit_score_limit_w()
4327 for (p = goodword; *p != NUL; ) in spell_edit_score_limit_w()
4354 if (bc == NUL) // both words end in spell_edit_score_limit_w()
4364 if (gc == NUL) // goodword ends, delete badword chars in spell_edit_score_limit_w()
4370 } while (wbadword[++bi] != NUL); in spell_edit_score_limit_w()
4373 else if (bc == NUL) // badword ends, insert badword chars in spell_edit_score_limit_w()
4379 } while (wgoodword[++gi] != NUL); in spell_edit_score_limit_w()
4402 if (wgoodword[gi2] == NUL) in spell_edit_score_limit_w()