/PHP-8.1/ext/session/ |
H A D | mod_mm.c | 111 uint32_t hv, slot; in ps_sd_new() local 125 slot = hv & data->hash_max; in ps_sd_new() 134 sd->next = data->hash[slot]; in ps_sd_new() 135 data->hash[slot] = sd; in ps_sd_new() 152 uint32_t slot; in ps_sd_destroy() local 156 if (data->hash[slot] == sd) { in ps_sd_destroy() 157 data->hash[slot] = sd->next; in ps_sd_destroy() 177 uint32_t hv, slot; in ps_sd_lookup() local 181 slot = hv & data->hash_max; in ps_sd_lookup() 195 ret->next = data->hash[slot]; in ps_sd_lookup() [all …]
|
/PHP-8.1/Zend/ |
H A D | zend_objects_API.h | 97 static inline zend_property_info *zend_get_property_info_for_slot(zend_object *obj, zval *slot) in zend_get_property_info_for_slot() argument 100 intptr_t prop_num = slot - obj->properties_table; in zend_get_property_info_for_slot() 106 …atic inline zend_property_info *zend_get_typed_property_info_for_slot(zend_object *obj, zval *slot) in zend_get_typed_property_info_for_slot() argument 108 zend_property_info *prop_info = zend_get_property_info_for_slot(obj, slot); in zend_get_typed_property_info_for_slot()
|
H A D | zend_execute.h | 408 slot[0] = (ce); \ 409 slot[1] = (ptr); \ 412 #define CACHED_PTR_EX(slot) \ argument 413 (slot)[0] 415 #define CACHE_PTR_EX(slot, ptr) do { \ argument 416 (slot)[0] = (ptr); \ 419 #define CACHED_POLYMORPHIC_PTR_EX(slot, ce) \ argument 420 (EXPECTED((slot)[0] == (ce)) ? (slot)[1] : NULL) 422 #define CACHE_POLYMORPHIC_PTR_EX(slot, ce, ptr) do { \ argument 423 (slot)[0] = (ce); \ [all …]
|
H A D | zend_object_handlers.c | 1095 zval *slot = OBJ_PROP(zobj, property_offset); in zend_std_unset_property() local 1097 if (Z_TYPE_P(slot) != IS_UNDEF) { in zend_std_unset_property() 1102 if (UNEXPECTED(Z_ISREF_P(slot)) && in zend_std_unset_property() 1103 (ZEND_DEBUG || ZEND_REF_HAS_TYPE_SOURCES(Z_REF_P(slot)))) { in zend_std_unset_property() 1105 ZEND_REF_DEL_TYPE_SOURCE(Z_REF_P(slot), prop_info); in zend_std_unset_property() 1109 ZVAL_COPY_VALUE(&tmp, slot); in zend_std_unset_property() 1110 ZVAL_UNDEF(slot); in zend_std_unset_property() 1117 if (UNEXPECTED(Z_PROP_FLAG_P(slot) == IS_PROP_UNINIT)) { in zend_std_unset_property() 1124 Z_PROP_FLAG_P(slot) = 0; in zend_std_unset_property()
|
H A D | zend_API.c | 1551 zval *slot = OBJ_PROP(object, property_info->offset); in object_properties_init_ex() local 1560 ZVAL_COPY_VALUE(slot, &tmp); in object_properties_init_ex() 1562 ZVAL_COPY_VALUE(slot, prop); in object_properties_init_ex() 1564 ZVAL_INDIRECT(prop, slot); in object_properties_init_ex() 1603 zval *slot = OBJ_PROP(object, property_info->offset); in object_properties_load() local 1604 zval_ptr_dtor(slot); in object_properties_load() 1605 ZVAL_COPY_VALUE(slot, prop); in object_properties_load() 1606 zval_add_ref(slot); in object_properties_load() 1608 ZVAL_INDIRECT(&tmp, slot); in object_properties_load()
|
H A D | zend_opcode.c | 1056 uint32_t slot = ZEND_MM_ALIGNED_SIZE_EX(op_array->cache_size, 8); in pass_two() local 1057 Z_CACHE_SLOT_P(val) = slot; in pass_two()
|
H A D | zend_execute.c | 3030 zend_object *obj, zval *slot) in zend_object_fetch_property_type_info() argument 3037 if (UNEXPECTED(slot < obj->properties_table || in zend_object_fetch_property_type_info() 3038 slot >= obj->properties_table + obj->ce->default_properties_count)) { in zend_object_fetch_property_type_info() 3042 return zend_get_typed_property_info_for_slot(obj, slot); in zend_object_fetch_property_type_info()
|
/PHP-8.1/Zend/tests/ |
H A D | assign_obj_op_cache_slot.phpt | 2 The ASSIGN_OBJ_OP cache slot is on the OP_DATA opcode
|
/PHP-8.1/ext/mbstring/ucgendat/ |
H A D | ucgendat.php | 630 $slot = hashInt($d, $k) % $tableSize; 631 if (isset($table[$slot]) || isset($used[$slot])) { 637 $used[$slot] = true; 663 $slot = $freeSlots[$freeIdx++]; 664 $table[$slot] = $elem; 667 $gTable[$g] = -$slot;
|
/PHP-8.1/Zend/tests/enum/ |
H A D | no-write-properties-cache-slot.phpt | 2 Readonly enum properties should not be writable via cache slot merging
|
/PHP-8.1/ext/opcache/tests/ |
H A D | bug81607.phpt | 13 // Child: Declare class FooBar {} to allocate CE cache slot.
|
/PHP-8.1/ext/gd/libgd/ |
H A D | gdft.c | 824 FT_GlyphSlot slot; local 890 slot = face->glyph; /* shortcut */ 1097 if (FT_Get_Glyph(slot, &image)) { 1112 glyph_bbox.xMax += slot->metrics.horiAdvance; 1137 penf.x += slot->metrics.horiAdvance; 1155 if (FT_Get_Glyph(slot, &image)) {
|
/PHP-8.1/Zend/tests/traits/ |
H A D | direct_static_member_access.phpt | 28 // Call twice to test cache slot behavior.
|
/PHP-8.1/ext/pcre/pcre2lib/ |
H A D | pcre2_study.c | 479 PCRE2_UCHAR *slot = in find_minlength() local 490 recno = GET2(slot, 0); in find_minlength() 535 slot += re->name_entry_size; in find_minlength()
|
H A D | pcre2_compile.c | 5227 PCRE2_UCHAR *slot = cb->name_table; in find_dupname_details() local 5234 slot[IMM2_SIZE+length] == 0) break; in find_dupname_details() 5235 slot += cb->name_entry_size; in find_dupname_details() 5257 groupnumber = GET2(slot,0); in find_dupname_details() 5261 slot += cb->name_entry_size; in find_dupname_details() 5263 (slot+IMM2_SIZE)[length] != 0) break; in find_dupname_details() 8794 PCRE2_UCHAR *slot = cb->name_table; in add_name_to_table() local 8809 (void)memmove(slot + cb->name_entry_size, slot, in add_name_to_table() 8816 slot += cb->name_entry_size; in add_name_to_table() 8819 PUT2(slot, 0, groupno); in add_name_to_table() [all …]
|
H A D | pcre2_match.c | 4699 PCRE2_SPTR slot = mb->name_table + GET2(Fecode, 1) * mb->name_entry_size; in match() local 4704 Loffset = (GET2(slot, 0) << 1) - 2; in match() 4706 slot += mb->name_entry_size; in match() 5348 PCRE2_SPTR slot = mb->name_table + GET2(Fecode, 1) * mb->name_entry_size; in match() local 5351 number = GET2(slot, 0); in match() 5354 slot += mb->name_entry_size; in match() 5367 PCRE2_SPTR slot = mb->name_table + GET2(Fecode, 1) * mb->name_entry_size; in match() local 5370 offset = (GET2(slot, 0) << 1) - 2; in match() 5373 slot += mb->name_entry_size; in match()
|
H A D | pcre2_jit_compile.c | 1071 PCRE2_SPTR slot; in check_opcode_types() local 1102 slot = bracketend(cc); in check_opcode_types() 1103 if (slot > assert_na_end) in check_opcode_types() 1104 assert_na_end = slot; in check_opcode_types() 1162 slot = bracketend(cc); in check_opcode_types() 1163 if (slot > assert_back_end) in check_opcode_types() 1164 assert_back_end = slot; in check_opcode_types() 9016 offset = GET2(slot, 0) << 1; in compile_dnref_search() 9019 slot += common->name_entry_size; in compile_dnref_search() 9022 offset = GET2(slot, 0) << 1; in compile_dnref_search() [all …]
|
/PHP-8.1/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 1962 zend_object *obj, zval *slot) in zend_object_fetch_property_type_info() argument 1969 if (UNEXPECTED(slot < obj->properties_table || in zend_object_fetch_property_type_info() 1970 slot >= obj->properties_table + obj->ce->default_properties_count)) { in zend_object_fetch_property_type_info() 1974 return zend_get_typed_property_info_for_slot(obj, slot); in zend_object_fetch_property_type_info()
|
H A D | zend_jit_x86.dasc | 48 |.define A6, [r4+0x28] // preallocated slot for 6-th argument 49 |.define A5, [r4+0x20] // preallocated slot for 5-th argument
|
/PHP-8.1/ext/standard/ |
H A D | var_unserializer.re | 687 /* Remember to which property this slot belongs, so we can add a
|