Home
last modified time | relevance | path

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

12

/PHP-8.3/ext/session/
H A Dmod_mm.c112 uint32_t hv, slot; in ps_sd_new() local
123 slot = hv & data->hash_max; in ps_sd_new()
132 sd->next = data->hash[slot]; in ps_sd_new()
133 data->hash[slot] = sd; in ps_sd_new()
150 uint32_t slot; in ps_sd_destroy() local
154 if (data->hash[slot] == sd) { in ps_sd_destroy()
155 data->hash[slot] = sd->next; in ps_sd_destroy()
176 uint32_t hv, slot; in ps_sd_lookup() local
180 slot = hv & data->hash_max; in ps_sd_lookup()
194 ret->next = data->hash[slot]; in ps_sd_lookup()
[all …]
/PHP-8.3/Zend/
H A Dzend_objects_API.h97 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 Dzend_execute.h443 slot[0] = (ce); \
444 slot[1] = (ptr); \
447 #define CACHED_PTR_EX(slot) \ argument
448 (slot)[0]
450 #define CACHE_PTR_EX(slot, ptr) do { \ argument
451 (slot)[0] = (ptr); \
454 #define CACHED_POLYMORPHIC_PTR_EX(slot, ce) \ argument
455 (EXPECTED((slot)[0] == (ce)) ? (slot)[1] : NULL)
457 #define CACHE_POLYMORPHIC_PTR_EX(slot, ce, ptr) do { \ argument
458 (slot)[0] = (ce); \
[all …]
H A Dzend_object_handlers.c1187 zval *slot = OBJ_PROP(zobj, property_offset); in zend_std_unset_property() local
1189 if (Z_TYPE_P(slot) != IS_UNDEF) { in zend_std_unset_property()
1191 if (Z_PROP_FLAG_P(slot) & IS_PROP_REINITABLE) { in zend_std_unset_property()
1192 Z_PROP_FLAG_P(slot) &= ~IS_PROP_REINITABLE; in zend_std_unset_property()
1198 if (UNEXPECTED(Z_ISREF_P(slot)) && in zend_std_unset_property()
1199 (ZEND_DEBUG || ZEND_REF_HAS_TYPE_SOURCES(Z_REF_P(slot)))) { in zend_std_unset_property()
1201 ZEND_REF_DEL_TYPE_SOURCE(Z_REF_P(slot), prop_info); in zend_std_unset_property()
1205 ZVAL_COPY_VALUE(&tmp, slot); in zend_std_unset_property()
1206 ZVAL_UNDEF(slot); in zend_std_unset_property()
1213 if (UNEXPECTED(Z_PROP_FLAG_P(slot) & IS_PROP_UNINIT)) { in zend_std_unset_property()
[all …]
H A Dzend_API.c1647 zval *slot = OBJ_PROP(object, property_info->offset); in object_properties_init_ex() local
1656 ZVAL_COPY_VALUE(slot, &tmp); in object_properties_init_ex()
1658 ZVAL_COPY_VALUE(slot, prop); in object_properties_init_ex()
1660 ZVAL_INDIRECT(prop, slot); in object_properties_init_ex()
1699 zval *slot = OBJ_PROP(object, property_info->offset); in object_properties_load() local
1700 zval_ptr_dtor(slot); in object_properties_load()
1701 ZVAL_COPY_VALUE(slot, prop); in object_properties_load()
1702 zval_add_ref(slot); in object_properties_load()
1704 ZVAL_INDIRECT(&tmp, slot); in object_properties_load()
H A Dzend_opcode.c1078 uint32_t slot = ZEND_MM_ALIGNED_SIZE_EX(op_array->cache_size, 8); in pass_two() local
1079 Z_CACHE_SLOT_P(val) = slot; in pass_two()
/PHP-8.3/Zend/tests/
H A Dassign_obj_op_cache_slot.phpt2 The ASSIGN_OBJ_OP cache slot is on the OP_DATA opcode
/PHP-8.3/Zend/tests/gh10168/
H A Dassign_prop.phpt24 // Second call tests the cache slot path
H A Dassign_untyped_prop.phpt24 // Second call tests the cache slot path
H A Dassign_prop_ref.phpt25 // Second call tests the cache slot path
H A Dassign_untyped_prop_ref.phpt25 // Second call tests the cache slot path
H A Dassign_prop_ref_with_prop_ref.phpt28 // Second call tests the cache slot path
H A Dassign_prop_with_prop_ref.phpt27 // Second call tests the cache slot path
H A Dassign_untyped_prop_ref_with_prop_ref.phpt28 // Second call tests the cache slot path
H A Dassign_untyped_prop_with_prop_ref.phpt27 // Second call tests the cache slot path
/PHP-8.3/Zend/tests/readonly_props/
H A Dreadonly_clone_success3.phpt18 // First call fills the cache slot
/PHP-8.3/ext/mbstring/ucgendat/
H A Ducgendat.php630 $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.3/Zend/tests/enum/
H A Dno-write-properties-cache-slot.phpt2 Readonly enum properties should not be writable via cache slot merging
/PHP-8.3/ext/opcache/tests/
H A Dbug81607.phpt13 // Child: Declare class FooBar {} to allocate CE cache slot.
/PHP-8.3/ext/gd/libgd/
H A Dgdft.c834 FT_GlyphSlot slot; local
900 slot = face->glyph; /* shortcut */
1107 if (FT_Get_Glyph(slot, &image)) {
1122 glyph_bbox.xMax += slot->metrics.horiAdvance;
1147 penf.x += slot->metrics.horiAdvance;
1165 if (FT_Get_Glyph(slot, &image)) {
/PHP-8.3/Zend/tests/traits/
H A Ddirect_static_member_access.phpt28 // Call twice to test cache slot behavior.
/PHP-8.3/ext/pcre/pcre2lib/
H A Dpcre2_study.c479 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 Dpcre2_compile.c5314 PCRE2_UCHAR *slot = cb->name_table; in find_dupname_details() local
5321 slot[IMM2_SIZE+length] == 0) break; in find_dupname_details()
5322 slot += cb->name_entry_size; in find_dupname_details()
5344 groupnumber = GET2(slot,0); in find_dupname_details()
5348 slot += cb->name_entry_size; in find_dupname_details()
5350 (slot+IMM2_SIZE)[length] != 0) break; in find_dupname_details()
8888 PCRE2_UCHAR *slot = cb->name_table; in add_name_to_table() local
8903 (void)memmove(slot + cb->name_entry_size, slot, in add_name_to_table()
8910 slot += cb->name_entry_size; in add_name_to_table()
8913 PUT2(slot, 0, groupno); in add_name_to_table()
[all …]
H A Dpcre2_match.c4906 PCRE2_SPTR slot = mb->name_table + GET2(Fecode, 1) * mb->name_entry_size; in match() local
4911 Loffset = (GET2(slot, 0) << 1) - 2; in match()
4913 slot += mb->name_entry_size; in match()
5555 PCRE2_SPTR slot = mb->name_table + GET2(Fecode, 1) * mb->name_entry_size; in match() local
5558 number = GET2(slot, 0); in match()
5561 slot += mb->name_entry_size; in match()
5574 PCRE2_SPTR slot = mb->name_table + GET2(Fecode, 1) * mb->name_entry_size; in match() local
5577 offset = (GET2(slot, 0) << 1) - 2; in match()
5580 slot += mb->name_entry_size; in match()
H A Dpcre2_jit_compile.c1076 PCRE2_SPTR slot; in check_opcode_types() local
1107 slot = bracketend(cc); in check_opcode_types()
1108 if (slot > assert_na_end) in check_opcode_types()
1109 assert_na_end = slot; in check_opcode_types()
1167 slot = bracketend(cc); in check_opcode_types()
1168 if (slot > assert_back_end) in check_opcode_types()
1169 assert_back_end = slot; in check_opcode_types()
9247 offset = GET2(slot, 0) << 1; in compile_dnref_search()
9250 slot += common->name_entry_size; in compile_dnref_search()
9253 offset = GET2(slot, 0) << 1; in compile_dnref_search()
[all …]

Completed in 127 milliseconds

12