Home
last modified time | relevance | path

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

/PHP-8.4/Zend/tests/
H A Dgh10346.phpt2 GH-10346 (Observer: enum tryFrom() run_time_cache properly assigned)
/PHP-8.4/Zend/
H A Dzend_extensions.c342 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 Dzend_execute.h447 ((void**)((char*)EX(run_time_cache) + (num)))
450 ((void**)((char*)EX(run_time_cache) + (num)))[0]
453 ((void**)((char*)EX(run_time_cache) + (num)))[0] = (ptr); \
457 (EXPECTED(((void**)((char*)EX(run_time_cache) + (num)))[0] == (void*)(ce)) ? \
458 ((void**)((char*)EX(run_time_cache) + (num)))[1] : \
462 void **slot = (void**)((char*)EX(run_time_cache) + (num)); \
H A Dzend_compile.h515 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 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_observer.h98 void *ZEND_MAP_PTR(runtime_cache) = ZEND_MAP_PTR(function->common.run_time_cache); in zend_observer_fcall_has_no_observers()
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()
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 Dzend_opcode.c94 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 Dzend_execute.c4223 EX(run_time_cache) = RUN_TIME_CACHE(op_array); in i_init_func_execute_data()
4231 void **run_time_cache; in init_func_run_time_cache_i() local
4234 run_time_cache = zend_arena_alloc(&CG(arena), op_array->cache_size); in init_func_run_time_cache_i()
4235 memset(run_time_cache, 0, op_array->cache_size); in init_func_run_time_cache_i()
4236 ZEND_MAP_PTR_SET(op_array->run_time_cache, run_time_cache); in init_func_run_time_cache_i()
4295 if (!ZEND_MAP_PTR(op_array->run_time_cache)) { in i_init_code_execute_data()
4300 ZEND_MAP_PTR_INIT(op_array->run_time_cache, ptr); in i_init_code_execute_data()
4303 EX(run_time_cache) = RUN_TIME_CACHE(op_array); in i_init_code_execute_data()
5382 void *run_time_cache = RUN_TIME_CACHE(op_array); in zend_handle_undef_args() local
5384 (zval *) ((char *) run_time_cache + Z_CACHE_SLOT_P(default_value)); in zend_handle_undef_args()
H A Dzend_API.c2958 …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 Dzend_object_handlers.c1622 ZEND_MAP_PTR_INIT(func->run_time_cache, (void**)dummy); in zend_get_call_trampoline_func()
H A Dzend_inheritance.c3275 ZEND_MAP_PTR_INIT(new_op_array->run_time_cache, NULL); in zend_lazy_method_load()
H A Dzend_vm_execute.h6741 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array); in ZEND_FETCH_OBJ_R_SPEC_CONST_CONST_HANDLER()
9305 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array); in ZEND_FETCH_OBJ_R_SPEC_CONST_TMPVAR_HANDLER()
11515 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array); in ZEND_INIT_PARENT_PROPERTY_HOOK_CALL_SPEC_CONST_UNUSED_HANDLER()
11787 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array); in ZEND_FETCH_OBJ_R_SPEC_CONST_CV_HANDLER()
16209 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array); in ZEND_FETCH_OBJ_R_SPEC_TMPVAR_CONST_HANDLER()
17702 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array); in ZEND_FETCH_OBJ_R_SPEC_TMPVAR_TMPVAR_HANDLER()
19109 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array); in ZEND_FETCH_OBJ_R_SPEC_TMPVAR_CV_HANDLER()
33778 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array); in ZEND_FETCH_OBJ_R_SPEC_UNUSED_CONST_INLINE_HANDLER()
35951 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array); in ZEND_FETCH_OBJ_R_SPEC_UNUSED_TMPVAR_HANDLER()
38597 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array); in ZEND_FETCH_OBJ_R_SPEC_UNUSED_CV_HANDLER()
[all …]
H A Dzend_vm_def.h2099 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array);
9813 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array);
H A Dzend_compile.c1258 ZEND_MAP_PTR_INIT(op_array->run_time_cache, NULL); in function_add_ref()
/PHP-8.4/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.c692 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 Dzend_file_cache.c467 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-8.4/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-8.4/ext/xmlreader/
H A Dphp_xmlreader.c1332run_time_cache) = ZEND_MAP_PTR(((zend_internal_function *)zend_hash_str_find_ptr(&xmlreader_class_… in xmlreader_fixup_temporaries()
1333run_time_cache) = ZEND_MAP_PTR(((zend_internal_function *)zend_hash_str_find_ptr(&xmlreader_class_… in xmlreader_fixup_temporaries()
/PHP-8.4/ext/opcache/jit/
H A Dzend_jit_ir.c2255 run_time_cache = ir_LOAD_A(jit_EX(run_time_cache)); in zend_jit_hybrid_profile_jit_stub()
4564 run_time_cache = ir_LOAD_A(jit_CALL(rx, run_time_cache)); in jit_observer_fcall_is_unobserved_start()
8918 run_time_cache = ir_LOAD_A(jit_EX(run_time_cache));
9890 run_time_cache = ir_LOAD_A(jit_EX(run_time_cache));
9918 ir_STORE(jit_CALL(rx, run_time_cache), run_time_cache);
13963 ir_ref run_time_cache = ir_LOAD_A(jit_EX(run_time_cache)); local
14471 ir_ref run_time_cache = ir_LOAD_A(jit_EX(run_time_cache)); local
14666 ir_ref run_time_cache = ir_LOAD_A(jit_EX(run_time_cache)); local
14826 ir_ref run_time_cache = ir_LOAD_A(jit_EX(run_time_cache)); local
15098 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.c248 ++*(uintptr_t*)(EX(run_time_cache) + zend_jit_profile_counter_rid); in zend_jit_profile_helper()
/PHP-8.4/ext/ffi/
H A Dffi.c5403 ….run_time_cache) = ZEND_MAP_PTR(((zend_internal_function *)zend_hash_str_find_ptr(&zend_ffi_ce->fu…
5404run_time_cache) = ZEND_MAP_PTR(((zend_internal_function *)zend_hash_str_find_ptr(&zend_ffi_ce->fun…
5405run_time_cache) = ZEND_MAP_PTR(((zend_internal_function *)zend_hash_str_find_ptr(&zend_ffi_ce->fun…
/PHP-8.4/
H A DUPGRADING.INTERNALS88 zend_get_op_array_extension_handle[s]() when registering run_time_cache slots

Completed in 513 milliseconds