/PHP-7.4/ext/mysqlnd/ |
H A D | mysqlnd_block_alloc.c | 67 void *new_ptr = zend_arena_alloc(&pool->arena, size); in mysqlnd_mempool_resize_chunk() 82 ptr = zend_arena_alloc(&pool->arena, size); in mysqlnd_mempool_get_chunk() 99 ret = zend_arena_alloc(&arena, sizeof(MYSQLND_MEMORY_POOL)); in mysqlnd_mempool_create()
|
/PHP-7.4/ext/opcache/Optimizer/ |
H A D | optimize_temp_vars_5.c | 58 taken_T = (zend_bitset) zend_arena_alloc(&ctx->arena, bitset_len * ZEND_BITSET_ELM_SIZE); in zend_optimize_temporary_variables() 59 start_of_T = (zend_op **) zend_arena_alloc(&ctx->arena, T * sizeof(zend_op *)); in zend_optimize_temporary_variables() 60 valid_T = (zend_bitset) zend_arena_alloc(&ctx->arena, bitset_len * ZEND_BITSET_ELM_SIZE); in zend_optimize_temporary_variables() 61 map_T = (int *) zend_arena_alloc(&ctx->arena, T * sizeof(int)); in zend_optimize_temporary_variables()
|
H A D | compact_literals.c | 317 map = (int*)zend_arena_alloc(&ctx->arena, op_array->last_literal * sizeof(int)); in zend_optimizer_compact_literals() 493 const_slot = zend_arena_alloc(&ctx->arena, j * 6 * sizeof(int)); in zend_optimizer_compact_literals()
|
H A D | block_pass.c | 1625 defined_here = zend_arena_alloc(&ctx->arena, bitset_len * ZEND_BITSET_ELM_SIZE); in zend_t_usage() 1916 same_t = zend_arena_alloc(&ctx->arena, op_array->last_var + op_array->T); in zend_optimize_cfg() 1917 usage = zend_arena_alloc(&ctx->arena, bitset_len * ZEND_BITSET_ELM_SIZE); in zend_optimize_cfg()
|
H A D | zend_optimizer.c | 49 ctx->constants = zend_arena_alloc(&ctx->arena, sizeof(HashTable)); in zend_optimizer_collect_constant()
|
H A D | sccp.c | 2499 sccp->values = zend_arena_alloc(&ctx->arena, sizeof(zval) * ssa->vars_count); in sccp_context_init()
|
/PHP-7.4/Zend/ |
H A D | zend_arena.h | 53 static zend_always_inline void* zend_arena_alloc(zend_arena **arena_ptr, size_t size) in zend_arena_alloc() function 89 ret = zend_arena_alloc(arena_ptr, size); in zend_arena_calloc() 163 static zend_always_inline void *zend_arena_alloc(zend_arena **arena_ptr, size_t size) in zend_arena_alloc() function 185 ret = zend_arena_alloc(arena_ptr, size); in zend_arena_calloc()
|
H A D | zend_interfaces.c | 360 funcs_ptr = zend_arena_alloc(&CG(arena), sizeof(zend_class_iterator_funcs)); in zend_implement_aggregate() 412 funcs_ptr = zend_arena_alloc(&CG(arena), sizeof(zend_class_iterator_funcs)); in zend_implement_iterator()
|
H A D | zend_inheritance.c | 65 new_function = zend_arena_alloc(&CG(arena), sizeof(zend_internal_function)); in zend_duplicate_internal_function() 80 new_function = zend_arena_alloc(&CG(arena), sizeof(zend_op_array)); in zend_duplicate_user_function() 830 zend_function *new_function = zend_arena_alloc(&CG(arena), sizeof(zend_op_array)); in do_inheritance_check_on_method_ex() 1090 ce->properties_info_table = table = zend_arena_alloc(&CG(arena), size); in zend_build_properties_info_table() 1620 new_fn = zend_arena_alloc(&CG(arena), sizeof(zend_internal_function)); in zend_add_trait_method() 1624 new_fn = zend_arena_alloc(&CG(arena), sizeof(zend_op_array)); in zend_add_trait_method()
|
H A D | zend_closures.c | 730 ptr = zend_arena_alloc(&CG(arena), func->op_array.cache_size); in zend_create_closure()
|
H A D | zend_ast.c | 31 return zend_arena_alloc(&CG(ast_arena), size); in zend_ast_alloc()
|
H A D | zend_compile.c | 1010 ZEND_MAP_PTR_INIT(op_array->run_time_cache, zend_arena_alloc(&CG(arena), sizeof(void*))); in function_add_ref() 5985 zend_op_array *op_array = zend_arena_alloc(&CG(arena), sizeof(zend_op_array)); in zend_compile_func_decl() 5997 ZEND_MAP_PTR_INIT(op_array->run_time_cache, zend_arena_alloc(&CG(arena), sizeof(void*))); in zend_compile_func_decl() 6393 zend_class_entry *ce = zend_arena_alloc(&CG(arena), sizeof(zend_class_entry)); in zend_compile_class_decl()
|
H A D | zend_API.c | 3711 property_info = zend_arena_alloc(&CG(arena), sizeof(zend_property_info)); in zend_declare_typed_property() 4026 c = zend_arena_alloc(&CG(arena), sizeof(zend_class_constant)); in zend_declare_class_constant_ex()
|
H A D | zend_execute.c | 3637 run_time_cache = zend_arena_alloc(&CG(arena), op_array->cache_size); in init_func_run_time_cache_i()
|
/PHP-7.4/sapi/phpdbg/ |
H A D | phpdbg_opcode.c | 178 phpdbg_oplog_entry *cur = zend_arena_alloc(&PHPDBG_G(oplog_arena), sizeof(phpdbg_oplog_entry)); in phpdbg_print_opline_ex()
|
/PHP-7.4/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 750 ZCG(arena_mem) = zend_arena_alloc(&CG(arena), persistent_script->arena_size + 64); in zend_accel_load_script() 754 ZCG(arena_mem) = zend_arena_alloc(&CG(arena), persistent_script->arena_size); in zend_accel_load_script()
|
H A D | zend_file_cache.c | 1590 mem = zend_arena_alloc(&CG(arena), info.mem_size + info.str_size + 64); 1593 mem = zend_arena_alloc(&CG(arena), info.mem_size + info.str_size);
|
H A D | ZendAccelerator.c | 1381 ZCG(mem) = zend_arena_alloc(&CG(arena), memory_used + 64); in store_script_in_file_cache() 1385 ZCG(mem) = zend_arena_alloc(&CG(arena), memory_used + 8); in store_script_in_file_cache() 1388 ZCG(mem) = zend_arena_alloc(&CG(arena), memory_used); in store_script_in_file_cache()
|