Lines Matching refs:properties

37 	object->properties = NULL;  in _zend_object_std_init()
53 if (object->properties) { in zend_object_dtor_dynamic_properties()
54 if (EXPECTED(!(GC_FLAGS(object->properties) & IS_ARRAY_IMMUTABLE))) { in zend_object_dtor_dynamic_properties()
55 if (EXPECTED(GC_DELREF(object->properties) == 0) in zend_object_dtor_dynamic_properties()
56 && EXPECTED(GC_TYPE(object->properties) != IS_NULL)) { in zend_object_dtor_dynamic_properties()
57 zend_array_destroy(object->properties); in zend_object_dtor_dynamic_properties()
244 } else if (old_object->properties && !has_clone_method) { in zend_objects_clone_members()
247 if (EXPECTED(!(GC_FLAGS(old_object->properties) & IS_ARRAY_IMMUTABLE))) { in zend_objects_clone_members()
248 GC_ADDREF(old_object->properties); in zend_objects_clone_members()
250 new_object->properties = old_object->properties; in zend_objects_clone_members()
255 if (old_object->properties && in zend_objects_clone_members()
256 EXPECTED(zend_hash_num_elements(old_object->properties))) { in zend_objects_clone_members()
261 if (!new_object->properties) { in zend_objects_clone_members()
262 new_object->properties = zend_new_array(zend_hash_num_elements(old_object->properties)); in zend_objects_clone_members()
263 zend_hash_real_init_mixed(new_object->properties); in zend_objects_clone_members()
265 …zend_hash_extend(new_object->properties, new_object->properties->nNumUsed + zend_hash_num_elements… in zend_objects_clone_members()
268 HT_FLAGS(new_object->properties) |= in zend_objects_clone_members()
269 HT_FLAGS(old_object->properties) & HASH_FLAG_HAS_EMPTY_IND; in zend_objects_clone_members()
271 ZEND_HASH_MAP_FOREACH_KEY_VAL(old_object->properties, num_key, key, prop) { in zend_objects_clone_members()
283 _zend_hash_append(new_object->properties, key, &new_prop); in zend_objects_clone_members()
285 zend_hash_index_add_new(new_object->properties, num_key, &new_prop); in zend_objects_clone_members()