Lines Matching refs:handler
226 …zend_observer_fcall_begin_handler *handler = (zend_observer_fcall_begin_handler *)&ZEND_OBSERVER_D… in _zend_observe_fcall_begin() local
227 if (!*handler) { in _zend_observe_fcall_begin()
231 …zend_observer_fcall_begin_handler *possible_handlers_end = handler + zend_observers_fcall_list.cou… in _zend_observe_fcall_begin()
239 if (*handler == ZEND_OBSERVER_NOT_OBSERVED) { in _zend_observe_fcall_begin()
244 (*handler)(execute_data); in _zend_observe_fcall_begin()
245 } while (++handler != possible_handlers_end && *handler != NULL); in _zend_observe_fcall_begin()
265 …zend_observer_fcall_end_handler *handler = (zend_observer_fcall_end_handler *)&ZEND_OBSERVER_DATA(… in call_end_observers() local
268 if (!*handler || *handler == ZEND_OBSERVER_NOT_OBSERVED) { in call_end_observers()
272 zend_observer_fcall_end_handler *possible_handlers_end = handler + zend_observers_fcall_list.count; in call_end_observers()
274 (*handler)(execute_data, return_value); in call_end_observers()
275 } while (++handler != possible_handlers_end && *handler != NULL); in call_end_observers()
349 ZEND_API void zend_observer_fiber_init_register(zend_observer_fiber_init_handler handler) in zend_observer_fiber_init_register() argument
351 zend_llist_add_element(&zend_observer_fiber_init, &handler); in zend_observer_fiber_init_register()
354 ZEND_API void zend_observer_fiber_switch_register(zend_observer_fiber_switch_handler handler) in zend_observer_fiber_switch_register() argument
356 zend_llist_add_element(&zend_observer_fiber_switch, &handler); in zend_observer_fiber_switch_register()
359 ZEND_API void zend_observer_fiber_destroy_register(zend_observer_fiber_destroy_handler handler) in zend_observer_fiber_destroy_register() argument
361 zend_llist_add_element(&zend_observer_fiber_destroy, &handler); in zend_observer_fiber_destroy_register()