Lines Matching refs:status
136 if (UNEXPECTED(fiber->status == ZEND_FIBER_STATUS_BAILOUT)) { in zend_fiber_switch_to()
186 fiber->status = ZEND_FIBER_STATUS_RUNNING; in zend_fiber_execute()
195 if (fiber->status == ZEND_FIBER_STATUS_SHUTDOWN) { in zend_fiber_execute()
200 fiber->status = ZEND_FIBER_STATUS_THREW; in zend_fiber_execute()
203 fiber->status = ZEND_FIBER_STATUS_RETURNED; in zend_fiber_execute()
206 fiber->status = ZEND_FIBER_STATUS_BAILOUT; in zend_fiber_execute()
229 if (fiber->status != ZEND_FIBER_STATUS_SUSPENDED) { in zend_fiber_object_destroy()
236 fiber->status = ZEND_FIBER_STATUS_SHUTDOWN; in zend_fiber_object_destroy()
339 if (fiber->status != ZEND_FIBER_STATUS_INIT) { in ZEND_METHOD()
351 if (fiber->status & ZEND_FIBER_STATUS_FINISHED) { in ZEND_METHOD()
374 if (UNEXPECTED(fiber->status == ZEND_FIBER_STATUS_SHUTDOWN)) { in ZEND_METHOD()
379 ZEND_ASSERT(fiber->status == ZEND_FIBER_STATUS_RUNNING); in ZEND_METHOD()
388 fiber->status = ZEND_FIBER_STATUS_SUSPENDED; in ZEND_METHOD()
393 if (fiber->status == ZEND_FIBER_STATUS_SHUTDOWN) { in ZEND_METHOD()
405 fiber->status = ZEND_FIBER_STATUS_RUNNING; in ZEND_METHOD()
431 if (UNEXPECTED(fiber->status != ZEND_FIBER_STATUS_SUSPENDED)) { in ZEND_METHOD()
442 fiber->status = ZEND_FIBER_STATUS_RUNNING; in ZEND_METHOD()
447 if (fiber->status & ZEND_FIBER_STATUS_FINISHED) { in ZEND_METHOD()
466 if (UNEXPECTED(fiber->status != ZEND_FIBER_STATUS_SUSPENDED)) { in ZEND_METHOD()
474 fiber->status = ZEND_FIBER_STATUS_RUNNING; in ZEND_METHOD()
479 if (fiber->status & ZEND_FIBER_STATUS_FINISHED) { in ZEND_METHOD()
495 RETURN_BOOL(fiber->status != ZEND_FIBER_STATUS_INIT); in ZEND_METHOD()
506 RETURN_BOOL(fiber->status == ZEND_FIBER_STATUS_SUSPENDED); in ZEND_METHOD()
517 RETURN_BOOL(fiber->status == ZEND_FIBER_STATUS_RUNNING); in ZEND_METHOD()
528 RETURN_BOOL(fiber->status & ZEND_FIBER_STATUS_FINISHED); in ZEND_METHOD()
539 if (fiber->status != ZEND_FIBER_STATUS_RETURNED) { in ZEND_METHOD()
542 if (fiber->status == ZEND_FIBER_STATUS_INIT) { in ZEND_METHOD()
544 } else if (fiber->status == ZEND_FIBER_STATUS_THREW) { in ZEND_METHOD()
621 …if (fiber == NULL || fiber->status == ZEND_FIBER_STATUS_INIT || fiber->status & ZEND_FIBER_STATUS_…
706 if (fiber == NULL || fiber->status & ZEND_FIBER_STATUS_FINISHED) { in ZEND_METHOD()