Searched refs:thr_resume (Results 1 – 6 of 6) sorted by relevance
52 duk_hthread *thr_resume; in duk_bi_thread_resume() local66 thr_resume = duk_require_hthread(ctx, 0); in duk_bi_thread_resume()94 if (thr_resume->state != DUK_HTHREAD_STATE_INACTIVE && in duk_bi_thread_resume()95 thr_resume->state != DUK_HTHREAD_STATE_YIELDED) { in duk_bi_thread_resume()100 DUK_ASSERT(thr_resume->state == DUK_HTHREAD_STATE_INACTIVE || in duk_bi_thread_resume()101 thr_resume->state == DUK_HTHREAD_STATE_YIELDED); in duk_bi_thread_resume()105 if (thr_resume->state == DUK_HTHREAD_STATE_YIELDED) { in duk_bi_thread_resume()110 DUK_ASSERT(thr_resume->state == DUK_HTHREAD_STATE_INACTIVE); in duk_bi_thread_resume()112 if ((thr_resume->callstack_top != 0) || in duk_bi_thread_resume()113 (thr_resume->valstack_top - thr_resume->valstack != 1)) { in duk_bi_thread_resume()[all …]
35156 duk_hthread *thr_resume; local35170 thr_resume = duk_require_hthread(ctx, 0);35198 if (thr_resume->state != DUK_HTHREAD_STATE_INACTIVE &&35199 thr_resume->state != DUK_HTHREAD_STATE_YIELDED) {35204 DUK_ASSERT(thr_resume->state == DUK_HTHREAD_STATE_INACTIVE ||35205 thr_resume->state == DUK_HTHREAD_STATE_YIELDED);35209 if (thr_resume->state == DUK_HTHREAD_STATE_YIELDED) {35214 DUK_ASSERT(thr_resume->state == DUK_HTHREAD_STATE_INACTIVE);35216 if ((thr_resume->callstack_top != 0) ||35217 (thr_resume->valstack_top - thr_resume->valstack != 1)) {[all …]
35440 duk_hthread *thr_resume; local35454 thr_resume = duk_require_hthread(ctx, 0);35482 if (thr_resume->state != DUK_HTHREAD_STATE_INACTIVE &&35483 thr_resume->state != DUK_HTHREAD_STATE_YIELDED) {35488 DUK_ASSERT(thr_resume->state == DUK_HTHREAD_STATE_INACTIVE ||35489 thr_resume->state == DUK_HTHREAD_STATE_YIELDED);35493 if (thr_resume->state == DUK_HTHREAD_STATE_YIELDED) {35498 DUK_ASSERT(thr_resume->state == DUK_HTHREAD_STATE_INACTIVE);35500 if ((thr_resume->callstack_top != 0) ||35501 (thr_resume->valstack_top - thr_resume->valstack != 1)) {[all …]
35233 duk_hthread *thr_resume; local35247 thr_resume = duk_require_hthread(ctx, 0);35275 if (thr_resume->state != DUK_HTHREAD_STATE_INACTIVE &&35276 thr_resume->state != DUK_HTHREAD_STATE_YIELDED) {35281 DUK_ASSERT(thr_resume->state == DUK_HTHREAD_STATE_INACTIVE ||35282 thr_resume->state == DUK_HTHREAD_STATE_YIELDED);35286 if (thr_resume->state == DUK_HTHREAD_STATE_YIELDED) {35291 DUK_ASSERT(thr_resume->state == DUK_HTHREAD_STATE_INACTIVE);35293 if ((thr_resume->callstack_top != 0) ||35294 (thr_resume->valstack_top - thr_resume->valstack != 1)) {[all …]
35363 duk_hthread *thr_resume; local35377 thr_resume = duk_require_hthread(ctx, 0);35405 if (thr_resume->state != DUK_HTHREAD_STATE_INACTIVE &&35406 thr_resume->state != DUK_HTHREAD_STATE_YIELDED) {35411 DUK_ASSERT(thr_resume->state == DUK_HTHREAD_STATE_INACTIVE ||35412 thr_resume->state == DUK_HTHREAD_STATE_YIELDED);35416 if (thr_resume->state == DUK_HTHREAD_STATE_YIELDED) {35421 DUK_ASSERT(thr_resume->state == DUK_HTHREAD_STATE_INACTIVE);35423 if ((thr_resume->callstack_top != 0) ||35424 (thr_resume->valstack_top - thr_resume->valstack != 1)) {[all …]