| /vim-8.2.3635/src/ |
| H A D | digraph.c | 137 {NUL, NUL, NUL} 249 {NUL, NUL, NUL} 358 {NUL, NUL, NUL} 1761 {NUL, NUL, NUL} 1842 r[2] = NUL; in get_digraph_for_char() 1892 return NUL; in get_digraph() 2191 *p = NUL; in digraph_getlist_appendpair() 2310 *p = NUL; in printdigraph() 2322 *p = NUL; in printdigraph() 2428 buf[1] = NUL; in f_digraph_get() [all …]
|
| H A D | drawline.c | 109 *c_finalp = NUL; in get_sign_display_info() 132 *c_extrap = NUL; in get_sign_display_info() 1052 c_extra = NUL; in win_line() 1053 c_final = NUL; in win_line() 1146 c_extra = NUL; in win_line() 1603 if (c_extra != NUL || (n_extra == 1 && c_final != NUL)) in win_line() 2588 && c != NUL) in win_line() 2597 c_final = NUL; in win_line() 2620 if ((c == NUL in win_line() 2715 if (c == NUL) in win_line() [all …]
|
| H A D | optionstr.c | 815 if (s[1] == NUL || ((s[2] != ',' || s[3] == NUL) && s[2] != NUL)) in did_set_string_option() 944 if (*p_wak == NUL in did_set_string_option() 1255 if (*p != NUL) in did_set_string_option() 1257 if (*p != NUL) in did_set_string_option() 1259 if (*p != NUL) in did_set_string_option() 1269 if (*p == NUL) in did_set_string_option() 1278 if (p[1] != ':' || p[2] == NUL || (p[3] != NUL && p[3] != ',')) in did_set_string_option() 1283 if (p[3] == NUL) in did_set_string_option() 1665 if (*p_sel == NUL in did_set_string_option() 2004 else if (*p == NUL in did_set_string_option() [all …]
|
| H A D | findfile.c | 377 if (*++path != NUL) in vim_findfile_init() 1326 int c1 = NUL; in ff_wc_equal() 1327 int c2 = NUL; in ff_wc_equal() 1337 for (i = 0, j = 0; s1[i] != NUL && s2[j] != NUL;) in ff_wc_equal() 1745 ptr[len] = NUL; in find_file_in_path_option() 2081 if (*p != NUL) in file_name_in_line() 2329 buf[len] = NUL; in expand_path_option() 2397 ) && fname[j] != NUL && path_part[i][j] != NUL) in get_path_cutoff() 2767 *tail = NUL; in simplify_filename() 2790 *p = NUL; in simplify_filename() [all …]
|
| H A D | filepath.c | 697 if (c != NUL) in modify_fname() 700 if (c != NUL) in modify_fname() 2449 *tail = NUL; in do_browse() 2591 *dst = NUL; in home_replace() 2947 *p = NUL; in dir_of_file_exists() 2982 if (cx == NUL || cy == NUL in vim_fnamencmp() 3294 *p = NUL; in expand_backtick() 3407 *e = NUL; in dos_expandpath() 3488 && p[1] != NUL && (p[1] != '.' || p[2] != NUL))) in dos_expandpath() 3651 *e = NUL; in unix_expandpath() [all …]
|
| H A D | spell.c | 953 *p = NUL; in can_compound() 1886 *p++ = NUL; in init_syl_tab() 2751 buf[0] = NUL; in spell_casefold() 2793 buf[i] = NUL; in spell_casefold() 3017 *d = NUL; in allcap_copy() 3157 c = NUL; in spell_soundfold_sofo() 3239 *t = NUL; 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() 3710 while (*ws != NUL && word[i + k0] != NUL) in spell_soundfold_wsal() [all …]
|
| H A D | misc1.c | 66 while (line[i] != NUL) in get_leader_len() 114 if (string[j] != NUL) in get_leader_len() 520 return NUL; in gchar_pos() 730 buf[1] = NUL; in f_mode() 1429 *var = NUL; in expand_env_esc() 1457 *var = NUL; in expand_env_esc() 1607 *dst = NUL; in expand_env_esc() 1990 name[n] = NUL; in get_env_name() 2489 *p = NUL; in get_cmd_output_as_rettv() 2522 *d = NUL; in get_cmd_output_as_rettv() [all …]
|
| H A D | help.c | 54 *arg++ = NUL; in ex_help() 76 *p-- = NUL; in ex_help() 84 if (*arg == NUL) in ex_help() 377 d[0] = NUL; in find_help_tags() 421 && ((arg[1] != NUL && arg[2] == NUL) in find_help_tags() 532 *d = NUL; in find_help_tags() 540 d[-2] = NUL; in find_help_tags() 546 d[-3] = NUL; in find_help_tags() 553 d[-4] = NUL; in find_help_tags() 598 *p = NUL; in cleanup_help_tags() [all …]
|
| H A D | charset.c | 332 while (*p != NUL) in transstr() 361 *res = NUL; in transstr() 363 while (*p != NUL) in transstr() 421 buf[len] = NUL; in str_foldcase() 587 charbuf[2] = NUL; in transchar_nonprint() 598 charbuf[2] = NUL; in transchar_nonprint() 605 charbuf[2] = NUL; in transchar_nonprint() 620 charbuf[2] = NUL; in transchar_nonprint() 911 buf[1] = NUL; in vim_isfilec_or_wc() 1245 if (*ptr == NUL) in getvcol() [all …]
|
| H A D | menu.c | 177 if (*arg != NUL) in ex_menu() 179 *arg++ = NUL; in ex_menu() 230 if (*arg == NUL) in ex_menu() 515 if (*dname == NUL) in add_menu_path() 870 if (*p != NUL) in menu_nable_recurse() 1576 if (*p == NUL) in menu_name_skip() 1581 *p++ = NUL; in menu_name_skip() 2208 *d = NUL; in gui_create_tearoffs_recurse() 2696 *arg = NUL; in ex_menutranslate() 2823 *arg++ = NUL; in menu_translate_tab_and_shift() [all …]
|
| H A D | message.c | 250 if (*s == NUL) in trunc_string() 253 *buf = NUL; in trunc_string() 264 if (s[e] == NUL) in trunc_string() 267 buf[e] = NUL; in trunc_string() 1477 buf[3] = NUL; in msg_putchar_attr() 1766 if (c == K_SPECIAL && str[1] != NUL && str[2] != NUL) in str2special() 1774 if (c == K_SPECIAL && str[1] != NUL && str[2] != NUL) in str2special() 1819 *buf = NUL; in str2specialbuf() 1907 buf[l] = NUL; in msg_prt_line() 2000 if (c == NUL) in msg_prt_line() [all …]
|
| H A D | term.c | 2066 name[2] = NUL; in set_termname() 2724 *s = NUL; in out_str_cf() 3185 if (*T_SO == NUL || *T_SE == NUL) in ttest() 3187 if (*T_US == NUL || *T_UE == NUL) in ttest() 3189 if (*T_CZH == NUL || *T_CZR == NUL) in ttest() 3225 if (*T_CSB == NUL || *T_CSF == NUL) in ttest() 3232 if (*T_CAB == NUL || *T_CAF == NUL) in ttest() 3239 if (*T_CSB == NUL && *T_CAB == NUL) in ttest() 3336 c = NUL; in get_bytes_from_buf() 3947 if (*T_VS != NUL && *T_CVS != NUL) in scroll_start() [all …]
|
| H A D | edit.c | 899 case NUL: in edit() 1327 c = NUL; in edit() 1332 if (c == NUL) in edit() 2239 buf[i] = NUL; in insertchar() 2507 if (cc != NUL && gchar_pos(&tpos) == NUL) in stop_insert() 2561 *s++ = NUL; in set_last_insert() 4091 if (temp == NUL && gchar_cursor() != NUL) in ins_bs() 5206 return NUL; in ins_digraph() 5267 return NUL; in ins_copychar() 5308 if (c != NUL) in ins_ctrl_ey() [all …]
|
| H A D | getchar.c | 140 *p2 = NUL; in get_buffcont() 167 p[len] = NUL; in get_recorded() 175 p[len - 1] = NUL; in get_recorded() 287 temp[3] = NUL; in add_char_buff() 326 if (c == NUL) in read_readbuffers() 338 return NUL; in read_readbuf() 652 if (*s == K_SPECIAL && s[1] != NUL && s[2] != NUL) in stuffReadbuffSpec() 715 if (*arg != NUL) in stuffescaped() 1119 buf[3] = NUL; in ins_char_typebuf() 1612 c = NUL; in merge_modifyOtherKeys() [all …]
|
| H A D | mbyte.c | 845 if (enc_dbcs != 0 && p[0] != NUL && p[1] != NUL) in mb_get_class_buf() 3666 while (n1 > 0 && n2 > 0 && *s1 != NUL && *s2 != NUL) in utf_strnicmp() 3711 if (s1[i] == NUL && s2[i] == NUL) // both strings end in mb_strnicmp() 4256 if (*p == NUL || p[1] == NUL in dbcs_screen_tail_off() 4396 buf[m] = NUL; in mb_unescape() 4503 *p = NUL; in enc_canonize() 4795 *to = NUL; in iconv_string() 4805 *to = NUL; in iconv_string() 5249 *d = NUL; in string_convert_ext() 5275 *d = NUL; in string_convert_ext() [all …]
|
| H A D | screen.c | 1013 *buf = NUL; in win_redr_status_matches() 1078 buf[len] = NUL; in win_redr_status_matches() 1121 *selend = NUL; in win_redr_status_matches() 1202 buf[0] = NUL; in get_keymap_str() 1414 buf[1] = NUL; in screen_putchar() 1434 bytes[1] = NUL; in screen_getbytes() 1580 nc = NUL; in screen_puts_len() 1581 nc1 = NUL; in screen_puts_len() 3299 if (T_ND[0] != NUL && T_ND[1] == NUL) in windgoto() 3709 else if (*T_CAL != NUL && (line_count > 1 || *T_AL == NUL)) in screen_ins_lines() [all …]
|
| H A D | strings.c | 48 p[len] = NUL; in vim_strnsave() 113 *p2 = NUL; in vim_strsave_escaped_ext() 297 *d = NUL; in vim_strsave_shellescape() 368 while (*p != NUL) in strup_save() 499 *q = NUL; in del_trailing_spaces() 548 if (*s1 == NUL) in vim_stricmp() 573 if (*s1 == NUL) in vim_strnicmp() 757 *dest = NUL; in concat_str() 807 *r++ = NUL; in string_quote() 912 if (*p == NUL) in f_charidx() [all …]
|
| H A D | spellsuggest.c | 950 *p++ = NUL; in spell_suggest_file() 956 p[len] = NUL; in spell_suggest_file() 1184 fword[n] = NUL; in suggest_try_change() 2218 c2 = NUL; in suggest_trie_walk() 2227 c2 = NUL; in suggest_trie_walk() 2703 *kword = NUL; in find_keepcap_word() 2818 *kword = NUL; in find_keepcap_word() 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() [all …]
|
| H A D | map.c | 450 *p++ = NUL; in do_map() 1130 if (c == K_SPECIAL && str[1] != NUL && str[2] != NUL) in translate_mapping() 1139 if (c == K_SPECIAL && str[1] != NUL && str[2] != NUL) in translate_mapping() 1148 c = NUL; in translate_mapping() 1564 tb[j] = NUL; in check_abbr() 1669 if (s[0] == K_SPECIAL && s[1] != NUL && s[2] != NUL) in vim_strsave_escape_csi() 1684 *d = NUL; in vim_strsave_escape_csi() 1714 *d = NUL; in vim_unescape_csi() 1777 c1 = NUL; in makemap() 1778 c2 = NUL; in makemap() [all …]
|
| H A D | spellfile.c | 584 *lang = NUL; in spell_load_file() 1043 *p++ = NUL; in read_sal_section() 1070 *p++ = NUL; in read_sal_section() 1114 p[0] = NUL; in read_sal_section() 1394 *crp = NUL; in read_compound() 1434 for (p = from, s = to; *p != NUL && *s != NUL; ) in set_sofo() 1441 if (*p != NUL || *s != NUL) // lengths differ in set_sofo() 1458 for (p = from, s = to; *p != NUL && *s != NUL; ) in set_sofo() 3589 *p = NUL; in spell_read_dic() 6446 if (*pl == NUL || *pu == NUL) in set_spell_chartab() [all …]
|
| H A D | cindent.c | 365 if (*p != NUL) in find_line_comment() 585 if (*s == NUL) in cin_iscase() 695 if (*p != NUL) in cin_ends_in() 761 while (*p != NUL) in cin_is_cpp_namespace() 809 while (*p != NUL) in cin_is_cpp_extern_c() 865 if (*l == NUL) in after_label() 868 if (*l == NUL) in after_label() 1414 if (*p != NUL) in cin_iswhileofdo_end() 1458 if (*s == NUL) in cin_is_cpp_baseclass() 1490 if (*s != NUL) in cin_is_cpp_baseclass() [all …]
|
| H A D | ex_getln.c | 289 if (*p == NUL) in do_incsearch_highlighting() 327 *end = NUL; in do_incsearch_highlighting() 738 if (*c != NUL) in may_add_char_to_search() 1614 firstc = NUL; in getcmdline_int() 1732 if (*p_stl != NUL || *wp->w_p_stl != NUL) in getcmdline_int() 2307 if (c != NUL) in getcmdline_int() 3050 *pend = NUL; in getexmodeline() 3330 nc = NUL; in draw_cmdline() 3338 pc = NUL; in draw_cmdline() 4125 return NUL; in get_cmdline_type() [all …]
|
| H A D | textformat.c | 49 int save_char = NUL; in internal_format() 94 + char2cells(c != NUL ? c : gchar_cursor()); in internal_format() 279 ncc = (ncc != NUL) ? ncc : c; in internal_format() 336 saved_text[startcol] = NUL; in internal_format() 376 FALSE, NUL, TRUE); in internal_format() 479 || startPS(lnum, NUL, FALSE)); in fmt_check_par() 491 if (*s == NUL) in ends_in_white() 589 if (*p == NUL) in paragraph_start() 706 pnew[len + 1] = NUL; in auto_format() 745 if (c != NUL) in check_auto_format() [all …]
|
| H A D | cmdexpand.c | 474 *ss = NUL; in ExpandOne() 856 retval[j] = NUL; in addstar() 1147 if (*arg == NUL) in set_one_cmd_context() 1167 if (p[1] != NUL) in set_one_cmd_context() 1218 while (*p != NUL) in set_one_cmd_context() 1394 if (*arg != NUL) in set_one_cmd_context() 2357 if (*s == NUL) in expand_shellcmd() 2413 if (*e != NUL) in expand_shellcmd() 2507 *e = NUL; in ExpandUserDefined() 2520 if (*e != NUL) in ExpandUserDefined() [all …]
|
| H A D | search.c | 79 static char_u lastc[2] = {NUL, NUL}; // last character searched for 238 rev[len] = NUL; in reverse_text() 1349 *p++ = NUL; in do_search() 1412 *p = NUL; in do_search() 2135 initc = NUL; in findmatchlimit() 2593 case NUL: in findmatchlimit() 2815 if (*p == NUL) in showmatch() 3551 p[i] = NUL; in find_pattern_in_path() 4409 if (*fuzpat == NUL || *str == NUL) in fuzzy_match_recursive() 4414 while (*fuzpat != NUL && *str != NUL) in fuzzy_match_recursive() [all …]
|