Home
last modified time | relevance | path

Searched refs:n2 (Results 1 – 25 of 34) sorted by relevance

12

/vim-8.2.3635/src/
H A Dblob.c287 varnumber_T n2, in blob_slice_or_index() argument
303 if (n2 < 0) in blob_slice_or_index()
304 n2 = len + n2; in blob_slice_or_index()
305 else if (n2 >= len) in blob_slice_or_index()
306 n2 = len - (exclusive ? 0 : 1); in blob_slice_or_index()
308 --n2; in blob_slice_or_index()
309 if (n1 >= len || n2 < 0 || n1 > n2) in blob_slice_or_index()
328 for (i = n1; i <= n2; i++) in blob_slice_or_index()
380 if (n2 < 0 || n2 >= bloblen || n2 < n1) in check_blob_range()
383 semsg(_(e_blobidx), n2); in check_blob_range()
[all …]
H A Dlist.c803 long *n2, in check_range_index_two() argument
806 if (*n2 < 0) in check_range_index_two()
822 if (*n2 < *n1) in check_range_index_two()
1182 if (n2 < 0) in list_slice_or_index()
1183 n2 = len + n2; in list_slice_or_index()
1184 else if (n2 >= len) in list_slice_or_index()
1187 --n2; in list_slice_or_index()
1188 if (n2 < 0 || n2 + 1 < n1) in list_slice_or_index()
1189 n2 = -1; in list_slice_or_index()
1892 double n1, n2; in item_compare() local
[all …]
H A Dtime.c144 long n1, n2; in list2proftime() local
151 n2 = list_find_nr(arg->vval.v_list, 1L, &error); in list2proftime()
154 tm->LowPart = n2; in list2proftime()
157 tm->tv_usec = n2; in list2proftime()
172 long n1, n2; in f_reltime() local
213 n2 = res.LowPart; in f_reltime()
216 n2 = res.tv_usec; in f_reltime()
219 list_append_number(rettv->vval.v_list, (varnumber_T)n2); in f_reltime()
H A Deval.c70 if (n2 == 0) in num_divide()
86 result = n1 / n2; in num_divide()
104 return (n2 == 0) ? 0 : (n1 % n2); in num_modulus()
3024 n2 = 0; in eval5()
3038 f2 = n2; in eval5()
3058 n1 = n1 + n2; in eval5()
3183 n2 = 0; in eval6()
3194 f2 = n2; in eval6()
4239 n2 = len + n2; in eval_index_inner()
4241 n2 = len; in eval_index_inner()
[all …]
H A Dvim9execute.c2607 long n2; in exec_instructions() local
2640 n2, in exec_instructions()
2651 varnumber_T n2; in exec_instructions() local
2859 if (n2 < 0) in exec_instructions()
2870 && n2 < n1) in exec_instructions()
3819 varnumber_T n1, n2; in exec_instructions() local
3865 n2 = 0; in exec_instructions()
3875 f2 = n2; in exec_instructions()
3944 varnumber_T n1 = 0, n2; in exec_instructions() local
3957 n2 = tv->vval.v_number; in exec_instructions()
[all …]
H A Dtypval.c1155 varnumber_T n1, n2; in typval_compare() local
1320 n2 = tv_get_number(typ2); in typval_compare()
1324 case EXPR_EQUAL: n1 = (n1 == n2); break; in typval_compare()
1326 case EXPR_NEQUAL: n1 = (n1 != n2); break; in typval_compare()
1327 case EXPR_GREATER: n1 = (n1 > n2); break; in typval_compare()
1328 case EXPR_GEQUAL: n1 = (n1 >= n2); break; in typval_compare()
1329 case EXPR_SMALLER: n1 = (n1 < n2); break; in typval_compare()
1330 case EXPR_SEQUAL: n1 = (n1 <= n2); break; in typval_compare()
1349 n2 = typ2->vval.v_number; in typval_compare()
1353 case EXPR_EQUAL: n1 = (n1 == n2); break; in typval_compare()
[all …]
H A Dmbyte.c3617 size_t n2) in utf_strnicmp() argument
3625 c2 = utf_safe_read_char_adv(&s2, &n2); in utf_strnicmp()
3662 n2 = utf_char2bytes(utf_fold(c2), buffer); in utf_strnicmp()
3666 while (n1 > 0 && n2 > 0 && *s1 != NUL && *s2 != NUL) in utf_strnicmp()
3675 n2--; in utf_strnicmp()
3680 if (n2 > 0 && *s2 == NUL) in utf_strnicmp()
3681 n2 = 0; in utf_strnicmp()
3683 if (n1 == 0 && n2 == 0) in utf_strnicmp()
/vim-8.2.3635/src/testdir/
H A Dtest_ex_equal.vim8 call assert_equal("\n2", a)
11 call assert_equal("\n2\n 1 foo bar", a)
14 call assert_equal("\n2\nfoo^Ibar$", a)
17 call assert_equal("\n2\nfoo bar", a)
20 call assert_equal("\n2\n 1 foo^Ibar$", a)
23 call assert_equal("\n2\n 1 foo bar", a)
H A Dtest_user_func.vim19 func Compute(n1, n2, divname) argument
20 if a:n2 == 0
23 exe "let g:" . a:divname . " = ". a:n1 / a:n2
495 \ .. "\n2 echo a:lastline"
H A Dtest_eval_stuff.vim441 …call Assert_reg('e', 'V', "1\n2\nabc\n3\n", "['1', '2', 'abc', '3']", "1\n2\nabc\n3\n", "['1', '2'…
445 call Assert_reg('f', 'V', "1\n2\n3\n", "['1', '2', '3']", "1\n2\n3\n", "['1', '2', '3']")
H A Dtest_const.vim182 const n2 = v:null
196 call assert_fails('const n2 = v:null', 'E995:')
H A Dtest_writefile.vim681 call writefile([utf16be_bom .. "\nu\nc\ns\n-\n2\n"], 'Xtest1')
691 call assert_equal([utf16be_bom .. "\nu\nc\ns\n-\n2\n", ''],
696 call writefile([utf16le_bom .. "u\nc\ns\n-\n2\nl\ne\n"], 'Xtest1')
708 call assert_equal([utf16le_bom .. "u\nc\ns\n-\n2\nl\ne\n", "\n"],
H A Dtest_execute_func.vim52 call assert_equal("\n0\n1\n2\n3", execute(l))
H A Dtest_popup.vim478 \ { 'word': 'February', 'info': "info2-1\n2-2\n2-3" },
790 \ ' n2 = "no"}',
793 \ 'struct = {one = 1, nested = {n1 = "yes", n2 = "no"} two = 2}'))
H A Dtest_lambda.vim253 \ .. "\n2 return x"
/vim-8.2.3635/src/proto/
H A Dblob.pro17 int blob_slice_or_index(blob_T *blob, int is_range, varnumber_T n1, varnumber_T n2, int exclusive, …
19 int check_blob_range(long bloblen, varnumber_T n1, varnumber_T n2, int quiet);
20 int blob_set_range(blob_T *dest, long n1, long n2, typval_T *src);
H A Dlist.pro34 int check_range_index_two(list_T *l, long *n1, listitem_T *li1, long *n2, int quiet);
40 list_T *list_slice(list_T *ol, long n1, long n2);
H A Deval.pro2 varnumber_T num_divide(varnumber_T n1, varnumber_T n2, int *failed);
3 varnumber_T num_modulus(varnumber_T n1, varnumber_T n2, int *failed);
H A Devalvars.pro26 … list_unlet_range(list_T *l, listitem_T *li_first, char_u *name, long n1_arg, int has_n2, long n2);
/vim-8.2.3635/src/xxd/
H A Dxxd.c298 int c, ign_garb = 1, n1 = -1, n2 = 0, n3, p = cols; in huntype() local
314 n3 = n2; in huntype()
315 n2 = n1; in huntype()
349 if (n2 >= 0 && n1 >= 0) in huntype()
351 if (putc((n2 << 4) | n1, fpo) == EOF) in huntype()
360 else if (n1 < 0 && n2 < 0 && n3 < 0) in huntype()
/vim-8.2.3635/src/libvterm/t/
H A D62screen_damage.test99 PUSH "\e[H1\r\n2\r\n3"
118 PUSH "\e[3;6r\e[6H1\r\n2\r\n3\r\n4\r\n5"
H A D02parser.test35 PUSH "1\n2"
/vim-8.2.3635/runtime/plugin/
H A DlogiPat.vim251 let n2= s:LP_PatPop(1)
252 call s:LP_PatPush(s:LP_Or(n2,n1))
256 let n2= s:LP_PatPop(1)
257 call s:LP_PatPush(s:LP_And(n2,n1))
/vim-8.2.3635/runtime/keymap/
H A Doldturkic-orkhon_utf-8.vim80 n2 �� 10C24 OLD TURKIC LETTER ORKHON AEN
H A Doldturkic-yenisei_utf-8.vim90 n2 �� 10C25 OLD TURKIC LETTER YENISEI AEN

12