• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/vim-55/src/testdir/

Lines Matching refs:call

40 	?XpathINIT?,.call Xsum()
95 " that it is not read away by the call to "input()" below. Restore
97 call inputsave()
99 call inputrestore()
288 " invocation or function call is assumed. INTERRUPT locations are tested by
407 " to be used, if specified, or one for every call else.
435 " Function call.
485 call delete(extra_script)
486 call delete(resultfile)
524 " variable, and and every ":call" by a ":source" for the next following argument
526 " to be made for a ":return" from a function call or a ":finish" in a script
550 while search('\<call\s*\%(\u\|s:\)\w*\s*(.*)', 'W') > 0
552 s/\<call\s*\%(\u\|s:\)\w*\s*(.*)/\='source ' . a:{cnt}/
596 call delete(bplist)
601 call delete(script)
604 com! -nargs=1 -bar ExecAsScript call ExecAsScript(<f-args>)
640 call F()
662 call G()
788 call F()
901 call F1("F1")
903 call G1("G1")
911 call F2(2, "F2")
913 call G21("G21")
916 call G22("G22")
919 call G23("G23")
927 call F3(3, "F3")
929 call G31("G31")
932 call G32("G32")
935 call G33("G33")
1012 " continues after the function call; the value -1 is returned then.
1103 " error, the next function back in the call hierarchy without an
1130 call I() " aborted
1246 let g:calls = g:calls + a:num " side effect on call
1324 call F{NULL() + V{ZERO()}}()
1332 call F1(F{NULL() + V{ZERO()}}())
1340 call F{NULL() + V{ZERO()}}()
1407 call F()
1411 call F()
1445 call F()
1449 call F()
1512 call F()
1513 call G()
1514 call H()
1515 call I()
1613 call F()
1700 call F() | Xpath 16777216 " X: 0
1714 call G() | Xpath 1073741824 " X: 0
1743 call F()
1758 call G()
1981 call F()
2016 call Error()
2042 call Interrupt()
2066 call Throw()
2205 call F()
2327 call F()
2336 call G()
2348 call H()
2385 call delete(scriptF)
2386 call delete(scriptG)
2387 call delete(scriptH)
2436 call F()
2465 call G()
2531 call F()
2607 call F()
2922 call C("continue")
2924 call C("break")
2926 call C("return")
2933 call C("error")
2938 call C("interrupt")
2942 call C("throw")
3001 call B("continue")
3003 call B("break")
3005 call B("return")
3012 call B("error")
3017 call B("interrupt")
3021 call B("throw")
3197 call delete(scriptF)
3252 call E("continue")
3257 call E("break")
3262 call E("return")
3274 call E("error")
3279 call E("interrupt")
3284 call E("throw")
3351 call I("continue")
3356 call I("break")
3361 call I("return")
3373 call I("error")
3378 call I("interrupt")
3383 call I("throw")
3449 call T("continue")
3454 call T("break")
3459 call T("return")
3471 call T("error")
3476 call T("interrupt")
3481 call T("throw")
3531 call F()
3542 call G()
3553 call H()
4175 call T1()
4185 call C() " throw and catch
4194 call T1() " throw, one level
4205 call T2() " throw, two levels
4268 call F()
4280 call delete(scriptC)
4281 call delete(scriptT1)
4282 call delete(scriptT2)
4497 call T()
4567 call delete(msgfile)
4747 call delete(msgfile)
4881 call delete(msgfile)
4995 call delete(msgfile)
5102 call delete(msgfile)
5173 call T(a:arg, a:line)
5177 call G(a:arg, a:line)
5186 call F("oops", 2)
5191 call CHECK(1, "oops", '\<F\.\.G\.\.T\>', '\<2\>')
5194 call CHECK(2, "oops", '\<F\.\.G\.\.T\>', '\<2\>')
5197 call CHECK(3, "oops", '\<F\.\.G\.\.T\>', '\<2\>')
5198 call FuncException()
5199 call FuncThrowpoint()
5200 call CHECK(4, "oops", '\<F\.\.G\.\.T\>', '\<2\>')
5203 call CHECK(5, "oops", '\<F\.\.G\.\.T\>', '\<2\>')
5206 call G("arrgh", 4)
5211 call CHECK(6, "arrgh", '\<G\.\.T\>', '\<4\>')
5224 call CHECK(7, "autsch", resolve(scriptT), '\<6\>')
5229 call CHECK(8, "arrgh", '\<G\.\.T\>', '\<4\>')
5240 call CHECK(9, "brrrr", resolve(scriptT), '\<8\>')
5245 call CHECK(10, "arrgh", '\<G\.\.T\>', '\<4\>')
5250 call CHECK(11, "arrgh", '\<G\.\.T\>', '\<4\>')
5255 call CHECK(12, "arrgh", '\<G\.\.T\>', '\<4\>')
5260 call CHECK(13, "oops", '\<F\.\.G\.\.T\>', '\<2\>')
5265 call CHECK(14, "oops", '\<F\.\.G\.\.T\>', '\<2\>')
5270 call CHECK(15, "", '^$', '^$')
5278 call delete(scriptException)
5279 call delete(scriptThrowPoint)
5286 call delete(scriptT)
5287 call delete(scriptG)
5288 call delete(scriptF)
5318 call T(2)
5357 call T(4)
5475 call CHECK(1)
5483 call CHECK(2)
5487 call CHECK(3)
5501 call CHECK(4, 'E492', "Not an editor command",
5506 call CHECK(4)
5511 call CHECK(5)
5528 call CHECK(6, "Vim:Interrupt", '',
5533 call CHECK(6)
5538 call CHECK(7)
5556 call CHECK(8, 'E171', "Missing :endif", line_before_throw + 3)
5560 call CHECK(8)
5565 call CHECK(9)
5581 call CHECK(10)
5595 call CHECK(11)
5597 call CHECK(12)
5611 call CHECK(13, 'E492', "Not an editor command",
5616 call CHECK(13)
5621 call CHECK(14)
5637 call CHECK(15, "Vim:Interrupt", '',
5642 call CHECK(15)
5647 call CHECK(16)
5661 call CHECK(17)
5665 call CHECK(18, 'E171', "Missing :endif", line_before_throw + 3)
5669 call CHECK(18)
5674 call CHECK(19)
5690 call CHECK(20, 'E171', "Missing :endif", line_before_throw + 3)
5694 call CHECK(20)
5699 call CHECK(21)
5774 call F()
5821 call G()
6116 call F()
6163 call G()
6172 call G()
6173 catch /^Vim(call):/
6175 let v:errmsg = substitute(v:exception, '^Vim(call):', '', "")
6181 if !MSG('E132', "Function call depth is higher than 'maxfuncdepth'")
6204 call H()
6213 if !MSG('E132', "Function call depth is higher than 'maxfuncdepth'")
6283 call S(3) " X: 0 * 16
6287 silent! call S(4) " X: 3 * 64
6291 " Do call S(4) here if not executed in :catch.
6292 silent! call S(4)
6302 silent! call S(5) " X: 3 * 256
6313 silent! call S(6) " X: 3 * 1024
6318 silent! call S(2) " X: 3 * 4
6320 silent! execute "call Foo() | call S(7)"
6321 silent! call S(8) " X: 3 * 16384
6324 call S(9) " X: 3 * 65536
6327 silent! call S(1) " X: 3 * 1
6328 silent! call Bar()
6329 silent! call S(10) " X: 3 * 262144
6608 call F()
6619 " Test 66: Stop range :call on error, interrupt, or :throw {{{1
6668 call delete(file)
6677 1,3call F(a:reason, a:n)
6681 call G("error", 1)
6685 call G("error", 2)
6690 call G("interrupt", 3)
6695 call G("throw", 4)
6707 call G("aborting error", 5)
6717 " Test 67: :throw across :call command {{{1
6719 " On a call command, an exception might be thrown when evaluating the
6780 call {NAME(THROW("name", 1), 1)}(ARG(4711, 1), 1)
6804 call {NAME("F", 2)}(ARG(THROW("arg", 2), 2), 2)
6828 call {NAME("THROW", 3)}(ARG("call", 3), 3)
6830 catch /^call$/
6855 call {NAME("F", 4)}(ARG(4711, 4), 4)
6903 " On a function call within an expression, an exception might be
6981 let var3 = {NAME("THROW", 3)}(ARG("call", 3), 3)
6983 catch /^call$/
7186 call F(4711, "return", 1)
7223 call G("except2", "throw2", 4)
7506 call ADDPATH("T1")
7507 let var{THROW("var4")} var{ADDPATH("T2")} | call ADDPATH("T3")
7508 call ADDPATH("T4")
7510 call ADDPATH("T5")
7514 call ADDPATH("T6")
7515 unlet var{THROW("var5")} var{ADDPATH("T7")} | call ADDPATH("T8")
7516 call ADDPATH("T9")
7518 call ADDPATH("T10")
7560 call THROW(a:x, a:n)
7664 call THROW(a:x . a:n, a:n)
7676 call THROW(a:x . a:n, a:n)
7688 call THROW(a:x . a:n, a:n)
7691 call THROW(a:x . a:n, a:n)
7753 call delete(file)
7796 call delete(file)
7850 " A simple :call of the builtin function is a trivial case. If the
7908 call append(1, "s")
7927 call F1('x' . append(1, "s"))
7946 call F2('x' . append(1, "s"), G())
7960 call R()
8026 " When a function call made during expression evaluation is aborted
8118 call MSG(t)
8160 call MSG(t)
8202 call MSG(t)
8214 call MSG(28)
8216 call MSG(29)
8218 call MSG(30)
8220 call MSG(31)
8223 call MSG(32)
8225 call MSG(33)
8227 call MSG(34)
8229 call MSG(35)
8231 call MSG(36)
8236 call MSG(37)
8238 call MSG(38)
8240 call MSG(39)
8242 call MSG(40)
8245 call MSG(41)
8247 call MSG(42)
8249 call MSG(43)
8251 call MSG(44)
8253 call MSG(45)
8281 call delete(WA_t5)
8282 call delete(WA_t14)
8283 call delete(WA_t23)
8297 " When a function call made during evaluation of an expression in
8339 call F{1 + ERR() + OK()}("calling")
8388 call G{1 + ERR() + OK()}("calling")
8512 call MSG(t, 'E475', 'Invalid argument\>')
8515 call MSG(t, 'E15', "Invalid expression")
8517 call MSG(t, 'E121', "Undefined variable")
8545 call MSG(a:n, 'E15', "Invalid expression")
8547 call MSG(a:n, a:enr, a:emsg)
8559 call T(15, 'Nofunc() + CONT(15)', 'E117', "Unknown function")
8560 call T(16, 'F(1 2 + CONT(16))', 'E116', "Invalid arguments")
8561 call T(17, 'F(1, 2) + CONT(17)', 'E118', "Too many arguments")
8562 call T(18, 'F() + CONT(18)', 'E119', "Not enough arguments")
8563 call T(19, '{(1} + CONT(19)', 'E110', "Missing ')'")
8564 call T(20, '("abc"[1) + CONT(20)', 'E111', "Missing ']'")
8565 call T(21, '(1 +) + CONT(21)', 'E15', "Invalid expression")
8566 call T(22, '1 2 + CONT(22)', 'E15', "Invalid expression")
8567 call T(23, '(1 ? 2) + CONT(23)', 'E109', "Missing ':' after '?'")
8568 call T(24, '("abc) + CONT(24)', 'E114', "Missing quote")
8569 call T(25, "('abc) + CONT(25)", 'E115', "Missing quote")
8570 call T(26, '& + CONT(26)', 'E112', "Option name missing")
8571 call T(27, '&asdf + CONT(27)', 'E113', "Unknown option")
8590 call delete(WA_t5)
8623 call NEXT('echo novar') " X: 1 * 1 (checks nextcmd)
8625 call NEXT('let novar #') " X: 0 * 2 (skips nextcmd)
8627 call NEXT('unlet novar #') " X: 0 * 4 (skips nextcmd)
8629 call NEXT('let {novar}') " X: 0 * 8 (skips nextcmd)
8631 call NEXT('unlet{ novar}') " X: 0 * 16 (skips nextcmd)
8673 call EXEC('echo novar') " normal error
8702 call EXEC(cmd . ' novar #') " normal plus syntax error
8749 call EXEC(cmd . ' {novar}') " normal plus syntax error
9084 call E()
9128 call I()
9193 " For the FuncUndefined event under a function call expression or
9194 " :call command, the function is not executed, even when it has
9219 autocmd User x3 call INT()
9240 autocmd FuncUndefined U3 call INT()
9298 call U1()
9307 call U2()
9327 call U3()
9417 call delete(augfile)
9423 call Delete_autocommands("BufWritePre", "BufWritePost")
9504 call delete(tmpfile)
9506 call Delete_autocommands("BufWritePre", "BufWritePost",
9598 call delete(infile)
9599 call delete(tmpfile)
9786 call CheckConfiguration("error")
9788 call CheckConfiguration("interrupt")