Home
last modified time | relevance | path

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

/PHP-8.0/ext/opcache/Optimizer/
H A Dcompact_literals.c107 ret = *cache_size; in add_static_slot()
154 int i, j, n, *map, cache_size; in zend_optimizer_compact_literals() local
551 opline->op2.num = cache_size; in zend_optimizer_compact_literals()
564 &cache_size); in zend_optimizer_compact_literals()
645 cache_size += sizeof(void *); in zend_optimizer_compact_literals()
672 &cache_size); in zend_optimizer_compact_literals()
694 cache_size += sizeof(void *); in zend_optimizer_compact_literals()
715 &cache_size); in zend_optimizer_compact_literals()
809 cache_size += sizeof(void *); in zend_optimizer_compact_literals()
828 op_array->cache_size = cache_size; in zend_optimizer_compact_literals()
[all …]
H A Dzend_optimizer.c169 uint32_t ret = op_array->cache_size; in alloc_cache_slots()
170 op_array->cache_size += num * sizeof(void *); in alloc_cache_slots()
277 …ONST && (opline->extended_value & ~ZEND_FETCH_OBJ_FLAGS) + sizeof(void*) == op_array->cache_size) { in zend_optimizer_update_op1_const()
278 op_array->cache_size += sizeof(void *); in zend_optimizer_update_op1_const()
/PHP-8.0/Zend/
H A Dzend_closures.c170 ptr = emalloc(sizeof(void*) + my_function.op_array.cache_size); in ZEND_METHOD()
174 memset(ptr, 0, my_function.op_array.cache_size); in ZEND_METHOD()
728 ptr = zend_arena_alloc(&CG(arena), func->op_array.cache_size); in zend_create_closure()
734 ptr = emalloc(sizeof(void*) + func->op_array.cache_size); in zend_create_closure()
739 memset(ptr, 0, func->op_array.cache_size); in zend_create_closure()
H A Dzend_opcode.c89 op_array->cache_size = zend_op_array_extension_handles * sizeof(void*); in init_op_array()
991 uint32_t slot = ZEND_MM_ALIGNED_SIZE_EX(op_array->cache_size, 8); in pass_two()
993 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.h427 int cache_size; /* number of run_time_cache_slots * sizeof(void*) */ member
H A Dzend_execute.c3676 run_time_cache = zend_arena_alloc(&CG(arena), op_array->cache_size); in init_func_run_time_cache_i()
3677 memset(run_time_cache, 0, op_array->cache_size); in init_func_run_time_cache_i()
3739 ptr = emalloc(op_array->cache_size + sizeof(void*)); in i_init_code_execute_data()
3743 memset(ptr, 0, op_array->cache_size); in i_init_code_execute_data()
H A Dzend_compile.c72 uint32_t ret = op_array->cache_size; in zend_alloc_cache_slots()
73 op_array->cache_size += count * sizeof(void*); in zend_alloc_cache_slots()
1338 ptr = emalloc(op_array->cache_size + sizeof(void*)); in zend_do_delayed_early_binding()
1342 memset(ptr, 0, op_array->cache_size); in zend_do_delayed_early_binding()
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit_helpers.c40 run_time_cache = zend_arena_alloc(&CG(arena), op_array->cache_size); in _zend_jit_init_func_run_time_cache()
41 memset(run_time_cache, 0, op_array->cache_size); in _zend_jit_init_func_run_time_cache()
52 run_time_cache = zend_arena_alloc(&CG(arena), op_array->cache_size); in zend_jit_init_func_run_time_cache_helper()
53 memset(run_time_cache, 0, op_array->cache_size); in zend_jit_init_func_run_time_cache_helper()
H A Dzend_jit_x86.dasc10229 if (!func || func->op_array.cache_size) {
10232 if (trace || func->op_array.cache_size > sizeof(void*)) {

Completed in 169 milliseconds