Searched refs:zend_fiber_context (Results 1 – 8 of 8) sorted by relevance
/php-src/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; 140 ZEND_API zend_result zend_fiber_init_context(zend_fiber_context *context, void *kind, zend_fiber_co… 141 ZEND_API void zend_fiber_destroy_context(zend_fiber_context *context); 154 static zend_always_inline zend_fiber *zend_fiber_from_context(zend_fiber_context *context) in END_EXTERN_C() 161 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 | 162 typedef void (*zend_observer_fiber_init_handler)(zend_fiber_context *initializing); 163 typedef void (*zend_observer_fiber_switch_handler)(zend_fiber_context *from, zend_fiber_context *to… 164 typedef void (*zend_observer_fiber_destroy_handler)(zend_fiber_context *destroying); 170 ZEND_API void ZEND_FASTCALL zend_observer_fiber_init_notify(zend_fiber_context *initializing); 171 … void ZEND_FASTCALL zend_observer_fiber_switch_notify(zend_fiber_context *from, zend_fiber_context… 172 ZEND_API void ZEND_FASTCALL zend_observer_fiber_destroy_notify(zend_fiber_context *destroying);
|
H A D | zend_globals.h | 75 typedef struct _zend_fiber_context zend_fiber_context; typedef 284 zend_fiber_context *main_fiber_context; 285 zend_fiber_context *current_fiber_context;
|
H A D | zend_fibers.c | 369 zend_fiber_context *from = transfer.context; in zend_fiber_trampoline() 385 zend_fiber_context *context = EG(current_fiber_context); in zend_fiber_trampoline() 413 ZEND_API zend_result zend_fiber_init_context(zend_fiber_context *context, void *kind, zend_fiber_co… in zend_fiber_init_context() 460 ZEND_API void zend_fiber_destroy_context(zend_fiber_context *context) in zend_fiber_destroy_context() 473 zend_fiber_context *from = EG(current_fiber_context); in zend_fiber_switch_context() 474 zend_fiber_context *to = transfer->context; in zend_fiber_switch_context() 549 static void zend_fiber_cleanup(zend_fiber_context *context) in zend_fiber_cleanup() 651 zend_fiber_context *context, zval *value, bool exception in zend_fiber_switch_to() 699 zend_fiber_context *caller = fiber->caller; in zend_fiber_suspend_internal() 1123 zend_fiber_context *context = ecalloc(1, sizeof(zend_fiber_context)); in zend_fiber_init()
|
H A D | zend_observer.c | 396 ZEND_API void ZEND_FASTCALL zend_observer_fiber_init_notify(zend_fiber_context *initializing) in zend_observer_fiber_init_notify() 409 … void ZEND_FASTCALL zend_observer_fiber_switch_notify(zend_fiber_context *from, zend_fiber_context… in zend_observer_fiber_switch_notify() 427 ZEND_API void ZEND_FASTCALL zend_observer_fiber_destroy_notify(zend_fiber_context *destroying) in zend_observer_fiber_destroy_notify()
|
/php-src/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() 133 zend_fiber_context *target = &fiber->target->context; in zend_test_fiber_execute()
|
Completed in 19 milliseconds