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

/PHP_TRUNK/Zend/
H A Dzend_inheritance.c57 zend_function *function, *new_function; local
123 new_function = pemalloc(sizeof(zend_internal_function), 1);
124 memcpy(new_function, function, sizeof(zend_internal_function));
126 new_function = zend_arena_alloc(&CG(arena), sizeof(zend_internal_function));
127 memcpy(new_function, function, sizeof(zend_internal_function));
128 new_function->common.fn_flags |= ZEND_ACC_ARENA_ALLOCATED;
131 new_function = zend_arena_alloc(&CG(arena), sizeof(zend_op_array));
132 memcpy(new_function, function, sizeof(zend_op_array));
134 zend_hash_str_update_ptr(&ce->function_table, ZEND_CONSTRUCTOR_FUNC_NAME, sizeof(ZEND_CONSTRUCTOR_FUNC_NAME)-1, new_function);
135 function_add_ref(new_function);
192 zend_function *new_function; local
[all...]
H A Dzend_compile.c885 zend_function *function, *new_function; local
897 new_function = zend_arena_alloc(&CG(arena), sizeof(zend_op_array));
898 memcpy(new_function, function, sizeof(zend_op_array));
899 if (zend_hash_add_ptr(function_table, Z_STR_P(op2), new_function) == NULL) {
903 efree_size(new_function, sizeof(zend_op_array));

Completed in 14 milliseconds