Lines Matching refs:hash
8 #include "src/objects/ordered-hash-table.h"
23 #include "torque-generated/src/objects/ordered-hash-table-tq-inl.inc"
224 inline void SmallOrderedNameDictionary::SetHash(int hash) {
225 DCHECK(PropertyArray::HashField::is_valid(hash));
226 WriteField<int>(PrefixOffset(), hash);
230 int hash = ReadField<int>(PrefixOffset());
231 DCHECK(PropertyArray::HashField::is_valid(hash));
232 return hash;
235 inline void OrderedNameDictionary::SetHash(int hash) {
236 DCHECK(PropertyArray::HashField::is_valid(hash));
237 this->set(HashIndex(), Smi::FromInt(hash));
242 int hash = Smi::ToInt(hash_obj);
243 DCHECK(PropertyArray::HashField::is_valid(hash));
244 return hash;