Home
last modified time | relevance | path

Searched refs:f1 (Results 1 – 24 of 24) sorted by relevance

/vim-8.2.3635/src/testdir/
H A Dtest_partial.vim293 func! dict1.f1()
296 let dict1.f2 = function(dict1.f1, dict1)
298 call assert_equal('dict1', dict1.f1())
299 call assert_equal('dict1', dict1['f1']())
304 let dict2.f1 = dict1.f1
307 call assert_equal('dict2', dict2.f1())
308 call assert_equal('dict2', dict2['f1']())
340 function d1.f1() dict
346 let F1 = get(d1, 'f1')
356 let d3 = {'f1': F1, 'f2': F2}
[all …]
H A Dtest_filter_cmd.vim32 map f1 the first key map
38 call assert_match("f1", lines[1])
39 unmap f1
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
59 let b1 = readfile(a:f1, 'B')
H A Dtest_increment.vim295 exec "norm! f1\<C-V>3jg\<C-A>"
336 exec "norm! f1\<C-V>l2j\<C-A>"
642 exec "norm! f1\<C-V>jl\<C-A>"
H A Dtest_lua.vim681 call assert_fails('lua f1 = vim.funcref("")',
683 call assert_fails('lua f1 = vim.funcref("10")',
686 call assert_fails('lua f1 = vim.funcref(fname)',
H A Dtest_cindent.vim654 f1(/*comment*/);
1619 f1(/*comment*/);
H A Dtest_edit.vim1072 " Pressing <f1>
1074 call feedkeys(":set im\<cr>\<f1>\<c-l>", 'tnix')
H A Dtest_quickfix.vim4054 call assert_equal('f1.txt', bufname(l[0].bufnr))
4067 call writefile(['a_L1_vim', 'a_L2_vim'], 'Xdir/a/f1.txt')
H A Dtest_vim9_builtin.vim231 …CheckDefAndScriptFailure2(['assert_equalfile("f1", true)'], 'E1013: Argument 2: type mismatch, exp…
232 …CheckDefAndScriptFailure2(['assert_equalfile("f1", "f2", ["a"])'], 'E1013: Argument 3: type mismat…
H A Dtest_normal.vim610 call feedkeys("\<f1>", 'txi')
/vim-8.2.3635/src/
H A Dhelp.c814 char_u *f1, *f2; in fix_help_buffer() local
828 f1 = fnames[i1]; in fix_help_buffer()
830 t1 = gettail(f1); 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 Deval.c3017 f1 = n1; in eval5()
3048 f1 = f1 + f2; in eval5()
3050 f1 = f1 - f2; in eval5()
3111 float_T f1, f2; in eval6() local
3136 f1 = 0; in eval6()
3179 f1 = n1; in eval6()
3206 f1 = f1 * f2; in eval6()
3213 if (f1 == 0) in eval6()
3215 else if (f1 < 0) in eval6()
3221 f1 = f1 / f2; in eval6()
[all …]
H A Dtypval.c1292 float_T f1, f2; in typval_compare() local
1294 f1 = tv_get_float(typ1); 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 Ddiff.c3146 long f1, l1, f2, l2; in parse_diff_ed() local
3154 f1 = getdigits(&p); in parse_diff_ed()
3161 l1 = f1; in parse_diff_ed()
3173 if (l1 < f1 || l2 < f2) in parse_diff_ed()
3178 *lnum_orig = f1 + 1; in parse_diff_ed()
3183 *lnum_orig = f1; in parse_diff_ed()
3184 *count_orig = l1 - f1 + 1; in parse_diff_ed()
H A Dvim9execute.c3821 float_T f1 = 0, f2 = 0; in exec_instructions() local
3846 f1 = tv1->vval.v_float; in exec_instructions()
3858 f1 = n1; 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()
3895 tv1->vval.v_float = f1; in exec_instructions()
H A Dmemline.c4766 int f1, f2; in findswapname() local
4799 f1 = mch_open((char *)fname, O_RDONLY | O_EXTRA, 0); in findswapname()
4800 if (f1 < 0) in findswapname()
4802 f1 = mch_open_rw((char *)fname, in findswapname()
4806 if (f1 >= 0) in findswapname()
4821 if (mch_fstat(f1, &s1) != -1 in findswapname()
4830 close(f1); in findswapname()
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()
1899 (void)vim_FullName(f1, ffname, MAXPATHL, FALSE); in same_directory()
/vim-8.2.3635/ci/
H A Dbuild-snd-dummy.sh4 LINUX_VERSION=$(uname -r | cut -d. -f1-2)
/vim-8.2.3635/src/proto/
H A Dmisc2.pro43 int same_directory(char_u *f1, char_u *f2);
/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
/vim-8.2.3635/runtime/doc/
H A Dusr_21.txt126 :set viminfo='1000,f1
133 :set viminfo='1000,f1,<500
H A Dtagsrch.txt940 let f1 = a:item1['filename']
942 return f1 >=# f2 ?
943 \ -1 : f1 <=# f2 ? 1 : 0
H A Dmap.txt1518 : return system("cut -d: -f1 /etc/passwd")
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