Lines Matching defs:hash
756 Object SetHashAndUpdateProperties(HeapObject properties, int hash) {
757 DCHECK_NE(PropertyArray::kNoHashSentinel, hash);
758 DCHECK(PropertyArray::HashField::is_valid(hash));
765 return Smi::FromInt(hash);
769 PropertyArray::cast(properties).SetHash(hash);
775 GlobalDictionary::cast(properties).SetHash(hash);
781 SwissNameDictionary::cast(properties).SetHash(hash);
784 NameDictionary::cast(properties).SetHash(hash);
824 void JSReceiver::SetIdentityHash(int hash) {
826 DCHECK_NE(PropertyArray::kNoHashSentinel, hash);
827 DCHECK(PropertyArray::HashField::is_valid(hash));
830 Object new_properties = SetHashAndUpdateProperties(existing_properties, hash);
839 int hash = GetIdentityHashHelper(*this);
844 if (hash != PropertyArray::kNoHashSentinel) {
845 new_properties = SetHashAndUpdateProperties(properties, hash);
854 int hash = GetIdentityHashHelper(*this);
855 if (hash == PropertyArray::kNoHashSentinel) {
859 return Smi::FromInt(hash);
865 int hash = isolate->GenerateIdentityHash(PropertyArray::HashField::kMax);
866 DCHECK_NE(PropertyArray::kNoHashSentinel, hash);
868 key.SetIdentityHash(hash);
869 return Smi::FromInt(hash);
875 int hash = GetIdentityHashHelper(*this);
876 if (hash != PropertyArray::kNoHashSentinel) {
877 return Smi::FromInt(hash);
2658 uint32_t hash = name->hash();
2665 InternalIndex entry = dictionary->FindEntry(isolate, roots, name, hash);