Home
last modified time | relevance | path

Searched refs:l1 (Results 1 – 19 of 19) sorted by relevance

/vim-8.2.3635/src/xdiff/
H A Dxutils.c173 int xdl_recmatch(const char *l1, long s1, const char *l2, long s2, long flags) in xdl_recmatch() argument
177 if (s1 == s2 && !memcmp(l1, l2, s1)) in xdl_recmatch()
196 if (l1[i1++] != l2[i2++]) in xdl_recmatch()
199 while (i1 < s1 && XDL_ISSPACE(l1[i1])) in xdl_recmatch()
206 if (XDL_ISSPACE(l1[i1]) && XDL_ISSPACE(l2[i2])) { in xdl_recmatch()
208 while (i1 < s1 && XDL_ISSPACE(l1[i1])) in xdl_recmatch()
214 if (l1[i1++] != l2[i2++]) in xdl_recmatch()
218 while (i1 < s1 && i2 < s2 && l1[i1] == l2[i2]) { in xdl_recmatch()
224 while (i1 < s1 && i2 < s2 && l1[i1] == l2[i2]) { in xdl_recmatch()
228 return (ends_with_optional_cr(l1, s1, i1) && in xdl_recmatch()
[all …]
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 Dxutils.h36 int xdl_recmatch(const char *l1, long s1, const char *l2, long s2, long flags);
H A Dxdiffi.c952 long i1, i2, l1, l2; in xdl_build_script() local
959 for (l1 = i1; rchg1[i1 - 1]; i1--); in xdl_build_script()
962 if (!(xch = xdl_add_change(cscr, i1, i2, l1 - i1, l2 - i2))) { in xdl_build_script()
/vim-8.2.3635/src/
H A Dlist.c365 list_T *l1, in list_equal() argument
372 if (l1 == l2) in list_equal()
376 if (list_len(l1) == 0) in list_equal()
1109 if (l1 == NULL) in list_concat()
1118 if (l1 == NULL) in list_concat()
2834 list_T *l1, *l2; in extend() local
2840 if (l1 == NULL) in extend()
2851 l1 = list_copy(l1, FALSE, get_copyID()); in extend()
2852 if (l1 == NULL) in extend()
2862 if (before == l1->lv_len) in extend()
[all …]
H A Dex_cmds.c322 sorti_T l1 = *(sorti_T *)s1; in sort_compare() local
337 if (l1.st_u.num.is_number != l2.st_u.num.is_number) in sort_compare()
338 result = l1.st_u.num.is_number - l2.st_u.num.is_number; in sort_compare()
340 result = l1.st_u.num.value == l2.st_u.num.value ? 0 in sort_compare()
341 : l1.st_u.num.value > l2.st_u.num.value ? 1 : -1; in sort_compare()
345 result = l1.st_u.value_flt == l2.st_u.value_flt ? 0 in sort_compare()
346 : l1.st_u.value_flt > l2.st_u.value_flt ? 1 : -1; in sort_compare()
353 STRNCPY(sortbuf1, ml_get(l1.lnum) + l1.st_u.line.start_col_nr, in sort_compare()
354 l1.st_u.line.end_col_nr - l1.st_u.line.start_col_nr + 1); in sort_compare()
355 sortbuf1[l1.st_u.line.end_col_nr - l1.st_u.line.start_col_nr] = 0; in sort_compare()
[all …]
H A Ddiff.c3146 long f1, l1, f2, l2; in parse_diff_ed() local
3158 l1 = getdigits(&p); in parse_diff_ed()
3161 l1 = f1; in parse_diff_ed()
3173 if (l1 < f1 || l2 < f2) in parse_diff_ed()
3184 *count_orig = l1 - f1 + 1; in parse_diff_ed()
H A Dregexp_nfa.c3082 append(Ptrlist *l1, Ptrlist *l2) in append() argument
3086 oldl1 = l1; in append()
3087 while (l1->next) in append()
3088 l1 = l1->next; in append()
3089 l1->next = l2; in append()
H A Dmemline.c5823 char_u *l1, *l2; in ml_find_line_or_offset() local
5826 l1 = (char_u *)dp + ((dp->db_index[idx]) & DB_INDEX_MASK); in ml_find_line_or_offset()
5829 textprop_size = (l2 - l1) - (STRLEN(l1) + 1); in ml_find_line_or_offset()
/vim-8.2.3635/src/proto/
H A Dlist.pro19 int list_equal(list_T *l1, list_T *l2, int ic, int recursive);
38 int list_extend(list_T *l1, list_T *l2, listitem_T *bef);
39 int list_concat(list_T *l1, list_T *l2, typval_T *tv);
/vim-8.2.3635/runtime/indent/
H A Djavascript.vim72 …return searchpair('\m'.a:start,'','\m'.a:end,a:flags,a:skip,s:l1,a:skip ==# 's:SkipFunc()' ? 2000 …
76 return searchpair('\m'.a:start,'','\m'.a:end,a:flags,a:skip,s:l1)
373 let s:l1 = max([0,prevnonblank(v:lnum) - (s:rel ? 2000 : 1000),
397 let [s:looksyn, s:top_col, s:check_in, s:l1] = [v:lnum - 1,0,0,
398 \ max([s:l1, &smc ? search('\m^.\{'.&smc.',}','nbW',s:l1 + 1) + 1 : 0])]
/vim-8.2.3635/src/testdir/
H A Dtest_vim9_assign.vim470 var l1: list<number>
471 l1[0] = 123
472 assert_equal([123], l1)
560 var l1: list<number>
561 var l2 = l1
562 assert_true(l1 is l2)
563 l1 += [123]
564 assert_equal([123], l1)
565 assert_true(l1 is l2)
H A Dtest_quickfix.vim2457 let l1=g:Xgetlist({'nr':1,'all':1})
2459 let save_id = l1.id
2460 let l1.id=l2.id
2462 call g:Xsetlist([], 'r', l1)
3316 let l1 = g:Xgetlist({'nr':1, 'items':1})
3318 call assert_equal('Xone/a/one.txt', bufname(l1.items[1].bufnr))
3319 call assert_equal(3, l1.items[1].lnum)
3353 let l1 = g:Xgetlist({'nr':1, 'items':1})
3355 call assert_equal('one.txt', bufname(l1.items[1].bufnr))
3356 call assert_equal(3, l1.items[1].lnum)
H A Dtest_vim9_builtin.vim2299 var l1: list<number> = g:flag
2302 assert_equal([1, 3], l1)
2321 var l1: list<number> = g:flag
2324 assert_equal([1, 2], l1)
H A Dtest_cindent.vim3644 setl cino+=l1
/vim-8.2.3635/runtime/keymap/
H A Doldturkic-orkhon_utf-8.vim64 l1 �� 10C1E OLD TURKIC LETTER ORKHON AL
H A Doldturkic-yenisei_utf-8.vim73 l1 �� 10C1F OLD TURKIC LETTER YENISEI AL
/vim-8.2.3635/runtime/autoload/
H A Dtohtml.vim103 \ 'l1' : 'latin1',
/vim-8.2.3635/runtime/doc/
H A Dindent.txt271 cino= cino=l1 >