Searched refs:new_function (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_inheritance.c58 zend_function *new_function; local
62 new_function = pemalloc(sizeof(zend_internal_function), 1);
63 memcpy(new_function, func, sizeof(zend_internal_function));
65 new_function = zend_arena_alloc(&CG(arena), sizeof(zend_internal_function));
66 memcpy(new_function, func, sizeof(zend_internal_function));
67 new_function->common.fn_flags |= ZEND_ACC_ARENA_ALLOCATED;
69 if (EXPECTED(new_function->common.function_name)) {
70 zend_string_addref(new_function->common.function_name);
83 new_function = zend_arena_alloc(&CG(arena), sizeof(zend_op_array));
84 memcpy(new_function, fun
[all...]
H A Dzend_compile.c941 zend_function *function, *new_function; local
953 new_function = zend_arena_alloc(&CG(arena), sizeof(zend_op_array));
954 memcpy(new_function, function, sizeof(zend_op_array));
955 if (zend_hash_add_ptr(function_table, Z_STR_P(op2), new_function) == NULL) {

Completed in 14 milliseconds