Home
last modified time | relevance | path

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

/php-src/Zend/tests/
H A Dgh10346.phpt2 GH-10346 (Observer: enum tryFrom() run_time_cache properly assigned)
/php-src/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.h449 ((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 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.c4266 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 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.c1625 ZEND_MAP_PTR_INIT(func->run_time_cache, (void**)dummy); in zend_get_call_trampoline_func()
H A Dzend_inheritance.c3292 ZEND_MAP_PTR_INIT(new_op_array->run_time_cache, NULL); in zend_lazy_method_load()
H A Dzend_vm_execute.h6752 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 Dzend_vm_def.h2106 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array);
9831 call->run_time_cache = RUN_TIME_CACHE(&hook->op_array);
H A Dzend_compile.c1253 ZEND_MAP_PTR_INIT(op_array->run_time_cache, NULL); in function_add_ref()
/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.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-src/ext/pdo/
H A Dpdo_dbh.c1313 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 Dzend_jit_ir.c2258 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 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-src/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-src/ext/ffi/
H A Dffi.c5438 ….run_time_cache) = ZEND_MAP_PTR(((zend_internal_function *)zend_hash_str_find_ptr(&zend_ffi_ce->fu…
5439run_time_cache) = ZEND_MAP_PTR(((zend_internal_function *)zend_hash_str_find_ptr(&zend_ffi_ce->fun…
5440run_time_cache) = ZEND_MAP_PTR(((zend_internal_function *)zend_hash_str_find_ptr(&zend_ffi_ce->fun…

Completed in 390 milliseconds