Home
last modified time | relevance | path

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

/PHP-7.3/Zend/
H A Dzend_inheritance.c59 zend_function *new_function; in zend_duplicate_function() local
63 new_function = pemalloc(sizeof(zend_internal_function), 1); in zend_duplicate_function()
64 memcpy(new_function, func, sizeof(zend_internal_function)); in zend_duplicate_function()
67 memcpy(new_function, func, sizeof(zend_internal_function)); in zend_duplicate_function()
68 new_function->common.fn_flags |= ZEND_ACC_ARENA_ALLOCATED; in zend_duplicate_function()
70 if (EXPECTED(new_function->common.function_name)) { in zend_duplicate_function()
71 zend_string_addref(new_function->common.function_name); in zend_duplicate_function()
85 memcpy(new_function, func, sizeof(zend_op_array)); in zend_duplicate_function()
87 return new_function; in zend_duplicate_function()
654 memcpy(new_function, func, sizeof(zend_op_array)); in do_inherit_method()
[all …]
H A Dzend_compile.c1038 zend_function *function, *new_function; in do_bind_function() local
1051 new_function = zend_arena_alloc(&CG(arena), sizeof(zend_op_array)); in do_bind_function()
1052 memcpy(new_function, function, sizeof(zend_op_array)); in do_bind_function()
1053 if (zend_hash_add_ptr(function_table, Z_STR_P(lcname), new_function) == NULL) { in do_bind_function()

Completed in 27 milliseconds