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

/PHP_TRUNK/Zend/
H A Dzend_inheritance.c58 zend_function *function, *new_function; local
124 new_function = pemalloc(sizeof(zend_internal_function), 1);
125 memcpy(new_function, function, sizeof(zend_internal_function));
127 new_function = zend_arena_alloc(&CG(arena), sizeof(zend_internal_function));
128 memcpy(new_function, function, sizeof(zend_internal_function));
129 new_function->common.fn_flags |= ZEND_ACC_ARENA_ALLOCATED;
132 new_function = zend_arena_alloc(&CG(arena), sizeof(zend_op_array));
133 memcpy(new_function, function, sizeof(zend_op_array));
135 zend_hash_str_update_ptr(&ce->function_table, ZEND_CONSTRUCTOR_FUNC_NAME, sizeof(ZEND_CONSTRUCTOR_FUNC_NAME)-1, new_function);
136 function_add_ref(new_function);
191 zend_function *new_function; local
[all...]
H A Dzend_compile.c886 zend_function *function, *new_function; local
898 new_function = zend_arena_alloc(&CG(arena), sizeof(zend_op_array));
899 memcpy(new_function, function, sizeof(zend_op_array));
900 if (zend_hash_add_ptr(function_table, Z_STR_P(op2), new_function) == NULL) {

Completed in 14 milliseconds