Home
last modified time | relevance | path

Searched refs:ret (Results 1 – 25 of 91) sorted by relevance

1234

/vim-8.2.3635/src/
H A Dif_py_both.h708 ret = NULL; in VimCommand()
736 return ret; in VimToPython()
864 return ret; in VimToPython()
870 return ret; in VimToPython()
922 ret = NULL; in VimEval()
1758 return ret; in _DictionaryItem()
5788 if (!ret) in run_do()
6184 ret = 0; in ConvertFromPyMapping()
6195 ret = -1; in ConvertFromPyMapping()
6215 ret = 0; in ConvertFromPySequence()
[all …]
H A Dregexp_bt.c1038 return ret; in regnode()
2076 return ret; in regatom()
2106 return ret; in regpiece()
2122 regoptail(ret, ret); // back in regpiece()
2206 regoptail(ret, ret); in regpiece()
2223 return ret; in regpiece()
2310 char_u *ret; in regbranch() local
2342 return ret; in regbranch()
2394 ret = NULL; in reg()
2403 ret = br; in reg()
[all …]
H A Deval.c207 int ret; in eval1_emsg() local
226 return ret; in eval1_emsg()
642 int ret; in call_vim_function() local
2004 ret = FAIL; in eval_func()
2037 ret = FAIL; in eval_func()
2221 int ret; in eval0() local
2781 int ret; in eval4() local
3641 ret = OK; in eval7()
3695 ret = FAIL; in eval7_leader()
3872 ret = FAIL; in eval_lambda()
[all …]
H A Dwinclip.c242 char_u *ret; in crnl_to_nl() local
246 ret = alloc(str_len == 0 ? 1 : str_len); in crnl_to_nl()
247 if (ret != NULL) in crnl_to_nl()
249 retp = ret; in crnl_to_nl()
261 return ret; in crnl_to_nl()
619 WCHAR *ret; in enc_to_utf16() local
635 &ret, &length); in enc_to_utf16()
655 ret = ALLOC_MULT(WCHAR, length + 1); in enc_to_utf16()
656 if (ret != NULL) in enc_to_utf16()
659 ret[length] = 0; in enc_to_utf16()
[all …]
H A Dvim9type.c58 type_T *ret; in alloc_type() local
67 ret = ALLOC_ONE(type_T); in alloc_type()
68 *ret = *type; in alloc_type()
70 if (ret->tt_member != NULL) in alloc_type()
71 ret->tt_member = alloc_type(ret->tt_member); in alloc_type()
77 if (ret->tt_args != NULL) in alloc_type()
82 return ret; in alloc_type()
538 int ret = OK; in check_type() local
580 ret = FAIL; in check_type()
592 ret = FAIL; in check_type()
[all …]
H A Dclientserver.c115 char_u *ret; in sendToLocalVim() local
117 ret = eval_client_expr_to_string(cmd); in sendToLocalVim()
120 if (ret == NULL) in sendToLocalVim()
132 *result = ret; in sendToLocalVim()
135 vim_free(ret); in sendToLocalVim()
136 return ret == NULL ? -1 : 0; in sendToLocalVim()
285 int ret; in cmdsrv_main() local
387 ret = -1; in cmdsrv_main()
390 ret = serverSendToVim(xterm_dpy, sname, *serverStr, in cmdsrv_main()
396 if (ret < 0) in cmdsrv_main()
[all …]
H A Dex_cmds2.c159 int ret; in dialog_changed() local
165 ret = vim_dialog_yesnoallcancel(VIM_QUESTION, NULL, buff, 1); in dialog_changed()
167 ret = vim_dialog_yesnocancel(VIM_QUESTION, NULL, buff, 1); in dialog_changed()
173 if (ret == VIM_YES) in dialog_changed()
184 else if (ret == VIM_NO) in dialog_changed()
188 else if (ret == VIM_ALL) in dialog_changed()
223 else if (ret == VIM_DISCARDALL) in dialog_changed()
274 int ret = FALSE; in check_changed_any() local
344 ret = TRUE; in check_changed_any()
404 return ret; in check_changed_any()
H A Dif_cscope.c249 int ret = FALSE; in ex_cstag() local
264 if (ret == FALSE) in ex_cstag()
283 if (ret == FALSE) in ex_cstag()
292 if (ret == FALSE) in ex_cstag()
301 if (ret == FALSE) in ex_cstag()
309 if (!ret) in ex_cstag()
482 int ret; in cs_add_common() local
506 if (ret < 0) in cs_add_common()
523 ret = mch_stat(ppath, &statbuf2); in cs_add_common()
524 if (ret < 0) in cs_add_common()
[all …]
H A Dos_mswin.c1024 BOOL ret; in vimSetDlgItemText() local
1032 return ret; in vimSetDlgItemText()
1218 int ret = 0; in to_device_units() local
1247 if (ret < offset) in to_device_units()
1250 return ret - offset; in to_device_units()
1542 int ret = 0; in mch_print_begin() local
1646 return ret; in mch_print_text_out()
2859 int ret = FAIL; in get_logfont() local
2885 ret = OK; in get_logfont()
3004 ret = OK; in get_logfont()
[all …]
H A Dchannel.c732 int ret; in channel_connect() local
767 if (ret == 0) in channel_connect()
1574 int ret; in can_write_buf_line() local
2129 int ret; in channel_parse_json() local
2249 ret = FALSE; in channel_parse_json()
2261 ret = FALSE; in channel_parse_json()
3433 int ret; in channel_wait() local
4441 --ret; in channel_poll_check()
4456 --ret; in channel_poll_check()
4542 --ret; in channel_select_check()
[all …]
H A Djson.c1084 int ret; in json_decode_all() local
1089 ret = json_decode_item(reader, res, options); in json_decode_all()
1090 if (ret != OK) in json_decode_all()
1092 if (ret == MAYBE) in json_decode_all()
1116 int ret; in json_decode() local
1121 ret = json_decode_item(reader, res, options); in json_decode()
1124 return ret; in json_decode()
1142 int ret; in json_find_end() local
1147 ret = json_decode_item(reader, NULL, options); in json_find_end()
1149 return ret; in json_find_end()
H A Discygpty.c173 int fd, ret = 0; in is_cygpty_used() local
176 ret |= is_cygpty(fd); in is_cygpty_used()
178 return ret; in is_cygpty_used()
H A Dex_eval.c430 char *ret; in get_exception_string() local
444 if (ret == NULL) in get_exception_string()
445 return ret; in get_exception_string()
446 STRCPY(&ret[4], cmdname); in get_exception_string()
447 STRCPY(&ret[4 + cmdlen], "):"); in get_exception_string()
448 val = ret + 4 + cmdlen + 2; in get_exception_string()
453 if (ret == NULL) in get_exception_string()
454 return ret; in get_exception_string()
455 val = ret + 4; in get_exception_string()
494 ret = value; in get_exception_string()
[all …]
H A Dos_unix.c2939 int ret; in mch_copy_sec() local
2957 if (ret < 0) in mch_copy_sec()
3063 return ret; in mch_get_acl()
6161 int ret; in RealWaitForChar() local
6302 if (ret >= 0) in RealWaitForChar()
6389 --ret; in RealWaitForChar()
6413 ret = 0; in RealWaitForChar()
6453 if (--ret == 0) in RealWaitForChar()
6461 if (--ret == 0) in RealWaitForChar()
6468 if (ret >= 0) in RealWaitForChar()
[all …]
H A Dvim9compile.c2846 return ret; in generate_ppconst()
3984 int ret; in compile_get_option() local
4001 return ret; in compile_get_option()
4012 int ret; in compile_get_env() local
4036 int ret; in compile_get_register() local
4305 ret = FAIL; in compile_parenthesis()
5200 int ret; in compile_expr4() local
5206 ret = FAIL; in compile_expr4()
7496 ret = FAIL; in compile_unlet()
7558 ret = FAIL; in compile_lock_unlock()
[all …]
H A Dvim9script.c358 int ret = FAIL; in handle_import() local
462 ret = eval0(arg, &tv, NULL, evalarg); in handle_import()
463 if (ret == FAIL) in handle_import()
1008 int ret; in check_script_var_type() local
1017 ret = check_typval_type(sv->sv_type, value, where); in check_script_var_type()
1018 if (ret == OK && need_convert_to_bool(sv->sv_type, value)) in check_script_var_type()
1027 return ret; in check_script_var_type()
H A Duserfunc.c1066 ret = OK; in get_function_body()
1073 return ret; in get_function_body()
1197 ret = OK; in lambda_function_body()
1252 ret = OK; in lambda_function_body()
1267 return ret; in lambda_function_body()
1294 int ret; in get_lambda_tv() local
1715 ret = FAIL; in get_func_tv()
1734 ret = FAIL; in get_func_tv()
1779 return ret; in get_func_tv()
3160 int ret; in call_callback() local
[all …]
H A Devalvars.c1666 ret = FAIL; in do_unlet_var()
1690 return ret; in do_unlet_var()
1823 ret = FAIL; in do_lock_var()
1830 ret = FAIL; in do_lock_var()
1838 ret = FAIL; in do_lock_var()
1875 return ret; in do_lock_var()
2668 ret = FAIL; in eval_variable()
2712 return ret; in eval_variable()
2763 return ret; in find_var()
2768 return ret; in find_var()
[all …]
/vim-8.2.3635/runtime/ftplugin/
H A Dspec.vim171 let ret = ""
175 let ret = ret . strpart(a:str, end+1)
178 let ret = ret . strpart(a:str, end+1, start-(end+1))
181 let ret = ret . strpart(a:str, start)
189 let ret = ret . substitute(getline(linenum), definestr, "\\2", "")
192 return ret
/vim-8.2.3635/runtime/autoload/
H A Drubycomplete.vim139 let ret = 'nil'
145 return ret
447 ret = []
454 ret.push $1
458 return ret
539 ret = []
573 return ret
595 ret = ret.grep(/^#{Regexp.quote(msg)}/) if msg != nil
596 ret
615 ret = []
[all …]
H A DnetrwFileHandlers.vim60 " call Decho("let ret= netrwFileHandlers#NFH_".a:exten.'("'.fname.'")')
61 exe "let ret= NFH_".exten.'("'.a:fname.'")'
64 " call Decho("let ret= netrwFileHandlers#NFH_".a:exten.'("'.fname.'")')
65 exe "let ret= s:NFH_".a:exten.'("'.a:fname.'")'
68 " call Dret("netrwFileHandlers#Invoke 0 : ret=".ret)
/vim-8.2.3635/runtime/plugin/
H A DlogiPat.vim171 let ret= "---error---"
175 " call Dret("LP_PatPop ".ret)
176 return ret
272 let ret= '^\%(\%('.pat.'\)\@!.\)*$'
274 let ret= '^\%(\%('.a:pat.'\)\@!.\)*$'
276 " call Dret("LP_Not ".ret)
277 return ret
285 " call Dret("LP_Or ".ret)
286 return ret
294 " call Dret("LP_And ".ret)
[all …]
/vim-8.2.3635/runtime/indent/
H A Derlang.vim641 if ret | return [ret, res] | endif
805 if ret | return res | endif
825 if ret | return res | endif
845 let [ret, res] = s:BeginElementFound(stack, token, curr_vcol,
847 if ret | return res | endif
963 if ret | return res | endif
1005 if ret | return res | endif
1014 if ret | return res | endif
1020 if ret | return res | endif
1279 if ret | return res | endif
[all …]
/vim-8.2.3635/src/testdir/
H A Dtest_retab.vim78 call assert_fails('ret -1000', 'E487:')
79 call assert_fails('ret 10000', 'E475:')
80 call assert_fails('ret 80000000000000000000', 'E475:')
/vim-8.2.3635/src/xdiff/
H A Dxhistogram.c259 int sz, ret = -1; in find_lcs() local
307 ret = 1; in find_lcs()
309 ret = 0; in find_lcs()
313 return ret; in find_lcs()

1234