Home
last modified time | relevance | path

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

12

/php-src/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-src/Zend/
H A Dzend_objects_API.h99 static inline zend_property_info *zend_get_property_info_for_slot(zend_object *obj, zval *slot) in zend_get_property_info_for_slot() argument
102 intptr_t prop_num = slot - obj->properties_table; in zend_get_property_info_for_slot()
108 …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
110 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.h455 slot[0] = (ce); \
456 slot[1] = (ptr); \
459 #define CACHED_PTR_EX(slot) \ argument
460 (slot)[0]
462 #define CACHE_PTR_EX(slot, ptr) do { \ argument
463 (slot)[0] = (ptr); \
466 #define CACHED_POLYMORPHIC_PTR_EX(slot, ce) \ argument
467 (EXPECTED((slot)[0] == (ce)) ? (slot)[1] : NULL)
469 #define CACHE_POLYMORPHIC_PTR_EX(slot, ce, ptr) do { \ argument
470 (slot)[0] = (ce); \
[all …]
H A Dzend_object_handlers.c1183 zval *slot = OBJ_PROP(zobj, property_offset); in zend_std_unset_property() local
1185 if (Z_TYPE_P(slot) != IS_UNDEF) { in zend_std_unset_property()
1187 if (Z_PROP_FLAG_P(slot) & IS_PROP_REINITABLE) { in zend_std_unset_property()
1188 Z_PROP_FLAG_P(slot) &= ~IS_PROP_REINITABLE; in zend_std_unset_property()
1194 if (UNEXPECTED(Z_ISREF_P(slot)) && in zend_std_unset_property()
1195 (ZEND_DEBUG || ZEND_REF_HAS_TYPE_SOURCES(Z_REF_P(slot)))) { in zend_std_unset_property()
1197 ZEND_REF_DEL_TYPE_SOURCE(Z_REF_P(slot), prop_info); in zend_std_unset_property()
1201 ZVAL_COPY_VALUE(&tmp, slot); in zend_std_unset_property()
1202 ZVAL_UNDEF(slot); in zend_std_unset_property()
1209 if (UNEXPECTED(Z_PROP_FLAG_P(slot) & IS_PROP_UNINIT)) { in zend_std_unset_property()
[all …]
H A Dzend_API.c1697 zval *slot = OBJ_PROP(object, property_info->offset); in object_properties_init_ex() local
1706 ZVAL_COPY_VALUE(slot, &tmp); in object_properties_init_ex()
1708 ZVAL_COPY_VALUE(slot, prop); in object_properties_init_ex()
1710 ZVAL_INDIRECT(prop, slot); in object_properties_init_ex()
1749 zval *slot = OBJ_PROP(object, property_info->offset); in object_properties_load() local
1750 zval_ptr_dtor(slot); in object_properties_load()
1751 ZVAL_COPY_VALUE(slot, prop); in object_properties_load()
1752 zval_add_ref(slot); in object_properties_load()
1754 ZVAL_INDIRECT(&tmp, slot); in object_properties_load()
H A Dzend_opcode.c1087 uint32_t slot = ZEND_MM_ALIGNED_SIZE_EX(op_array->cache_size, 8); in pass_two() local
1088 Z_CACHE_SLOT_P(val) = slot; in pass_two()
/php-src/Zend/tests/
H A Dassign_obj_op_cache_slot.phpt2 The ASSIGN_OBJ_OP cache slot is on the OP_DATA opcode
/php-src/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-src/Zend/tests/readonly_props/
H A Dreadonly_clone_success3.phpt18 // First call fills the cache slot
/php-src/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-src/Zend/tests/enum/
H A Dno-write-properties-cache-slot.phpt2 Readonly enum properties should not be writable via cache slot merging
/php-src/ext/opcache/tests/
H A Dbug81607.phpt13 // Child: Declare class FooBar {} to allocate CE cache slot.
/php-src/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-src/Zend/tests/traits/
H A Ddirect_static_member_access.phpt28 // Call twice to test cache slot behavior.
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_study.c482 PCRE2_UCHAR *slot = in find_minlength() local
493 recno = GET2(slot, 0); in find_minlength()
538 slot += re->name_entry_size; in find_minlength()
H A Dpcre2_compile.c5558 PCRE2_UCHAR *slot = cb->name_table; in find_dupname_details() local
5565 slot[IMM2_SIZE+length] == 0) break; in find_dupname_details()
5566 slot += cb->name_entry_size; in find_dupname_details()
5588 groupnumber = GET2(slot,0); in find_dupname_details()
5592 slot += cb->name_entry_size; in find_dupname_details()
5594 (slot+IMM2_SIZE)[length] != 0) break; in find_dupname_details()
9183 PCRE2_UCHAR *slot = cb->name_table; in add_name_to_table() local
9198 (void)memmove(slot + cb->name_entry_size, slot, in add_name_to_table()
9205 slot += cb->name_entry_size; in add_name_to_table()
9208 PUT2(slot, 0, groupno); in add_name_to_table()
[all …]
H A Dpcre2_match.c4999 PCRE2_SPTR slot = mb->name_table + GET2(Fecode, 1) * mb->name_entry_size; in match() local
5004 Loffset = (GET2(slot, 0) << 1) - 2; in match()
5006 slot += mb->name_entry_size; in match()
5657 PCRE2_SPTR slot = mb->name_table + GET2(Fecode, 1) * mb->name_entry_size; in match() local
5660 number = GET2(slot, 0); in match()
5663 slot += mb->name_entry_size; in match()
5676 PCRE2_SPTR slot = mb->name_table + GET2(Fecode, 1) * mb->name_entry_size; in match() local
5679 offset = (GET2(slot, 0) << 1) - 2; in match()
5682 slot += mb->name_entry_size; in match()
/php-src/
H A DUPGRADING.INTERNALS86 for internal functions. If you need a cache slot for both internal and user
87 functions, you may obtain a slot for each through the corresponding function.

Completed in 150 milliseconds

12