Home
last modified time | relevance | path

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

/php-src/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()
775 cache_size += sizeof(void *); in zend_optimizer_compact_literals()
794 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-src/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()
789 ptr = zend_arena_alloc(&CG(arena), func->op_array.cache_size); in zend_create_closure_ex()
794 ptr = emalloc(func->op_array.cache_size); in zend_create_closure_ex()
797 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()
1087 uint32_t slot = ZEND_MM_ALIGNED_SIZE_EX(op_array->cache_size, 8); in pass_two()
1089 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.h471 int cache_size; /* number of run_time_cache_slots * sizeof(void*) */ member
H A Dzend_execute.c4038 run_time_cache = zend_arena_alloc(&CG(arena), op_array->cache_size); in init_func_run_time_cache_i()
4039 memset(run_time_cache, 0, op_array->cache_size); in init_func_run_time_cache_i()
4103 ptr = emalloc(op_array->cache_size); in i_init_code_execute_data()
4105 memset(ptr, 0, op_array->cache_size); in i_init_code_execute_data()
H A Dzend_compile.c76 uint32_t ret = op_array->cache_size; in zend_alloc_cache_slots()
77 op_array->cache_size += count * sizeof(void*); in zend_alloc_cache_slots()
/php-src/ext/opcache/
H A Dzend_accelerator_util_funcs.c342 void *run_time_cache = emalloc(op_array->cache_size); in zend_accel_do_delayed_early_binding()
345 memset(run_time_cache, 0, op_array->cache_size); in zend_accel_do_delayed_early_binding()
/php-src/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_ir.c9672 if (!func || func->op_array.cache_size) {

Completed in 125 milliseconds