Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 25 of 83) sorted by relevance

1234

/vim-8.2.3635/src/testdir/
H A Dshared.vim129 " A second argument can be used to specify a different timeout in msec.
132 " When running into the timeout an exception is thrown, thus the function does
135 let timeout = get(a:000, 0, 5000)
136 let slept = s:WaitForCommon(a:expr, v:null, timeout)
138 throw 'WaitFor() timed out after ' . timeout . ' msec'
147 " A second argument can be used to specify a different timeout in msec.
151 let timeout = get(a:000, 0, 5000)
152 if s:WaitForCommon(v:null, a:assert, timeout) < 0
161 func s:WaitForCommon(expr, assert, timeout) argument
180 if slept >= a:timeout
H A Dtest_search_stat.vim97 \ searchcount(#{recompute: v:true, maxcount: 0, timeout: 200}))
100 \ searchcount(#{recompute: 1, maxcount: 0, pos: [1, 1, 0], timeout: 200}))
110 \ searchcount(#{recompute: 1, maxcount: 0, timeout: 200}))
113 \ searchcount(#{recompute: 1, maxcount: 0, pos: [line('$')-2, 1, 0], timeout: 200}))
253 call assert_equal(1, searchcount(#{pattern: 'foo', maxcount: 0, timeout: 1}).incomplete)
263 call assert_fails('echo searchcount({"timeout" : []})', 'E745:')
H A Dtest_hlsearch.vim40 " This pattern takes a long time to match, it should timeout.
H A Dtest_channel.vim134 call assert_equal('ok', ch_evalexpr(handle, 'do normal', {'timeout': 100}))
176 call ch_setoptions(handle, {'timeout': 1111})
230 call assert_equal(v:none, ch_read(handle, {'timeout': 0}))
233 call assert_equal(v:none, ch_read(handle, {'timeout': 333}))
552 let reply = job->ch_evalraw("quit\n", {'timeout': 100})
617 let reply = ch_evalraw(job, "quit\n", {'timeout': 100})
1243 let timeout = 20000
1245 let timeout = 5000
1247 call WaitForAssert({-> assert_equal({'one': 1, 'two': 2, 'three': 3}, g:Ch_outobj)}, timeout)
1455 call assert_fails("let ch = ch_open('localhost:8765', {'timeout' : -1})",
[all …]
/vim-8.2.3635/src/
H A Dchannel.c2219 int timeout; in channel_parse_json() local
2232 if (timeout) in channel_parse_json()
3383 if (timeout > 0) in channel_wait()
3726 int timeout; in channel_read_json_block() local
3757 timeout = timeout_arg; in channel_read_json_block()
3774 if (timeout < 0) in channel_read_json_block()
3779 timeout = timeout_arg; in channel_read_json_block()
3782 timeout = timeout_arg; in channel_read_json_block()
3856 int timeout; in common_channel_read() local
4268 int timeout; in ch_expr_common() local
[all …]
H A Dclientserver.c727 int timeout = 0; in remote_common() local
743 timeout = tv_get_number(&argvars[3]); in remote_common()
750 if (serverSendToVim(server_name, keys, &r, &w, expr, timeout, TRUE) < 0) in remote_common()
752 if (serverSendToVim(X_DISPLAY, server_name, keys, &r, &w, expr, timeout, in remote_common()
913 int timeout = 0; in f_remote_read() local
920 timeout = tv_get_number(&argvars[1]); in f_remote_read()
925 r = serverGetReply((HWND)n, FALSE, TRUE, TRUE, timeout); in f_remote_read()
930 &r, FALSE, timeout) < 0) in f_remote_read()
H A Dif_xcmdsrv.c374 int timeout, // seconds to wait or zero in serverSendToVim() argument
480 timeout > 0 ? timeout : 600); in serverSendToVim()
785 int timeout) in serverReadReply() argument
792 timeout > 0 ? timeout : -1); in serverReadReply()
H A Dgui_haiku.cc3065 B_TIMEOUT, timeout); in gui_haiku_process_event()
4300 bigtime_t until, timeout; in gui_mch_wait_for_chars() local
4305 timeout = wtime * 1000; in gui_mch_wait_for_chars()
4306 until = system_time() + timeout; in gui_mch_wait_for_chars()
4309 timeout = B_INFINITE_TIMEOUT; in gui_mch_wait_for_chars()
4339 if (wtime < 0 || timeout > 20000) in gui_mch_wait_for_chars()
4340 timeout = 20000; in gui_mch_wait_for_chars()
4343 timeout = B_INFINITE_TIMEOUT; in gui_mch_wait_for_chars()
4353 st = gui_haiku_process_event(timeout); in gui_mch_wait_for_chars()
4366 timeout = until - system_time(); in gui_mch_wait_for_chars()
[all …]
H A Dsearch.c36 …os_T *cursor_pos, int show_top_bot_msg, char_u *msgbuf, int recompute, int maxcount, long timeout);
37 …irc, pos_T *pos, pos_T *cursor_pos, searchstat_T *stat, int recompute, int maxcount, long timeout);
3129 long timeout) in cmdline_search_stat() argument
3134 timeout); in cmdline_search_stat()
3207 long timeout UNUSED) in update_search_stat()
3270 if (timeout > 0) in update_search_stat()
3271 profile_setlimit(timeout, &start); in update_search_stat()
3279 if (timeout > 0 && profile_passed_limit(&start)) in update_search_stat()
4101 long timeout = SEARCH_STAT_DEF_TIMEOUT; in f_searchcount() local
4130 timeout = (long)tv_get_number_chk(&di->di_tv, &error); in f_searchcount()
[all …]
H A Dui.c662 ui_get_winpos(int *x, int *y, varnumber_T timeout UNUSED) in ui_get_winpos()
672 return term_get_winpos(x, y, timeout); in ui_get_winpos()
H A Devalwindow.c577 varnumber_T timeout = 100; in f_getwinpos() local
580 timeout = tv_get_number(&argvars[0]); in f_getwinpos()
582 (void)ui_get_winpos(&x, &y, timeout); in f_getwinpos()
H A Dos_mswin.c2370 int timeout, // timeout in seconds or zero in serverSendToVim() argument
2414 retval = serverGetReply(target, &retcode, TRUE, TRUE, timeout); in serverSendToVim()
2490 serverGetReply(HWND server, int *expr_res, int remove, int wait, int timeout) in serverGetReply() argument
2558 if (timeout > 0 && (now - start) >= timeout) in serverGetReply()
/vim-8.2.3635/runtime/plugin/
H A Dmatchparen.vim138 " This fails when a timeout is not supported.
140 …let timeout = exists("b:matchparen_insert_timeout") ? b:matchparen_insert_timeout : g:matchparen_i…
142 let timeout = exists("b:matchparen_timeout") ? b:matchparen_timeout : g:matchparen_timeout
145 let [m_lnum, m_col] = searchpairpos(c, '', c2, s_flags, s_skip, stopline, timeout)
147 " Can't use the timeout, restrict the stopline a bit more to avoid taking
/vim-8.2.3635/src/proto/
H A Dif_xcmdsrv.pro4 …r_u *name, char_u *cmd, char_u **result, Window *server, int asExpr, int timeout, int localLoop, i…
8 int serverReadReply(Display *dpy, Window win, char_u **str, int localLoop, int timeout);
H A Dos_mswin.pro45 …im(char_u *name, char_u *cmd, char_u **result, void *ptarget, int asExpr, int timeout, int silent);
47 char_u *serverGetReply(HWND server, int *expr_res, int remove, int wait, int timeout);
H A Dui.pro14 int ui_get_winpos(int *x, int *y, varnumber_T timeout);
/vim-8.2.3635/runtime/doc/
H A Dchannel.txt185 *channel-timeout*
205 The timeout can be changed: >
435 This uses the channel timeout. To read without a timeout, just get any
452 timeout in msec use the "timeout" option:
453 {"timeout": 123} ~
507 entry. It can have a "timeout" entry to specify the timeout
569 "sock_timeout" timeout in msec
574 "out_timeout" timeout in msec
578 "err_timeout" timeout in msec
697 "timeout" default read timeout in msec
[all …]
H A Dtest_urls.vim18 let s:command = 'wget --quiet -S --spider --max-redirect=2 --timeout=5 --tries=2 -O /dev/null '
/vim-8.2.3635/runtime/syntax/
H A Dexpect.vim14 syn match expectVariables "\$spawn[a-zA-Z0-9_]*\|\$timeout[a-zA-Z0-9_]*"
19 syn match expectVariables "\$user_spawn_id\|\$spawn_id\|\$timeout"
54 syn keyword expectExpectOpts default eof full_buffer null return timeout
H A Dpine.vim137 syn keyword pineConfig rsh-open-timeout
152 syn keyword pineConfig ssh-open-timeout
160 syn keyword pineConfig tcp-open-timeout
161 syn keyword pineConfig tcp-query-timeout
162 syn keyword pineConfig tcp-read-warning-timeout
163 syn keyword pineConfig tcp-write-warning-timeout
179 syn keyword pineConfig user-input-timeout
H A Dexim.vim45 syn keyword eximKeyword batch batch_max command group initgroups retry_use_local_part timeout user
48 …retry_use_local_part return_fail_output return_output suffix temp_errors timeout umask use_crlf us…
79 syn keyword eximKeyword hosts optional port protocol query reroute response_pattern service timeout
85 syn keyword eximKeyword command command_group command_user current_directory timeout
H A Dpromela.vim18 syn keyword promelaFunctions skip timeout run
H A Dfetchmail.vim32 \ auth[enticate] timeout envelope qvirtual aka
H A Dwget.vim152 \ "timeout",
/vim-8.2.3635/.github/workflows/
H A Dci.yml205 timeout-minutes: 20
313 timeout-minutes: 20
500 timeout-minutes: 20
522 timeout 10 > NUL 2>&1
525 set timeout=1
531 if "%timeout%"=="1" (

1234