Home
last modified time | relevance | path

Searched refs:VAR_FUNC (Results 1 – 21 of 21) sorted by relevance

/vim-8.2.3635/src/
H A Dtypval.c59 case VAR_FUNC: in free_tv()
111 case VAR_FUNC: in clear_tv()
197 case VAR_FUNC: in tv_get_bool_or_number_chk()
309 case VAR_FUNC: in tv_get_float()
925 case VAR_FUNC: in tv_get_string_buf_chk_strict()
999 || varp->v_type == VAR_FUNC in tv_stringify()
1088 case VAR_FUNC: in copy_tv()
1094 if (from->v_type == VAR_FUNC) in copy_tv()
1251 else if (typ1->v_type == VAR_FUNC || typ2->v_type == VAR_FUNC in typval_compare()
1270 if (typ1->v_type == VAR_FUNC && typ2->v_type == VAR_FUNC) in typval_compare()
[all …]
H A Dvim9type.c173 type->tt_type = VAR_FUNC; in alloc_func_type()
327 if (tv->v_type == VAR_FUNC || tv->v_type == VAR_PARTIAL) in typval2type_int()
469 if ((actual_tv->v_type == VAR_FUNC && actual_tv->vval.v_string == NULL) in check_typval_type()
549 || (expected->tt_type == VAR_FUNC in check_type()
567 else if (expected->tt_type == VAR_FUNC) in check_type()
617 if (type->tt_type != VAR_FUNC && type->tt_type != VAR_PARTIAL) in check_argument_types()
1009 case VAR_FUNC: in equal_type()
1066 if (type1->tt_type == VAR_FUNC) in common_type()
1159 case VAR_FUNC: in vartype_name()
1193 if (type->tt_type == VAR_FUNC) in type_name()
H A Dglobals.h424 EXTERN type_T t_func_unknown INIT6(VAR_FUNC, -1, -1, TTFLAG_STATIC, &t_unknown, NULL);
425 EXTERN type_T t_func_void INIT6(VAR_FUNC, -1, 0, TTFLAG_STATIC, &t_void, NULL);
426 EXTERN type_T t_func_any INIT6(VAR_FUNC, -1, 0, TTFLAG_STATIC, &t_any, NULL);
427 EXTERN type_T t_func_number INIT6(VAR_FUNC, -1, 0, TTFLAG_STATIC, &t_number, NULL);
428 EXTERN type_T t_func_string INIT6(VAR_FUNC, -1, 0, TTFLAG_STATIC, &t_string, NULL);
429 EXTERN type_T t_func_0_void INIT6(VAR_FUNC, 0, 0, TTFLAG_STATIC, &t_void, NULL);
430 EXTERN type_T t_func_0_any INIT6(VAR_FUNC, 0, 0, TTFLAG_STATIC, &t_any, NULL);
431 EXTERN type_T t_func_0_number INIT6(VAR_FUNC, 0, 0, TTFLAG_STATIC, &t_number, NULL);
432 EXTERN type_T t_func_0_string INIT6(VAR_FUNC, 0, 0, TTFLAG_STATIC, &t_string, NULL);
H A Deval.c253 if (expr->v_type == VAR_FUNC) in eval_expr_typval()
1129 && rettv->v_type == VAR_FUNC in get_lval()
1469 case VAR_FUNC: in tv_op()
2027 rettv->v_type = VAR_FUNC; in eval_func()
4094 case VAR_FUNC: in check_can_index()
4205 case VAR_FUNC: in eval_index_inner()
4808 else if (tv->v_type == VAR_FUNC) in set_ref_in_item()
4977 case VAR_FUNC: in echo_string_core()
5846 rettv->v_type = VAR_FUNC; in handle_subscript()
5922 && (rettv->v_type == VAR_FUNC in handle_subscript()
[all …]
H A Dif_lua.c580 case VAR_FUNC: in luaV_pushtypval()
655 tv->v_type = VAR_FUNC; in luaV_totypval()
677 tv->v_type = VAR_FUNC; in luaV_totypval()
730 tv->v_type = VAR_FUNC; in luaV_totypval()
1104 if (di->di_tv.v_type == VAR_FUNC) // funcref? in luaV_dict_index()
1131 if (d->dv_scope == VAR_DEF_SCOPE && tv.v_type == VAR_FUNC) in luaV_dict_newindex()
H A Devalvars.c1917 case VAR_FUNC: in item_lock()
2611 rettv->v_type = VAR_FUNC; in eval_variable()
2653 rettv->v_type = VAR_FUNC; in eval_variable()
3154 else if (type == VAR_FUNC || type == VAR_PARTIAL) in list_one_var_a()
3173 if (type == VAR_FUNC || type == VAR_PARTIAL) in list_one_var_a()
3296 if ((tv->v_type == VAR_FUNC || tv->v_type == VAR_PARTIAL) in set_var_const()
4354 else if (arg->v_type == VAR_FUNC || arg->v_type == VAR_STRING) in get_callback()
4388 tv->v_type = VAR_FUNC; in put_callback()
H A Ddict.c359 && (tv->v_type == VAR_FUNC || tv->v_type == VAR_PARTIAL) in dict_wrong_func_name()
1102 && HI2DI(hi2)->di_tv.v_type == VAR_FUNC in dict_extend()
H A Duserfunc.c1611 if (tv->v_type == VAR_FUNC) in deref_func_name()
3617 if (lv.ll_tv->v_type == VAR_FUNC && lv.ll_tv->vval.v_string != NULL) in trans_function_name()
4086 || (fudi.fd_di->di_tv.v_type != VAR_FUNC in define_function()
4232 if (v != NULL && v->di_tv.v_type == VAR_FUNC) in define_function()
4390 fudi.fd_di->di_tv.v_type = VAR_FUNC; in define_function()
5316 fname = rettv->v_type == VAR_FUNC ? rettv->vval.v_string in make_partial()
5334 if (rettv->v_type == VAR_FUNC) in make_partial()
H A Dtesting.c1111 case VAR_FUNC: in f_test_refcount()
1219 rettv->v_type = VAR_FUNC; in f_test_null_function()
H A Devalfunc.c578 || type->tt_type == VAR_FUNC in arg_get1()
2799 if (argvars[0].v_type == VAR_FUNC) in f_call()
3201 case VAR_FUNC: in f_empty()
3931 if (argvars[0].v_type == VAR_FUNC) in common_function()
4124 rettv->v_type = VAR_FUNC; in common_function()
4229 else if (argvars[0].v_type == VAR_PARTIAL || argvars[0].v_type == VAR_FUNC) in f_get()
4250 rettv->v_type = (*what == 'f' ? VAR_FUNC : VAR_STRING); in f_get()
4257 if (rettv->v_type == VAR_FUNC) in f_get()
6673 case VAR_FUNC: in f_len()
9567 if (argvars[2].v_type == VAR_FUNC || argvars[2].v_type == VAR_PARTIAL) in f_substitute()
[all …]
H A Dtime.c741 tv.v_type = VAR_FUNC; in set_ref_in_timer()
H A Dvim9execute.c1036 else if (tv->v_type == VAR_FUNC) in call_partial()
1414 if (v->di_tv.v_type != VAR_PARTIAL && v->di_tv.v_type != VAR_FUNC) in call_eval_func()
2939 tv->v_type = VAR_FUNC; in exec_instructions()
4186 && (tv->v_type == VAR_FUNC in exec_instructions()
5945 case VAR_FUNC: in tv2bool()
H A Dvim9compile.c658 case VAR_FUNC: in may_generate_2STRING()
862 case VAR_FUNC: isntype = ISN_COMPAREFUNC; break; in get_compare_isn()
1030 || (actual->tt_type == VAR_FUNC in use_typecheck()
1031 && (expected->tt_type == VAR_FUNC in use_typecheck()
2117 else if (type->tt_type == VAR_FUNC || type->tt_type == VAR_PARTIAL) in generate_PCALL()
6486 if ((lhs->lhs_type->tt_type == VAR_FUNC in compile_lhs()
7115 if ((rhs_type->tt_type == VAR_FUNC in compile_assignment()
7215 case VAR_FUNC: in compile_assignment()
H A Djson.c229 case VAR_FUNC: in json_encode_item()
H A Dlist.c2023 if (argvars[1].v_type == VAR_FUNC) in do_sort_uniq()
3191 if (argvars[1].v_type == VAR_FUNC) in f_reduce()
H A Dregexp.c2044 if (expr->v_type == VAR_FUNC) in vim_regsub_both()
H A Dstructs.h1403 VAR_FUNC, // "v_string" is function name enumerator
H A Dif_py_both.h6274 tv->v_type = VAR_FUNC; in _ConvertFromPyObject()
6399 case VAR_FUNC: in ConvertToPyObject()
H A Dviminfo.c1376 case VAR_FUNC: in write_viminfo_varlist()
H A Dif_mzsch.c3085 else if (vim_value->v_type == VAR_FUNC) in vim_to_mzscheme_impl()
/vim-8.2.3635/runtime/doc/
H A Dtodo.txt1205 Check for errors E704 and E705 only does VAR_FUNC, should also do VAR_PARTIAL.