| /vim-8.2.3635/src/ |
| H A D | blob.c | 287 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 D | list.c | 803 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 D | time.c | 144 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 D | eval.c | 70 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 D | vim9execute.c | 2607 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 D | typval.c | 1155 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 D | mbyte.c | 3617 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 D | test_ex_equal.vim | 8 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 D | test_user_func.vim | 19 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 D | test_eval_stuff.vim | 441 …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 D | test_const.vim | 182 const n2 = v:null 196 call assert_fails('const n2 = v:null', 'E995:')
|
| H A D | test_writefile.vim | 681 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 D | test_execute_func.vim | 52 call assert_equal("\n0\n1\n2\n3", execute(l))
|
| H A D | test_popup.vim | 478 \ { '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 D | test_lambda.vim | 253 \ .. "\n2 return x"
|
| /vim-8.2.3635/src/proto/ |
| H A D | blob.pro | 17 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 D | list.pro | 34 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 D | eval.pro | 2 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 D | evalvars.pro | 26 … 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 D | xxd.c | 298 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 D | 62screen_damage.test | 99 PUSH "\e[H1\r\n2\r\n3" 118 PUSH "\e[3;6r\e[6H1\r\n2\r\n3\r\n4\r\n5"
|
| H A D | 02parser.test | 35 PUSH "1\n2"
|
| /vim-8.2.3635/runtime/plugin/ |
| H A D | logiPat.vim | 251 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 D | oldturkic-orkhon_utf-8.vim | 80 n2 10C24 OLD TURKIC LETTER ORKHON AEN
|
| H A D | oldturkic-yenisei_utf-8.vim | 90 n2 10C25 OLD TURKIC LETTER YENISEI AEN
|