Lines Matching refs:my_function
169 zend_function *my_function; in ZEND_METHOD() local
177 my_function = &fake_closure->func; in ZEND_METHOD()
179 memcpy(my_function, &closure->func, sizeof(zend_op_array)); in ZEND_METHOD()
181 memcpy(my_function, &closure->func, sizeof(zend_internal_function)); in ZEND_METHOD()
184 my_function->common.scope = newclass; in ZEND_METHOD()
186 my_function->internal_function.handler = closure->orig_internal_handler; in ZEND_METHOD()
188 fci_cache.function_handler = my_function; in ZEND_METHOD()
191 if (ZEND_USER_CODE(my_function->type) in ZEND_METHOD()
196 my_function->op_array.fn_flags |= ZEND_ACC_HEAP_RT_CACHE; in ZEND_METHOD()
197 ptr = emalloc(my_function->op_array.cache_size); in ZEND_METHOD()
198 ZEND_MAP_PTR_INIT(my_function->op_array.run_time_cache, ptr); in ZEND_METHOD()
199 memset(ptr, 0, my_function->op_array.cache_size); in ZEND_METHOD()
204 if (ZEND_USER_CODE(my_function->type)) { in ZEND_METHOD()
206 efree(ZEND_MAP_PTR(my_function->op_array.run_time_cache)); in ZEND_METHOD()