Home
last modified time | relevance | path

Searched refs:pt_argc (Results 1 – 8 of 8) sorted by relevance

/vim-8.2.3635/src/
H A Dvim9type.c366 && tv->vval.v_partial->pt_argc > 0) in typval2type_int()
372 type->tt_argcount -= tv->vval.v_partial->pt_argc; in typval2type_int()
373 type->tt_min_argcount -= tv->vval.v_partial->pt_argc; in typval2type_int()
388 && tv->vval.v_partial->pt_argc > 0) in typval2type_int()
390 type->tt_argcount -= tv->vval.v_partial->pt_argc; in typval2type_int()
391 type->tt_min_argcount -= tv->vval.v_partial->pt_argc; in typval2type_int()
H A Duserfunc.c1695 : funcexe->partial->pt_argc)) in get_func_tv()
3109 if (argc == MAX_FUNC_ARGS - (partial == NULL ? 0 : partial->pt_argc)) in func_call()
3269 if (error == FCERR_NONE && partial->pt_argc > 0) in call_func()
3283 argcount = partial->pt_argc + argcount_in; in call_func()
3292 check_type.tt_argcount += partial->pt_argc; in call_func()
3293 check_type.tt_min_argcount += partial->pt_argc; in call_func()
5358 if (ret_pt->pt_argc > 0) in make_partial()
5360 pt->pt_argv = ALLOC_MULT(typval_T, ret_pt->pt_argc); in make_partial()
5363 pt->pt_argc = 0; in make_partial()
5366 pt->pt_argc = ret_pt->pt_argc; in make_partial()
[all …]
H A Dif_py_both.h3170 pt->pt_argc = self->argc; in set_partial()
3174 for (i = 0; i < pt->pt_argc; ++i) in set_partial()
3182 pt->pt_argc = 0; in set_partial()
6404 if (tv->vval.v_partial->pt_argc) in ConvertToPyObject()
6406 argv = PyMem_New(typval_T, (size_t)tv->vval.v_partial->pt_argc); in ConvertToPyObject()
6407 for (i = 0; i < tv->vval.v_partial->pt_argc; i++) in ConvertToPyObject()
6416 tv->vval.v_partial->pt_argc, argv, in ConvertToPyObject()
H A Dvim9execute.c1014 if (pt->pt_argc > 0) in call_partial()
1018 if (GA_GROW_FAILS(&ectx->ec_stack, pt->pt_argc)) in call_partial()
1021 *STACK_TV_BOT(-i + pt->pt_argc) = *STACK_TV_BOT(-i); in call_partial()
1022 ectx->ec_stack.ga_len += pt->pt_argc; in call_partial()
1023 argcount += pt->pt_argc; in call_partial()
1026 for (i = 0; i < pt->pt_argc; ++i) in call_partial()
H A Dtypval.c1502 a1 = tv1->v_type == VAR_FUNC ? 0 : tv1->vval.v_partial->pt_argc; in func_equal()
1503 a2 = tv2->v_type == VAR_FUNC ? 0 : tv2->vval.v_partial->pt_argc; in func_equal()
H A Deval.c4327 for (i = 0; i < pt->pt_argc; ++i) in partial_free()
4833 for (i = 0; i < pt->pt_argc; ++i) in set_ref_in_item()
5006 if (pt != NULL && pt->pt_argc > 0) in echo_string_core()
5009 for (i = 0; i < pt->pt_argc; ++i) in echo_string_core()
H A Devalfunc.c4052 if (arg_idx > 0 || (arg_pt != NULL && arg_pt->pt_argc > 0)) in common_function()
4060 arg_len = arg_pt->pt_argc; in common_function()
4063 pt->pt_argc = arg_len + lv_len; in common_function()
4064 pt->pt_argv = ALLOC_MULT(typval_T, pt->pt_argc); in common_function()
4274 for (i = 0; i < pt->pt_argc; ++i) in f_get()
H A Dstructs.h2046 int pt_argc; // number of arguments member