/php-src/Zend/ |
H A D | zend_objects_API.h | 101 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 D | zend_execute.h | 465 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 D | zend_lazy_objects.h | 79 …_API zend_property_info *zend_lazy_object_get_property_info_for_slot(zend_object *obj, zval *slot);
|
H A D | zend_object_handlers.c | 1423 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 D | zend_alloc.c | 1297 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 D | zend_lazy_objects.c | 802 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 D | mod_mm.c | 112 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 D | assign_obj_op_cache_slot.phpt | 2 The ASSIGN_OBJ_OP cache slot is on the OP_DATA opcode
|
/php-src/Zend/tests/gh10168/ |
H A D | assign_prop.phpt | 24 // Second call tests the cache slot path
|
H A D | assign_untyped_prop.phpt | 24 // Second call tests the cache slot path
|
H A D | assign_prop_ref.phpt | 25 // Second call tests the cache slot path
|
H A D | assign_untyped_prop_ref.phpt | 25 // Second call tests the cache slot path
|
H A D | assign_prop_ref_with_prop_ref.phpt | 28 // Second call tests the cache slot path
|
H A D | assign_prop_with_prop_ref.phpt | 27 // Second call tests the cache slot path
|
H A D | assign_untyped_prop_ref_with_prop_ref.phpt | 28 // Second call tests the cache slot path
|
H A D | assign_untyped_prop_with_prop_ref.phpt | 27 // Second call tests the cache slot path
|
/php-src/ext/mbstring/ucgendat/ |
H A D | ucgendat.php | 638 $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 D | no-write-properties-cache-slot.phpt | 2 Readonly enum properties should not be writable via cache slot merging
|
/php-src/ext/opcache/tests/ |
H A D | bug81607.phpt | 13 // Child: Declare class FooBar {} to allocate CE cache slot.
|
/php-src/Zend/tests/readonly_props/ |
H A D | readonly_clone_error7.phpt | 18 // First call fills the cache slot
|
/php-src/ext/xmlreader/tests/ |
H A D | cache_slot.phpt | 2 Cache slot test
|
/php-src/ext/dom/tests/ |
H A D | gh15670.phpt | 2 GH-15670 (Polymorphic cache slot issue in DOM)
|
/php-src/ext/gd/libgd/ |
H A D | gdft.c | 834 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 D | direct_static_member_access.phpt | 28 // Call twice to test cache slot behavior.
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_study.c | 482 PCRE2_UCHAR *slot = in find_minlength() local 493 recno = GET2(slot, 0); in find_minlength() 538 slot += re->name_entry_size; in find_minlength()
|