| /vim-8.2.3635/src/ |
| H A D | textobject.c | 76 while (c = gchar_pos(&pos), VIM_ISWHITE(c) in findsent() 648 if (!VIM_ISWHITE(c)) in find_first_blank() 887 if (!VIM_ISWHITE(c)) in current_sent() 910 if (!at_start_sent || (!include && !VIM_ISWHITE(c))) in current_sent() 933 if (!VIM_ISWHITE(c)) in current_sent() 959 while (c = gchar_pos(&pos), VIM_ISWHITE(c)) // VIM_ISWHITE() is a macro in current_sent() 996 if (VIM_ISWHITE(c)) in current_sent() 999 else if (c = gchar_cursor(), !VIM_ISWHITE(c)) in current_sent() 1897 if (VIM_ISWHITE(line[col_end + 1])) in current_quote() 1898 while (VIM_ISWHITE(line[col_end + 1])) in current_quote() [all …]
|
| H A D | misc1.c | 105 if (VIM_ISWHITE(string[0])) in get_leader_len() 107 if (i == 0 || !VIM_ISWHITE(line[i - 1])) in get_leader_len() 109 while (VIM_ISWHITE(string[0])) in get_leader_len() 120 && !VIM_ISWHITE(line[i + j]) && line[i + j] != NUL) in get_leader_len() 165 while (VIM_ISWHITE(line[i])) in get_leader_len() 231 if (VIM_ISWHITE(string[0])) in get_last_leader_offset() 233 if (i == 0 || !VIM_ISWHITE(line[i - 1])) in get_last_leader_offset() 235 while (VIM_ISWHITE(*string)) in get_last_leader_offset() 258 for (j = 0; VIM_ISWHITE(line[j]) && j <= i; j++) in get_last_leader_offset() 295 while (VIM_ISWHITE(*com_leader)) in get_last_leader_offset() [all …]
|
| H A D | autocmd.c | 688 if (arg[1] && !VIM_ISWHITE(arg[1])) in find_end_event() 697 for (pat = arg; *pat && *pat != '|' && !VIM_ISWHITE(*pat); pat = p) in find_end_event() 883 while (*cmd && (!VIM_ISWHITE(*cmd) || cmd[-1] == '\\')) in do_autocmd() 911 if (STRNCMP(cmd, "++once", 6) == 0 && VIM_ISWHITE(cmd[6])) in do_autocmd() 920 if ((STRNCMP(cmd, "++nested", 8) == 0 && VIM_ISWHITE(cmd[8]))) in do_autocmd() 929 if (STRNCMP(cmd, "nested", 6) == 0 && VIM_ISWHITE(cmd[6])) in do_autocmd() 981 while (*arg && *arg != '|' && !VIM_ISWHITE(*arg)) in do_autocmd() 1007 for (p = arg; *p && !VIM_ISWHITE(*p) && *p != '|'; ++p) in au_get_grouparg() 1349 while (*arg && !ends_excmd(*arg) && !VIM_ISWHITE(*arg)) in do_doautocmd() 2537 for (p = arg; *p != NUL && !VIM_ISWHITE(*p); ++p) in set_context_in_autocmd() [all …]
|
| H A D | indent.c | 546 while (todo > 0 && VIM_ISWHITE(*p)) in set_indent() 643 if (!doit && !VIM_ISWHITE(*p) && !(flags & SIN_INSERT)) in set_indent() 675 while (VIM_ISWHITE(*p)) in set_indent() 699 while (todo > 0 && VIM_ISWHITE(*p)) in set_indent() 1010 for (col = 0, ptr = ml_get_curline(); VIM_ISWHITE(*ptr); ++col) in inindent() 1154 while (--i > 0 && VIM_ISWHITE(ptr[i])) in ins_try_si() 1459 while (todo > 0 && VIM_ISWHITE(*s)) in copy_indent() 1644 if (VIM_ISWHITE(ptr[col])) in ex_retab() 2009 while (VIM_ISWHITE(*that)) in get_lisp_indent() 2032 && (!VIM_ISWHITE(*that) in get_lisp_indent() [all …]
|
| H A D | textformat.c | 19 #define WHITECHAR(cc) (VIM_ISWHITE(cc) && (!enc_utf8 || !utf_iscomposing(utf_ptr2char(ml_get_cursor… 71 if (VIM_ISWHITE(cc)) in internal_format() 496 return VIM_ISWHITE(s[l]); in ends_in_white() 552 for (idx1 = 0; VIM_ISWHITE(line1[idx1]); ++idx1) in same_leader() 557 if (!VIM_ISWHITE(line2[idx2])) in same_leader() 563 while (VIM_ISWHITE(line1[idx1])) in same_leader()
|
| H A D | menu.c | 190 if (VIM_ISWHITE(*p)) in ex_menu() 192 for (i = 0; i < MENUDEPTH && !VIM_ISWHITE(*arg); ++i) in ex_menu() 1275 if (!VIM_ISWHITE(*p)) in set_context_in_menu_cmd() 1278 && (arg[6] == NUL || VIM_ISWHITE(arg[6]))) in set_context_in_menu_cmd() 1281 && (arg[7] == NUL || VIM_ISWHITE(arg[7]))) in set_context_in_menu_cmd() 1287 while (*p != NUL && VIM_ISWHITE(*p)) in set_context_in_menu_cmd() 1292 for (; *p && !VIM_ISWHITE(*p); ++p) in set_context_in_menu_cmd() 1303 if (expand_menus && VIM_ISWHITE(*p)) in set_context_in_menu_cmd() 2500 if (arg[0] && VIM_ISWHITE(arg[1])) in ex_emenu() 2743 while (*p != NUL && *p != '.' && !VIM_ISWHITE(*p)) in menu_skip_part() [all …]
|
| H A D | diff.c | 2041 && VIM_ISWHITE(*p1) && VIM_ISWHITE(*p2)) in diff_cmp() 2043 && (VIM_ISWHITE(*p1) || VIM_ISWHITE(*p2)))) in diff_cmp() 2443 && VIM_ISWHITE(line_org[si_org]) in diff_find_change() 2444 && VIM_ISWHITE(line_new[si_new])) in diff_find_change() 2446 && (VIM_ISWHITE(line_org[si_org]) in diff_find_change() 2447 || VIM_ISWHITE(line_new[si_new])))) in diff_find_change() 2480 && VIM_ISWHITE(line_org[ei_org]) in diff_find_change() 2483 && (VIM_ISWHITE(line_org[ei_org]) in diff_find_change() 2487 && VIM_ISWHITE(line_org[ei_org])) in diff_find_change() 2490 && VIM_ISWHITE(line_new[ei_new])) in diff_find_change() [all …]
|
| H A D | usercmd.c | 618 for (i = 0; err[i] != NUL && !VIM_ISWHITE(err[i]); i++) in parse_addr_type_arg() 1086 if (!ends_excmd2(eap->arg, p) && !VIM_ISWHITE(*p)) in ex_command() 1174 if (STRNCMP(arg, "-buffer", 7) == 0 && VIM_ISWHITE(arg[7])) in ex_delcommand() 1237 else if (p[0] == '\\' && VIM_ISWHITE(p[1])) in uc_split_args() 1247 else if (VIM_ISWHITE(*p)) in uc_split_args() 1281 else if (p[0] == '\\' && VIM_ISWHITE(p[1])) in uc_split_args() 1291 else if (VIM_ISWHITE(*p)) in uc_split_args()
|
| H A D | change.c | 1559 while (p > ptr && VIM_ISWHITE(*p)) in open_line() 1568 while (p > ptr && VIM_ISWHITE(*p)) in open_line() 1731 if (!VIM_ISWHITE(saved_line[lead_len - 1]) in open_line() 1827 && VIM_ISWHITE(*p); --p) in open_line() 1873 else if (!VIM_ISWHITE(*p)) in open_line() 1909 if (!VIM_ISWHITE(*p)) in open_line() 1978 if (lead_len > 0 && VIM_ISWHITE(leader[lead_len - 1])) in open_line() 1999 while (lead_len && VIM_ISWHITE(*leader)) in open_line()
|
| H A D | cindent.c | 763 if (VIM_ISWHITE(*p)) in cin_is_cpp_namespace() 811 if (VIM_ISWHITE(*p)) in cin_is_cpp_extern_c() 962 if ((STRNCMP(s, "int", 3) == 0 && VIM_ISWHITE(s[3])) in cin_first_id_amount() 963 || (STRNCMP(s, "long", 4) == 0 && VIM_ISWHITE(s[4])) in cin_first_id_amount() 964 || (STRNCMP(s, "short", 5) == 0 && VIM_ISWHITE(s[5])) in cin_first_id_amount() 965 || (STRNCMP(s, "char", 4) == 0 && VIM_ISWHITE(s[4]))) in cin_first_id_amount() 970 if (len == 0 || !VIM_ISWHITE(p[len]) || cin_nocode(p)) in cin_first_id_amount() 1332 while (offset > 2 && VIM_ISWHITE(line[offset])) in cin_is_if_for_while_before_offset() 2484 while (VIM_ISWHITE(l[col])) in get_c_indent()
|
| H A D | edit.c | 1796 for (i = (int)STRLEN(line) - 1; i >= 0 && VIM_ISWHITE(line[i]); i--) in truncate_spaces() 2080 || (!VIM_ISWHITE(c) in insertchar() 2134 while (middle_len > 0 && VIM_ISWHITE(lead_end[middle_len - 1])) in insertchar() 2144 while (--i >= 0 && VIM_ISWHITE(line[i])) in insertchar() 2455 if (!VIM_ISWHITE(cc)) in stop_insert() 2461 if (VIM_ISWHITE(cc)) in stop_insert() 2495 if (!VIM_ISWHITE(cc)) in stop_insert() 2632 for (ptr = ml_get_curline(); VIM_ISWHITE(*ptr) in beginline() 4207 && (cc = *(ml_get_cursor() - 1), VIM_ISWHITE(cc))) in ins_bs() 4969 while (fpos.col > 0 && VIM_ISWHITE(ptr[-1])) in ins_tab() [all …]
|
| H A D | eval.c | 856 if (unlet && !VIM_ISWHITE(*p) && !ends_excmd(*p) in get_lval() 1630 || !(expr[2] == NUL || VIM_ISWHITE(expr[2]))) in eval_for_line() 1834 if (VIM_ISWHITE(*p)) in set_context_for_expression() 2320 if (evaluate && vim9script && !VIM_ISWHITE(p[-1])) in eval1() 2386 if (evaluate && vim9script && !VIM_ISWHITE(p[-1])) in eval1() 2618 if (evaluate && vim9script && !VIM_ISWHITE(p[-1])) in eval3() 2894 if (evaluate && vim9script && !VIM_ISWHITE(**arg)) in eval5() 3685 while (VIM_ISWHITE(end_leader[-1])) in eval7_leader() 3927 else if (VIM_ISWHITE((*arg)[-1])) in eval_method() 5853 && (!check_white || !VIM_ISWHITE(*(*arg - 1)))) in handle_subscript() [all …]
|
| H A D | vim9script.c | 184 if (VIM_ISWHITE(cmd[2])) in ex_incdec() 770 if (*p == ':' && (VIM_ISWHITE(p[1]) || p != arg + 1)) in vim9_declare_scriptvar() 778 if (!VIM_ISWHITE(p[1])) in vim9_declare_scriptvar()
|
| H A D | userfunc.c | 132 if (VIM_ISWHITE(*p) && *skipwhite(p) == ':') in one_function_arg() 141 if (!skip && !VIM_ISWHITE(*p)) in one_function_arg() 215 && (*p == NUL || (VIM_ISWHITE(*whitep) && *p == '#'))) in get_function_args() 299 while (p > expr && VIM_ISWHITE(p[-1])) in get_function_args() 324 if (VIM_ISWHITE(*p) && *skipwhite(p) == ',') in get_function_args() 561 if (white_error != NULL && !VIM_ISWHITE(s[1])) in skip_arrow() 803 for (p = theline; VIM_ISWHITE(*p) || *p == ':'; ++p) in get_function_body() 904 while (end > p && VIM_ISWHITE(*end)) in get_function_body() 906 if (end > p + 1 && *end == '{' && VIM_ISWHITE(end[-1])) in get_function_body() 912 while (end > p && VIM_ISWHITE(*end)) in get_function_body() [all …]
|
| H A D | help.c | 75 while (p > arg && VIM_ISWHITE(*p) && p[-1] != '\\') in ex_help() 733 if (in_example && len > 0 && !VIM_ISWHITE(line[0])) in fix_help_buffer() 1302 if (STRNCMP(eap->arg, "++t", 3) == 0 && VIM_ISWHITE(eap->arg[3])) in ex_helptags()
|
| H A D | vim9type.c | 670 else if ((*p == '(' || (*p == ':' && VIM_ISWHITE(p[1]))) in skip_type() 875 if (!VIM_ISWHITE(*p)) in parse_type() 905 if (!VIM_ISWHITE(**arg) && give_error) in parse_type()
|
| H A D | syntax.c | 2183 && VIM_ISWHITE(line[current_col])) in syn_current_attr() 4582 if (p[i] == NUL && (VIM_ISWHITE(arg[len]) in get_syn_options() 4856 while (*rest != NUL && !VIM_ISWHITE(*rest)) in syn_cmd_keyword() 5106 while (*key_end && !VIM_ISWHITE(*key_end) && *key_end != '=') in syn_cmd_region() 5587 && (VIM_ISWHITE(rest[3]) || rest[3] == '=')) in syn_cmd_cluster() 5593 && (VIM_ISWHITE(rest[6]) || rest[6] == '=')) in syn_cmd_cluster() 5599 && (VIM_ISWHITE(rest[8]) || rest[8] == '=')) in syn_cmd_cluster() 5740 if (!ends_excmd2(arg, end) && !VIM_ISWHITE(*end)) in get_syn_pattern() 5963 for (end = p; *end && !VIM_ISWHITE(*end) && *end != ','; ++end) in get_id_list()
|
| H A D | option.c | 1379 while (VIM_ISWHITE(arg[len])) in do_set() 1512 && arg[1] != NUL && !VIM_ISWHITE(arg[1])) in do_set() 1570 && nextchar != NUL && !VIM_ISWHITE(afterchar)) in do_set() 1613 if (nextchar != NUL && !VIM_ISWHITE(afterchar)) in do_set() 1668 && (!arg[1] || VIM_ISWHITE(arg[1])) in do_set() 1685 && !VIM_ISWHITE(arg[i]))) in do_set() 1909 while (*arg && !VIM_ISWHITE(*arg)) in do_set() 1915 && !VIM_ISWHITE(arg[1]) in do_set() 2150 for (p = arg; *p && !VIM_ISWHITE(*p); ++p) in do_set() 2178 while (*arg != NUL && !VIM_ISWHITE(*arg)) in do_set()
|
| H A D | spell.c | 3149 if (enc_utf8 ? utf_class(c) == 0 : VIM_ISWHITE(c)) in spell_soundfold_sofo() 3189 if (VIM_ISWHITE(c)) in spell_soundfold_sofo() 3227 if (VIM_ISWHITE(*s)) in spell_soundfold_sal() 3451 else if (VIM_ISWHITE(c)) in spell_soundfold_sal() 3515 if (enc_utf8 ? utf_class(c) == 0 : VIM_ISWHITE(c)) in spell_soundfold_wsal() 3755 else if (VIM_ISWHITE(c)) in spell_soundfold_wsal()
|
| H A D | locale.c | 287 if ((*p == NUL || VIM_ISWHITE(*p)) && p - eap->arg >= 3) in ex_language()
|
| H A D | vim9compile.c | 3051 if (VIM_ISWHITE(*p)) in compile_load_scriptvar() 3388 if (*p != NUL && !VIM_ISWHITE(*p)) in compile_arguments() 3959 if (VIM_ISWHITE(**arg) && vim9_comment_start(p)) in compile_dict() 4225 while (VIM_ISWHITE(*p)) in compile_leader() 4261 while (p > start && (p[-1] == '!' || VIM_ISWHITE(p[-1]))) in compile_leader() 6445 if (!VIM_ISWHITE(var_end[1])) in compile_lhs() 6929 if (VIM_ISWHITE(eap->cmd[2])) in compile_assignment() 9148 while (p > eap->arg && VIM_ISWHITE(*p)) in compile_exec() 9489 if (VIM_ISWHITE(cmd[1])) in check_global_and_subst() 9710 || VIM_ISWHITE(line[-1])))) in compile_def_function() [all …]
|
| H A D | evalvars.c | 598 if (STRNCMP(cmd, "trim", 4) == 0 && (cmd[4] == NUL || VIM_ISWHITE(cmd[4]))) in heredoc_get() 607 while (VIM_ISWHITE(*p)) in heredoc_get() 677 while (VIM_ISWHITE(*p)) in heredoc_get() 884 if (vim9script && (!VIM_ISWHITE(*argend) in ex_let() 1202 if (!VIM_ISWHITE(*arg) && !ends_excmd(*arg)) in list_arg_vars() 1618 if (name_end == NULL || (!VIM_ISWHITE(*name_end) in ex_unletlock()
|
| H A D | dict.c | 989 if (vim9script && (*arg)[1] != NUL && !VIM_ISWHITE((*arg)[1])) in eval_dict() 1031 if (vim9script && (*arg)[1] != NUL && !VIM_ISWHITE((*arg)[1])) in eval_dict()
|
| H A D | macros.h | 44 #define VIM_ISWHITE(x) ((x) == ' ' || (x) == '\t') macro
|
| H A D | map.c | 442 while (*p && (maptype == 1 || !VIM_ISWHITE(*p))) in do_map() 568 if (VIM_ISWHITE(keys[n])) in do_map() 2013 if (what == 2 && (VIM_ISWHITE(c) || c == '"' || c == '\\')) in put_escstr()
|