|
| WINE_DEFAULT_DEBUG_CHANNEL (vbscript) |
|
static BOOL | lookup_dynamic_vars (dynamic_var_t *var, const WCHAR *name, ref_t *ref) |
|
static HRESULT | lookup_identifier (exec_ctx_t *ctx, BSTR name, vbdisp_invoke_type_t invoke_type, ref_t *ref) |
|
static HRESULT | add_dynamic_var (exec_ctx_t *ctx, const WCHAR *name, BOOL is_const, VARIANT **out_var) |
|
void | clear_ei (EXCEPINFO *ei) |
|
static VARIANT * | stack_pop (exec_ctx_t *ctx) |
|
static VARIANT * | stack_top (exec_ctx_t *ctx, unsigned n) |
|
static HRESULT | stack_push (exec_ctx_t *ctx, VARIANT *v) |
|
static HRESULT | stack_push_null (exec_ctx_t *ctx) |
|
static void | stack_popn (exec_ctx_t *ctx, unsigned n) |
|
static void | stack_pop_deref (exec_ctx_t *ctx, variant_val_t *r) |
|
static void | release_val (variant_val_t *v) |
|
static HRESULT | stack_pop_val (exec_ctx_t *ctx, variant_val_t *r) |
|
static HRESULT | stack_assume_val (exec_ctx_t *ctx, unsigned n) |
|
static int | stack_pop_bool (exec_ctx_t *ctx, BOOL *b) |
|
static HRESULT | stack_pop_disp (exec_ctx_t *ctx, IDispatch **ret) |
|
static HRESULT | stack_assume_disp (exec_ctx_t *ctx, unsigned n, IDispatch **disp) |
|
static void | instr_jmp (exec_ctx_t *ctx, unsigned addr) |
|
static void | vbstack_to_dp (exec_ctx_t *ctx, unsigned arg_cnt, BOOL is_propput, DISPPARAMS *dp) |
|
static HRESULT | array_access (exec_ctx_t *ctx, SAFEARRAY *array, DISPPARAMS *dp, VARIANT **ret) |
|
static HRESULT | do_icall (exec_ctx_t *ctx, VARIANT *res) |
|
static HRESULT | interp_icall (exec_ctx_t *ctx) |
|
static HRESULT | interp_icallv (exec_ctx_t *ctx) |
|
static HRESULT | do_mcall (exec_ctx_t *ctx, VARIANT *res) |
|
static HRESULT | interp_mcall (exec_ctx_t *ctx) |
|
static HRESULT | interp_mcallv (exec_ctx_t *ctx) |
|
static HRESULT | assign_value (exec_ctx_t *ctx, VARIANT *dst, VARIANT *src, WORD flags) |
|
static HRESULT | assign_ident (exec_ctx_t *ctx, BSTR name, WORD flags, DISPPARAMS *dp) |
|
static HRESULT | interp_assign_ident (exec_ctx_t *ctx) |
|
static HRESULT | interp_set_ident (exec_ctx_t *ctx) |
|
static HRESULT | interp_assign_member (exec_ctx_t *ctx) |
|
static HRESULT | interp_set_member (exec_ctx_t *ctx) |
|
static HRESULT | interp_const (exec_ctx_t *ctx) |
|
static HRESULT | interp_val (exec_ctx_t *ctx) |
|
static HRESULT | interp_pop (exec_ctx_t *ctx) |
|
static HRESULT | interp_new (exec_ctx_t *ctx) |
|
static HRESULT | interp_dim (exec_ctx_t *ctx) |
|
static HRESULT | interp_step (exec_ctx_t *ctx) |
|
static HRESULT | interp_newenum (exec_ctx_t *ctx) |
|
static HRESULT | interp_enumnext (exec_ctx_t *ctx) |
|
static HRESULT | interp_jmp (exec_ctx_t *ctx) |
|
static HRESULT | interp_jmp_false (exec_ctx_t *ctx) |
|
static HRESULT | interp_jmp_true (exec_ctx_t *ctx) |
|
static HRESULT | interp_ret (exec_ctx_t *ctx) |
|
static HRESULT | interp_retval (exec_ctx_t *ctx) |
|
static HRESULT | interp_stop (exec_ctx_t *ctx) |
|
static HRESULT | interp_me (exec_ctx_t *ctx) |
|
static HRESULT | interp_bool (exec_ctx_t *ctx) |
|
static HRESULT | interp_errmode (exec_ctx_t *ctx) |
|
static HRESULT | interp_string (exec_ctx_t *ctx) |
|
static HRESULT | interp_int (exec_ctx_t *ctx) |
|
static HRESULT | interp_double (exec_ctx_t *ctx) |
|
static HRESULT | interp_empty (exec_ctx_t *ctx) |
|
static HRESULT | interp_null (exec_ctx_t *ctx) |
|
static HRESULT | interp_nothing (exec_ctx_t *ctx) |
|
static HRESULT | interp_hres (exec_ctx_t *ctx) |
|
static HRESULT | interp_not (exec_ctx_t *ctx) |
|
static HRESULT | interp_and (exec_ctx_t *ctx) |
|
static HRESULT | interp_or (exec_ctx_t *ctx) |
|
static HRESULT | interp_xor (exec_ctx_t *ctx) |
|
static HRESULT | interp_eqv (exec_ctx_t *ctx) |
|
static HRESULT | interp_imp (exec_ctx_t *ctx) |
|
static HRESULT | var_cmp (exec_ctx_t *ctx, VARIANT *l, VARIANT *r) |
|
static HRESULT | cmp_oper (exec_ctx_t *ctx) |
|
static HRESULT | interp_equal (exec_ctx_t *ctx) |
|
static HRESULT | interp_nequal (exec_ctx_t *ctx) |
|
static HRESULT | interp_gt (exec_ctx_t *ctx) |
|
static HRESULT | interp_gteq (exec_ctx_t *ctx) |
|
static HRESULT | interp_lt (exec_ctx_t *ctx) |
|
static HRESULT | interp_lteq (exec_ctx_t *ctx) |
|
static HRESULT | interp_case (exec_ctx_t *ctx) |
|
static HRESULT | disp_cmp (IDispatch *disp1, IDispatch *disp2, VARIANT_BOOL *ret) |
|
static HRESULT | interp_is (exec_ctx_t *ctx) |
|
static HRESULT | interp_concat (exec_ctx_t *ctx) |
|
static HRESULT | interp_add (exec_ctx_t *ctx) |
|
static HRESULT | interp_sub (exec_ctx_t *ctx) |
|
static HRESULT | interp_mod (exec_ctx_t *ctx) |
|
static HRESULT | interp_idiv (exec_ctx_t *ctx) |
|
static HRESULT | interp_div (exec_ctx_t *ctx) |
|
static HRESULT | interp_mul (exec_ctx_t *ctx) |
|
static HRESULT | interp_exp (exec_ctx_t *ctx) |
|
static HRESULT | interp_neg (exec_ctx_t *ctx) |
|
static HRESULT | interp_incc (exec_ctx_t *ctx) |
|
static HRESULT | interp_catch (exec_ctx_t *ctx) |
|
void | release_dynamic_vars (dynamic_var_t *var) |
|
static void | release_exec (exec_ctx_t *ctx) |
|
HRESULT | exec_script (script_ctx_t *ctx, BOOL extern_caller, function_t *func, vbdisp_t *vbthis, DISPPARAMS *dp, VARIANT *res) |
|
Definition at line 262 of file interp.c.
263{
264 if(
ctx->stack_size ==
ctx->top) {
266
268 if(!new_stack) {
271 }
272
273 ctx->stack = new_stack;
274 ctx->stack_size *= 2;
275 }
276
279}
static void * heap_realloc(void *mem, size_t len)
Referenced by exec_script(), interp_add(), interp_and(), interp_bool(), interp_concat(), interp_div(), interp_double(), interp_empty(), interp_equal(), interp_eqv(), interp_exp(), interp_gt(), interp_gteq(), interp_hres(), interp_icall(), interp_idiv(), interp_imp(), interp_int(), interp_is(), interp_lt(), interp_lteq(), interp_mcall(), interp_me(), interp_mod(), interp_mul(), interp_neg(), interp_nequal(), interp_new(), interp_not(), interp_nothing(), interp_or(), interp_string(), interp_sub(), interp_val(), interp_xor(), and stack_push_null().