| /vim-8.2.3635/src/testdir/ |
| H A D | test25.in | 6 p:s/\%#=1\d//g 7 p:s/\%#=2\d//g 11 p:s/\%#=0\D//g 12 p:s/\%#=1\D//g 13 p:s/\%#=2\D//g 17 p:s/\%#=0\o//g 18 p:s/\%#=1\o//g 19 p:s/\%#=2\o//g 23 p:s/\%#=0\O//g 24 p:s/\%#=1\O//g [all …]
|
| /vim-8.2.3635/src/ |
| H A D | if_xcmdsrv.c | 649 for (p = regProp; (long_u)(p - regProp) < numItems; p++) in serverGetVimNames() 652 while (*p != 0 && !isspace(*p)) in serverGetVimNames() 707 mch_memmove(p, p + 1, (serverReply.ga_len - i - 1) * sizeof(*p)); in ServerReplyFind() 923 while (*p != 0 && !isspace(*p)) in LookupName() 932 p++; in LookupName() 940 while (*p != 0 && !isspace(*p)) in LookupName() 942 if (*p != 0 && IsSerialName(p + 1) in LookupName() 966 p++; in LookupName() 1242 if ((*p == 'c' || *p == 'k') && (p[1] == 0)) in server_parse_message() 1342 else if (*p == 'r' && p[1] == 0) in server_parse_message() [all …]
|
| H A D | strings.c | 84 for (p = string; *p; p++) in vim_strsave_escaped_ext() 100 for (p = string; *p; p++) in vim_strsave_escaped_ext() 185 for (p = string; *p != NUL; MB_PTR_ADV(p)) in vim_strsave_shellescape() 736 for (p = s; *p != NUL; ++p) in has_non_ascii() 783 for (p = str; *p != NUL; MB_PTR_ADV(p)) in string_quote() 914 p += ptr2len(p); in f_charidx() 958 for ( ; *p != NUL; p += (*ptr2len)(p)) in f_str2list() 1549 for (p = tostr; *p != NUL; p += tolen) in f_tr() 1652 for (p = mask; *p != NUL; MB_PTR_ADV(p)) in f_trim() 1678 for (p = mask; *p != NUL; MB_PTR_ADV(p)) in f_trim() [all …]
|
| H A D | locale.c | 40 if (*p < ' ' || *p == ';') in get_locale_val() 45 ++p; in get_locale_val() 134 p = gettext_lang(p); in get_mess_lang() 154 if (p == NULL || *p == NUL) in get_mess_env() 157 if (p == NULL || *p == NUL) in get_mess_env() 160 if (p != NULL && VIM_ISDIGIT(*p)) in get_mess_env() 163 if (p == NULL || *p == NUL) in get_mess_env() 252 if (p != NULL && *p != NUL) in init_locale() 287 if ((*p == NUL || VIM_ISWHITE(*p)) && p - eap->arg >= 3) in ex_language() 323 if (p == NULL || *p == NUL) in ex_language() [all …]
|
| H A D | mbyte.c | 813 STRMOVE(p, p + 3); in remove_bom() 846 return dbcs_class(p[0], p[1]); in mb_get_class_buf() 1772 return (p[0] << 8) + p[1]; in dbcs_ptr2char() 3805 if (p <= base || MB_BYTE2LEN(p[-1]) == 1 || *p == NUL) in dbcs_head_off() 4330 p += (*mb_ptr2len)(p); in mb_charlen() 4345 p += (*mb_ptr2len)(p); in mb_charlen_len() 4510 STRMOVE(p, p + 10); in enc_canonize() 4515 STRMOVE(p + 4, p + 3); in enc_canonize() 4522 STRMOVE(p + 9, p + 8); in enc_canonize() 4528 STRMOVE(p + 5, p + 6); in enc_canonize() [all …]
|
| H A D | filepath.c | 250 for (p = tfname + len - 1; p >= tfname; --p) in shortpath_for_partial() 340 for (p = *fnamep; *p != NUL; MB_PTR_ADV(p)) in modify_fname() 1526 p = vim_strsave(p); in f_pathshorten() 2016 p = vim_strsave(p); in f_resolve() 3028 if (*p != NUL && !after_pathsep(p, p + STRLEN(p))) in add_pathsep() 3412 for (p = buf + wildoff; p < s; ++p) in dos_expandpath() 3421 for (p = s; p < e; ++p) in dos_expandpath() 3656 for (p = buf + wildoff; p < s; ++p) in unix_expandpath() 3665 for (p = s; p < e; ++p) in unix_expandpath() 3829 if (*p == '\\' && p[1] != NUL && p[1] != '\r' && p[1] != '\n') in has_special_wildchar() [all …]
|
| H A D | cindent.c | 102 for (++p; p[0]; ++p) in skip_string() 122 for (p += 3; *p; ++p) in skip_string() 168 for (p = line; *p && (colnr_T)(p - line) < pos->col; ++p) in find_start_comment() 169 p = skip_string(p); in find_start_comment() 204 for (p = line; *p && (colnr_T)(p - line) < pos->col; ++p) in find_start_rawstring() 205 p = skip_string(p); in find_start_rawstring() 686 p = cin_skipcomment(p); in cin_ends_in() 826 else if (p[0] == '"' && p[1] == 'C' && p[2] == '+' && p[3] == '+' in cin_is_cpp_extern_c() 951 p = skipwhite(p + 6); in cin_first_id_amount() 955 p = skipwhite(p + 6); in cin_first_id_amount() [all …]
|
| H A D | usercmd.c | 1025 if (p[STRLEN(p) - 1] != '}') in may_get_cmd_block() 1232 if (p[0] == '\\' && p[1] == '\\') in uc_split_args() 1242 else if (*p == '\\' || *p == '"') in uc_split_args() 1249 p = skipwhite(p); in uc_split_args() 1275 if (p[0] == '\\' && p[1] == '\\') in uc_split_args() 1286 else if (*p == '\\' || *p == '"') in uc_split_args() 1293 p = skipwhite(p); in uc_split_args() 1527 for (p = eap->arg; *p; ++p) in uc_check_code() 1534 if (*p == '\\' || *p == '"') in uc_check_code() 1541 for (p = eap->arg; *p; ++p) in uc_check_code() [all …]
|
| H A D | charset.c | 165 if (*p == '^' && p[1] != NUL) in buf_init_chartab() 177 if (*p == '-' && p[1] != NUL) in buf_init_chartab() 188 || !(*p == NUL || *p == ',')) in buf_init_chartab() 264 p = skip_to_option_part(p); in buf_init_chartab() 1487 return skipwhite(p) - p; in getwhitecols() 1730 while (*p != ' ' && *p != '\t' && *p != NUL) in skiptowhite() 1741 while (*p != ' ' && *p != '\t' && *p != NUL) in skiptowhite_esc() 1743 if ((*p == '\\' || *p == Ctrl_V) && *(p + 1) != NUL) in skiptowhite_esc() 1778 return (*p == NUL || *p == '\r' || *p == '\n'); in vim_isblankline() 2065 for ( ; *p; ++p) in backslash_halve() [all …]
|
| H A D | macros.h | 50 #define LINEEMPTY(p) (*ml_get(p) == NUL) argument 161 # define mch_fstat(n, p) fstat((n), (p)) argument 174 # define mch_fstat(n, p) fstat((n), (p)) argument 183 # define mch_stat(n, p) stat((n), (p)) argument 189 # define mch_lstat(n, p) lstat((n), (p)) argument 243 #define MB_PTR_ADV(p) p += (*mb_ptr2len)(p) argument 245 #define MB_CPTR_ADV(p) p += enc_utf8 ? utf_ptr2len(p) : (*mb_ptr2len)(p) argument 247 #define MB_PTR_BACK(s, p) p -= has_mbyte ? ((*mb_head_off)(s, p - 1) + 1) : 1 argument 249 #define MB_CPTR2LEN(p) (enc_utf8 ? utf_ptr2len(p) : (*mb_ptr2len)(p)) argument 252 #define MB_CHARLEN(p) (has_mbyte ? mb_charlen(p) : (int)STRLEN(p)) argument [all …]
|
| H A D | change.c | 965 ins_bytes_len(p, (int)STRLEN(p)); in ins_bytes() 1441 p += replace_push_mb(p); in open_line() 1538 for (p++; *p; p++) in open_line() 1661 for (p = lead_flags; *p && *p != ':'; ++p) in open_line() 1710 for (p = saved_line + lead_len; *p; ++p) in open_line() 1814 for (p = lead_flags; *p != NUL && *p != ':'; ) in open_line() 1827 && VIM_ISWHITE(*p); --p) in open_line() 1868 mch_memmove(p + 1, p + l + 1, in open_line() 1908 for (p += lead_repl_len; p < leader + lead_len; ++p) in open_line() 1915 mch_memmove(p, p + 1, in open_line() [all …]
|
| H A D | tag.c | 917 while (*p && *p != '\r' && *p != '\n') in print_tag_list() 947 *p && *p != '\r' && *p != '\n'; ++p) in print_tag_list() 1075 *p && *p != '\r' && *p != '\n'; ++p) in add_llist_tags() 1464 p += STRLEN(p); in find_tagfunc_tags() 2072 for (p = ebuf; *p && *p != ','; p++) in find_tags() 2150 for (p = lbuf + 20; *p > ' ' && *p < 127; ++p) in find_tags() 2801 for (p = mfp + 1; *p != NUL; ++p) in find_tags() 3260 *p && *p != '\t' && *p != '\r' && *p != '\n'; MB_PTR_ADV(p)) in parse_match() 3267 *p && *p != '\t' && *p != '\r' && *p != '\n'; MB_PTR_ADV(p)) in parse_match() 4043 *p != NUL && *p != '\n' && *p != '\r'; MB_PTR_ADV(p)) in get_tags() [all …]
|
| H A D | misc1.c | 1639 if (p != NULL && mch_isdir(p)) in vim_version_dir() 1643 if (p != NULL && mch_isdir(p)) in vim_version_dir() 1749 p = vim_version_dir(p); in vim_getenv() 1797 STRNCPY(pnew, p, (pend1 - p)); in vim_getenv() 1800 pend = p + STRLEN(p); in vim_getenv() 1822 if (p == exe_name || p == p_hf) in vim_getenv() 1825 p = vim_strnsave(p, pend - p); in vim_getenv() 2412 for (p = ml_get_buf(buf, lnum, FALSE); *p != NUL; ++p) in get_cmd_output_as_rettv() 2589 p = vim_strnsave(p, skiptowhite(p) - p); in get_isolated_shell_name() 2606 p = vim_strnsave(p1, p - p1); in get_isolated_shell_name() [all …]
|
| H A D | spellsuggest.c | 322 for (p = word; p < end; MB_PTR_ADV(p)) in badword_captype() 2296 *p = p[1]; in suggest_trie_walk() 2384 p = p + tl; in suggest_trie_walk() 2389 *p = p[2]; in suggest_trie_walk() 2412 p[0], p[1], p[2]); in suggest_trie_walk() 2431 *p = p[1]; in suggest_trie_walk() 2459 p[2] = p[1]; in suggest_trie_walk() 2460 p[1] = *p; in suggest_trie_walk() 2473 p[0], p[1], p[2]); in suggest_trie_walk() 2520 *p = p[1]; in suggest_trie_walk() [all …]
|
| H A D | json.c | 172 char_u *p; in is_simple_key() local 176 for (p = key + 1; *p != NUL; ++p) in is_simple_key() 177 if (!ASCII_ISALPHA(*p) && *p != '_' && !vim_isdigit(*p)) in is_simple_key() 424 if (*p == NUL || p[1] == NUL || utf_ptr2len(p) < utf_byte2len(*p)) in json_decode_string() 476 && *p == '\\' && *(p+1) == 'u') in json_decode_string() 507 ++p; in json_decode_string() 512 p += 2; in json_decode_string() 658 while (*p != NUL && *p != ':' && *p > ' ') in json_decode_item() 659 ++p; in json_decode_item() 766 if (VIM_ISDIGIT(*p) || (*p == '-' in json_decode_item() [all …]
|
| H A D | userfunc.c | 136 p = skipwhite(p); in one_function_arg() 238 if (p[0] == '.' && p[1] == '.' && p[2] == '.') in get_function_args() 287 p = skipwhite(p) + 1; in get_function_args() 289 p = skipwhite(p); in get_function_args() 332 p = skipwhite(p); in get_function_args() 351 p = skipwhite(p); in get_function_args() 803 for (p = theline; VIM_ISWHITE(*p) || *p == ':'; ++p) in get_function_body() 3720 for (p = start; *p != NUL && *p != '('; ++p) in trans_function_name() 4122 p = skipwhite(p); in define_function() 4132 p = skipwhite(p); in define_function() [all …]
|
| H A D | option.c | 369 if (p != NULL && (p = vim_strsave(p)) != NULL) in set_init_1() 2150 for (p = arg; *p && !VIM_ISWHITE(*p); ++p) in do_set() 2252 *p = *p | P_INSECURE; in did_set_option() 2254 *p = *p & ~P_INSECURE; in did_set_option() 2901 STRMOVE(p, p + 1); in set_bool_option() 4542 for (p = &options[0]; p->fullname != NULL; p++) in showoptions() 4708 for (p = &options[0]; !istermoption(p); p++) in makeset() 4992 for (p = options; p->fullname != NULL; p++) in free_termoptions() 5020 for (p = &options[0]; p->fullname != NULL; p++) in free_one_termoption() 5040 for (p = &options[0]; p->fullname != NULL; p++) in set_term_defaults() [all …]
|
| H A D | fileio.c | 827 for (p = firstline; p < firstline + len; ++p) in readfile() 1992 for (p = ptr; ; ++p) in readfile() 2088 for (p = ptr; p < ptr + size; ++p) in readfile() 2109 for (; p >= ptr && *p != CAR; p--) in readfile() 2113 for (p = ptr; p < ptr + size; ++p) in readfile() 3105 p += STRLEN(p); in msg_add_lines() 5269 for (p = retval; *p; ++p) in vim_tempname() 5327 for (p = fname; *p != NUL; ++p) in forward_slash() 5447 for (p = pat; p < pat_end; p++) in file_pat_to_reg_pat() 5493 for (p = pat; *p && nested >= 0 && p <= endp; p++) in file_pat_to_reg_pat() [all …]
|
| H A D | vimrun.c | 43 while (*p) in main() 45 if (*p == L'"') in main() 49 ++p; in main() 52 ++p; in main() 55 ++p; in main() 60 if (p[0] == L'-' && p[1] == L's' && p[2] == L' ') in main() 63 p += 3; in main() 65 ++p; in main() 70 WriteConsoleW(hstdout, p, wcslen(p), &written, NULL); in main() 77 if (cmdlen >= 2 && p[0] == L'"' && p[cmdlen - 1] == L'"') in main() [all …]
|
| H A D | spell.c | 984 for (p = slang->sl_comprules; *p != NUL; ++p) in match_compoundrule() 994 if (*p == '/' || *p == NUL) in match_compoundrule() 1002 while (*p != ']' && *p != NUL) in match_compoundrule() 1014 p = vim_strchr(p, '/'); in match_compoundrule() 1516 p = skipwhite(p + 1); in spell_cat_line() 1857 for (p = str; *p != NUL; ++p) in byte_in_str() 1890 p = vim_strchr(p, '/'); in init_syl_tab() 1926 for (p = word; *p != NUL; p += len) in count_syllables() 2048 mch_memmove(p, p + 3, len - (p - lang) - 2); in did_set_spelllang() 2397 for ( ; end == NULL ? *p != NUL : p < end; MB_PTR_ADV(p)) in captype() [all …]
|
| H A D | search.c | 1360 if (*p == '+' || *p == '-' || VIM_ISDIGIT(*p)) in do_search() 1363 (*p == 'e' || *p == 's' || *p == 'b')) in do_search() 1927 for (p = linep + startpos->col + 1; *p && *p != '('; ++p) in find_rawstring_end() 2764 if (p[1] == '/' && (p == line || p[-1] != '*' || p[2] != '*')) in check_linecomment() 2801 for (p = curbuf->b_p_mps; *p != NUL; ++p) in showmatch() 2807 p += mb_ptr2len(p) + 1; in showmatch() 2814 p += mb_ptr2len(p); in showmatch() 3526 *p && !vim_isfilec(*p); p++) in find_pattern_in_path() 3694 for (p = line; *p && p < startp; ++p) in find_pattern_in_path() 3736 p = find_word_end(p); in find_pattern_in_path() [all …]
|
| H A D | ex_getln.c | 267 for (p = cmd; ASCII_ISALPHA(*p); ++p) in do_incsearch_highlighting() 286 p = skipwhite(p + 1); in do_incsearch_highlighting() 287 while (ASCII_ISALPHA(*(p = skipwhite(p)))) in do_incsearch_highlighting() 311 p = skipwhite(p); in do_incsearch_highlighting() 1060 p = mb_prevptr(ccline.cmdbuff, p); in cmdline_erase_chars() 1069 p += (*mb_ptr2len)(p); in cmdline_erase_chars() 2571 for (p = p_wim; *p; ++p) in check_opt_wim() 2575 if (p[i] != NUL && p[i] != ',' && p[i] != ':') in check_opt_wim() 3914 *p != NUL; ++p) in vim_strsave_fnameescape() 3915 if ((*p != '[' && *p != '{' && *p != '!') || !vim_isfilec(*p)) in vim_strsave_fnameescape() [all …]
|
| H A D | regexp.c | 460 if (p[0] != NUL && p[1] == '.' && p[2] != NUL) in get_coll_element() 600 p = skip_anyof(p + 1); in skip_regexp_ex() 613 p = *newp + (p - startp); in skip_regexp_ex() 618 STRMOVE(p, p + 1); in skip_regexp_ex() 776 while (p[0] == '\\' && (p[1] == 'c' || p[1] == 'C' in peekchr() 778 || p[1] == 'v' || p[1] == 'V' || p[1] == 'Z')) in peekchr() 782 else if (p[1] == 'm' || p[1] == 'M' || p[1] == 'V') in peekchr() 788 && (p[1] == '|' || p[1] == '&' || p[1] == ')' in peekchr() 1670 for (p = s; *p != NUL; p += (*mb_ptr2len)(p)) in cstrchr() 1683 for (p = s; *p != NUL; ++p) in cstrchr() [all …]
|
| /vim-8.2.3635/runtime/tools/ |
| H A D | xcmdsrv_client.c | 339 while ((*p != 0) && (!isspace(*p))) in LookupName() 348 p++; in LookupName() 353 for (p = regProp; (p - regProp) < numItems; ) in LookupName() 356 while ((*p != 0) && (!isspace(*p))) in LookupName() 357 p++; in LookupName() 358 if ((*p != 0) && IsSerialName(p + 1) in LookupName() 366 p++; in LookupName() 383 p++; in LookupName() 463 if ((*p == 'r') && (p[1] == 0)) in SendEventProc() 497 p++; in SendEventProc() [all …]
|
| /vim-8.2.3635/src/testdir/dumps/ |
| H A D | Test_popupwin_popupmenu_masking_2.dump | 1 …x|t| |t|e|x|t| |t|e|x|t| |t|e|x|t| |t|e|x|t| |t|a|w|o|r>d| @2|p+0#ffffff16#e000002|o|p|u|p| |b|e|l… 2 |~+0#4040ff13&| @32|p+0#ffffff16#e000002|o|p|u|p| |b|e|l|o|w| @5| +0#4040ff13#ffffff0@23 3 |~| @32|p+0#ffffff16#e000002|o|p|u|p| |b|e|l|o|w| @5| +0#4040ff13#ffffff0@23 4 |~| @19|p+0#0000000#ffff4012|o|p|u|p| |o|n| |t|o|p| +0#4040ff13#ffffff0|p+0#ffffff16#e000002|o|p|u|… 5 |~| @19|p+0#0000000#ffff4012|o|p|u|p| |o|n| |t|o|p| +0#4040ff13#ffffff0@41 6 |~| @19|p+0#0000000#ffff4012|o|p|u|p| |o|n| |t|o|p| +0#4040ff13#ffffff0@41
|