Lines Matching refs:properties

75 	if (!zobj->properties) {  in rebuild_object_properties()
79 ALLOC_HASHTABLE(zobj->properties); in rebuild_object_properties()
80 zend_hash_init(zobj->properties, ce->default_properties_count, NULL, ZVAL_PTR_DTOR, 0); in rebuild_object_properties()
82 zend_hash_real_init(zobj->properties, 0); in rebuild_object_properties()
83 zobj->properties->nInternalPointer = 0; in rebuild_object_properties()
89 zobj->properties->u.v.flags |= HASH_FLAG_HAS_EMPTY_IND; in rebuild_object_properties()
92 _zend_hash_append_ind(zobj->properties, prop_info->name, in rebuild_object_properties()
105 zobj->properties->u.v.flags |= HASH_FLAG_HAS_EMPTY_IND; in rebuild_object_properties()
109 zend_hash_add(zobj->properties, prop_info->name, &zv); in rebuild_object_properties()
122 if (!zobj->properties) { in zend_std_get_properties()
125 return zobj->properties; in zend_std_get_properties()
138 if (zobj->properties) { in zend_std_get_gc()
141 return zobj->properties; in zend_std_get_gc()
604 } else if (EXPECTED(zobj->properties != NULL)) { in zend_std_read_property()
605 retval = zend_hash_find(zobj->properties, Z_STR_P(member)); in zend_std_read_property()
719 } else if (EXPECTED(zobj->properties != NULL)) { in zend_std_write_property()
720 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { in zend_std_write_property()
721 if (EXPECTED(!(GC_FLAGS(zobj->properties) & IS_ARRAY_IMMUTABLE))) { in zend_std_write_property()
722 GC_REFCOUNT(zobj->properties)--; in zend_std_write_property()
724 zobj->properties = zend_array_dup(zobj->properties); in zend_std_write_property()
726 if ((variable_ptr = zend_hash_find(zobj->properties, Z_STR_P(member))) != NULL) { in zend_std_write_property()
774 if (!zobj->properties) { in zend_std_write_property()
777 zend_hash_add_new(zobj->properties, Z_STR_P(member), value); in zend_std_write_property()
932 if (EXPECTED(zobj->properties)) { in zend_std_get_property_ptr_ptr()
933 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { in zend_std_get_property_ptr_ptr()
934 if (EXPECTED(!(GC_FLAGS(zobj->properties) & IS_ARRAY_IMMUTABLE))) { in zend_std_get_property_ptr_ptr()
935 GC_REFCOUNT(zobj->properties)--; in zend_std_get_property_ptr_ptr()
937 zobj->properties = zend_array_dup(zobj->properties); in zend_std_get_property_ptr_ptr()
939 if (EXPECTED((retval = zend_hash_find(zobj->properties, name)) != NULL)) { in zend_std_get_property_ptr_ptr()
948 if (UNEXPECTED(!zobj->properties)) { in zend_std_get_property_ptr_ptr()
951 retval = zend_hash_update(zobj->properties, name, &EG(uninitialized_zval)); in zend_std_get_property_ptr_ptr()
992 if (zobj->properties) { in zend_std_unset_property()
993 zobj->properties->u.v.flags |= HASH_FLAG_HAS_EMPTY_IND; in zend_std_unset_property()
997 } else if (EXPECTED(zobj->properties != NULL)) { in zend_std_unset_property()
998 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { in zend_std_unset_property()
999 if (EXPECTED(!(GC_FLAGS(zobj->properties) & IS_ARRAY_IMMUTABLE))) { in zend_std_unset_property()
1000 GC_REFCOUNT(zobj->properties)--; in zend_std_unset_property()
1002 zobj->properties = zend_array_dup(zobj->properties); in zend_std_unset_property()
1004 if (EXPECTED(zend_hash_del(zobj->properties, Z_STR_P(member)) != FAILURE)) { in zend_std_unset_property()
1492 if (!zobj1->properties && !zobj2->properties) { in zend_std_compare_objects()
1537 if (!zobj1->properties) { in zend_std_compare_objects()
1540 if (!zobj2->properties) { in zend_std_compare_objects()
1543 return zend_compare_symbol_tables(zobj1->properties, zobj2->properties); in zend_std_compare_objects()
1573 } else if (EXPECTED(zobj->properties != NULL) && in zend_std_has_property()
1574 (value = zend_hash_find(zobj->properties, Z_STR_P(member))) != NULL) { in zend_std_has_property()