Home
last modified time | relevance | path

Searched refs:zend_arena_alloc (Results 1 – 18 of 18) sorted by relevance

/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_block_alloc.c67 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 Doptimize_temp_vars_5.c58 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 Dcompact_literals.c317 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 Dblock_pass.c1625 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 Dzend_optimizer.c49 ctx->constants = zend_arena_alloc(&ctx->arena, sizeof(HashTable)); in zend_optimizer_collect_constant()
H A Dsccp.c2499 sccp->values = zend_arena_alloc(&ctx->arena, sizeof(zval) * ssa->vars_count); in sccp_context_init()
/PHP-7.4/Zend/
H A Dzend_arena.h53 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 Dzend_interfaces.c360 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 Dzend_inheritance.c65 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 Dzend_closures.c730 ptr = zend_arena_alloc(&CG(arena), func->op_array.cache_size); in zend_create_closure()
H A Dzend_ast.c31 return zend_arena_alloc(&CG(ast_arena), size); in zend_ast_alloc()
H A Dzend_compile.c1010 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 Dzend_API.c3711 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 Dzend_execute.c3637 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 Dphpdbg_opcode.c178 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 Dzend_accelerator_util_funcs.c750 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 Dzend_file_cache.c1590 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 DZendAccelerator.c1381 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()

Completed in 207 milliseconds