Home
last modified time | relevance | path

Searched refs:cache_size (Results 1 – 12 of 12) sorted by relevance

/PHP-8.3/Zend/Optimizer/
H A Dcompact_literals.c110 ret = *cache_size; in add_static_slot()
158 uint32_t cache_size; in zend_optimizer_compact_literals() local
515 opline->op2.num = cache_size; in zend_optimizer_compact_literals()
528 &cache_size); in zend_optimizer_compact_literals()
609 cache_size += sizeof(void *); in zend_optimizer_compact_literals()
636 &cache_size); in zend_optimizer_compact_literals()
658 cache_size += sizeof(void *); in zend_optimizer_compact_literals()
681 &cache_size); in zend_optimizer_compact_literals()
774 cache_size += sizeof(void *); in zend_optimizer_compact_literals()
793 op_array->cache_size = cache_size; in zend_optimizer_compact_literals()
[all …]
H A Dzend_optimizer.c260 uint32_t ret = op_array->cache_size; in alloc_cache_slots()
261 op_array->cache_size += num * sizeof(void *); in alloc_cache_slots()
371 …ONST && (opline->extended_value & ~ZEND_FETCH_OBJ_FLAGS) + sizeof(void*) == op_array->cache_size) { in zend_optimizer_update_op1_const()
372 op_array->cache_size += sizeof(void *); in zend_optimizer_update_op1_const()
/PHP-8.3/Zend/
H A Dzend_closures.c197 ptr = emalloc(my_function->op_array.cache_size); in ZEND_METHOD()
199 memset(ptr, 0, my_function->op_array.cache_size); in ZEND_METHOD()
778 ptr = zend_arena_alloc(&CG(arena), func->op_array.cache_size); in zend_create_closure_ex()
783 ptr = emalloc(func->op_array.cache_size); in zend_create_closure_ex()
786 memset(ptr, 0, func->op_array.cache_size); in zend_create_closure_ex()
H A Dzend_opcode.c94 op_array->cache_size = zend_op_array_extension_handles * sizeof(void*); in init_op_array()
1078 uint32_t slot = ZEND_MM_ALIGNED_SIZE_EX(op_array->cache_size, 8); in pass_two()
1080 op_array->cache_size += sizeof(zval); in pass_two()
H A Dzend_virtual_cwd.c153 …path_cache_clean_helper(uint32_t max_entries, realpath_cache_bucket **cache, zend_long *cache_size) in realpath_cache_clean_helper() argument
166 *cache_size = 0; in realpath_cache_clean_helper()
H A Dzend_compile.h459 int cache_size; /* number of run_time_cache_slots * sizeof(void*) */ member
H A Dzend_execute.c4039 run_time_cache = zend_arena_alloc(&CG(arena), op_array->cache_size); in init_func_run_time_cache_i()
4040 memset(run_time_cache, 0, op_array->cache_size); in init_func_run_time_cache_i()
4104 ptr = emalloc(op_array->cache_size); in i_init_code_execute_data()
4106 memset(ptr, 0, op_array->cache_size); in i_init_code_execute_data()
H A Dzend_compile.c75 uint32_t ret = op_array->cache_size; in zend_alloc_cache_slots()
76 op_array->cache_size += count * sizeof(void*); in zend_alloc_cache_slots()
/PHP-8.3/ext/opcache/
H A Dzend_accelerator_util_funcs.c344 void *run_time_cache = emalloc(op_array->cache_size); in zend_accel_do_delayed_early_binding()
347 memset(run_time_cache, 0, op_array->cache_size); in zend_accel_do_delayed_early_binding()
/PHP-8.3/ext/opcache/jit/
H A Dzend_jit_helpers.c34 run_time_cache = zend_arena_alloc(&CG(arena), op_array->cache_size); in _zend_jit_init_func_run_time_cache()
35 memset(run_time_cache, 0, op_array->cache_size); in _zend_jit_init_func_run_time_cache()
46 run_time_cache = zend_arena_alloc(&CG(arena), op_array->cache_size); in zend_jit_init_func_run_time_cache_helper()
47 memset(run_time_cache, 0, op_array->cache_size); in zend_jit_init_func_run_time_cache_helper()
H A Dzend_jit_x86.dasc10039 if (!func || func->op_array.cache_size) {
10042 if (trace || func->op_array.cache_size > sizeof(void*)) {
H A Dzend_jit_arm64.dasc9328 if (!func || func->op_array.cache_size) {
9331 if (trace || func->op_array.cache_size > sizeof(void*)) {

Completed in 137 milliseconds