| /vim-8.2.3635/src/ |
| H A D | os_mac_conv.c | 361 result = utf8_str; in mac_utf16_to_enc() 377 return result; in mac_utf16_to_enc() 430 return result; in mac_enc_to_utf16() 437 return result; in mac_enc_to_utf16() 478 if (result) in mac_precompose_path() 483 VIM_CLEAR(result); in mac_precompose_path() 490 return result; in mac_precompose_path() 504 char_u *result; in mac_utf16_to_utf8() local 521 result = NULL; in mac_utf16_to_utf8() 527 return result; in mac_utf16_to_utf8() [all …]
|
| H A D | digraph.c | 24 result_T result; member 1838 if (dp->result == val) in get_digraph_for_char() 1918 retval = dp->result; in getexactdigraph() 1934 retval = dp->result; in getexactdigraph() 2010 dp->result = n; in registerdigraph() 2022 dp->result = n; in registerdigraph() 2116 if (tmp.result != 0 && tmp.result != tmp.char2 in listdigraphs() 2190 *p++ = (char_u)dp->result; in digraph_getlist_appendpair() 2216 if (tmp.result != 0 && tmp.result != tmp.char2 in digraph_getlist_common() 2282 if (dp->result != 0) in printdigraph() [all …]
|
| H A D | usercmd.c | 1316 size_t result; in add_cmd_modifier() local 1320 result += 1; in add_cmd_modifier() 1330 return result; in add_cmd_modifier() 1361 return result; in add_win_cmd_modifers() 1504 result = 2; in uc_check_code() 1509 result = 0; in uc_check_code() 1535 ++result; in uc_check_code() 1572 result += 2; in uc_check_code() 1601 result += 2; in uc_check_code() 1625 result += 2; in uc_check_code() [all …]
|
| H A D | regexp_nfa.c | 1823 if (result >= NFA_FIRST_NL && result <= NFA_LAST_NL) in nfa_regatom() 4127 to->result = from->result; in copy_pim() 6205 if (result) in nfa_regmatch() 6294 if (result) in nfa_regmatch() 6320 if (result) in nfa_regmatch() 6501 if (result) in nfa_regmatch() 6729 if (result) in nfa_regmatch() 6779 if (result) in nfa_regmatch() 6791 if (result) in nfa_regmatch() 6881 if (result) in nfa_regmatch() [all …]
|
| H A D | if_ole.h | 78 /* [retval][out] */ BSTR __RPC_FAR *result) = 0; 83 /* [retval][out] */ UINT_PTR __RPC_FAR *result) = 0; 140 /* [retval][out] */ BSTR __RPC_FAR *result); 147 /* [retval][out] */ UINT_PTR __RPC_FAR *result); 186 #define IVim_Eval(This,expr,result) \ argument 187 (This)->lpVtbl -> Eval(This,expr,result) 192 #define IVim_GetHwnd(This,result) \ argument 193 (This)->lpVtbl -> GetHwnd(This,result) 217 /* [retval][out] */ BSTR __RPC_FAR *result); 240 /* [retval][out] */ UINT_PTR __RPC_FAR *result);
|
| H A D | beval.c | 235 static char_u *result = NULL; in general_beval_cb() local 287 vim_free(result); in general_beval_cb() 288 result = eval_to_string(bexpr, TRUE); in general_beval_cb() 293 if (result != NULL) in general_beval_cb() 295 len = STRLEN(result); in general_beval_cb() 296 if (len > 0 && result[len - 1] == NL) in general_beval_cb() 297 result[len - 1] = NUL; in general_beval_cb() 305 if (result != NULL && result[0] != NUL) in general_beval_cb() 306 post_balloon(beval, result, NULL); in general_beval_cb()
|
| H A D | if_ole.cpp | 111 STDMETHOD(Eval)(BSTR expr, BSTR *result); 113 STDMETHOD(GetHwnd)(UINT_PTR *result); 281 VARIANT *result, in Invoke() argument 291 result, excepinfo, argerr); in Invoke() 295 CVim::GetHwnd(UINT_PTR *result) in GetHwnd() argument 297 *result = (UINT_PTR)s_hwnd; in GetHwnd() 366 CVim::Eval(BSTR expr, BSTR *result) in Eval() argument 410 *result = SysAllocString(w_buffer); in Eval() 652 if (result != ERROR_SUCCESS) in RecursiveDeleteKey() 691 long result = RegCreateKeyEx(HKEY_CLASSES_ROOT, in SetKeyAndValue() local [all …]
|
| H A D | if_xcmdsrv.c | 388 if (result != NULL) in serverSendToVim() 389 *result = NULL; in serverSendToVim() 401 return sendToLocalVim(cmd, asExpr, result); in serverSendToVim() 475 pending.result = NULL; in serverSendToVim() 499 if (result != NULL) in serverSendToVim() 500 *result = pending.result; in serverSendToVim() 502 vim_free(pending.result); in serverSendToVim() 511 return pending->result != NULL; in WaitForPend() 1059 int result, actualFormat; in GetRegProp() local 1116 int result, actualFormat; in serverEventProc() local [all …]
|
| H A D | if_mzsch.c | 1457 return result; in do_load() 1668 return result; in vim_eval() 2975 return result; in vim_to_mzscheme() 3025 result = scheme_null; in vim_to_mzscheme_impl() 3043 result = scheme_make_pair(obj, result); in vim_to_mzscheme_impl() 3105 result = scheme_null; in vim_to_mzscheme_impl() 3131 result = scheme_null; in vim_to_mzscheme_impl() 3136 result = scheme_void; in vim_to_mzscheme_impl() 3145 return result; in vim_to_mzscheme_impl() 3392 result = scheme_void; in vim_funcref() [all …]
|
| H A D | os_vms.c | 444 char *result; in mch_expand_wildcards() local 466 result = decc$translate_vms(vms_fixfilename(buf)); in mch_expand_wildcards() 467 if ( (int) result == 0 || (int) result == -1 ) { in mch_expand_wildcards() 470 …cnt = decc$to_vms(result, vms_wproc, 1 /*allow wild*/ , (flags & EW_DIR ? 0:1 ) /*allow directory*… in mch_expand_wildcards() 521 char *result; in mch_expandpath() local 526 result = decc$translate_vms(vms_fixfilename(path)); in mch_expandpath() 527 if ( (int) result == 0 || (int) result == -1 ) { in mch_expandpath() 530 …cnt = decc$to_vms(result, vms_wproc, 1 /*allow_wild*/, (flags & EW_DIR ? 0:1 ) /*allow directory*/… in mch_expandpath()
|
| H A D | regexp.c | 1597 int result; in cstrncmp() local 1635 result = c2 - c1; in cstrncmp() 1636 if (result == 0) in cstrncmp() 1640 return result; in cstrncmp() 1899 int result; in vim_regsub() local 1919 return result; in vim_regsub() 1932 int result; in vim_regsub_multi() local 1953 return result; in vim_regsub_multi() 2777 int result; in vim_regexec_string() local 2898 int result; in vim_regexec_multi() local [all …]
|
| H A D | if_ruby.c | 1177 VALUE result = Qnil; in vim_to_ruby() local 1186 result = INT2NUM(tv->vval.v_number); in vim_to_ruby() 1199 result = rb_ary_new(); in vim_to_ruby() 1209 result = rb_hash_new(); in vim_to_ruby() 1234 result = Qtrue; in vim_to_ruby() 1236 result = Qfalse; in vim_to_ruby() 1245 return result; in vim_to_ruby() 1254 VALUE result; in vim_evaluate() local 1259 result = vim_to_ruby(tv); in vim_evaluate() 1263 return result; in vim_evaluate() [all …]
|
| H A D | gui_at_fs.c | 224 int result; in SFchdir() local 226 result = 0; in SFchdir() 231 if (!result) in SFchdir() 359 int result; in SFfindFile() local 386 if (result <= 0) in SFfindFile() 401 if (result) in SFfindFile() 899 int result; in SFcheckFiles() local 906 result = 0; in SFcheckFiles() 925 result = 1; in SFcheckFiles() 2048 result = (SFEntry *) XtRealloc((char *) result, in SFgetDir() [all …]
|
| /vim-8.2.3635/src/xdiff/ |
| H A D | xpatience.c | 144 struct hashmap *result, in fill_hashmap() argument 147 result->file1 = file1; in fill_hashmap() 148 result->file2 = file2; in fill_hashmap() 149 result->xpp = xpp; in fill_hashmap() 150 result->env = env; in fill_hashmap() 153 result->alloc = count1 * 2; in fill_hashmap() 154 result->entries = (struct entry *) in fill_hashmap() 156 if (!result->entries) in fill_hashmap() 158 memset(result->entries, 0, result->alloc * sizeof(struct entry)); in fill_hashmap() 337 int result = 0; in patience_diff() local [all …]
|
| H A D | xhistogram.c | 321 int result; in histogram_diff() local 323 result = -1; in histogram_diff() 346 result = fall_back_to_classic_diff(xpp, env, line1, count1, line2, count2); in histogram_diff() 353 result = 0; in histogram_diff() 355 result = histogram_diff(xpp, env, in histogram_diff() 358 if (result) in histogram_diff() 374 return result; in histogram_diff()
|
| /vim-8.2.3635/runtime/autoload/ |
| H A D | xmlformat.vim | 29 let result = [] 39 call add(result, '') 53 call add(result, s:Indent(item)) 70 let result[-1] .= item 94 if !empty(result) 98 call append(v:lnum - 1, result) 101 let last = v:lnum + len(result) 163 let result=[] 177 call add(result, '') 183 call add(result, add) [all …]
|
| /vim-8.2.3635/src/testdir/ |
| H A D | test_environ.vim | 34 let result = system('echo %FOO%') 36 let result = system('echo $FOO') 38 let result = substitute(result, '[ \r\n]', '', 'g') 39 call assert_equal('HelloWorld', result) 43 let result = system('set | findstr "^FOO="') 45 let result = system('env | grep ^FOO=') 47 call assert_equal('', result)
|
| H A D | test_pyx3.vim | 86 result='A' 89 result+='B' 92 result+='C' 95 result+='D' 98 result+='E' 100 call assert_equal('ABCDE', pyxeval('result'))
|
| H A D | test_pyx2.vim | 86 result='A' 89 result+='B' 92 result+='C' 95 result+='D' 98 result+='E' 100 call assert_equal('ABCDE', pyxeval('result'))
|
| H A D | test_textprop.vim | 162 unlet result.length 174 unlet result.length 177 unlet result.length 196 unlet result.length 199 let lnum = result.lnum 200 let col = result.col 211 unlet result.length 214 let lnum = result.lnum 215 let col = result.col 231 call assert_equal({}, result) [all …]
|
| H A D | test_sound.vim | 8 func PlayCallback(id, result) argument 11 let g:result = a:result 29 call assert_equal(1, g:result) " sound was aborted 47 call assert_equal(0, g:result) 55 call assert_equal(1, g:result) " sound was aborted
|
| H A D | test_true_false.vim | 54 …call assert_equal(a:false_val, r, 'result for ' . v . ' is not ' . string(a:false_val) . ' but ' .… 58 …call assert_equal(a:true_val, r, 'result for ' . v . ' is not ' . string(a:true_val) . ' but ' . s… 123 call assert_equal(a:false_val, r, 'result for ' . v . ' is not ' . a:false_val . ' but ' . r) 127 call assert_equal(a:true_val, r, 'result for ' . v . ' is not ' . a:true_val . ' but ' . r) 144 call assert_equal('v', r, 'result for ' . string(v) . ' is not "v" but ' . r) 146 call assert_equal('v', r, 'result for ' . string(v) . ' is not "v" but ' . r) 151 call assert_equal('v', r, 'result for ' . v . ' is not "v" but ' . r) 153 call assert_equal('', r, 'result for ' . v . ' is not "" but ' . r)
|
| H A D | test_vim9_script.vim | 973 var result = '' 1118 unlet g:result 1659 unlet g:result 1963 unlet g:result 2603 var result = '' 2618 var result = [] 2630 result = [] 2900 result = [] 2908 result = [] 3003 result = [] [all …]
|
| /vim-8.2.3635/runtime/tools/ |
| H A D | xcmdsrv_client.c | 117 char *result; in sendToVim() local 232 if ((result = SendEventProc(dpy, &event, serial, code)) != NULL) in sendToVim() 233 return result; in sendToVim() 300 int result, actualFormat; in LookupName() local 310 result = XGetWindowProperty(dpy, RootWindow(dpy, 0), registryProperty, 0, in LookupName() 322 if ((result != Success) || (actualFormat != 8) || (actualType != XA_STRING)) in LookupName() 406 int result, actualFormat; in SendEventProc() local 422 result = XGetWindowProperty(dpy, commWindow, commProperty, 0, in SendEventProc() 432 if ((result != Success) || (actualType != XA_STRING) in SendEventProc()
|
| /vim-8.2.3635/runtime/plugin/ |
| H A D | logiPat.vim | 118 let result= s:LP_PatPop(1) 119 " call Decho("result=".result) 134 " call Decho("search(result<".result."> LogiPatFlags<".s:LogiPatFlags.">)") 135 call search(result,s:LogiPatFlags) 137 " call Decho("search(result<".result.">)") 138 call search(result) 140 let @/= result 143 " call Dret("LogiPat ".result) 144 return result
|