Lines Matching refs:ZEND_ASSERT
404 ZEND_ASSERT(zend_fiber_switch_blocking && "Fiber switching was not blocked"); in zend_fiber_switch_unblock()
446 ZEND_ASSERT(context->handle != NULL && "make_fcontext() never returns NULL"); in zend_fiber_init_context()
477 ZEND_ASSERT(to && to->handle && to->status != ZEND_FIBER_STATUS_DEAD && "Invalid fiber context"); in zend_fiber_switch_context()
478 ZEND_ASSERT(from && "From fiber context must be present"); in zend_fiber_switch_context()
479 ZEND_ASSERT(to != from && "Cannot switch into the running fiber context"); in zend_fiber_switch_context()
482 ZEND_ASSERT(( in zend_fiber_switch_context()
564 …ZEND_ASSERT(Z_TYPE(transfer->value) == IS_NULL && "Initial transfer value to fiber context must be… in zend_fiber_execute()
565 ZEND_ASSERT(!transfer->flags && "No flags should be set on initial transfer"); in zend_fiber_execute()
695 ZEND_ASSERT(!(fiber->flags & ZEND_FIBER_FLAG_DESTROYED)); in zend_fiber_suspend_internal()
696 …ZEND_ASSERT(fiber->context.status == ZEND_FIBER_STATUS_RUNNING || fiber->context.status == ZEND_FI… in zend_fiber_suspend_internal()
697 ZEND_ASSERT(fiber->caller != NULL); in zend_fiber_suspend_internal()
709 ZEND_ASSERT(fiber->context.status == ZEND_FIBER_STATUS_INIT); in zend_fiber_start()
726 ZEND_ASSERT(fiber->context.status == ZEND_FIBER_STATUS_SUSPENDED && fiber->caller == NULL); in zend_fiber_resume()
737 ZEND_ASSERT(fiber->context.status == ZEND_FIBER_STATUS_SUSPENDED && fiber->caller == NULL); in zend_fiber_resume_exception()
945 …ZEND_ASSERT(fiber->context.status == ZEND_FIBER_STATUS_RUNNING || fiber->context.status == ZEND_FI… in ZEND_METHOD()