Lines Matching refs:tick_fe
5029 static void user_tick_function_call(user_tick_function_entry *tick_fe) /* {{{ */ argument
5032 zval *function = &tick_fe->arguments[0];
5035 if (! tick_fe->calling) {
5036 tick_fe->calling = 1;
5041 tick_fe->arg_count - 1,
5042 tick_fe->arguments + 1
5062 tick_fe->calling = 0;
5746 user_tick_function_entry tick_fe; local
5750 tick_fe.calling = 0;
5751 tick_fe.arg_count = ZEND_NUM_ARGS();
5753 if (tick_fe.arg_count < 1) {
5757 tick_fe.arguments = (zval *) safe_emalloc(sizeof(zval), tick_fe.arg_count, 0);
5759 if (zend_get_parameters_array(ZEND_NUM_ARGS(), tick_fe.arg_count, tick_fe.arguments) == FAILURE) {
5760 efree(tick_fe.arguments);
5764 if (!zend_is_callable(&tick_fe.arguments[0], 0, &function_name)) {
5765 efree(tick_fe.arguments);
5773 if (Z_TYPE(tick_fe.arguments[0]) != IS_ARRAY && Z_TYPE(tick_fe.arguments[0]) != IS_OBJECT) {
5774 convert_to_string_ex(&tick_fe.arguments[0]);
5785 for (i = 0; i < tick_fe.arg_count; i++) {
5786 if (Z_REFCOUNTED(tick_fe.arguments[i])) {
5787 Z_ADDREF(tick_fe.arguments[i]);
5791 zend_llist_add_element(BG(user_tick_functions), &tick_fe);
5802 user_tick_function_entry tick_fe; local
5816 tick_fe.arguments = (zval *) emalloc(sizeof(zval));
5817 ZVAL_COPY_VALUE(&tick_fe.arguments[0], function);
5818 tick_fe.arg_count = 1;
5819 …zend_llist_del_element(BG(user_tick_functions), &tick_fe, (int (*)(void *, void *)) user_tick_func…
5820 efree(tick_fe.arguments);