Home
last modified time | relevance | path

Searched refs:f2 (Results 1 – 21 of 21) sorted by relevance

/vim-8.2.3635/src/testdir/
H A Dtest_partial.vim296 let dict1.f2 = function(dict1.f1, dict1)
300 call assert_equal('dict1', dict1.f2())
301 call assert_equal('dict1', dict1['f2']())
305 let dict2.f2 = dict1.f2
309 call assert_equal('dict1', dict2.f2())
310 call assert_equal('dict1', dict2['f2']())
343 function d1.f2() dict
347 let F2 = get(d1, 'f2')
356 let d3 = {'f1': F1, 'f2': F2}
H A Dtest_filter_cmd.vim33 map f2 the second key map
37 call assert_match("f2", lines[0])
40 unmap f2
H A Dtest_const.vim172 const f2 = 1.1
186 call assert_fails('const f2 = 1.1', 'E995:')
198 call assert_fails('const [i2, f2, s2] = [1, 1.1, "vim"]', 'E995:')
H A Dtest_fileformat.vim57 " Concatenate the contents of files 'f1' and 'f2' and create 'destfile'
58 func s:concat_files(f1, f2, destfile) argument
60 let b2 = readfile(a:f2, 'B')
H A Dtest_substitute.vim865 call assert_equal("-\u1b \uf2-", substitute("-%1b %f2-", '%\(\x\x\)',
867 call assert_equal("-\u1b \uf2-", substitute("-%1b %f2-", '%\(\x\x\)',
H A Dtest_increment.vim709 " 1) f2 Ctrl-V jl <ctrl-a>, repeat twice afterwards with .
H A Dtest_cindent.vim655 f2();
1620 f2();
H A Dtest_quickfix.vim4055 call assert_equal('f2.txt', fnamemodify(bufname(l[2].bufnr), ':t'))
4068 call writefile(['b_L1_vim', 'b_L2_vim'], 'Xdir/b/f2.txt')
H A Dtest_vim9_builtin.vim230 …CheckDefAndScriptFailure2(['assert_equalfile(1, "f2")'], 'E1013: Argument 1: type mismatch, expect…
232 …CheckDefAndScriptFailure2(['assert_equalfile("f1", "f2", ["a"])'], 'E1013: Argument 3: type mismat…
/vim-8.2.3635/src/
H A Dhelp.c814 char_u *f1, *f2; in fix_help_buffer() local
829 f2 = fnames[i2]; in fix_help_buffer()
831 t2 = gettail(f2); in fix_help_buffer()
843 if (e1 - f1 != e2 - f2 in fix_help_buffer()
844 || fnamencmp(f1, f2, e1 - f1) != 0) in fix_help_buffer()
H A Dtypval.c1292 float_T f1, f2; in typval_compare() local
1295 f2 = tv_get_float(typ2); in typval_compare()
1300 case EXPR_EQUAL: n1 = (f1 == f2); break; in typval_compare()
1302 case EXPR_NEQUAL: n1 = (f1 != f2); break; in typval_compare()
1303 case EXPR_GREATER: n1 = (f1 > f2); break; in typval_compare()
1304 case EXPR_GEQUAL: n1 = (f1 >= f2); break; in typval_compare()
1305 case EXPR_SMALLER: n1 = (f1 < f2); break; in typval_compare()
1306 case EXPR_SEQUAL: n1 = (f1 <= f2); break; in typval_compare()
H A Deval.c3038 f2 = n2; in eval5()
3048 f1 = f1 + f2; in eval5()
3050 f1 = f1 - f2; in eval5()
3111 float_T f1, f2; in eval6() local
3137 f2 = 0; in eval6()
3182 f2 = var2.vval.v_float; in eval6()
3194 f2 = n2; in eval6()
3206 f1 = f1 * f2; in eval6()
3211 if (f2 == 0.0) in eval6()
3221 f1 = f1 / f2; in eval6()
[all …]
H A Ddiff.c3146 long f1, l1, f2, l2; in parse_diff_ed() local
3165 f2 = getdigits(&p); in parse_diff_ed()
3172 l2 = f2; in parse_diff_ed()
3173 if (l1 < f1 || l2 < f2) in parse_diff_ed()
3188 *lnum_new = f2 + 1; in parse_diff_ed()
3193 *lnum_new = f2; in parse_diff_ed()
3194 *count_new = l2 - f2 + 1; in parse_diff_ed()
H A Dmisc2.c1889 same_directory(char_u *f1, char_u *f2) in same_directory() argument
1896 if (f1 == NULL || f2 == NULL) in same_directory()
1901 t2 = gettail_sep(f2); in same_directory()
1902 return (t1 - ffname == t2 - f2 in same_directory()
1903 && pathcmp((char *)ffname, (char *)f2, (int)(t1 - ffname)) == 0); in same_directory()
H A Dmemline.c4766 int f1, f2; in findswapname() local
4808 f2 = mch_open((char *)fname2, O_RDONLY | O_EXTRA, 0); in findswapname()
4809 if (f2 < 0) in findswapname()
4811 f2 = mch_open_rw((char *)fname2, in findswapname()
4815 if (f2 >= 0) in findswapname()
4822 && mch_fstat(f2, &s2) != -1 in findswapname()
4826 close(f2); in findswapname()
H A Dvim9execute.c3821 float_T f1 = 0, f2 = 0; in exec_instructions() local
3864 f2 = tv2->vval.v_float; in exec_instructions()
3875 f2 = n2; in exec_instructions()
3884 case EXPR_MULT: f1 = f1 * f2; break; in exec_instructions()
3885 case EXPR_DIV: f1 = f1 / f2; break; in exec_instructions()
3886 case EXPR_SUB: f1 = f1 - f2; break; in exec_instructions()
3887 case EXPR_ADD: f1 = f1 + f2; break; in exec_instructions()
/vim-8.2.3635/src/proto/
H A Dmisc2.pro43 int same_directory(char_u *f1, char_u *f2);
/vim-8.2.3635/runtime/doc/
H A Dif_mzsch.txt265 mz (define f2 (vim-eval "function(\"MyAdd2\")"))
266 mz (f2 7)
H A Dtagsrch.txt941 let f2 = a:item2['filename']
942 return f1 >=# f2 ?
943 \ -1 : f1 <=# f2 ? 1 : 0
H A Dversion7.txt1758 When using the ":saveas f2" command for buffer "f1", the Buffers menu would
1759 contain "f2" twice, one of them leading to "f1". Also trigger the BufFilePre
/vim-8.2.3635/runtime/syntax/
H A D2html.vim658 function! s:FoldCompare(f1, f2) argument
659 if a:f1.firstline != a:f2.firstline
661 return a:f1.firstline - a:f2.firstline
662 elseif a:f1.lastline != a:f2.lastline
664 return a:f2.lastline - a:f1.lastline
667 return a:f1.level - a:f2.level