Home
last modified time | relevance | path

Searched refs:valstack_top (Results 1 – 25 of 34) sorted by relevance

12

/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-separate/
Dduk_api_stack.c38 DUK_ASSERT(!(thr->valstack_top >= thr->valstack_end)); \
42 if (DUK_UNLIKELY(thr->valstack_top >= thr->valstack_end)) { \
198 DUK_ASSERT(thr->valstack_top >= thr->valstack_bottom); in duk_normalize_index()
199 vs_size = (duk_uidx_t) (thr->valstack_top - thr->valstack_bottom); in duk_normalize_index()
227 DUK_ASSERT(thr->valstack_top >= thr->valstack_bottom); in duk_require_normalize_index()
228 vs_size = (duk_uidx_t) (thr->valstack_top - thr->valstack_bottom); in duk_require_normalize_index()
256 DUK_ASSERT(thr->valstack_top >= thr->valstack_bottom); in duk_get_tval()
257 vs_size = (duk_uidx_t) (thr->valstack_top - thr->valstack_bottom); in duk_get_tval()
284 DUK_ASSERT(thr->valstack_top >= thr->valstack_bottom); in duk_require_tval()
285 vs_size = (duk_uidx_t) (thr->valstack_top - thr->valstack_bottom); in duk_require_tval()
[all …]
Dduk_bi_thread.c113 (thr_resume->valstack_top - thr_resume->valstack != 1)) { in duk_bi_thread_resume()
116 tv = &thr_resume->valstack_top[-1]; in duk_bi_thread_resume()
117 DUK_ASSERT(tv >= thr_resume->valstack && tv < thr_resume->valstack_top); in duk_bi_thread_resume()
166 DUK_ASSERT(thr->valstack_bottom < thr->valstack_top); in duk_bi_thread_resume()
170 DUK_ASSERT(thr->valstack_bottom + 1 < thr->valstack_top); in duk_bi_thread_resume()
287 DUK_ASSERT(thr->valstack_bottom < thr->valstack_top); in duk_bi_thread_yield()
Dduk_js_call.c817 if (vs_min_size < (duk_size_t) (thr->valstack_top - thr->valstack)) { in duk__adjust_valstack_and_top()
929 …off_stack_top = (duk_size_t) ((duk_uint8_t *) thr->valstack_top - (duk_uint8_t *) thr->valstack_bo… in duk__get_idx_func()
1349 DUK_ASSERT(thr->valstack_top > thr->valstack_bottom); /* at least effective 'this' */
1550 DUK_ASSERT(thr->valstack_top >= thr->valstack_bottom);
1551 DUK_ASSERT(thr->valstack_end >= thr->valstack_top);
1586 DUK_ASSERT(thr->valstack_top >= thr->valstack_bottom);
1587 DUK_ASSERT(thr->valstack_end >= thr->valstack_top);
1588 DUK_ASSERT(thr->valstack_top - thr->valstack_bottom >= idx_func + 1);
1595 tv_funret = thr->valstack_top - 1;
1612 DUK_ASSERT(thr->valstack_top >= thr->valstack_bottom);
[all …]
Dduk_hthread.h178 DUK_ASSERT(((duk_hthread *) (ctx))->valstack_top >= ((duk_hthread *) (ctx))->valstack); \
179 DUK_ASSERT(((duk_hthread *) (ctx))->valstack_top >= ((duk_hthread *) (ctx))->valstack_bottom); \
180 DUK_ASSERT(((duk_hthread *) (ctx))->valstack_end >= ((duk_hthread *) (ctx))->valstack_top); \
293 duk_tval *valstack_top; /* top of current frame (exclusive) */ member
Dduk_js_executor.c651 DUK_ASSERT(tv1 < thr->valstack_top); in duk__set_catcher_regs()
655 DUK_ASSERT(tv1 < thr->valstack_top); in duk__set_catcher_regs()
803 DUK_ASSERT((duk_size_t) (thr->valstack_top - thr->valstack_bottom) == in duk__handle_label()
915 (resumee->valstack_top == resumee->valstack + 1 && in duk__handle_longjmp()
916 DUK_TVAL_IS_OBJECT(resumee->valstack_top - 1) && in duk__handle_longjmp()
917 DUK_HOBJECT_IS_COMPILEDFUNCTION(DUK_TVAL_GET_OBJECT(resumee->valstack_top - 1)))); in duk__handle_longjmp()
950 DUK_ASSERT(tv >= resumee->valstack && tv < resumee->valstack_top); in duk__handle_longjmp()
1309 DUK_ASSERT(thr->valstack_top - 1 >= thr->valstack_bottom); in duk__handle_return()
1310 tv1 = thr->valstack_top - 1; in duk__handle_return()
1355 DUK_ASSERT(thr->valstack_top - 1 >= thr->valstack_bottom); in duk__handle_return()
[all …]
Dduk_error_misc.c128 DUK_ASSERT(thr->valstack_top > thr->valstack); in duk_err_setup_heap_ljstate()
129 DUK_TVAL_SET_TVAL_UPDREF(thr, &thr->heap->lj.value1, thr->valstack_top - 1); /* side effects */ in duk_err_setup_heap_ljstate()
Dduk_hthread_alloc.c22 DUK_ASSERT(thr->valstack_top == NULL); in duk_hthread_init_stacks()
38 thr->valstack_top = thr->valstack; in duk_hthread_init_stacks()
Dduk_api_internal.h186 (DUK_ASSERT_VALID_NEGIDX((ctx),(idx)), ((duk_hthread *) (ctx))->valstack_top + (idx))
190 …(DUK_ASSERT_VALID_NEGIDX((ctx),(idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (ctx))->valstack_top +…
Dduk_hobject_alloc.c156 res->valstack_top = NULL; in duk_hthread_alloc()
Dduk_debug_vsnprintf.c560 …; duk_fb_sprintf(fb, "__valstack_top:%p/%ld", (void *) t->valstack_top, (long) (t->valstack_top - … in duk__print_hobject()
Dduk_heap_refcount.c126 while (tv < t->valstack_top) { in duk__refcount_finalize_hobject()
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-separate/
Dduk_api_stack.c38 DUK_ASSERT(!(thr->valstack_top >= thr->valstack_end)); \
42 if (DUK_UNLIKELY(thr->valstack_top >= thr->valstack_end)) { \
198 DUK_ASSERT(thr->valstack_top >= thr->valstack_bottom); in duk_normalize_index()
199 vs_size = (duk_uidx_t) (thr->valstack_top - thr->valstack_bottom); in duk_normalize_index()
227 DUK_ASSERT(thr->valstack_top >= thr->valstack_bottom); in duk_require_normalize_index()
228 vs_size = (duk_uidx_t) (thr->valstack_top - thr->valstack_bottom); in duk_require_normalize_index()
256 DUK_ASSERT(thr->valstack_top >= thr->valstack_bottom); in duk_get_tval()
257 vs_size = (duk_uidx_t) (thr->valstack_top - thr->valstack_bottom); in duk_get_tval()
284 DUK_ASSERT(thr->valstack_top >= thr->valstack_bottom); in duk_require_tval()
285 vs_size = (duk_uidx_t) (thr->valstack_top - thr->valstack_bottom); in duk_require_tval()
[all …]
Dduk_bi_thread.c113 (thr_resume->valstack_top - thr_resume->valstack != 1)) { in duk_bi_thread_resume()
116 tv = &thr_resume->valstack_top[-1]; in duk_bi_thread_resume()
117 DUK_ASSERT(tv >= thr_resume->valstack && tv < thr_resume->valstack_top); in duk_bi_thread_resume()
166 DUK_ASSERT(thr->valstack_bottom < thr->valstack_top); in duk_bi_thread_resume()
170 DUK_ASSERT(thr->valstack_bottom + 1 < thr->valstack_top); in duk_bi_thread_resume()
287 DUK_ASSERT(thr->valstack_bottom < thr->valstack_top); in duk_bi_thread_yield()
Dduk_js_call.c819 if (vs_min_size < (duk_size_t) (thr->valstack_top - thr->valstack)) { in duk__adjust_valstack_and_top()
931 …off_stack_top = (duk_size_t) ((duk_uint8_t *) thr->valstack_top - (duk_uint8_t *) thr->valstack_bo… in duk__get_idx_func()
1351 DUK_ASSERT(thr->valstack_top > thr->valstack_bottom); /* at least effective 'this' */
1554 DUK_ASSERT(thr->valstack_top >= thr->valstack_bottom);
1555 DUK_ASSERT(thr->valstack_end >= thr->valstack_top);
1590 DUK_ASSERT(thr->valstack_top >= thr->valstack_bottom);
1591 DUK_ASSERT(thr->valstack_end >= thr->valstack_top);
1592 DUK_ASSERT(thr->valstack_top - thr->valstack_bottom >= idx_func + 1);
1599 tv_funret = thr->valstack_top - 1;
1616 DUK_ASSERT(thr->valstack_top >= thr->valstack_bottom);
[all …]
Dduk_hthread.h178 DUK_ASSERT(((duk_hthread *) (ctx))->valstack_top >= ((duk_hthread *) (ctx))->valstack); \
179 DUK_ASSERT(((duk_hthread *) (ctx))->valstack_top >= ((duk_hthread *) (ctx))->valstack_bottom); \
180 DUK_ASSERT(((duk_hthread *) (ctx))->valstack_end >= ((duk_hthread *) (ctx))->valstack_top); \
293 duk_tval *valstack_top; /* top of current frame (exclusive) */ member
Dduk_js_executor.c651 DUK_ASSERT(tv1 < thr->valstack_top); in duk__set_catcher_regs()
655 DUK_ASSERT(tv1 < thr->valstack_top); in duk__set_catcher_regs()
803 DUK_ASSERT((duk_size_t) (thr->valstack_top - thr->valstack_bottom) == in duk__handle_label()
915 (resumee->valstack_top == resumee->valstack + 1 && in duk__handle_longjmp()
916 DUK_TVAL_IS_OBJECT(resumee->valstack_top - 1) && in duk__handle_longjmp()
917 DUK_HOBJECT_IS_COMPILEDFUNCTION(DUK_TVAL_GET_OBJECT(resumee->valstack_top - 1)))); in duk__handle_longjmp()
950 DUK_ASSERT(tv >= resumee->valstack && tv < resumee->valstack_top); in duk__handle_longjmp()
1309 DUK_ASSERT(thr->valstack_top - 1 >= thr->valstack_bottom); in duk__handle_return()
1310 tv1 = thr->valstack_top - 1; in duk__handle_return()
1355 DUK_ASSERT(thr->valstack_top - 1 >= thr->valstack_bottom); in duk__handle_return()
[all …]
Dduk_error_misc.c128 DUK_ASSERT(thr->valstack_top > thr->valstack); in duk_err_setup_heap_ljstate()
129 DUK_TVAL_SET_TVAL_UPDREF(thr, &thr->heap->lj.value1, thr->valstack_top - 1); /* side effects */ in duk_err_setup_heap_ljstate()
Dduk_hthread_alloc.c22 DUK_ASSERT(thr->valstack_top == NULL); in duk_hthread_init_stacks()
38 thr->valstack_top = thr->valstack; in duk_hthread_init_stacks()
Dduk_api_internal.h186 (DUK_ASSERT_VALID_NEGIDX((ctx),(idx)), ((duk_hthread *) (ctx))->valstack_top + (idx))
190 …(DUK_ASSERT_VALID_NEGIDX((ctx),(idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (ctx))->valstack_top +…
Dduk_hobject_alloc.c156 res->valstack_top = NULL; in duk_hthread_alloc()
Dduk_debug_vsnprintf.c560 …; duk_fb_sprintf(fb, "__valstack_top:%p/%ld", (void *) t->valstack_top, (long) (t->valstack_top - … in duk__print_hobject()
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-noline/
Dduktape.c4387 (DUK_ASSERT_VALID_NEGIDX((ctx),(idx)), ((duk_hthread *) (ctx))->valstack_top + (idx))
4391 …(DUK_ASSERT_VALID_NEGIDX((ctx),(idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (ctx))->valstack_top +…
6122 DUK_ASSERT(((duk_hthread *) (ctx))->valstack_top >= ((duk_hthread *) (ctx))->valstack); \
6123 DUK_ASSERT(((duk_hthread *) (ctx))->valstack_top >= ((duk_hthread *) (ctx))->valstack_bottom); \
6124 DUK_ASSERT(((duk_hthread *) (ctx))->valstack_end >= ((duk_hthread *) (ctx))->valstack_top); \
6237 duk_tval *valstack_top; /* top of current frame (exclusive) */ member
7825 DUK_ASSERT((thr)->valstack_end - (thr)->valstack_top >= (n) + DUK_VALSTACK_ASSERT_EXTRA); \
14928 DUK_ASSERT(!(thr->valstack_top >= thr->valstack_end)); \
14932 if (DUK_UNLIKELY(thr->valstack_top >= thr->valstack_end)) { \
15088 DUK_ASSERT(thr->valstack_top >= thr->valstack_bottom); in duk_normalize_index()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src/
Dduktape.c4408 (DUK_ASSERT_VALID_NEGIDX((ctx),(idx)), ((duk_hthread *) (ctx))->valstack_top + (idx))
4412 …(DUK_ASSERT_VALID_NEGIDX((ctx),(idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (ctx))->valstack_top +…
6149 DUK_ASSERT(((duk_hthread *) (ctx))->valstack_top >= ((duk_hthread *) (ctx))->valstack); \
6150 DUK_ASSERT(((duk_hthread *) (ctx))->valstack_top >= ((duk_hthread *) (ctx))->valstack_bottom); \
6151 DUK_ASSERT(((duk_hthread *) (ctx))->valstack_end >= ((duk_hthread *) (ctx))->valstack_top); \
6264 duk_tval *valstack_top; /* top of current frame (exclusive) */ member
7857 DUK_ASSERT((thr)->valstack_end - (thr)->valstack_top >= (n) + DUK_VALSTACK_ASSERT_EXTRA); \
15059 DUK_ASSERT(!(thr->valstack_top >= thr->valstack_end)); \
15063 if (DUK_UNLIKELY(thr->valstack_top >= thr->valstack_end)) { \
15219 DUK_ASSERT(thr->valstack_top >= thr->valstack_bottom); in duk_normalize_index()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src/
Dduktape.c4403 (DUK_ASSERT_VALID_NEGIDX((ctx),(idx)), ((duk_hthread *) (ctx))->valstack_top + (idx))
4407 …(DUK_ASSERT_VALID_NEGIDX((ctx),(idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (ctx))->valstack_top +…
6144 DUK_ASSERT(((duk_hthread *) (ctx))->valstack_top >= ((duk_hthread *) (ctx))->valstack); \
6145 DUK_ASSERT(((duk_hthread *) (ctx))->valstack_top >= ((duk_hthread *) (ctx))->valstack_bottom); \
6146 DUK_ASSERT(((duk_hthread *) (ctx))->valstack_end >= ((duk_hthread *) (ctx))->valstack_top); \
6259 duk_tval *valstack_top; /* top of current frame (exclusive) */ member
7852 DUK_ASSERT((thr)->valstack_end - (thr)->valstack_top >= (n) + DUK_VALSTACK_ASSERT_EXTRA); \
14983 DUK_ASSERT(!(thr->valstack_top >= thr->valstack_end)); \
14987 if (DUK_UNLIKELY(thr->valstack_top >= thr->valstack_end)) { \
15143 DUK_ASSERT(thr->valstack_top >= thr->valstack_bottom); in duk_normalize_index()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-noline/
Dduktape.c4392 (DUK_ASSERT_VALID_NEGIDX((ctx),(idx)), ((duk_hthread *) (ctx))->valstack_top + (idx))
4396 …(DUK_ASSERT_VALID_NEGIDX((ctx),(idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (ctx))->valstack_top +…
6127 DUK_ASSERT(((duk_hthread *) (ctx))->valstack_top >= ((duk_hthread *) (ctx))->valstack); \
6128 DUK_ASSERT(((duk_hthread *) (ctx))->valstack_top >= ((duk_hthread *) (ctx))->valstack_bottom); \
6129 DUK_ASSERT(((duk_hthread *) (ctx))->valstack_end >= ((duk_hthread *) (ctx))->valstack_top); \
6242 duk_tval *valstack_top; /* top of current frame (exclusive) */ member
7830 DUK_ASSERT((thr)->valstack_end - (thr)->valstack_top >= (n) + DUK_VALSTACK_ASSERT_EXTRA); \
15004 DUK_ASSERT(!(thr->valstack_top >= thr->valstack_end)); \
15008 if (DUK_UNLIKELY(thr->valstack_top >= thr->valstack_end)) { \
15164 DUK_ASSERT(thr->valstack_top >= thr->valstack_bottom); in duk_normalize_index()
[all …]

12