Lines Matching refs:STACK_TV_BOT
105 #define STACK_TV_BOT(idx) (((typval_T *)ectx->ec_stack.ga_data) + ectx->ec_stack.ga_len + (idx)) macro
136 list_set_item(list, idx, STACK_TV_BOT(idx - count)); in exe_newlist()
144 tv = STACK_TV_BOT(-1); in exe_newlist()
381 *STACK_TV_BOT(arg_to_add - 1) = *STACK_TV_BOT(-1); in call_dfunc()
385 STACK_TV_BOT(idx - vararg_count)->v_type = VAR_UNKNOWN; in call_dfunc()
389 STACK_TV_BOT(STACK_FRAME_FUNC_OFF)->vval.v_number = ectx->ec_dfunc_idx; in call_dfunc()
390 STACK_TV_BOT(STACK_FRAME_IIDX_OFF)->vval.v_number = ectx->ec_iidx; in call_dfunc()
391 STACK_TV_BOT(STACK_FRAME_INSTR_OFF)->vval.v_string = (void *)ectx->ec_instr; in call_dfunc()
392 STACK_TV_BOT(STACK_FRAME_OUTER_OFF)->vval.v_string = in call_dfunc()
394 STACK_TV_BOT(STACK_FRAME_FUNCLOCAL_OFF)->vval.v_string = (void *)floc; in call_dfunc()
395 STACK_TV_BOT(STACK_FRAME_IDX_OFF)->vval.v_number = ectx->ec_frame_idx; in call_dfunc()
400 STACK_TV_BOT(STACK_FRAME_SIZE + idx)->v_type = VAR_UNKNOWN; in call_dfunc()
403 typval_T *tv = STACK_TV_BOT(STACK_FRAME_SIZE + dfunc->df_varcount); in call_dfunc()
744 *STACK_TV_BOT(-1) = *STACK_TV(ret_idx); in func_return()
768 argvars[idx] = *STACK_TV_BOT(idx - argcount); in call_prepare()
780 tv = STACK_TV_BOT(-1); in call_prepare()
810 call_internal_func_by_idx(func_idx, argvars, STACK_TV_BOT(-1)); in call_bfunc()
885 STACK_TV_BOT(-1), &funcexe, funcexe.selfdict); in call_ufunc()
973 typval_T *argv = STACK_TV_BOT(0) - argcount; in call_by_name()
1021 *STACK_TV_BOT(-i + pt->pt_argc) = *STACK_TV_BOT(-i); in call_partial()
1027 copy_tv(&pt->pt_argv[i], STACK_TV_BOT(-argcount + i)); in call_partial()
1514 #undef STACK_TV_BOT
1515 #define STACK_TV_BOT(idx) (((typval_T *)ectx->ec_stack.ga_data) + ectx->ec_stack.ga_len + idx) macro
1725 tv = STACK_TV_BOT(0); in exec_instructions()
1787 tv = STACK_TV_BOT(0); in exec_instructions()
1803 tv = STACK_TV_BOT(0); in exec_instructions()
1871 tv = STACK_TV_BOT(0); in exec_instructions()
1896 tv = STACK_TV_BOT(0); in exec_instructions()
1919 tv = STACK_TV_BOT(i - count); in exec_instructions()
1955 tv = STACK_TV_BOT(idx - count); in exec_instructions()
1986 tv = STACK_TV_BOT(idx - count); in exec_instructions()
2063 copy_tv(STACK_TV_VAR(iptr->isn_arg.number), STACK_TV_BOT(0)); in exec_instructions()
2071 copy_tv(get_vim_var_tv(iptr->isn_arg.number), STACK_TV_BOT(0)); in exec_instructions()
2087 copy_tv(sv->sv_tv, STACK_TV_BOT(0)); in exec_instructions()
2110 copy_tv(&di->di_tv, STACK_TV_BOT(0)); in exec_instructions()
2160 copy_tv(&di->di_tv, STACK_TV_BOT(0)); in exec_instructions()
2175 STACK_TV_BOT(0), NULL, EVAL_VAR_VERBOSE) == FAIL) in exec_instructions()
2200 tv = STACK_TV_BOT(0); in exec_instructions()
2221 *STACK_TV_BOT(0) = optval; in exec_instructions()
2236 *STACK_TV_BOT(0) = optval; in exec_instructions()
2245 tv = STACK_TV_BOT(0); in exec_instructions()
2260 *tv = *STACK_TV_BOT(0); in exec_instructions()
2273 store_var(name, STACK_TV_BOT(0)); in exec_instructions()
2279 clear_tv(STACK_TV_BOT(0)); in exec_instructions()
2283 di->di_tv = *STACK_TV_BOT(0); in exec_instructions()
2304 clear_tv(STACK_TV_BOT(0)); in exec_instructions()
2309 *sv->sv_tv = *STACK_TV_BOT(0); in exec_instructions()
2321 tv = STACK_TV_BOT(0); in exec_instructions()
2346 tv = STACK_TV_BOT(0); in exec_instructions()
2357 tv = STACK_TV_BOT(0); in exec_instructions()
2366 if (set_vim_var_tv(iptr->isn_arg.number, STACK_TV_BOT(0)) in exec_instructions()
2403 store_var(iptr->isn_arg.string, STACK_TV_BOT(0)); in exec_instructions()
2410 di->di_tv = *STACK_TV_BOT(0); in exec_instructions()
2418 set_var(iptr->isn_arg.string, STACK_TV_BOT(-1), TRUE); in exec_instructions()
2419 clear_tv(STACK_TV_BOT(-1)); in exec_instructions()
2435 typval_T *tv_idx = STACK_TV_BOT(-2); in exec_instructions()
2436 typval_T *tv_dest = STACK_TV_BOT(-1); in exec_instructions()
2443 tv = STACK_TV_BOT(-3); in exec_instructions()
2593 typval_T *tv_idx1 = STACK_TV_BOT(-3); in exec_instructions()
2594 typval_T *tv_idx2 = STACK_TV_BOT(-2); in exec_instructions()
2595 typval_T *tv_dest = STACK_TV_BOT(-1); in exec_instructions()
2603 tv = STACK_TV_BOT(-4); in exec_instructions()
2724 copy_tv(tv, STACK_TV_BOT(0)); in exec_instructions()
2731 *tv = *STACK_TV_BOT(0); in exec_instructions()
2739 typval_T *tv_idx = STACK_TV_BOT(-2); in exec_instructions()
2740 typval_T *tv_dest = STACK_TV_BOT(-1); in exec_instructions()
2829 typval_T *tv_idx1 = STACK_TV_BOT(-3); in exec_instructions()
2830 typval_T *tv_idx2 = STACK_TV_BOT(-2); in exec_instructions()
2831 typval_T *tv_dest = STACK_TV_BOT(-1); in exec_instructions()
2912 tv = STACK_TV_BOT(0); in exec_instructions()
2987 lval_root = STACK_TV_BOT(0); in exec_instructions()
2997 item_lock(STACK_TV_BOT(-1), 100, TRUE, TRUE); in exec_instructions()
3021 tv = STACK_TV_BOT(2 * (idx - count)); in exec_instructions()
3040 item->di_tv = *STACK_TV_BOT(2 * (idx - count) + 1); in exec_instructions()
3056 tv = STACK_TV_BOT(-1); in exec_instructions()
3094 tv = STACK_TV_BOT(-pfunc->cpf_argcount - 1); in exec_instructions()
3100 partial_tv = *STACK_TV_BOT(0); in exec_instructions()
3116 clear_tv(STACK_TV_BOT(-1)); in exec_instructions()
3117 *STACK_TV_BOT(-1) = *STACK_TV_BOT(0); in exec_instructions()
3136 tv = STACK_TV_BOT(0); in exec_instructions()
3184 tv = STACK_TV_BOT(0); in exec_instructions()
3226 tv = STACK_TV_BOT(-1); in exec_instructions()
3267 typval_T *ltv = STACK_TV_BOT(-1); in exec_instructions()
3289 tv = STACK_TV_BOT(0); in exec_instructions()
3301 copy_tv(&li->li_tv, STACK_TV_BOT(0)); in exec_instructions()
3323 tv = STACK_TV_BOT(0); in exec_instructions()
3357 tv = STACK_TV_BOT(0); in exec_instructions()
3405 tv = STACK_TV_BOT(0); in exec_instructions()
3503 clear_tv(STACK_TV_BOT(0)); in exec_instructions()
3521 tv = STACK_TV_BOT(-1); in exec_instructions()
3528 tv = STACK_TV_BOT(0); in exec_instructions()
3568 typval_T *tv1 = STACK_TV_BOT(-2); in exec_instructions()
3569 typval_T *tv2 = STACK_TV_BOT(-1); in exec_instructions()
3591 typval_T *tv1 = STACK_TV_BOT(-2); in exec_instructions()
3592 typval_T *tv2 = STACK_TV_BOT(-1); in exec_instructions()
3645 typval_T *tv1 = STACK_TV_BOT(-2); in exec_instructions()
3646 typval_T *tv2 = STACK_TV_BOT(-1); in exec_instructions()
3681 typval_T *tv1 = STACK_TV_BOT(-2); in exec_instructions()
3682 typval_T *tv2 = STACK_TV_BOT(-1); in exec_instructions()
3708 typval_T *tv1 = STACK_TV_BOT(-2); in exec_instructions()
3709 typval_T *tv2 = STACK_TV_BOT(-1); in exec_instructions()
3736 typval_T *tv1 = STACK_TV_BOT(-2); in exec_instructions()
3737 typval_T *tv2 = STACK_TV_BOT(-1); in exec_instructions()
3751 typval_T *tv1 = STACK_TV_BOT(-2); in exec_instructions()
3752 typval_T *tv2 = STACK_TV_BOT(-1); in exec_instructions()
3773 typval_T *tv1 = STACK_TV_BOT(-2); in exec_instructions()
3774 typval_T *tv2 = STACK_TV_BOT(-1); in exec_instructions()
3793 typval_T *tv1 = STACK_TV_BOT(-2); in exec_instructions()
3794 typval_T *tv2 = STACK_TV_BOT(-1); in exec_instructions()
3817 typval_T *tv1 = STACK_TV_BOT(-2); in exec_instructions()
3818 typval_T *tv2 = STACK_TV_BOT(-1); in exec_instructions()
3928 char_u *str1 = STACK_TV_BOT(-2)->vval.v_string; in exec_instructions()
3929 char_u *str2 = STACK_TV_BOT(-1)->vval.v_string; in exec_instructions()
3933 clear_tv(STACK_TV_BOT(-2)); in exec_instructions()
3934 clear_tv(STACK_TV_BOT(-1)); in exec_instructions()
3936 STACK_TV_BOT(-1)->vval.v_string = res; in exec_instructions()
3952 tv = STACK_TV_BOT(-2); in exec_instructions()
3956 tv = STACK_TV_BOT(-1); in exec_instructions()
3960 tv = STACK_TV_BOT(-1); in exec_instructions()
3991 val_tv = is_slice ? STACK_TV_BOT(-3) : STACK_TV_BOT(-2); in exec_instructions()
3993 tv = STACK_TV_BOT(-1); in exec_instructions()
3999 tv = STACK_TV_BOT(-2); in exec_instructions()
4005 tv = STACK_TV_BOT(-1); in exec_instructions()
4032 tv = is_slice ? STACK_TV_BOT(-3) : STACK_TV_BOT(-2); in exec_instructions()
4036 var1 = is_slice ? STACK_TV_BOT(-2) : STACK_TV_BOT(-1); in exec_instructions()
4037 var2 = is_slice ? STACK_TV_BOT(-1) : NULL; in exec_instructions()
4055 tv = STACK_TV_BOT(-1); in exec_instructions()
4081 tv = STACK_TV_BOT(-1 - gi->gi_with_op); in exec_instructions()
4087 copy_tv(&li->li_tv, STACK_TV_BOT(-1)); in exec_instructions()
4103 tv = STACK_TV_BOT(-2); in exec_instructions()
4107 tv = STACK_TV_BOT(-1); in exec_instructions()
4123 tv = STACK_TV_BOT(-1); in exec_instructions()
4133 tv = STACK_TV_BOT(-1); in exec_instructions()
4146 tv = STACK_TV_BOT(-1); in exec_instructions()
4182 tv = STACK_TV_BOT(-1); in exec_instructions()
4197 tv = STACK_TV_BOT(-1); in exec_instructions()
4220 tv = STACK_TV_BOT(-1); in exec_instructions()
4234 tv = STACK_TV_BOT((int)ct->ct_off); in exec_instructions()
4262 tv = STACK_TV_BOT(-1); in exec_instructions()
4281 tv = STACK_TV_BOT(-1); in exec_instructions()
4303 tv = STACK_TV_BOT(iptr->isn_arg.tobool.offset); in exec_instructions()
4310 tv = STACK_TV_BOT(-1); in exec_instructions()
4325 if (do_2string(STACK_TV_BOT(iptr->isn_arg.tostring.offset), in exec_instructions()
4347 tv = STACK_TV_BOT(-1); in exec_instructions()
4367 tv = STACK_TV_BOT(-1); in exec_instructions()
4381 tv = STACK_TV_BOT(-1); in exec_instructions()
4423 tv = STACK_TV_BOT(-1); in exec_instructions()
4459 tv = STACK_TV_BOT(-count); in exec_instructions()
4478 tv = STACK_TV_BOT(-i - 1); in exec_instructions()
4519 tmp_tv = *STACK_TV_BOT(-item); in exec_instructions()
4522 *STACK_TV_BOT(-item) = *STACK_TV_BOT(-item + 1); in exec_instructions()
4525 *STACK_TV_BOT(-item) = tmp_tv; in exec_instructions()
4531 clear_tv(STACK_TV_BOT(0)); in exec_instructions()
4565 clear_tv(STACK_TV_BOT(0)); in exec_instructions()
4604 *rettv = *STACK_TV_BOT(-1); in exe_typval_instr()
4629 typval_T *tv = STACK_TV_BOT(-1); in exe_substitute_instr()
4680 #undef STACK_TV_BOT 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() macro
4761 STACK_TV_BOT(0)->v_type = VAR_UNKNOWN; in call_def_function()
4770 copy_tv(&argv[idx], STACK_TV_BOT(0)); in call_def_function()
4788 tv = STACK_TV_BOT(-1); in call_def_function()
4808 *STACK_TV_BOT(defcount - 1) = *STACK_TV_BOT(-1); in call_def_function()
4817 STACK_TV_BOT(0)->v_type = VAR_UNKNOWN; in call_def_function()
4925 tv = STACK_TV_BOT(-1); in call_def_function()