Home
last modified time | relevance | path

Searched refs:l2 (Results 1 – 23 of 23) 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()
201 while (i2 < s2 && XDL_ISSPACE(l2[i2])) in xdl_recmatch()
206 if (XDL_ISSPACE(l1[i1]) && XDL_ISSPACE(l2[i2])) { in xdl_recmatch()
210 while (i2 < s2 && XDL_ISSPACE(l2[i2])) 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()
229 ends_with_optional_cr(l2, s2, i2)); 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
960 for (l2 = i2; rchg2[i2 - 1]; i2--); 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/testdir/
H A Dtest_mzscheme.vim50 let l2 = mzeval("h")["list"]
51 call assert_equal(l2[2], l2)
H A Dtest_const.vim175 const l2 = [1, 2, 3]
189 call assert_fails('const l2 = [1, 2, 3]', 'E995:')
326 const l2 = [0, lvar, bvar]
327 let l2[1][0] = 'c'
328 let l2[2][1] = 0x33
329 call assert_equal([0, ['c', 'b'], 0z1133], l2)
H A Dtest_vim9_assign.vim474 var l2: list<list<number>>
475 l2[0] = []
476 l2[0][0] = 123
477 assert_equal([[123]], l2)
561 var l2 = l1
562 assert_true(l1 is l2)
565 assert_true(l1 is l2)
H A Dtest_json.vim40 let l2 = ['a', s:varl2, 'c'] variable
41 let s:varl2[1] = l2
H A Dtest_listdict.vim521 VAR l2 = [0, l, l, 3]
522 LET l[1] = l2
523 VAR l3 = deepcopy(l2)
H A Dtest_quickfix.vim2458 let l2=g:Xgetlist({'nr':2,'all':1})
2460 let l1.id=l2.id
2461 let l2.id=save_id
2463 call g:Xsetlist([], 'r', l2)
3317 let l2 = g:Xgetlist({'nr':2, 'items':1})
3320 call assert_equal('Xtwo/a/two.txt', bufname(l2.items[1].bufnr))
3321 call assert_equal(5, l2.items[1].lnum)
3354 let l2 = g:Xgetlist({'nr':2, 'items':1})
3357 call assert_equal('two.txt', bufname(l2.items[1].bufnr))
3358 call assert_equal(5, l2.items[1].lnum)
H A Dtest_visual.vim505 exe "normal \<C-V>jlc \<Esc>l.l2\<C-V>c----\<Esc>l."
575 exe "normal cW-\<Esc>l.l2.l."
H A Dtest_vim9_builtin.vim2305 var l2: list<number> = g:flag
2308 assert_equal([4, 5], l2)
2327 var l2: list<number> = g:flag
2330 assert_equal([4, 5], l2)
/vim-8.2.3635/src/
H A Ddigraph.c2150 list_T *l2; in digraph_getlist_appendpair() local
2161 l2 = list_alloc(); in digraph_getlist_appendpair()
2162 li->li_tv.vval.v_list = l2; in digraph_getlist_appendpair()
2163 if (l2 == NULL) in digraph_getlist_appendpair()
2165 ++l2->lv_refcount; in digraph_getlist_appendpair()
2170 list_append(l2, li2); in digraph_getlist_appendpair()
2182 list_append(l2, li2); in digraph_getlist_appendpair()
H A Dlist.c366 list_T *l2, in list_equal() argument
372 if (l1 == l2) in list_equal()
379 if (l1 == NULL || l2 == NULL) in list_equal()
383 CHECK_LIST_MATERIALIZE(l2); in list_equal()
1078 if (l2 == NULL || l2->lv_len == 0) in list_extend()
1081 todo = l2->lv_len; in list_extend()
1083 CHECK_LIST_MATERIALIZE(l2); in list_extend()
2834 list_T *l1, *l2; in extend() local
2845 l2 = argvars[1].vval.v_list; in extend()
2847 && l2 != NULL) in extend()
[all …]
H A Ddict.c1197 list_T *l2; in dict_list() local
1248 l2 = list_alloc(); in dict_list()
1251 li->li_tv.vval.v_list = l2; in dict_list()
1252 if (l2 == NULL) in dict_list()
1254 ++l2->lv_refcount; in dict_list()
1259 list_append(l2, li2); in dict_list()
1267 list_append(l2, li2); in dict_list()
H A Dex_cmds.c323 sorti_T l2 = *(sorti_T *)s2; 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()
356 STRNCPY(sortbuf2, ml_get(l2.lnum) + l2.st_u.line.start_col_nr, in sort_compare()
357 l2.st_u.line.end_col_nr - l2.st_u.line.start_col_nr + 1); in sort_compare()
358 sortbuf2[l2.st_u.line.end_col_nr - l2.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
3169 l2 = getdigits(&p); in parse_diff_ed()
3172 l2 = f2; in parse_diff_ed()
3173 if (l1 < f1 || l2 < f2) in parse_diff_ed()
3194 *count_new = l2 - f2 + 1; in parse_diff_ed()
H A Dmemline.c5823 char_u *l1, *l2; in ml_find_line_or_offset() local
5827 l2 = (char_u *)dp + (idx == 0 ? dp->db_txt_end in ml_find_line_or_offset()
5829 textprop_size = (l2 - l1) - (STRLEN(l1) + 1); in ml_find_line_or_offset()
H A Dregexp_nfa.c3082 append(Ptrlist *l1, Ptrlist *l2) in append() argument
3089 l1->next = l2; in append()
/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/keymap/
H A Doldturkic-orkhon_utf-8.vim68 l2 �� 10C20 OLD TURKIC LETTER ORKHON AEL
H A Doldturkic-yenisei_utf-8.vim77 l2 �� 10C20 OLD TURKIC LETTER ORKHON AEL
/vim-8.2.3635/runtime/autoload/
H A Dtohtml.vim112 \ 'l2' : 'iso-8859-2',