Home
last modified time | relevance | path

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

12

/php-src/Zend/
H A Dzend_objects_API.h101 static inline zend_property_info *zend_get_property_info_for_slot_self(zend_object *obj, zval *slot) in zend_get_property_info_for_slot_self() argument
104 intptr_t prop_num = slot - obj->properties_table; in zend_get_property_info_for_slot_self()
109 static inline zend_property_info *zend_get_property_info_for_slot(zend_object *obj, zval *slot) in zend_get_property_info_for_slot() argument
112 return zend_lazy_object_get_property_info_for_slot(obj, slot); in zend_get_property_info_for_slot()
115 intptr_t prop_num = slot - obj->properties_table; in zend_get_property_info_for_slot()
121 …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
123 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.h465 slot[0] = (ce); \
466 slot[1] = (ptr); \
469 #define CACHED_PTR_EX(slot) \ argument
470 (slot)[0]
472 #define CACHE_PTR_EX(slot, ptr) do { \ argument
473 (slot)[0] = (ptr); \
476 #define CACHED_POLYMORPHIC_PTR_EX(slot, ce) \ argument
477 (EXPECTED((slot)[0] == (ce)) ? (slot)[1] : NULL)
479 #define CACHE_POLYMORPHIC_PTR_EX(slot, ce, ptr) do { \ argument
480 (slot)[0] = (ce); \
[all …]
H A Dzend_lazy_objects.h79 …_API zend_property_info *zend_lazy_object_get_property_info_for_slot(zend_object *obj, zval *slot);
H A Dzend_object_handlers.c1423 zval *slot = OBJ_PROP(zobj, property_offset); in zend_std_unset_property() local
1427 if (Z_TYPE_P(slot) != IS_UNDEF || Z_PROP_FLAG_P(slot) & IS_PROP_UNINIT || !zobj->ce->__unset) { in zend_std_unset_property()
1435 && Z_TYPE_P(slot) != IS_UNDEF in zend_std_unset_property()
1436 && !(Z_PROP_FLAG_P(slot) & IS_PROP_REINITABLE)) { in zend_std_unset_property()
1447 if (Z_TYPE_P(slot) != IS_UNDEF) { in zend_std_unset_property()
1448 if (UNEXPECTED(Z_ISREF_P(slot)) && in zend_std_unset_property()
1451 ZEND_REF_DEL_TYPE_SOURCE(Z_REF_P(slot), prop_info); in zend_std_unset_property()
1455 ZVAL_COPY_VALUE(&tmp, slot); in zend_std_unset_property()
1456 ZVAL_UNDEF(slot); in zend_std_unset_property()
1463 if (UNEXPECTED(Z_PROP_FLAG_P(slot) & IS_PROP_UNINIT)) { in zend_std_unset_property()
[all …]
H A Dzend_alloc.c1297 return (zend_mm_free_slot*)(((uintptr_t)slot) ^ heap->shadow_key);
1299 return (zend_mm_free_slot*)(BSWAPPTR((uintptr_t)slot) ^ heap->shadow_key);
1306 return (zend_mm_free_slot*)((uintptr_t)slot ^ heap->shadow_key);
1308 return (zend_mm_free_slot*)(BSWAPPTR((uintptr_t)slot ^ heap->shadow_key));
1316 slot->next_free_slot = next;
1317 ZEND_MM_FREE_SLOT_PTR_SHADOW(slot, bin_num) = zend_mm_encode_free_slot(heap, next);
1322 zend_mm_free_slot *next = slot->next_free_slot;
1324 zend_mm_free_slot *shadow = ZEND_MM_FREE_SLOT_PTR_SHADOW(slot, bin_num);
1333 # define zend_mm_set_next_free_slot(heap, bin_num, slot, next) do { \ argument
1334 (slot)->next_free_slot = (next); \
[all …]
H A Dzend_lazy_objects.c802 zend_property_info *zend_lazy_object_get_property_info_for_slot(zend_object *obj, zval *slot) in zend_lazy_object_get_property_info_for_slot() argument
807 intptr_t prop_num = slot - obj->properties_table; in zend_lazy_object_get_property_info_for_slot()
817 return zend_get_property_info_for_slot(obj, slot); in zend_lazy_object_get_property_info_for_slot()
/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/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/ext/mbstring/ucgendat/
H A Ducgendat.php638 $slot = hashInt($d, $k) % $tableSize;
639 if (isset($table[$slot]) || isset($used[$slot])) {
645 $used[$slot] = true;
671 $slot = $freeSlots[$freeIdx++];
672 $table[$slot] = $elem;
675 $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/Zend/tests/readonly_props/
H A Dreadonly_clone_error7.phpt18 // First call fills the cache slot
/php-src/ext/xmlreader/tests/
H A Dcache_slot.phpt2 Cache slot test
/php-src/ext/dom/tests/
H A Dgh15670.phpt2 GH-15670 (Polymorphic cache slot issue in DOM)
/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()

Completed in 48 milliseconds

12