Home
last modified time | relevance | path

Searched refs:run_time_cache (Results 1 – 20 of 20) sorted by relevance

/php-src/Zend/
H A Dzend_extensions.c320 if (!ZEND_USER_CODE(zif->type) && ZEND_MAP_PTR_GET(zif->run_time_cache) == NULL) in zend_init_internal_run_time_cache()
322 ZEND_MAP_PTR_SET(zif->run_time_cache, (void *)ptr); in zend_init_internal_run_time_cache()
328 if (!ZEND_USER_CODE(zif->type) && ZEND_MAP_PTR_GET(zif->run_time_cache) == NULL) in zend_init_internal_run_time_cache()
330 ZEND_MAP_PTR_SET(zif->run_time_cache, (void *)ptr); in zend_init_internal_run_time_cache()
H A Dzend_execute.h439 ((void**)((char*)EX(run_time_cache) + (num)))
442 ((void**)((char*)EX(run_time_cache) + (num)))[0]
445 ((void**)((char*)EX(run_time_cache) + (num)))[0] = (ptr); \
449 (EXPECTED(((void**)((char*)EX(run_time_cache) + (num)))[0] == (void*)(ce)) ? \
450 ((void**)((char*)EX(run_time_cache) + (num)))[1] : \
454 void **slot = (void**)((char*)EX(run_time_cache) + (num)); \
H A Dzend_compile.h466 ZEND_MAP_PTR_DEF(void **, run_time_cache);
524 ZEND_MAP_PTR_DEF(void **, run_time_cache);
552 ZEND_MAP_PTR_DEF(void **, run_time_cache);
569 void **run_time_cache; /* cache op_array->run_time_cache */ member
774 ZEND_MAP_PTR_GET((op_array)->run_time_cache)
H A Dzend_closures.c198 ZEND_MAP_PTR_INIT(my_function->op_array.run_time_cache, ptr); in ZEND_METHOD()
206 efree(ZEND_MAP_PTR(my_function->op_array.run_time_cache)); in ZEND_METHOD()
775 ptr = ZEND_MAP_PTR_GET(func->op_array.run_time_cache); in zend_create_closure_ex()
790 ZEND_MAP_PTR_SET(func->op_array.run_time_cache, ptr); in zend_create_closure_ex()
799 ZEND_MAP_PTR_INIT(closure->func.op_array.run_time_cache, ptr); in zend_create_closure_ex()
H A Dzend_enum.c422 …ZEND_MAP_PTR_INIT(zif->run_time_cache, zend_arena_calloc(&CG(arena), 1, zend_internal_run_time_cac… in zend_enum_register_func()
424 ZEND_MAP_PTR_NEW(zif->run_time_cache); in zend_enum_register_func()
H A Dzend_opcode.c93 ZEND_MAP_PTR_INIT(op_array->run_time_cache, NULL); in init_op_array()
552 && ZEND_MAP_PTR(op_array->run_time_cache)) { in destroy_op_array()
553 efree(ZEND_MAP_PTR(op_array->run_time_cache)); in destroy_op_array()
H A Dzend_observer.c32 …(ZEND_MAP_PTR(function->common.run_time_cache) && !(function->common.fn_flags & ZEND_ACC_CALL_VIA_…
H A Dzend_execute.c4027 EX(run_time_cache) = RUN_TIME_CACHE(op_array); in i_init_func_execute_data()
4035 void **run_time_cache; in init_func_run_time_cache_i() local
4038 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()
4040 ZEND_MAP_PTR_SET(op_array->run_time_cache, run_time_cache); in init_func_run_time_cache_i()
4099 if (!ZEND_MAP_PTR(op_array->run_time_cache)) { in i_init_code_execute_data()
4104 ZEND_MAP_PTR_INIT(op_array->run_time_cache, ptr); in i_init_code_execute_data()
4107 EX(run_time_cache) = RUN_TIME_CACHE(op_array); in i_init_code_execute_data()
5189 void *run_time_cache = RUN_TIME_CACHE(op_array); in zend_handle_undef_args() local
5191 (zval *) ((char *) run_time_cache + Z_CACHE_SLOT_P(default_value)); in zend_handle_undef_args()
H A Dzend_object_handlers.c1346 ZEND_MAP_PTR_INIT(func->run_time_cache, (void**)dummy); in zend_get_call_trampoline_func()
H A Dzend_API.c2889 …ZEND_MAP_PTR_INIT(internal_function->run_time_cache, zend_arena_calloc(&CG(arena), 1, zend_interna… in zend_register_functions()
2891 ZEND_MAP_PTR_NEW(internal_function->run_time_cache); in zend_register_functions()
H A Dzend_inheritance.c2917 ZEND_MAP_PTR_INIT(new_op_array->run_time_cache, NULL); in zend_lazy_class_load()
H A Dzend_compile.c1200 ZEND_MAP_PTR_INIT(op_array->run_time_cache, NULL); in function_add_ref()
/php-src/Zend/tests/
H A Dgh10346.phpt2 GH-10346 (Observer: enum tryFrom() run_time_cache properly assigned)
/php-src/ext/opcache/
H A Dzend_accelerator_util_funcs.c340 ZEND_ASSERT(!ZEND_MAP_PTR(op_array->run_time_cache)); in zend_accel_do_delayed_early_binding()
342 void *run_time_cache = emalloc(op_array->cache_size); in zend_accel_do_delayed_early_binding() local
344 ZEND_MAP_PTR_INIT(op_array->run_time_cache, run_time_cache); in zend_accel_do_delayed_early_binding()
345 memset(run_time_cache, 0, op_array->cache_size); in zend_accel_do_delayed_early_binding()
366 *(void**)((char*)run_time_cache + early_binding->cache_slot) = ce; in zend_accel_do_delayed_early_binding()
H A Dzend_persist.c690 ZEND_MAP_PTR_NEW(op_array->run_time_cache); in zend_persist_op_array()
734 ZEND_MAP_PTR_NEW(op_array->run_time_cache); in zend_persist_class_method()
769 ZEND_MAP_PTR_NEW(op_array->run_time_cache); in zend_persist_class_method()
774 ZEND_MAP_PTR_INIT(op_array->run_time_cache, NULL); in zend_persist_class_method()
1361 ZEND_MAP_PTR_INIT(script->script.main_op_array.run_time_cache, NULL); in zend_accel_script_persist()
H A Dzend_file_cache.c464 ZEND_MAP_PTR_INIT(op_array->run_time_cache, NULL);
1314 ZEND_MAP_PTR_NEW(op_array->run_time_cache);
1317 ZEND_MAP_PTR_INIT(op_array->run_time_cache, NULL);
1325 ZEND_MAP_PTR_INIT(op_array->run_time_cache, NULL);
/php-src/ext/pdo/
H A Dpdo_dbh.c1281 if (ZEND_MAP_PTR(func->common.run_time_cache)) { in cls_method_dtor()
1282 efree(ZEND_MAP_PTR(func->common.run_time_cache)); in cls_method_dtor()
1293 if (ZEND_MAP_PTR(func->common.run_time_cache)) { in cls_method_pdtor()
1294 pefree(ZEND_MAP_PTR(func->common.run_time_cache), 1); in cls_method_pdtor()
1330 …ZEND_MAP_PTR(func.run_time_cache) = rt_cache_size ? pecalloc(rt_cache_size, 1, dbh->is_persistent)… in pdo_hash_methods()
/php-src/ext/opcache/jit/
H A Dzend_jit_ir.c2229 run_time_cache = ir_LOAD_A(jit_EX(run_time_cache)); in zend_jit_hybrid_profile_jit_stub()
8705 run_time_cache = ir_LOAD_A(jit_EX(run_time_cache));
9677 run_time_cache = ir_LOAD_A(jit_EX(run_time_cache));
9705 ir_STORE(jit_CALL(rx, run_time_cache), run_time_cache);
13724 ir_ref run_time_cache = ir_LOAD_A(jit_EX(run_time_cache)); local
14164 ir_ref run_time_cache = ir_LOAD_A(jit_EX(run_time_cache)); local
14282 ir_ref run_time_cache = ir_LOAD_A(jit_EX(run_time_cache)); local
14436 ir_ref run_time_cache = ir_LOAD_A(jit_EX(run_time_cache)); local
14678 ir_ref run_time_cache = ir_LOAD_A(jit_EX(run_time_cache)); local
14829 ir_ref run_time_cache = ir_LOAD_A(jit_EX(run_time_cache)); local
[all …]
H A Dzend_jit_helpers.c32 void **run_time_cache; in _zend_jit_init_func_run_time_cache() local
34 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()
36 ZEND_MAP_PTR_SET(op_array->run_time_cache, run_time_cache); in _zend_jit_init_func_run_time_cache()
43 void **run_time_cache; in zend_jit_init_func_run_time_cache_helper() local
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()
48 ZEND_MAP_PTR_SET(op_array->run_time_cache, run_time_cache); in zend_jit_init_func_run_time_cache_helper()
H A Dzend_jit_vm_helpers.c239 ++*(uintptr_t*)(EX(run_time_cache) + zend_jit_profile_counter_rid); in zend_jit_profile_helper()

Completed in 185 milliseconds