Home
last modified time | relevance | path

Searched refs:zend_fiber_context (Results 1 – 8 of 8) sorted by relevance

/PHP-8.3/Zend/
H A Dzend_fibers.h62 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 zend_result zend_fiber_init_context(zend_fiber_context *context, void *kind, zend_fiber_co…
137 ZEND_API void zend_fiber_destroy_context(zend_fiber_context *context);
150 static zend_always_inline zend_fiber *zend_fiber_from_context(zend_fiber_context *context) in END_EXTERN_C()
157 static zend_always_inline zend_fiber_context *zend_fiber_get_context(zend_fiber *fiber) in zend_fiber_get_context()
H A Dzend_observer.h116 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 Dzend_globals.h73 typedef struct _zend_fiber_context zend_fiber_context; typedef
276 zend_fiber_context *main_fiber_context;
277 zend_fiber_context *current_fiber_context;
H A Dzend_fibers.c362 zend_fiber_context *from = transfer.context; in zend_fiber_trampoline()
378 zend_fiber_context *context = EG(current_fiber_context); in zend_fiber_trampoline()
406 ZEND_API zend_result zend_fiber_init_context(zend_fiber_context *context, void *kind, zend_fiber_co… in zend_fiber_init_context()
453 ZEND_API void zend_fiber_destroy_context(zend_fiber_context *context) in zend_fiber_destroy_context()
466 zend_fiber_context *from = EG(current_fiber_context); in zend_fiber_switch_context()
467 zend_fiber_context *to = transfer->context; in zend_fiber_switch_context()
542 static void zend_fiber_cleanup(zend_fiber_context *context) in zend_fiber_cleanup()
640 zend_fiber_context *context, zval *value, bool exception in zend_fiber_switch_to()
686 zend_fiber_context *caller = fiber->caller; in zend_fiber_suspend()
1062 zend_fiber_context *context = ecalloc(1, sizeof(zend_fiber_context)); in zend_fiber_init()
H A Dzend_observer.c364 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.3/ext/zend_test/
H A Dfiber.h27 zend_fiber_context context;
28 zend_fiber_context *caller;
29 zend_fiber_context *previous;
H A Dobserver.c214 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 Dfiber.c26 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 17 milliseconds