Home
last modified time | relevance | path

Searched refs:p2 (Results 1 – 25 of 35) sorted by relevance

12

/vim-8.2.3635/runtime/doc/
H A Ddoctags.c21 char *p1, *p2; in main() local
45 p2 = strchr(p1 + 1, '*'); /* find second '*' */ in main()
46 if (p2 != NULL && p2 > p1 + 1) /* skip "*" and "**" */ in main()
48 for (p = p1 + 1; p < p2; ++p) in main()
56 if (p == p2 in main()
61 *p2 = '\0'; in main()
73 p2 = strchr(p2 + 1, '*'); /* find next '*' */ in main()
76 p1 = p2; in main()
/vim-8.2.3635/src/
H A Dos_win32.h169 # define TRACE2(sz, p1, p2) Trace(_T(sz), p1, p2) argument
170 # define TRACE3(sz, p1, p2, p3) Trace(_T(sz), p1, p2, p3) argument
171 # define TRACE4(sz, p1, p2, p3, p4) Trace(_T(sz), p1, p2, p3, p4) argument
184 # define TRACE2(sz, p1, p2) argument
185 # define TRACE3(sz, p1, p2, p3) argument
186 # define TRACE4(sz, p1, p2, p3, p4) argument
H A Dhelp.c297 char *p2; in help_compare() local
965 char_u *p1, *p2; in helptags_one() local
1078 if (p2 != NULL && p2 > p1 + 1) // skip "*" and "**" in helptags_one()
1087 if (s == p2 in helptags_one()
1092 *p2 = '\0'; in helptags_one()
1110 p2 = vim_strchr(p2 + 1, '*'); in helptags_one()
1113 p1 = p2; in helptags_one()
1136 if (*p2 == '\t') in helptags_one()
1138 *p2 = NUL; in helptags_one()
1143 *p2 = '\t'; in helptags_one()
[all …]
H A Dcrypt.c71 char_u *p2, int last);
73 char_u *p2, int last);
641 char_u *p1, *p2 = NULL; in crypt_get_key() local
659 if (p2 != NULL && STRCMP(p1, p2) != 0) in crypt_get_key()
663 crypt_free_key(p2); in crypt_get_key()
664 p2 = NULL; in crypt_get_key()
680 p2 = p1; in crypt_get_key()
692 crypt_free_key(p2); in crypt_get_key()
830 char_u *p2 = to;
859 if (p1 == p2)
[all …]
H A Dmap.c2661 char_u *p2; in langmap_set() local
2669 for (p2 = p; p2[0] != NUL && p2[0] != ',' && p2[0] != ';'; in langmap_set()
2672 if (p2[0] == '\\' && p2[1] != NUL) in langmap_set()
2673 ++p2; in langmap_set()
2675 if (p2[0] == ';') in langmap_set()
2690 if (p2 == NULL) in langmap_set()
2702 if (p2[0] != ',') in langmap_set()
2705 ++p2; in langmap_set()
2723 if (p2 != NULL) in langmap_set()
2725 MB_PTR_ADV(p2); in langmap_set()
[all …]
H A Ddiff.c1992 if (l != (*mb_ptr2len)(p2)) in diff_equal_char()
1996 if (STRNCMP(p1, p2, l) != 0 in diff_equal_char()
2006 if ((*p1 != *p2) in diff_equal_char()
2022 char_u *p1, *p2; in diff_cmp() local
2035 p2 = s2; in diff_cmp()
2046 p2 = skipwhite(p2); in diff_cmp()
2053 p2 += l; in diff_cmp()
2059 p2 = skipwhite(p2); in diff_cmp()
2401 char_u *p1, *p2; in diff_find_change() local
2496 p2 = line_new + ei_new; in diff_find_change()
[all …]
H A Dcmdexpand.c34 char_u *p2 = *(char_u **)s2; in sort_func_compare() local
37 if (*p1 == '<' && *p2 != '<') return 1; in sort_func_compare()
38 return STRCMP(p1, p2); in sort_func_compare()
145 char_u *p2; in nextwild() local
182 p2 = NULL; in nextwild()
192 p2 = ExpandOne(xp, p1, in nextwild()
203 if ((int)STRLEN(p2) < j) in nextwild()
204 VIM_CLEAR(p2); in nextwild()
209 if (p2 != NULL && !got_int) in nextwild()
224 mch_memmove(&ccline->cmdbuff[i], p2, STRLEN(p2)); in nextwild()
[all …]
H A Dmacros.h224 # define UTF_COMPOSINGLIKE(p1, p2) utf_composinglike((p1), (p2)) argument
226 # define UTF_COMPOSINGLIKE(p1, p2) utf_iscomposing(utf_ptr2char(p2)) argument
H A Dstrings.c76 char_u *p2; in vim_strsave_escaped_ext() local
99 p2 = escaped_string; in vim_strsave_escaped_ext()
104 mch_memmove(p2, p, (size_t)l); in vim_strsave_escaped_ext()
105 p2 += l; in vim_strsave_escaped_ext()
110 *p2++ = cc; in vim_strsave_escaped_ext()
111 *p2++ = *p; in vim_strsave_escaped_ext()
113 *p2 = NUL; in vim_strsave_escaped_ext()
338 char_u *p2; in vim_strup() local
343 p2 = p; in vim_strup()
344 while ((c = *p2) != NUL) in vim_strup()
[all …]
H A Dprofiler.c506 ufunc_T *p1, *p2; in prof_total_cmp() local
509 p2 = *(ufunc_T **)s2; in prof_total_cmp()
510 return profile_cmp(&p1->uf_tm_total, &p2->uf_tm_total); in prof_total_cmp()
519 ufunc_T *p1, *p2; in prof_self_cmp() local
522 p2 = *(ufunc_T **)s2; in prof_self_cmp()
523 return profile_cmp(&p1->uf_tm_self, &p2->uf_tm_self); in prof_self_cmp()
H A Dchange.c1657 char_u *p2; in open_line() local
1767 for (p2 = p; *p2 && *p2 != ':'; p2++) in open_line()
1769 if (*p2 == COM_AUTO_END) in open_line()
1775 while (*p2 && *p2 != ',') in open_line()
1776 p2++; in open_line()
1777 end_comment_pending = p2[-1]; in open_line()
H A Dlist.c1829 char_u *p1, *p2; in item_compare() local
1873 p2 = (char_u *)"'"; in item_compare()
1875 p2 = tv2->vval.v_string; in item_compare()
1878 p2 = tv2string(tv2, &tofree2, numbuf2, 0); in item_compare()
1881 if (p2 == NULL) in item_compare()
1882 p2 = (char_u *)""; in item_compare()
1886 res = strcoll((char *)p1, (char *)p2); in item_compare()
1888 res = sortinfo->item_compare_ic ? STRICMP(p1, p2): STRCMP(p1, p2); in item_compare()
1894 n2 = strtod((char *)p2, (char **)&p2); in item_compare()
H A Ddrawline.c1131 char_u *p1, *p2; in win_line() local
1135 p2 = skipwhite(extra); in win_line()
1136 p2 = skiptowhite(p2) - 1; in win_line()
1137 for (p1 = skipwhite(extra); p1 < p2; ++p1, --p2) in win_line()
1140 *p1 = *p2; in win_line()
1141 *p2 = t; in win_line()
H A Dmisc1.c2599 char_u *p1, *p2; in get_isolated_shell_name() local
2603 for (p2 = p_sh; p2 < p; MB_PTR_ADV(p2)) in get_isolated_shell_name()
2604 if (vim_ispathsep(*p2)) in get_isolated_shell_name()
2605 p1 = p2 + 1; in get_isolated_shell_name()
H A Dregexp_nfa.c3103 int *p2; in st_error() local
3114 for (p2 = postfix; p2 < end; p2++) in st_error()
3116 nfa_set_code(*p2); in st_error()
3121 for (p2 = postfix; p2 <= p; p2 ++) in st_error()
3123 nfa_set_code(*p2); in st_error()
3127 for (p2 = postfix; p2 < end; p2++) in st_error()
3128 fprintf(df, "%d, ", *p2); in st_error()
3130 for (p2 = postfix; p2 <= p; p2 ++) in st_error()
3131 fprintf(df, "%d, ", *p2); in st_error()
H A Dgetchar.c126 char_u *p2; in get_buffcont() local
136 p2 = p; in get_buffcont()
139 *p2++ = *str++; in get_buffcont()
140 *p2 = NUL; in get_buffcont()
2504 char_u *p2 = mb_unescape(&p1); in handle_mapping() local
2506 if (has_mbyte && p2 != NULL in handle_mapping()
2507 && MB_BYTE2LEN(tb_c1) > mb_ptr2len(p2)) in handle_mapping()
H A Dspellfile.c4822 wordnode_T *p2; in node_equal() local
4824 for (p1 = n1, p2 = n2; p1 != NULL && p2 != NULL; in node_equal()
4825 p1 = p1->wn_sibling, p2 = p2->wn_sibling) in node_equal()
4826 if (p1->wn_byte != p2->wn_byte in node_equal()
4828 ? (p1->wn_flags != p2->wn_flags in node_equal()
4829 || p1->wn_region != p2->wn_region in node_equal()
4830 || p1->wn_affixID != p2->wn_affixID) in node_equal()
4831 : (p1->wn_child != p2->wn_child))) in node_equal()
4834 return p1 == NULL && p2 == NULL; in node_equal()
4846 fromto_T *p2 = (fromto_T *)s2; in rep_compare() local
[all …]
H A Dmisc2.c2452 char_u *p2; in qsort() local
2466 p2 = (char_u *)base + (j + gap) * elm_size; in qsort()
2467 if ((*cmp)((void *)p1, (void *)p2) <= 0) in qsort()
2471 mch_memmove(p1, p2, elm_size); in qsort()
2472 mch_memmove(p2, buf, elm_size); in qsort()
H A Dscriptfile.c479 char_u *p4, *p3, *p2, *p1, *p; in add_pack_dir_to_rtp() local
498 p4 = p3 = p2 = p1 = get_past_head(fname); in add_pack_dir_to_rtp()
502 p4 = p3; p3 = p2; p2 = p1; p1 = p; in add_pack_dir_to_rtp()
H A Dfilepath.c2813 char_u *p1, *p2; in gettail() local
2817 for (p1 = p2 = get_past_head(fname); *p2; ) // find last part of path in gettail()
2819 if (vim_ispathsep_nocolon(*p2)) in gettail()
2820 p1 = p2 + 1; in gettail()
2821 MB_PTR_ADV(p2); in gettail()
H A Dscreen.c832 char_u *p1, *p2; in rl_mirror() local
835 for (p1 = str, p2 = str + STRLEN(str) - 1; p1 < p2; ++p1, --p2) in rl_mirror()
838 *p1 = *p2; in rl_mirror()
839 *p2 = t; in rl_mirror()
H A Dterminal.c5430 char_u *p2; in term_load_dump() local
5444 p2 = line2; in term_load_dump()
5445 for (col = 0; col < width && *p1 != NUL && *p2 != NUL; ++col) in term_load_dump()
5448 int len2 = utfc_ptr2len(p2); in term_load_dump()
5451 if (len1 != len2 || STRNCMP(p1, p2, len1) != 0) in term_load_dump()
5482 p2 += len2; in term_load_dump()
5488 if (*p1 == NUL && *p2 == NUL) in term_load_dump()
5493 p2 += utfc_ptr2len(p2); in term_load_dump()
/vim-8.2.3635/
H A Dvimtutor.com82 $ vim -u "NONE" -c "set nocp" 'p1' 'p2' 'p3' 'p4' 'p5' 'p6' 'p7' 'p8' 'tutfil'
/vim-8.2.3635/runtime/syntax/
H A Dtssgm.vim34 syn keyword tssgmParam p1 p2 p3 p4 p5 p6 rot1 rot2 rot3 tx ty tz
/vim-8.2.3635/src/proto/
H A Dmbyte.pro28 int utf_composinglike(char_u *p1, char_u *p2);

12