Home
last modified time | relevance | path

Searched refs:s2 (Results 1 – 25 of 54) sorted by relevance

123

/vim-8.2.3635/runtime/macros/urm/
H A Dexamples9 Asym. Diff.[ 7, 4]: (s2;s3)3.
10 Abs. Diff. [90,81]: (a1;a4;s2)2; (a2;s1)1; (a1;a5;s3)3; (a3;s1)1; (s2;s3)3; (s5;s4)4; (a2;s5)5.
12 Mult [227, 161]: (a4;a5;s2)2; ((a2;s4)4; s3; (a1;a4;s5)5; (a5;s1)1)3.
13 Copy [ 48, 25]: (a1;a3;s2)2; (a2;s1)1.
14 sign [ 30, 17]: (a3;s2)2; (a2;(s3)3)3.
15 !sign[ 36, 28]: (a3;s2)2; (a2;(s3)3)3; a3; (s3;s2)2; (s3;a2)3.
16s2)2; (a2;a10;s3)3; (a3;s2)2; (a2;(s3)3)3; a3; (s3;s2)2; (s3;a2)3; (a2)2;(a2;s9)9;(a3;s10)10; (a9;…
H A Durm7 (a4;a5;s2)2; ((a2;s4)4; s3; (a1;a4;s5)5; (a5;s1)1)3.
H A DREADME.txt43 (a4;a5;s2)2; ((a2;s4)4; s3; (a1;a4;s5)5; (a5;s1)1)3.
/vim-8.2.3635/src/xdiff/
H A Dxemit.c179 long s1, s2, e1, e2, lctx; in xdl_emit_diff() local
194 s2 = XDL_MAX(xch->i2 - xecfg->ctxlen, 0); in xdl_emit_diff()
228 s2 = XDL_MAX(s2 - (s1 - fs1), 0); in xdl_emit_diff()
237 xchp->i2 + xchp->chg2 <= s2) in xdl_emit_diff()
300 xdl_emit_hunk_hdr(s1 + 1, e1 - s1, s2 + 1, e2 - s2, in xdl_emit_diff()
307 for (; s2 < xch->i2; s2++) in xdl_emit_diff()
308 if (xdl_emit_record(&xe->xdf2, s2, " ", ecb) < 0) in xdl_emit_diff()
315 for (; s1 < xch->i1 && s2 < xch->i2; s1++, s2++) in xdl_emit_diff()
329 for (s2 = xch->i2; s2 < xch->i2 + xch->chg2; s2++) in xdl_emit_diff()
336 s2 = xch->i2 + xch->chg2; in xdl_emit_diff()
[all …]
H A Dxutils.c177 if (s1 == s2 && !memcmp(l1, l2, s1)) in xdl_recmatch()
195 while (i1 < s1 && i2 < s2) { in xdl_recmatch()
201 while (i2 < s2 && XDL_ISSPACE(l2[i2])) in xdl_recmatch()
205 while (i1 < s1 && i2 < s2) { in xdl_recmatch()
210 while (i2 < s2 && XDL_ISSPACE(l2[i2])) in xdl_recmatch()
229 ends_with_optional_cr(l2, s2, i2)); in xdl_recmatch()
244 if (i2 < s2) { in xdl_recmatch()
245 while (i2 < s2 && XDL_ISSPACE(l2[i2])) in xdl_recmatch()
247 return (s2 == i2); in xdl_recmatch()
365 nb += xdl_num_out(buf + nb, c2 ? s2: s2 - 1); in xdl_format_hunk_hdr()
[all …]
H A Dxutils.h36 int xdl_recmatch(const char *l1, long s1, const char *l2, long s2, long flags);
40 int xdl_emit_hunk_hdr(long s1, long c1, long s2, long c2,
H A Dxhistogram.c99 #define CMP_ENV(xpp, env, s1, l1, s2, l2) \ argument
100 (cmp_recs(xpp, REC(env, s1, l1), REC(env, s2, l2)))
102 #define CMP(i, s1, l1, s2, l2) \ argument
103 (cmp_recs(i->xpp, REC(i->env, s1, l1), REC(i->env, s2, l2)))
H A Dxdiffi.c677 static int score_cmp(struct split_score *s1, struct split_score *s2) in score_cmp() argument
680 int cmp_indents = ((s1->effective_indent > s2->effective_indent) - in score_cmp()
681 (s1->effective_indent < s2->effective_indent)); in score_cmp()
683 return INDENT_WEIGHT * cmp_indents + (s1->penalty - s2->penalty); in score_cmp()
/vim-8.2.3635/src/
H A Dtypval.c1156 char_u *s1, *s2; in typval_compare() local
1375 s2 = tv_get_string_buf(typ2, buf2); in typval_compare()
1377 i = ic ? MB_STRICMP(s1, s2) : STRCMP(s1, s2); in typval_compare()
1468 char_u *s1, *s2; in func_equal() local
1480 if (s2 != NULL && *s2 == NUL) in func_equal()
1481 s2 = NULL; in func_equal()
1482 if (s1 == NULL || s2 == NULL) in func_equal()
1484 if (s1 != s2) in func_equal()
1487 else if (STRCMP(s1, s2) != 0) in func_equal()
1527 char_u *s1, *s2; in tv_equal() local
[all …]
H A Dmbyte.c3615 char_u *s2, in utf_strnicmp() argument
3625 c2 = utf_safe_read_char_adv(&s2, &n2); in utf_strnicmp()
3663 s2 = buffer; in utf_strnicmp()
3668 cdiff = (int)(*s1) - (int)(*s2); in utf_strnicmp()
3673 s2++; in utf_strnicmp()
3680 if (n2 > 0 && *s2 == NUL) in utf_strnicmp()
3697 mb_strnicmp(char_u *s1, char_u *s2, size_t nn) in mb_strnicmp() argument
3705 return utf_strnicmp(s1, s2, nn, nn); in mb_strnicmp()
3718 if (s1[i] != s2[i]) in mb_strnicmp()
3720 cdiff = MB_TOLOWER(s1[i]) - MB_TOLOWER(s2[i]); in mb_strnicmp()
[all …]
H A Dstrings.c539 vim_stricmp(char *s1, char *s2) in vim_stricmp() argument
545 i = (int)TOLOWER_LOC(*s1) - (int)TOLOWER_LOC(*s2); in vim_stricmp()
551 ++s2; in vim_stricmp()
564 vim_strnicmp(char *s1, char *s2, size_t len) in vim_strnicmp() argument
570 i = (int)TOLOWER_LOC(*s1) - (int)TOLOWER_LOC(*s2); in vim_strnicmp()
576 ++s2; in vim_strnicmp()
709 static int sort_compare(const void *s1, const void *s2);
712 sort_compare(const void *s1, const void *s2) in sort_compare() argument
714 return STRCMP(*(char **)s1, *(char **)s2); in sort_compare()
H A Dprofiler.c504 prof_total_cmp(const void *s1, const void *s2) in prof_total_cmp() argument
509 p2 = *(ufunc_T **)s2; in prof_total_cmp()
517 prof_self_cmp(const void *s1, const void *s2) in prof_self_cmp() argument
522 p2 = *(ufunc_T **)s2; in prof_self_cmp()
H A Dtermlib.c578 _match(char *s1, char *s2) in _match() argument
582 while (s1[i] && s1[i] == s2[i]) in _match()
H A Dfindfile.c1323 ff_wc_equal(char_u *s1, char_u *s2) in ff_wc_equal() argument
1331 if (s1 == s2) in ff_wc_equal()
1334 if (s1 == NULL || s2 == NULL) in ff_wc_equal()
1337 for (i = 0, j = 0; s1[i] != NUL && s2[j] != NUL;) in ff_wc_equal()
1340 c2 = PTR2CHAR(s2 + j); in ff_wc_equal()
1349 j += mb_ptr2len(s2 + j); in ff_wc_equal()
1351 return s1[i] == s2[j]; in ff_wc_equal()
H A Dhelp.c294 help_compare(const void *s1, const void *s2) in help_compare() argument
301 p2 = *(char **)s2 + strlen(*(char **)s2) + 1; in help_compare()
309 return strcmp(*(char **)s1, *(char **)s2); in help_compare()
H A Diid_ole.c34 unsigned short s2; member
H A Dex_cmds.c312 string_compare(const void *s1, const void *s2) in string_compare() argument
315 return strcoll((char *)s1, (char *)s2); in string_compare()
316 return sort_ic ? STRICMP(s1, s2) : STRCMP(s1, s2); in string_compare()
320 sort_compare(const void *s1, const void *s2) in sort_compare() argument
323 sorti_T l2 = *(sorti_T *)s2; in sort_compare()
384 char_u *s2; in ex_sort() local
538 s2 = s + end_col; in ex_sort()
539 c = *s2; in ex_sort()
540 *s2 = NUL; in ex_sort()
582 *s2 = c; in ex_sort()
H A Dregexp.c374 static int cstrncmp(char_u *s1, char_u *s2, int *n);
1595 cstrncmp(char_u *s1, char_u *s2, int *n) in cstrncmp() argument
1600 result = STRNCMP(s1, s2, *n); in cstrncmp()
1602 result = MB_STRNICMP(s1, s2, *n); in cstrncmp()
1614 str2 = s2; in cstrncmp()
1637 *n = (int)(str2 - s2); in cstrncmp()
H A Dgetchar.c969 char_u *s1, *s2; in ins_typebuf() local
1025 s2 = alloc(newlen); in ins_typebuf()
1026 if (s2 == NULL) // out of memory in ins_typebuf()
1047 mch_memmove(s2 + newoff, typebuf.tb_noremap + typebuf.tb_off, in ins_typebuf()
1049 mch_memmove(s2 + newoff + offset + addlen, in ins_typebuf()
1054 typebuf.tb_noremap = s2; in ins_typebuf()
H A Dlist.c1792 static int item_compare(const void *s1, const void *s2);
1793 static int item_compare2(const void *s1, const void *s2);
1825 item_compare(const void *s1, const void *s2) in item_compare() argument
1836 si2 = (sortItem_T *)s2; in item_compare()
1909 item_compare2(const void *s1, const void *s2) in item_compare2() argument
1924 si2 = (sortItem_T *)s2; in item_compare2()
/vim-8.2.3635/src/testdir/
H A Dtest_const.vim173 const s2 = 'vim'
187 call assert_fails('const s2 = "vim"', 'E995:')
198 call assert_fails('const [i2, f2, s2] = [1, 1.1, "vim"]', 'E995:')
300 let s2 = 'abc_foo'
301 call assert_fails('const {s2} = "bar"', 'E995:')
/vim-8.2.3635/src/proto/
H A Dstrings.pro15 int vim_stricmp(char *s1, char *s2);
16 int vim_strnicmp(char *s1, char *s2, size_t len);
H A Dviminfo.pro3 int buf_compare(const void *s1, const void *s2);
/vim-8.2.3635/src/xxd/
H A Dxxd.c178 # define STRNCMP(s1, s2, l) strncmp(s1, s2, (size_t)l) argument
180 # define STRNCMP(s1, s2, l) strncmp(s1, s2, l) argument
/vim-8.2.3635/runtime/ftplugin/
H A Dscala.vim21 setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s2:/**,mb:*,ex:*/,s1:/*,mb:*,ex:*/,://

123