Searched refs:registered_observers (Results 1 – 1 of 1) sorted by relevance
151 size_t registered_observers = zend_observers_fcall_list.count; in zend_observer_remove_handler() local153 void **last_handler = first_handler + registered_observers - 1; in zend_observer_remove_handler()156 if (registered_observers == 1 || (cur_handler == first_handler && cur_handler[1] == NULL)) { in zend_observer_remove_handler()171 size_t registered_observers = zend_observers_fcall_list.count; in zend_observer_add_begin_handler() local172 … = (void *)&ZEND_OBSERVER_DATA(function), *last_handler = first_handler + registered_observers - 1; in zend_observer_add_begin_handler()192 size_t registered_observers = zend_observers_fcall_list.count; in zend_observer_add_end_handler() local193 …_handler = (zend_observer_fcall_end_handler *)&ZEND_OBSERVER_DATA(function) + registered_observers; in zend_observer_add_end_handler()197 ZEND_ASSERT(end_handler[registered_observers - 1] == NULL); in zend_observer_add_end_handler()198 memmove(end_handler + 1, end_handler, sizeof(end_handler) * (registered_observers - 1)); in zend_observer_add_end_handler()204 size_t registered_observers = zend_observers_fcall_list.count; in zend_observer_remove_end_handler() local[all …]
Completed in 7 milliseconds