Home
last modified time | relevance | path

Searched refs:duk_hcompiledfunction (Results 1 – 25 of 51) sorted by relevance

123

/dports/www/civetweb/civetweb-1.15/src/third_party/duktape-1.8.0/src-separate/
H A Dduk_hobject_alloc.c70 DUK_INTERNAL duk_hcompiledfunction *duk_hcompiledfunction_alloc(duk_heap *heap, duk_uint_t hobject_… in duk_hcompiledfunction_alloc()
71 duk_hcompiledfunction *res; in duk_hcompiledfunction_alloc()
73 res = (duk_hcompiledfunction *) DUK_ALLOC(heap, sizeof(duk_hcompiledfunction)); in duk_hcompiledfunction_alloc()
77 DUK_MEMZERO(res, sizeof(duk_hcompiledfunction)); in duk_hcompiledfunction_alloc()
H A Dduk_forwdecl.h24 struct duk_hcompiledfunction;
79 typedef struct duk_hcompiledfunction duk_hcompiledfunction; typedef
H A Dduk_hthread_misc.c56 bcode = DUK_HCOMPILEDFUNCTION_GET_CODE_BASE(thr->heap, (duk_hcompiledfunction *) (act->func)); in duk_hthread_get_act_curr_pc()
72 bcode = DUK_HCOMPILEDFUNCTION_GET_CODE_BASE(thr->heap, (duk_hcompiledfunction *) (act->func)); in duk_hthread_get_act_prev_pc()
H A Dduk_api_compile.c66 duk_hcompiledfunction *h_templ; in duk__do_compile()
137 h_templ = (duk_hcompiledfunction *) duk_get_hobject(ctx, -1); in duk__do_compile()
H A Dduk_bi_duktape.c67 hdr_size = (duk_small_uint_t) sizeof(duk_hcompiledfunction); in duk_bi_duktape_object_info()
93 …_data = (duk_hbuffer *) DUK_HCOMPILEDFUNCTION_GET_DATA(thr->heap, (duk_hcompiledfunction *) h_obj); in duk_bi_duktape_object_info()
H A Dduk_bi_function.c13 duk_hcompiledfunction *func; in duk_bi_function_constructor()
64 func = (duk_hcompiledfunction *) duk_get_hobject(ctx, -1); in duk_bi_function_constructor()
H A Dduk_js_var.c73 DUK_LOCAL void duk__inc_data_inner_refcounts(duk_hthread *thr, duk_hcompiledfunction *f) { in duk__inc_data_inner_refcounts()
119 duk_hcompiledfunction *fun_temp, in duk_js_push_closure()
124 duk_hcompiledfunction *fun_clos; in duk_js_push_closure()
139 fun_clos = (duk_hcompiledfunction *) duk_get_hcompiledfunction(ctx, -2); in duk_js_push_closure()
690 DUK_ASSERT(regnum < ((duk_hcompiledfunction *) func)->nregs); /* regnum is sane */ in duk_js_close_environment_record()
803 DUK_ASSERT(reg_rel < ((duk_hcompiledfunction *) env_func)->nregs); in duk__getid_open_decl_env_regs()
877 DUK_ASSERT(reg_rel < ((duk_hcompiledfunction *) func)->nregs); in duk__getid_activation_regs()
H A Dduk_js_executor.c575 duk_hcompiledfunction *h_func; in duk__reconfig_valstack_ecma_return()
590 h_func = (duk_hcompiledfunction *) DUK_ACT_GET_FUNC(act); in duk__reconfig_valstack_ecma_return()
612 duk_hcompiledfunction *h_func; in duk__reconfig_valstack_ecma_catcher()
1655 duk_hcompiledfunction *fun;
1704 fun = (duk_hcompiledfunction *) DUK_ACT_GET_FUNC(act);
1829 duk_hcompiledfunction *inner_fun;
1847 inner_fun = (duk_hcompiledfunction *) *funcs;
2148 duk_hcompiledfunction *fun;
2219 duk_hcompiledfunction *fun;
2880 duk_hcompiledfunction *fun;
[all …]
H A Dduk_api_bytecode.c220 static duk_uint8_t *duk__dump_func(duk_context *ctx, duk_hcompiledfunction *func, duk_bufwriter_ctx… in duk__dump_func()
334 p = duk__dump_func(ctx, (duk_hcompiledfunction *) *fn, bw_ctx, p); in duk__dump_func()
373 duk_hcompiledfunction *h_fun; in duk__load_func()
639 duk_hcompiledfunction *func; in duk_dump_function()
H A Dduk_api_internal.h80 DUK_INTERNAL_DECL duk_hcompiledfunction *duk_get_hcompiledfunction(duk_context *ctx, duk_idx_t inde…
114 DUK_INTERNAL_DECL duk_hcompiledfunction *duk_require_hcompiledfunction(duk_context *ctx, duk_idx_t …
H A Dduk_hcompiledfunction.h120 struct duk_hcompiledfunction { struct
H A Dduk_heap_alloc.c36 duk_hcompiledfunction *f = (duk_hcompiledfunction *) h; in duk_free_hobject_inner()
611 DUK__DUMPSZ(duk_hcompiledfunction); in duk__dump_type_sizes()
/dports/www/civetweb/civetweb-1.15/src/third_party/duktape-1.5.2/src-separate/
H A Dduk_hobject_alloc.c70 DUK_INTERNAL duk_hcompiledfunction *duk_hcompiledfunction_alloc(duk_heap *heap, duk_uint_t hobject_… in duk_hcompiledfunction_alloc()
71 duk_hcompiledfunction *res; in duk_hcompiledfunction_alloc()
73 res = (duk_hcompiledfunction *) DUK_ALLOC(heap, sizeof(duk_hcompiledfunction)); in duk_hcompiledfunction_alloc()
77 DUK_MEMZERO(res, sizeof(duk_hcompiledfunction)); in duk_hcompiledfunction_alloc()
H A Dduk_forwdecl.h24 struct duk_hcompiledfunction;
79 typedef struct duk_hcompiledfunction duk_hcompiledfunction; typedef
H A Dduk_hthread_misc.c56 bcode = DUK_HCOMPILEDFUNCTION_GET_CODE_BASE(thr->heap, (duk_hcompiledfunction *) (act->func)); in duk_hthread_get_act_curr_pc()
72 bcode = DUK_HCOMPILEDFUNCTION_GET_CODE_BASE(thr->heap, (duk_hcompiledfunction *) (act->func)); in duk_hthread_get_act_prev_pc()
H A Dduk_api_compile.c66 duk_hcompiledfunction *h_templ; in duk__do_compile()
137 h_templ = (duk_hcompiledfunction *) duk_get_hobject(ctx, -1); in duk__do_compile()
H A Dduk_bi_duktape.c67 hdr_size = (duk_small_uint_t) sizeof(duk_hcompiledfunction); in duk_bi_duktape_object_info()
93 …_data = (duk_hbuffer *) DUK_HCOMPILEDFUNCTION_GET_DATA(thr->heap, (duk_hcompiledfunction *) h_obj); in duk_bi_duktape_object_info()
H A Dduk_bi_function.c13 duk_hcompiledfunction *func; in duk_bi_function_constructor()
64 func = (duk_hcompiledfunction *) duk_get_hobject(ctx, -1); in duk_bi_function_constructor()
H A Dduk_js_var.c73 DUK_LOCAL void duk__inc_data_inner_refcounts(duk_hthread *thr, duk_hcompiledfunction *f) { in duk__inc_data_inner_refcounts()
119 duk_hcompiledfunction *fun_temp, in duk_js_push_closure()
124 duk_hcompiledfunction *fun_clos; in duk_js_push_closure()
139 fun_clos = (duk_hcompiledfunction *) duk_get_hcompiledfunction(ctx, -2); in duk_js_push_closure()
686 DUK_ASSERT(regnum < ((duk_hcompiledfunction *) func)->nregs); /* regnum is sane */ in duk_js_close_environment_record()
799 DUK_ASSERT(reg_rel < ((duk_hcompiledfunction *) env_func)->nregs); in duk__getid_open_decl_env_regs()
873 DUK_ASSERT(reg_rel < ((duk_hcompiledfunction *) func)->nregs); in duk__getid_activation_regs()
H A Dduk_js_executor.c575 duk_hcompiledfunction *h_func; in duk__reconfig_valstack_ecma_return()
590 h_func = (duk_hcompiledfunction *) DUK_ACT_GET_FUNC(act); in duk__reconfig_valstack_ecma_return()
612 duk_hcompiledfunction *h_func; in duk__reconfig_valstack_ecma_catcher()
1655 duk_hcompiledfunction *fun;
1704 fun = (duk_hcompiledfunction *) DUK_ACT_GET_FUNC(act);
1829 duk_hcompiledfunction *inner_fun;
1847 inner_fun = (duk_hcompiledfunction *) *funcs;
2148 duk_hcompiledfunction *fun;
2219 duk_hcompiledfunction *fun;
2874 duk_hcompiledfunction *fun;
[all …]
H A Dduk_api_bytecode.c220 static duk_uint8_t *duk__dump_func(duk_context *ctx, duk_hcompiledfunction *func, duk_bufwriter_ctx… in duk__dump_func()
334 p = duk__dump_func(ctx, (duk_hcompiledfunction *) *fn, bw_ctx, p); in duk__dump_func()
373 duk_hcompiledfunction *h_fun; in duk__load_func()
639 duk_hcompiledfunction *func; in duk_dump_function()
H A Dduk_api_internal.h80 DUK_INTERNAL_DECL duk_hcompiledfunction *duk_get_hcompiledfunction(duk_context *ctx, duk_idx_t inde…
114 DUK_INTERNAL_DECL duk_hcompiledfunction *duk_require_hcompiledfunction(duk_context *ctx, duk_idx_t …
H A Dduk_hcompiledfunction.h120 struct duk_hcompiledfunction { struct
H A Dduk_heap_alloc.c36 duk_hcompiledfunction *f = (duk_hcompiledfunction *) h; in duk_free_hobject_inner()
611 DUK__DUMPSZ(duk_hcompiledfunction); in duk__dump_type_sizes()
H A Dduk_heap_refcount.c88 duk_hcompiledfunction *f = (duk_hcompiledfunction *) h; in duk__refcount_finalize_hobject()

123