Lines Matching refs:res

269     int		res = OK;  in call_dfunc()  local
302 res = compile_def_function(ufunc, FALSE, COMPILE_TYPE(ufunc), NULL); in call_dfunc()
307 if (res == FAIL || INSTRUCTIONS(dfunc) == NULL) in call_dfunc()
1006 int res = FAIL; in call_partial() local
1048 res = FAIL; in call_partial()
1050 res = call_by_name(fname, argcount, ectx, NULL, selfdict); in call_partial()
1054 if (res == FAIL) in call_partial()
1401 int res; in call_eval_func() local
1403 res = call_by_name(name, argcount, ectx, iptr, NULL); in call_eval_func()
1404 if (res == FAIL && called_emsg == called_emsg_before) in call_eval_func()
1421 return res; in call_eval_func()
1782 int res; in exec_instructions() local
1790 res = eval0(arg, tv, NULL, &EVALARG_EVALUATE); in exec_instructions()
1792 if (res == FAIL) in exec_instructions()
1822 int res; in exec_instructions() local
1833 res = do_cmdline(subs->subs_cmd, in exec_instructions()
1838 if (res == FAIL || did_emsg in exec_instructions()
1860 char_u *res = get_clear_redir_ga(); in exec_instructions() local
1868 vim_free(res); in exec_instructions()
1873 tv->vval.v_string = res; in exec_instructions()
1889 int res; in exec_instructions() local
1897 res = cexpr_core(&ea, tv); in exec_instructions()
1899 if (res == FAIL) in exec_instructions()
2982 int res; in exec_instructions() local
2988 res = exec_command(iptr); in exec_instructions()
2991 if (res == FAIL) in exec_instructions()
3572 int res; in exec_instructions() local
3576 case EXPR_EQUAL: res = arg1 == arg2; break; in exec_instructions()
3577 case EXPR_NEQUAL: res = arg1 != arg2; break; in exec_instructions()
3578 default: res = 0; break; in exec_instructions()
3583 tv1->vval.v_number = res ? VVAL_TRUE : VVAL_FALSE; in exec_instructions()
3595 varnumber_T res = 0; in exec_instructions() local
3600 case EXPR_MULT: res = arg1 * arg2; break; in exec_instructions()
3604 res = arg1 / arg2; in exec_instructions()
3609 res = arg1 % arg2; in exec_instructions()
3611 case EXPR_SUB: res = arg1 - arg2; break; in exec_instructions()
3612 case EXPR_ADD: res = arg1 + arg2; break; in exec_instructions()
3614 case EXPR_EQUAL: res = arg1 == arg2; break; in exec_instructions()
3615 case EXPR_NEQUAL: res = arg1 != arg2; break; in exec_instructions()
3616 case EXPR_GREATER: res = arg1 > arg2; break; in exec_instructions()
3617 case EXPR_GEQUAL: res = arg1 >= arg2; break; in exec_instructions()
3618 case EXPR_SMALLER: res = arg1 < arg2; break; in exec_instructions()
3619 case EXPR_SEQUAL: res = arg1 <= arg2; break; in exec_instructions()
3627 tv1->vval.v_number = res ? VVAL_TRUE : VVAL_FALSE; in exec_instructions()
3630 tv1->vval.v_number = res; in exec_instructions()
3649 float_T res = 0; in exec_instructions() local
3654 case EXPR_MULT: res = arg1 * arg2; break; in exec_instructions()
3655 case EXPR_DIV: res = arg1 / arg2; break; in exec_instructions()
3656 case EXPR_SUB: res = arg1 - arg2; break; in exec_instructions()
3657 case EXPR_ADD: res = arg1 + arg2; break; in exec_instructions()
3674 tv1->vval.v_float = res; in exec_instructions()
3930 char_u *res; in exec_instructions() local
3932 res = concat_str(str1, str2); in exec_instructions()
3936 STACK_TV_BOT(-1)->vval.v_string = res; in exec_instructions()
3945 char_u *res; in exec_instructions() local
3963 res = string_slice(tv->vval.v_string, n1, n2, FALSE); in exec_instructions()
3969 res = char_from_string(tv->vval.v_string, n2); in exec_instructions()
3971 tv->vval.v_string = res; in exec_instructions()
4027 int res; in exec_instructions() local
4038 res = eval_index_inner(tv, is_slice, var1, var2, in exec_instructions()
4044 if (res == FAIL) in exec_instructions()
4598 int res; in exe_typval_instr() local
4601 res = exec_instructions(ectx); in exe_typval_instr()
4602 if (res == OK) in exe_typval_instr()
4611 return res; in exe_typval_instr()
4624 char_u *res; in exe_substitute_instr() local
4631 res = typval2string(tv, TRUE); in exe_substitute_instr()
4638 res = vim_strsave((char_u *)""); in exe_substitute_instr()
4644 return res; in exe_substitute_instr()