Searched refs:zend_fiber_context (Results 1 – 8 of 8) sorted by relevance
/PHP-8.2/Zend/ |
H A D | zend_fibers.h | 62 zend_fiber_context *context; 74 typedef void (*zend_fiber_clean)(zend_fiber_context *context); 110 zend_fiber_context context; 113 zend_fiber_context *caller; 116 zend_fiber_context *previous; 136 ZEND_API bool zend_fiber_init_context(zend_fiber_context *context, void *kind, zend_fiber_coroutine… 137 ZEND_API void zend_fiber_destroy_context(zend_fiber_context *context); 146 static zend_always_inline zend_fiber *zend_fiber_from_context(zend_fiber_context *context) in END_EXTERN_C() 153 static zend_always_inline zend_fiber_context *zend_fiber_get_context(zend_fiber *fiber) in zend_fiber_get_context()
|
H A D | zend_observer.h | 116 typedef void (*zend_observer_fiber_init_handler)(zend_fiber_context *initializing); 117 typedef void (*zend_observer_fiber_switch_handler)(zend_fiber_context *from, zend_fiber_context *to… 118 typedef void (*zend_observer_fiber_destroy_handler)(zend_fiber_context *destroying); 124 ZEND_API void ZEND_FASTCALL zend_observer_fiber_init_notify(zend_fiber_context *initializing); 125 … void ZEND_FASTCALL zend_observer_fiber_switch_notify(zend_fiber_context *from, zend_fiber_context… 126 ZEND_API void ZEND_FASTCALL zend_observer_fiber_destroy_notify(zend_fiber_context *destroying);
|
H A D | zend_globals.h | 67 typedef struct _zend_fiber_context zend_fiber_context; typedef 257 zend_fiber_context *main_fiber_context; 258 zend_fiber_context *current_fiber_context;
|
H A D | zend_fibers.c | 290 zend_fiber_context *from = transfer.context; in zend_fiber_trampoline() 306 zend_fiber_context *context = EG(current_fiber_context); in zend_fiber_trampoline() 334 ZEND_API bool zend_fiber_init_context(zend_fiber_context *context, void *kind, zend_fiber_coroutine… in zend_fiber_init_context() 374 ZEND_API void zend_fiber_destroy_context(zend_fiber_context *context) in zend_fiber_destroy_context() 387 zend_fiber_context *from = EG(current_fiber_context); in zend_fiber_switch_context() 388 zend_fiber_context *to = transfer->context; in zend_fiber_switch_context() 463 static void zend_fiber_cleanup(zend_fiber_context *context) in zend_fiber_cleanup() 556 zend_fiber_context *context, zval *value, bool exception in zend_fiber_switch_to() 602 zend_fiber_context *caller = fiber->caller; in zend_fiber_suspend() 980 zend_fiber_context *context = ecalloc(1, sizeof(zend_fiber_context)); in zend_fiber_init()
|
H A D | zend_observer.c | 364 ZEND_API void ZEND_FASTCALL zend_observer_fiber_init_notify(zend_fiber_context *initializing) in zend_observer_fiber_init_notify() 377 … void ZEND_FASTCALL zend_observer_fiber_switch_notify(zend_fiber_context *from, zend_fiber_context… in zend_observer_fiber_switch_notify() 395 ZEND_API void ZEND_FASTCALL zend_observer_fiber_destroy_notify(zend_fiber_context *destroying) in zend_observer_fiber_destroy_notify()
|
/PHP-8.2/ext/zend_test/ |
H A D | fiber.h | 27 zend_fiber_context context; 28 zend_fiber_context *caller; 29 zend_fiber_context *previous;
|
H A D | observer.c | 214 static void fiber_init_observer(zend_fiber_context *initializing) { in fiber_init_observer() 220 static void fiber_destroy_observer(zend_fiber_context *destroying) { in fiber_destroy_observer() 226 static void fiber_address_observer(zend_fiber_context *from, zend_fiber_context *to) in fiber_address_observer() 233 static void fiber_enter_observer(zend_fiber_context *from, zend_fiber_context *to) in fiber_enter_observer() 253 static void fiber_suspend_observer(zend_fiber_context *from, zend_fiber_context *to) in fiber_suspend_observer()
|
H A D | fiber.c | 26 static zend_fiber_transfer zend_test_fiber_switch_to(zend_fiber_context *context, zval *value, bool… in zend_test_fiber_switch_to() 67 zend_fiber_context *caller = fiber->caller; in zend_test_fiber_suspend() 129 zend_fiber_context *target = &fiber->target->context; in zend_test_fiber_execute()
|
Completed in 32 milliseconds