Lines Matching refs:ga_len

105 #define STACK_TV_BOT(idx) (((typval_T *)ectx->ec_stack.ga_data) + ectx->ec_stack.ga_len + (idx))
119 return ufunc->uf_args.ga_len + (ufunc->uf_va_name != NULL ? 1 : 0); in ufunc_argcount()
139 ectx->ec_stack.ga_len -= count - 1; in exe_newlist()
143 ++ectx->ec_stack.ga_len; in exe_newlist()
180 ((typval_T *)dict_stack.ga_data)[dict_stack.ga_len] = *tv; in dict_stack_save()
181 ++dict_stack.ga_len; in dict_stack_save()
191 if (dict_stack.ga_len == 0) in dict_stack_get_tv()
193 return ((typval_T *)dict_stack.ga_data) + dict_stack.ga_len - 1; in dict_stack_get_tv()
204 if (dict_stack.ga_len == 0) in dict_stack_get_dict()
206 tv = ((typval_T *)dict_stack.ga_data) + dict_stack.ga_len - 1; in dict_stack_get_dict()
218 if (dict_stack.ga_len == 0) in dict_stack_drop()
223 --dict_stack.ga_len; in dict_stack_drop()
224 clear_tv(((typval_T *)dict_stack.ga_data) + dict_stack.ga_len); in dict_stack_drop()
233 while (dict_stack.ga_len > len) in dict_stack_clear()
285 + profile_info_ga.ga_len; in call_dfunc()
286 ++profile_info_ga.ga_len; in call_dfunc()
333 vararg_count = argcount - ufunc->uf_args.ga_len; in call_dfunc()
344 arg_to_add = ufunc->uf_args.ga_len - argcount; in call_dfunc()
386 ectx->ec_stack.ga_len += arg_to_add; in call_dfunc()
396 ectx->ec_frame_idx = ectx->ec_stack.ga_len; in call_dfunc()
408 ectx->ec_stack.ga_len += STACK_FRAME_SIZE + varcount; in call_dfunc()
507 int off = gap->ga_len - closure_count + idx; in handle_closure_in_use()
544 funcstack->fs_ga.ga_len = funcstack->fs_var_offset + dfunc->df_varcount; in handle_closure_in_use()
545 stack = ALLOC_CLEAR_MULT(typval_T, funcstack->fs_ga.ga_len); in handle_closure_in_use()
581 gap->ga_len - closure_count + i]) in handle_closure_in_use()
591 partial_T *pt = ((partial_T **)gap->ga_data)[gap->ga_len in handle_closure_in_use()
604 partial_unref(((partial_T **)gap->ga_data)[gap->ga_len in handle_closure_in_use()
606 gap->ga_len -= closure_count; in handle_closure_in_use()
607 if (gap->ga_len == 0) in handle_closure_in_use()
628 for (i = funcstack->fs_var_offset; i < gap->ga_len; ++i) in funcstack_check_refcount()
643 for (i = 0; i < gap->ga_len; ++i) in funcstack_check_refcount()
678 + profile_info_ga.ga_len - 1, dfunc->df_ufunc, caller); in func_return()
679 --profile_info_ga.ga_len; in func_return()
700 idx < ectx->ec_stack.ga_len - 1; ++idx) in func_return()
705 ret_idx = ectx->ec_stack.ga_len - 1; in func_return()
743 ectx->ec_stack.ga_len = top + 1; in func_return()
748 ectx->ec_stack.ga_len = top; in func_return()
773 ectx->ec_stack.ga_len -= argcount - 1; in call_prepare()
777 ++ectx->ec_stack.ga_len; in call_prepare()
981 if (i < ufunc->uf_args.ga_len && ufunc->uf_arg_types != NULL) in call_by_name()
1022 ectx->ec_stack.ga_len += pt->pt_argc; in call_partial()
1468 [ectx->ec_funcrefs.ga_len] = pt; in fill_partial_and_closure()
1470 ++ectx->ec_funcrefs.ga_len; in fill_partial_and_closure()
1515 #define STACK_TV_BOT(idx) (((typval_T *)ectx->ec_stack.ga_data) + ectx->ec_stack.ga_len + idx)
1551 for (idx = 0; idx < ufunc->uf_args.ga_len; ++idx) in lookup_debug_var()
1553 return STACK_TV(ectx->ec_frame_idx - ufunc->uf_args.ga_len in lookup_debug_var()
1622 ((char_u **)(ga.ga_data))[ga.ga_len++] = p; in handle_debug()
1648 int dict_stack_len_at_start = dict_stack.ga_len; in exec_instructions()
1690 int index = trystack->ga_len; in exec_instructions()
1728 ++ectx->ec_stack.ga_len; in exec_instructions()
1794 ++ectx->ec_stack.ga_len; in exec_instructions()
1807 ++ectx->ec_stack.ga_len; in exec_instructions()
1874 ++ectx->ec_stack.ga_len; in exec_instructions()
1895 --ectx->ec_stack.ga_len; in exec_instructions()
1962 ectx->ec_stack.ga_len -= count; in exec_instructions()
2008 if (ga.ga_len > 0) in exec_instructions()
2009 ((char_u *)(ga.ga_data))[ga.ga_len++] = ' '; in exec_instructions()
2010 STRCPY((char_u *)(ga.ga_data) + ga.ga_len, p); in exec_instructions()
2011 ga.ga_len += len; in exec_instructions()
2015 ectx->ec_stack.ga_len -= count; in exec_instructions()
2064 ++ectx->ec_stack.ga_len; in exec_instructions()
2072 ++ectx->ec_stack.ga_len; in exec_instructions()
2088 ++ectx->ec_stack.ga_len; in exec_instructions()
2111 ++ectx->ec_stack.ga_len; in exec_instructions()
2161 ++ectx->ec_stack.ga_len; in exec_instructions()
2177 ++ectx->ec_stack.ga_len; in exec_instructions()
2205 ++ectx->ec_stack.ga_len; in exec_instructions()
2222 ++ectx->ec_stack.ga_len; in exec_instructions()
2237 ++ectx->ec_stack.ga_len; in exec_instructions()
2252 ++ectx->ec_stack.ga_len; in exec_instructions()
2257 --ectx->ec_stack.ga_len; in exec_instructions()
2271 --ectx->ec_stack.ga_len; in exec_instructions()
2297 --ectx->ec_stack.ga_len; in exec_instructions()
2320 --ectx->ec_stack.ga_len; in exec_instructions()
2345 --ectx->ec_stack.ga_len; in exec_instructions()
2356 --ectx->ec_stack.ga_len; in exec_instructions()
2365 --ectx->ec_stack.ga_len; in exec_instructions()
2400 --ectx->ec_stack.ga_len; in exec_instructions()
2420 --ectx->ec_stack.ga_len; in exec_instructions()
2581 ectx->ec_stack.ga_len -= 3; in exec_instructions()
2690 ectx->ec_stack.ga_len -= 4; in exec_instructions()
2725 ++ectx->ec_stack.ga_len; in exec_instructions()
2729 --ectx->ec_stack.ga_len; in exec_instructions()
2816 ectx->ec_stack.ga_len -= 2; in exec_instructions()
2894 ectx->ec_stack.ga_len -= 3; in exec_instructions()
2914 ++ectx->ec_stack.ga_len; in exec_instructions()
2986 --ectx->ec_stack.ga_len; in exec_instructions()
3051 ectx->ec_stack.ga_len -= 2 * count - 1; in exec_instructions()
3055 ++ectx->ec_stack.ga_len; in exec_instructions()
3099 --ectx->ec_stack.ga_len; in exec_instructions()
3115 --ectx->ec_stack.ga_len; in exec_instructions()
3137 ++ectx->ec_stack.ga_len; in exec_instructions()
3149 if (trystack->ga_len > 0) in exec_instructions()
3151 + trystack->ga_len - 1; in exec_instructions()
3185 ++ectx->ec_stack.ga_len; in exec_instructions()
3246 --ectx->ec_stack.ga_len; in exec_instructions()
3294 ++ectx->ec_stack.ga_len; in exec_instructions()
3302 ++ectx->ec_stack.ga_len; in exec_instructions()
3327 ++ectx->ec_stack.ga_len; in exec_instructions()
3361 ++ectx->ec_stack.ga_len; in exec_instructions()
3381 + ectx->ec_trystack.ga_len; in exec_instructions()
3382 ++ectx->ec_trystack.ga_len; in exec_instructions()
3386 trycmd->tcd_stack_len = ectx->ec_stack.ga_len; in exec_instructions()
3406 ++ectx->ec_stack.ga_len; in exec_instructions()
3418 if (trystack->ga_len > 0) in exec_instructions()
3421 + trystack->ga_len - 1; in exec_instructions()
3439 if (trystack->ga_len < trycont->tct_levels) in exec_instructions()
3442 trycont->tct_levels, trystack->ga_len); in exec_instructions()
3450 + trystack->ga_len - i; in exec_instructions()
3466 + trystack->ga_len - 1; in exec_instructions()
3479 if (trystack->ga_len > 0) in exec_instructions()
3483 --trystack->ga_len; in exec_instructions()
3486 + trystack->ga_len; in exec_instructions()
3500 while (ectx->ec_stack.ga_len > trycmd->tcd_stack_len) in exec_instructions()
3502 --ectx->ec_stack.ga_len; in exec_instructions()
3517 if (trystack->ga_len == 0 && trylevel == 0 && emsg_silent) in exec_instructions()
3527 --ectx->ec_stack.ga_len; in exec_instructions()
3540 if (trystack->ga_len > 0) in exec_instructions()
3543 + trystack->ga_len - 1; in exec_instructions()
3581 --ectx->ec_stack.ga_len; in exec_instructions()
3623 --ectx->ec_stack.ga_len; in exec_instructions()
3667 --ectx->ec_stack.ga_len; in exec_instructions()
3698 --ectx->ec_stack.ga_len; in exec_instructions()
3722 --ectx->ec_stack.ga_len; in exec_instructions()
3744 --ectx->ec_stack.ga_len; in exec_instructions()
3767 --ectx->ec_stack.ga_len; in exec_instructions()
3787 --ectx->ec_stack.ga_len; in exec_instructions()
3810 --ectx->ec_stack.ga_len; in exec_instructions()
3831 --ectx->ec_stack.ga_len; in exec_instructions()
3839 --ectx->ec_stack.ga_len; in exec_instructions()
3896 --ectx->ec_stack.ga_len; in exec_instructions()
3921 --ectx->ec_stack.ga_len; in exec_instructions()
3935 --ectx->ec_stack.ga_len; in exec_instructions()
3959 ectx->ec_stack.ga_len -= is_slice ? 2 : 1; in exec_instructions()
4004 ectx->ec_stack.ga_len -= is_slice ? 2 : 1; in exec_instructions()
4043 ectx->ec_stack.ga_len -= is_slice ? 2 : 1; in exec_instructions()
4086 ++ectx->ec_stack.ga_len; in exec_instructions()
4122 --ectx->ec_stack.ga_len; in exec_instructions()
4130 --ectx->ec_stack.ga_len; in exec_instructions()
4346 ++ectx->ec_stack.ga_len; in exec_instructions()
4371 --ectx->ec_stack.ga_len; in exec_instructions()
4389 --ectx->ec_stack.ga_len; in exec_instructions()
4401 ectx->ec_stack.ga_len; in exec_instructions()
4448 ectx->ec_stack.ga_len += count - 1; in exec_instructions()
4530 --ectx->ec_stack.ga_len; in exec_instructions()
4561 while (ectx->ec_stack.ga_len in exec_instructions()
4564 --ectx->ec_stack.ga_len; in exec_instructions()
4605 --ectx->ec_stack.ga_len; in exe_typval_instr()
4632 --ectx->ec_stack.ga_len; in exe_substitute_instr()
4664 int defcount = ufunc->uf_args.ga_len - argc; in call_def_function()
4681 #define STACK_TV_BOT(idx) (((typval_T *)ectx.ec_stack.ga_data) + ectx.ec_stack.ga_len + idx) in call_def_function()
4731 idx = argc - ufunc->uf_args.ga_len; in call_def_function()
4740 idx = argc - ufunc->uf_args.ga_len + ufunc->uf_def_args.ga_len; in call_def_function()
4753 && (ufunc->uf_va_name != NULL || idx < ufunc->uf_args.ga_len); in call_def_function()
4756 if (idx >= ufunc->uf_args.ga_len - ufunc->uf_def_args.ga_len in call_def_function()
4765 if (ufunc->uf_arg_types != NULL && idx < ufunc->uf_args.ga_len in call_def_function()
4772 ++ectx.ec_stack.ga_len; in call_def_function()
4778 int vararg_count = argc - ufunc->uf_args.ga_len; in call_def_function()
4809 --ectx.ec_stack.ga_len; in call_def_function()
4818 ++ectx.ec_stack.ga_len; in call_def_function()
4821 ++ectx.ec_stack.ga_len; in call_def_function()
4824 ectx.ec_frame_idx = ectx.ec_stack.ga_len; in call_def_function()
4867 STACK_TV(ectx.ec_stack.ga_len)->v_type = VAR_UNKNOWN; in call_def_function()
4868 ++ectx.ec_stack.ga_len; in call_def_function()
4878 ectx.ec_stack.ga_len += dfunc->df_varcount; in call_def_function()
4883 ++ectx.ec_stack.ga_len; in call_def_function()
4936 if (ectx.ec_funcrefs.ga_len > 0) in call_def_function()
4972 for (idx = 0; idx < ectx.ec_stack.ga_len; ++idx) in call_def_function()
5018 && line_idx < ufunc->uf_lines.ga_len) in list_instructions()
5031 int first_def_arg = ufunc->uf_args.ga_len in list_instructions()
5032 - ufunc->uf_def_args.ga_len; in list_instructions()
5969 return tv->vval.v_blob != NULL && tv->vval.v_blob->bv_ga.ga_len > 0; in tv2bool()