Home
last modified time | relevance | path

Searched refs:catchstack (Results 1 – 25 of 26) sorted by relevance

12

/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-separate/
Dduk_hthread_alloc.c24 DUK_ASSERT(thr->catchstack == NULL); in duk_hthread_init_stacks()
56 thr->catchstack = (duk_catcher *) DUK_ALLOC(heap, alloc_size); in duk_hthread_init_stacks()
57 if (!thr->catchstack) { in duk_hthread_init_stacks()
60 DUK_MEMZERO(thr->catchstack, alloc_size); in duk_hthread_init_stacks()
69 DUK_FREE(heap, thr->catchstack); in duk_hthread_init_stacks()
73 thr->catchstack = NULL; in duk_hthread_init_stacks()
94 return (void *) thr->catchstack; in duk_hthread_get_catchstack_ptr()
Dduk_js_executor.c622 cat = thr->catchstack + cat_idx; in duk__reconfig_valstack_ecma_catcher()
650 tv1 = thr->valstack + thr->catchstack[cat_idx].idx_base; in duk__set_catcher_regs()
654 tv1 = thr->valstack + thr->catchstack[cat_idx].idx_base + 1; in duk__set_catcher_regs()
671 duk_hthread_callstack_unwind(thr, thr->catchstack[cat_idx].callstack_index + 1); in duk__handle_catch()
681 act->curr_pc = thr->catchstack[cat_idx].pc_base + 0; /* +0 = catch */ in duk__handle_catch()
694 if (DUK_CAT_HAS_CATCH_BINDING_ENABLED(&thr->catchstack[cat_idx])) { in duk__handle_catch()
737 DUK_ASSERT(thr->catchstack[cat_idx].h_varname != NULL); in duk__handle_catch()
738 duk_push_hstring(ctx, thr->catchstack[cat_idx].h_varname); in duk__handle_catch()
739 duk_push_tval(ctx, thr->valstack + thr->catchstack[cat_idx].idx_base); in duk__handle_catch()
746 DUK_CAT_SET_LEXENV_ACTIVE(&thr->catchstack[cat_idx]); in duk__handle_catch()
[all …]
Dduk_hthread_stacks.c365 thr->catchstack = new_ptr; in duk_hthread_catchstack_grow()
396 thr->catchstack = p; in duk_hthread_catchstack_shrink_check()
439 p = thr->catchstack + idx; in duk_hthread_catchstack_unwind()
Dduk_error_misc.c28 duk_catcher *cat = thr->catchstack + i; in duk__have_active_catcher()
Dduk_js_call.c998 DUK_ASSERT(thr->catchstack != NULL);
1190 DUK_ASSERT(thr->catchstack != NULL);
2317 DUK_ASSERT(thr->catchstack != NULL);
2355 …DUK_ASSERT(thr->catchstack[i].callstack_index < our_callstack_index || /* refer to callstack entr…
2356 … DUK_CAT_GET_TYPE(thr->catchstack + i) == DUK_CAT_TYPE_LABEL); /* or a non-catching entry */
2494 duk_catcher *cat = thr->catchstack + i_stk;
Dduk_hobject_alloc.c158 res->catchstack = NULL; in duk_hthread_alloc()
Dduk_hthread.h305 duk_catcher *catchstack; member
Dduk_heap_markandsweep.c130 duk_catcher *cat = t->catchstack + i; in duk__mark_hobject()
1380 } else if (!(thr->valstack != NULL && thr->callstack != NULL && thr->catchstack != NULL)) {
Dduk_heap_refcount.c143 duk_catcher *cat = t->catchstack + i; in duk__refcount_finalize_hobject()
Dduk_heap_alloc.c47 DUK_FREE(heap, t->catchstack); in duk_free_hobject_inner()
Dduk_debug_vsnprintf.c561 DUK__COMMA(); duk_fb_sprintf(fb, "__catchstack:%p", (void *) t->catchstack); in duk__print_hobject()
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-separate/
Dduk_hthread_alloc.c24 DUK_ASSERT(thr->catchstack == NULL); in duk_hthread_init_stacks()
56 thr->catchstack = (duk_catcher *) DUK_ALLOC(heap, alloc_size); in duk_hthread_init_stacks()
57 if (!thr->catchstack) { in duk_hthread_init_stacks()
60 DUK_MEMZERO(thr->catchstack, alloc_size); in duk_hthread_init_stacks()
69 DUK_FREE(heap, thr->catchstack); in duk_hthread_init_stacks()
73 thr->catchstack = NULL; in duk_hthread_init_stacks()
94 return (void *) thr->catchstack; in duk_hthread_get_catchstack_ptr()
Dduk_js_executor.c622 cat = thr->catchstack + cat_idx; in duk__reconfig_valstack_ecma_catcher()
650 tv1 = thr->valstack + thr->catchstack[cat_idx].idx_base; in duk__set_catcher_regs()
654 tv1 = thr->valstack + thr->catchstack[cat_idx].idx_base + 1; in duk__set_catcher_regs()
671 duk_hthread_callstack_unwind(thr, thr->catchstack[cat_idx].callstack_index + 1); in duk__handle_catch()
681 act->curr_pc = thr->catchstack[cat_idx].pc_base + 0; /* +0 = catch */ in duk__handle_catch()
694 if (DUK_CAT_HAS_CATCH_BINDING_ENABLED(&thr->catchstack[cat_idx])) { in duk__handle_catch()
737 DUK_ASSERT(thr->catchstack[cat_idx].h_varname != NULL); in duk__handle_catch()
738 duk_push_hstring(ctx, thr->catchstack[cat_idx].h_varname); in duk__handle_catch()
739 duk_push_tval(ctx, thr->valstack + thr->catchstack[cat_idx].idx_base); in duk__handle_catch()
746 DUK_CAT_SET_LEXENV_ACTIVE(&thr->catchstack[cat_idx]); in duk__handle_catch()
[all …]
Dduk_hthread_stacks.c365 thr->catchstack = new_ptr; in duk_hthread_catchstack_grow()
396 thr->catchstack = p; in duk_hthread_catchstack_shrink_check()
439 p = thr->catchstack + idx; in duk_hthread_catchstack_unwind()
Dduk_error_misc.c28 duk_catcher *cat = thr->catchstack + i; in duk__have_active_catcher()
Dduk_js_call.c996 DUK_ASSERT(thr->catchstack != NULL);
1188 DUK_ASSERT(thr->catchstack != NULL);
2313 DUK_ASSERT(thr->catchstack != NULL);
2351 …DUK_ASSERT(thr->catchstack[i].callstack_index < our_callstack_index || /* refer to callstack entr…
2352 … DUK_CAT_GET_TYPE(thr->catchstack + i) == DUK_CAT_TYPE_LABEL); /* or a non-catching entry */
2490 duk_catcher *cat = thr->catchstack + i_stk;
Dduk_hobject_alloc.c158 res->catchstack = NULL; in duk_hthread_alloc()
Dduk_hthread.h305 duk_catcher *catchstack; member
Dduk_heap_markandsweep.c130 duk_catcher *cat = t->catchstack + i; in duk__mark_hobject()
1361 } else if (!(thr->valstack != NULL && thr->callstack != NULL && thr->catchstack != NULL)) {
Dduk_heap_refcount.c143 duk_catcher *cat = t->catchstack + i; in duk__refcount_finalize_hobject()
Dduk_heap_alloc.c47 DUK_FREE(heap, t->catchstack); in duk_free_hobject_inner()
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-noline/
Dduktape.c6249 duk_catcher *catchstack; member
36296 DUK__COMMA(); duk_fb_sprintf(fb, "__catchstack:%p", (void *) t->catchstack);
40197 duk_catcher *cat = thr->catchstack + i;
40763 DUK_FREE(heap, t->catchstack);
42008 duk_catcher *cat = t->catchstack + i;
43239 } else if (!(thr->valstack != NULL && thr->callstack != NULL && thr->catchstack != NULL)) {
43905 duk_catcher *cat = t->catchstack + i;
46013 res->catchstack = NULL;
53153 DUK_ASSERT(thr->catchstack == NULL);
53185 thr->catchstack = (duk_catcher *) DUK_ALLOC(heap, alloc_size);
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src/
Dduktape.c6276 duk_catcher *catchstack; member
36584 DUK__COMMA(); duk_fb_sprintf(fb, "__catchstack:%p", (void *) t->catchstack);
40501 duk_catcher *cat = thr->catchstack + i;
41072 DUK_FREE(heap, t->catchstack);
42322 duk_catcher *cat = t->catchstack + i;
43572 } else if (!(thr->valstack != NULL && thr->callstack != NULL && thr->catchstack != NULL)) {
44241 duk_catcher *cat = t->catchstack + i;
46362 res->catchstack = NULL;
53505 DUK_ASSERT(thr->catchstack == NULL);
53537 thr->catchstack = (duk_catcher *) DUK_ALLOC(heap, alloc_size);
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src/
Dduktape.c6271 duk_catcher *catchstack; member
36377 DUK__COMMA(); duk_fb_sprintf(fb, "__catchstack:%p", (void *) t->catchstack);
40282 duk_catcher *cat = thr->catchstack + i;
40853 DUK_FREE(heap, t->catchstack);
42100 duk_catcher *cat = t->catchstack + i;
43331 } else if (!(thr->valstack != NULL && thr->callstack != NULL && thr->catchstack != NULL)) {
44000 duk_catcher *cat = t->catchstack + i;
46111 res->catchstack = NULL;
53258 DUK_ASSERT(thr->catchstack == NULL);
53290 thr->catchstack = (duk_catcher *) DUK_ALLOC(heap, alloc_size);
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-noline/
Dduktape.c6254 duk_catcher *catchstack; member
36503 DUK__COMMA(); duk_fb_sprintf(fb, "__catchstack:%p", (void *) t->catchstack);
40416 duk_catcher *cat = thr->catchstack + i;
40982 DUK_FREE(heap, t->catchstack);
42230 duk_catcher *cat = t->catchstack + i;
43480 } else if (!(thr->valstack != NULL && thr->callstack != NULL && thr->catchstack != NULL)) {
44146 duk_catcher *cat = t->catchstack + i;
46264 res->catchstack = NULL;
53400 DUK_ASSERT(thr->catchstack == NULL);
53432 thr->catchstack = (duk_catcher *) DUK_ALLOC(heap, alloc_size);
[all …]

12