Lines Matching refs:properties

63 	if (!zobj->properties) {  in rebuild_object_properties()
68 zobj->properties = zend_new_array(ce->default_properties_count); in rebuild_object_properties()
70 zend_hash_real_init_mixed(zobj->properties); in rebuild_object_properties()
79 HT_FLAGS(zobj->properties) |= HASH_FLAG_HAS_EMPTY_IND; in rebuild_object_properties()
82 _zend_hash_append_ind(zobj->properties, prop_info->name, in rebuild_object_properties()
98 ZEND_ASSERT(!zobj->properties); in zend_std_build_object_properties_array()
128 if (!zobj->properties) { in zend_std_get_properties()
131 return zobj->properties; in zend_std_get_properties()
142 if (zobj->properties) { in zend_std_get_gc()
145 return zobj->properties; in zend_std_get_gc()
623 if (EXPECTED(zobj->properties != NULL)) { in zend_std_read_property()
627 if (EXPECTED(idx < zobj->properties->nNumUsed * sizeof(Bucket))) { in zend_std_read_property()
628 Bucket *p = (Bucket*)((char*)zobj->properties->arData + idx); in zend_std_read_property()
641 retval = zend_hash_find(zobj->properties, name); in zend_std_read_property()
644 uintptr_t idx = (char*)retval - (char*)zobj->properties->arData; in zend_std_read_property()
822 if (EXPECTED(zobj->properties != NULL)) { in zend_std_write_property()
823 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { in zend_std_write_property()
824 if (EXPECTED(!(GC_FLAGS(zobj->properties) & IS_ARRAY_IMMUTABLE))) { in zend_std_write_property()
825 GC_DELREF(zobj->properties); in zend_std_write_property()
827 zobj->properties = zend_array_dup(zobj->properties); in zend_std_write_property()
829 if ((variable_ptr = zend_hash_find(zobj->properties, name)) != NULL) { in zend_std_write_property()
893 if (!zobj->properties) { in zend_std_write_property()
896 variable_ptr = zend_hash_add_new(zobj->properties, name, value); in zend_std_write_property()
1052 if (EXPECTED(zobj->properties)) { in zend_std_get_property_ptr_ptr()
1053 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { in zend_std_get_property_ptr_ptr()
1054 if (EXPECTED(!(GC_FLAGS(zobj->properties) & IS_ARRAY_IMMUTABLE))) { in zend_std_get_property_ptr_ptr()
1055 GC_DELREF(zobj->properties); in zend_std_get_property_ptr_ptr()
1057 zobj->properties = zend_array_dup(zobj->properties); in zend_std_get_property_ptr_ptr()
1059 if (EXPECTED((retval = zend_hash_find(zobj->properties, name)) != NULL)) { in zend_std_get_property_ptr_ptr()
1069 if (UNEXPECTED(!zobj->properties)) { in zend_std_get_property_ptr_ptr()
1072 retval = zend_hash_update(zobj->properties, name, &EG(uninitialized_zval)); in zend_std_get_property_ptr_ptr()
1112 if (zobj->properties) { in zend_std_unset_property()
1113 HT_FLAGS(zobj->properties) |= HASH_FLAG_HAS_EMPTY_IND; in zend_std_unset_property()
1128 && EXPECTED(zobj->properties != NULL)) { in zend_std_unset_property()
1129 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { in zend_std_unset_property()
1130 if (EXPECTED(!(GC_FLAGS(zobj->properties) & IS_ARRAY_IMMUTABLE))) { in zend_std_unset_property()
1131 GC_DELREF(zobj->properties); in zend_std_unset_property()
1133 zobj->properties = zend_array_dup(zobj->properties); in zend_std_unset_property()
1135 if (EXPECTED(zend_hash_del(zobj->properties, name) != FAILURE)) { in zend_std_unset_property()
1664 if (!zobj1->properties && !zobj2->properties) { in zend_std_compare_objects()
1718 if (!zobj1->properties) { in zend_std_compare_objects()
1721 if (!zobj2->properties) { in zend_std_compare_objects()
1724 return zend_compare_symbol_tables(zobj1->properties, zobj2->properties); in zend_std_compare_objects()
1755 if (EXPECTED(zobj->properties != NULL)) { in zend_std_has_property()
1759 if (EXPECTED(idx < zobj->properties->nNumUsed * sizeof(Bucket))) { in zend_std_has_property()
1760 Bucket *p = (Bucket*)((char*)zobj->properties->arData + idx); in zend_std_has_property()
1773 value = zend_hash_find(zobj->properties, name); in zend_std_has_property()
1776 uintptr_t idx = (char*)value - (char*)zobj->properties->arData; in zend_std_has_property()