/php-src/Zend/tests/ |
H A D | gh10346.phpt | 2 GH-10346 (Observer: enum tryFrom() run_time_cache properly assigned)
|
/php-src/Zend/ |
H A D | zend_extensions.c | 342 if (!ZEND_USER_CODE(zif->type) && ZEND_MAP_PTR_GET(zif->run_time_cache) == NULL) { in zend_init_internal_run_time_cache() 343 ZEND_MAP_PTR_SET(zif->run_time_cache, (void *)ptr); in zend_init_internal_run_time_cache() 349 if (!ZEND_USER_CODE(zif->type) && ZEND_MAP_PTR_GET(zif->run_time_cache) == NULL) { in zend_init_internal_run_time_cache() 350 ZEND_MAP_PTR_SET(zif->run_time_cache, (void *)ptr); in zend_init_internal_run_time_cache()
|
H A D | zend_execute.h | 449 ((void**)((char*)EX(run_time_cache) + (num))) 452 ((void**)((char*)EX(run_time_cache) + (num)))[0] 455 ((void**)((char*)EX(run_time_cache) + (num)))[0] = (ptr); \ 459 (EXPECTED(((void**)((char*)EX(run_time_cache) + (num)))[0] == (void*)(ce)) ? \ 460 ((void**)((char*)EX(run_time_cache) + (num)))[1] : \ 464 void **slot = (void**)((char*)EX(run_time_cache) + (num)); \
|
H A D | zend_compile.h | 515 ZEND_MAP_PTR_DEF(void **, run_time_cache); 574 ZEND_MAP_PTR_DEF(void **, run_time_cache); 603 ZEND_MAP_PTR_DEF(void **, run_time_cache); 621 void **run_time_cache; /* cache op_array->run_time_cache */ member 826 ZEND_MAP_PTR_GET((op_array)->run_time_cache)
|
H A D | zend_closures.c | 198 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 D | zend_observer.h | 98 void *ZEND_MAP_PTR(runtime_cache) = ZEND_MAP_PTR(function->common.run_time_cache); in zend_observer_fcall_has_no_observers()
|
H A D | zend_enum.c | 422 …ZEND_MAP_PTR_INIT(zif->run_time_cache, zend_arena_calloc(&CG(arena), 1, zend_internal_run_time_cac… in zend_enum_register_func() 425 ZEND_MAP_PTR_NEW_STATIC(zif->run_time_cache); in zend_enum_register_func() 427 ZEND_MAP_PTR_INIT(zif->run_time_cache, NULL); in zend_enum_register_func()
|
H A D | zend_opcode.c | 94 ZEND_MAP_PTR_INIT(op_array->run_time_cache, NULL); in init_op_array() 560 && ZEND_MAP_PTR(op_array->run_time_cache)) { in destroy_op_array() 561 efree(ZEND_MAP_PTR(op_array->run_time_cache)); in destroy_op_array()
|
H A D | zend_execute.c | 4266 EX(run_time_cache) = RUN_TIME_CACHE(op_array); in i_init_func_execute_data() 4274 void **run_time_cache; in init_func_run_time_cache_i() local 4277 run_time_cache = zend_arena_alloc(&CG(arena), op_array->cache_size); in init_func_run_time_cache_i() 4278 memset(run_time_cache, 0, op_array->cache_size); in init_func_run_time_cache_i() 4279 ZEND_MAP_PTR_SET(op_array->run_time_cache, run_time_cache); in init_func_run_time_cache_i() 4338 if (!ZEND_MAP_PTR(op_array->run_time_cache)) { in i_init_code_execute_data() 4343 ZEND_MAP_PTR_INIT(op_array->run_time_cache, ptr); in i_init_code_execute_data() 4346 EX(run_time_cache) = RUN_TIME_CACHE(op_array); in i_init_code_execute_data() 5426 void *run_time_cache = RUN_TIME_CACHE(op_array); in zend_handle_undef_args() local 5428 (zval *) ((char *) run_time_cache + Z_CACHE_SLOT_P(default_value)); in zend_handle_undef_args()
|
H A D | zend_API.c | 2958 …ZEND_MAP_PTR_INIT(internal_function->run_time_cache, zend_arena_calloc(&CG(arena), 1, zend_interna… in zend_register_functions() 2961 ZEND_MAP_PTR_NEW_STATIC(internal_function->run_time_cache); in zend_register_functions() 2963 ZEND_MAP_PTR_INIT(internal_function->run_time_cache, NULL); in zend_register_functions()
|
H A D | zend_object_handlers.c | 1625 ZEND_MAP_PTR_INIT(func->run_time_cache, (void**)dummy); in zend_get_call_trampoline_func()
|
H A D | zend_inheritance.c | 3292 ZEND_MAP_PTR_INIT(new_op_array->run_time_cache, NULL); in zend_lazy_method_load()
|
H A D | zend_vm_execute.h | 6752 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array); in ZEND_FETCH_OBJ_R_SPEC_CONST_CONST_HANDLER() 9326 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array); in ZEND_FETCH_OBJ_R_SPEC_CONST_TMPVAR_HANDLER() 11546 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array); in ZEND_INIT_PARENT_PROPERTY_HOOK_CALL_SPEC_CONST_UNUSED_HANDLER() 11818 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array); in ZEND_FETCH_OBJ_R_SPEC_CONST_CV_HANDLER() 16250 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array); in ZEND_FETCH_OBJ_R_SPEC_TMPVAR_CONST_HANDLER() 17743 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array); in ZEND_FETCH_OBJ_R_SPEC_TMPVAR_TMPVAR_HANDLER() 19150 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array); in ZEND_FETCH_OBJ_R_SPEC_TMPVAR_CV_HANDLER() 33819 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array); in ZEND_FETCH_OBJ_R_SPEC_UNUSED_CONST_INLINE_HANDLER() 35992 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array); in ZEND_FETCH_OBJ_R_SPEC_UNUSED_TMPVAR_HANDLER() 38638 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array); in ZEND_FETCH_OBJ_R_SPEC_UNUSED_CV_HANDLER() [all …]
|
H A D | zend_vm_def.h | 2106 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array); 9831 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array);
|
H A D | zend_compile.c | 1253 ZEND_MAP_PTR_INIT(op_array->run_time_cache, NULL); in function_add_ref()
|
/php-src/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 340 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 D | zend_persist.c | 692 ZEND_MAP_PTR_NEW(op_array->run_time_cache); in zend_persist_op_array() 738 ZEND_MAP_PTR_NEW(op_array->run_time_cache); in zend_persist_class_method() 773 ZEND_MAP_PTR_NEW(op_array->run_time_cache); in zend_persist_class_method() 778 ZEND_MAP_PTR_INIT(op_array->run_time_cache, NULL); in zend_persist_class_method() 1400 ZEND_MAP_PTR_INIT(script->script.main_op_array.run_time_cache, NULL); in zend_accel_script_persist()
|
H A D | zend_file_cache.c | 467 ZEND_MAP_PTR_INIT(op_array->run_time_cache, NULL); 1338 ZEND_MAP_PTR_NEW(op_array->run_time_cache); 1341 ZEND_MAP_PTR_INIT(op_array->run_time_cache, NULL); 1349 ZEND_MAP_PTR_INIT(op_array->run_time_cache, NULL);
|
/php-src/ext/pdo/ |
H A D | pdo_dbh.c | 1313 if (ZEND_MAP_PTR(func->common.run_time_cache)) { in cls_method_dtor() 1314 efree(ZEND_MAP_PTR(func->common.run_time_cache)); in cls_method_dtor() 1325 if (ZEND_MAP_PTR(func->common.run_time_cache)) { in cls_method_pdtor() 1326 pefree(ZEND_MAP_PTR(func->common.run_time_cache), 1); in cls_method_pdtor() 1362 …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 D | zend_jit_ir.c | 2258 run_time_cache = ir_LOAD_A(jit_EX(run_time_cache)); in zend_jit_hybrid_profile_jit_stub() 4571 run_time_cache = ir_LOAD_A(jit_CALL(rx, run_time_cache)); in jit_observer_fcall_is_unobserved_start() 8950 run_time_cache = ir_LOAD_A(jit_EX(run_time_cache)); 10113 run_time_cache = ir_LOAD_A(jit_EX(run_time_cache)); 10141 ir_STORE(jit_CALL(rx, run_time_cache), run_time_cache); 14200 ir_ref run_time_cache = ir_LOAD_A(jit_EX(run_time_cache)); local 14708 ir_ref run_time_cache = ir_LOAD_A(jit_EX(run_time_cache)); local 14903 ir_ref run_time_cache = ir_LOAD_A(jit_EX(run_time_cache)); local 15063 ir_ref run_time_cache = ir_LOAD_A(jit_EX(run_time_cache)); local 15335 ir_ref run_time_cache = ir_LOAD_A(jit_EX(run_time_cache)); local [all …]
|
H A D | zend_jit_helpers.c | 32 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 D | zend_jit_vm_helpers.c | 248 ++*(uintptr_t*)(EX(run_time_cache) + zend_jit_profile_counter_rid); in zend_jit_profile_helper()
|
/php-src/ext/xmlreader/ |
H A D | php_xmlreader.c | 1332 …run_time_cache) = ZEND_MAP_PTR(((zend_internal_function *)zend_hash_str_find_ptr(&xmlreader_class_… in xmlreader_fixup_temporaries() 1333 …run_time_cache) = ZEND_MAP_PTR(((zend_internal_function *)zend_hash_str_find_ptr(&xmlreader_class_… in xmlreader_fixup_temporaries()
|
/php-src/ext/ffi/ |
H A D | ffi.c | 5438 ….run_time_cache) = ZEND_MAP_PTR(((zend_internal_function *)zend_hash_str_find_ptr(&zend_ffi_ce->fu… 5439 …run_time_cache) = ZEND_MAP_PTR(((zend_internal_function *)zend_hash_str_find_ptr(&zend_ffi_ce->fun… 5440 …run_time_cache) = ZEND_MAP_PTR(((zend_internal_function *)zend_hash_str_find_ptr(&zend_ffi_ce->fun…
|