Lines Matching refs:my_function
129 zend_function my_function; in ZEND_METHOD() local
154 …memcpy(&my_function, &closure->func, closure->func.type == ZEND_USER_FUNCTION ? sizeof(zend_op_arr… in ZEND_METHOD()
155 my_function.common.fn_flags &= ~ZEND_ACC_CLOSURE; in ZEND_METHOD()
157 my_function.common.scope = Z_OBJCE_P(newthis); in ZEND_METHOD()
159 my_function.internal_function.handler = closure->orig_internal_handler; in ZEND_METHOD()
161 fci_cache.function_handler = &my_function; in ZEND_METHOD()
164 if (ZEND_USER_CODE(my_function.type) in ZEND_METHOD()
169 my_function.op_array.fn_flags |= ZEND_ACC_HEAP_RT_CACHE; in ZEND_METHOD()
170 ptr = emalloc(sizeof(void*) + my_function.op_array.cache_size); in ZEND_METHOD()
171 ZEND_MAP_PTR_INIT(my_function.op_array.run_time_cache, ptr); in ZEND_METHOD()
173 ZEND_MAP_PTR_SET(my_function.op_array.run_time_cache, ptr); in ZEND_METHOD()
174 memset(ptr, 0, my_function.op_array.cache_size); in ZEND_METHOD()
195 } else if (ZEND_USER_CODE(my_function.type) in ZEND_METHOD()
197 efree(ZEND_MAP_PTR(my_function.op_array.run_time_cache)); in ZEND_METHOD()