Home
last modified time | relevance | path

Searched refs:raw_hash_field (Results 1 - 17 of 17) sorted by relevance

/third_party/node/deps/v8/src/objects/
H A Dname-inl.h87 bool Name::IsHashFieldComputed(uint32_t raw_hash_field) { in IsHashFieldComputed() argument
88 return (raw_hash_field & kHashNotComputedMask) == 0; in IsHashFieldComputed()
91 bool Name::IsHash(uint32_t raw_hash_field) { in IsHash() argument
92 return HashFieldTypeBits::decode(raw_hash_field) == HashFieldType::kHash; in IsHash()
95 bool Name::IsIntegerIndex(uint32_t raw_hash_field) { in IsIntegerIndex() argument
96 return HashFieldTypeBits::decode(raw_hash_field) == in IsIntegerIndex()
100 bool Name::IsForwardingIndex(uint32_t raw_hash_field) { in IsForwardingIndex() argument
101 return HashFieldTypeBits::decode(raw_hash_field) == in IsForwardingIndex()
110 bool Name::HasHashCode() const { return IsHashFieldComputed(raw_hash_field()); } in HasHashCode()
114 uint32_t field = raw_hash_field(); in EnsureHash()
165 ContainsCachedArrayIndex(uint32_t raw_hash_field) ContainsCachedArrayIndex() argument
[all...]
H A Dstring-table-inl.h16 StringTableKey::StringTableKey(uint32_t raw_hash_field, int length) in StringTableKey() argument
17 : raw_hash_field_(raw_hash_field), length_(length) {} in StringTableKey()
19 void StringTableKey::set_raw_hash_field(uint32_t raw_hash_field) { in set_raw_hash_field() argument
20 raw_hash_field_ = raw_hash_field; in set_raw_hash_field()
H A Dname.h38 inline uint32_t raw_hash_field() const { in raw_hash_field() function in v8::internal::Name
160 static inline bool IsHashFieldComputed(uint32_t raw_hash_field);
161 static inline bool IsHash(uint32_t raw_hash_field);
162 static inline bool IsIntegerIndex(uint32_t raw_hash_field);
163 static inline bool IsForwardingIndex(uint32_t raw_hash_field);
H A Dstring-table.h23 inline StringTableKey(uint32_t raw_hash_field, int length);
25 uint32_t raw_hash_field() const { in raw_hash_field() function in v8::internal::StringTableKey
34 inline void set_raw_hash_field(uint32_t raw_hash_field);
H A Dstring-table.cc356 set_raw_hash_field(string->raw_hash_field()); in InternalizedStringKey()
402 string_, string_->length(), string_->raw_hash_field()); in PrepareForInsertion()
658 uint32_t raw_hash_field = key.raw_hash_field(); in TryStringToIndexOrLookupExisting() local
660 if (Name::ContainsCachedArrayIndex(raw_hash_field)) { in TryStringToIndexOrLookupExisting()
661 return Smi::FromInt(String::ArrayIndexValueBits::decode(raw_hash_field)) in TryStringToIndexOrLookupExisting()
665 if (Name::IsIntegerIndex(raw_hash_field)) { in TryStringToIndexOrLookupExisting()
H A Dstring-inl.h367 SequentialStringKey(int raw_hash_field, const base::Vector<const Char>& chars, in SequentialStringKey() argument
369 : StringTableKey(raw_hash_field, chars.length()), in SequentialStringKey()
382 base::Vector<const uint8_t>::cast(chars_), raw_hash_field()); in PrepareForInsertion()
385 base::Vector<const uint16_t>::cast(chars_), raw_hash_field()); in PrepareForInsertion()
423 uint32_t raw_hash_field = StringHasher::HashSequentialString( in SeqSubStringKey() local
425 set_raw_hash_field(raw_hash_field); in SeqSubStringKey()
449 length(), raw_hash_field()); in PrepareForInsertion()
457 length(), raw_hash_field()); in PrepareForInsertion()
1406 uint32_t field = raw_hash_field();
1418 uint32_t field = raw_hash_field();
[all...]
H A Dstring.cc732 uint32_t raw_hash_field = StringHasher::MakeArrayIndexHash(d, len); variable
735 DCHECK_EQ(subject->raw_hash_field(), raw_hash_field);
737 subject->set_raw_hash_field(raw_hash_field);
1654 set_raw_hash_field(string.raw_hash_field()); in ComputeAndSetHash()
1658 uint32_t raw_hash_field = in ComputeAndSetHash() local
1664 set_raw_hash_field(raw_hash_field); in ComputeAndSetHash()
1668 uint32_t result = HashBits::decode(raw_hash_field); in ComputeAndSetHash()
1678 uint32_t field = raw_hash_field(); in SlowAsArrayIndex()
1693 uint32_t field = raw_hash_field(); in SlowAsIntegerIndex()
[all...]
/third_party/node/deps/v8/src/ast/
H A Dast-value-factory.cc305 uint32_t raw_hash_field = StringHasher::HashSequentialString<uint8_t>( \ in AstStringConstants()
307 name##_string_ = zone_.New<AstRawString>(true, literal, raw_hash_field); \ in AstStringConstants()
322 uint32_t raw_hash_field = StringHasher::HashSequentialString<uint8_t>( in GetOneByteStringInternal() local
324 one_character_strings_[key] = GetString(raw_hash_field, true, literal); in GetOneByteStringInternal()
328 uint32_t raw_hash_field = StringHasher::HashSequentialString<uint8_t>( in GetOneByteStringInternal() local
330 return GetString(raw_hash_field, true, literal); in GetOneByteStringInternal()
335 uint32_t raw_hash_field = StringHasher::HashSequentialString<uint16_t>( in GetTwoByteStringInternal() local
337 return GetString(raw_hash_field, false, in GetTwoByteStringInternal()
388 uint32_t raw_hash_field, bool is_one_byte, in GetString()
394 AstRawString key(is_one_byte, literal_bytes, raw_hash_field); in GetString()
387 GetString( uint32_t raw_hash_field, bool is_one_byte, base::Vector<const byte> literal_bytes) GetString() argument
[all...]
H A Dast-value-factory.h79 uint32_t raw_hash_field() const { return raw_hash_field_; } in raw_hash_field() function in v8::internal::final
100 uint32_t raw_hash_field) in AstRawString()
103 raw_hash_field_(raw_hash_field), in AstRawString()
395 const AstRawString* GetString(uint32_t raw_hash_field, bool is_one_byte,
99 AstRawString(bool is_one_byte, const base::Vector<const byte>& literal_bytes, uint32_t raw_hash_field) AstRawString() argument
/third_party/node/deps/v8/src/heap/
H A Dfactory-base.h213 const base::Vector<const uint8_t>& str, uint32_t raw_hash_field);
215 const base::Vector<const base::uc16>& str, uint32_t raw_hash_field);
218 int length, uint32_t raw_hash_field);
220 int length, uint32_t raw_hash_field);
H A Dfactory-base.cc623 const base::Vector<const uint8_t>& str, uint32_t raw_hash_field) { in NewOneByteInternalizedString()
625 AllocateRawOneByteInternalizedString(str.length(), raw_hash_field); in NewOneByteInternalizedString()
636 const base::Vector<const base::uc16>& str, uint32_t raw_hash_field) { in NewTwoByteInternalizedString()
638 AllocateRawTwoByteInternalizedString(str.length(), raw_hash_field); in NewTwoByteInternalizedString()
891 int length, uint32_t raw_hash_field) { in AllocateRawOneByteInternalizedString()
908 answer.set_raw_hash_field(raw_hash_field); in AllocateRawOneByteInternalizedString()
916 int length, uint32_t raw_hash_field) { in AllocateRawTwoByteInternalizedString()
929 answer.set_raw_hash_field(raw_hash_field); in AllocateRawTwoByteInternalizedString()
622 NewOneByteInternalizedString( const base::Vector<const uint8_t>& str, uint32_t raw_hash_field) NewOneByteInternalizedString() argument
635 NewTwoByteInternalizedString( const base::Vector<const base::uc16>& str, uint32_t raw_hash_field) NewTwoByteInternalizedString() argument
890 AllocateRawOneByteInternalizedString( int length, uint32_t raw_hash_field) AllocateRawOneByteInternalizedString() argument
915 AllocateRawTwoByteInternalizedString( int length, uint32_t raw_hash_field) AllocateRawTwoByteInternalizedString() argument
H A Dfactory.cc910 external_string.set_raw_hash_field(cast_string.raw_hash_field()); in InternalizeExternalString()
3338 if (raw.raw_hash_field() == String::kEmptyHashField && in SmiToString()
3340 uint32_t raw_hash_field = StringHasher::MakeArrayIndexHash( in SmiToString() local
3342 raw.set_raw_hash_field(raw_hash_field); in SmiToString()
3379 raw.raw_hash_field() == String::kEmptyHashField) { in SizeToString()
3380 uint32_t raw_hash_field = StringHasher::MakeArrayIndexHash( in SizeToString() local
3382 raw.set_raw_hash_field(raw_hash_field); in SizeToString()
/third_party/node/deps/v8/src/profiler/
H A Dstrings-storage.cc136 uint32_t raw_hash_field = in ComputeStringHash() local
138 return Name::HashBits::decode(raw_hash_field); in ComputeStringHash()
/third_party/node/deps/v8/src/ic/
H A Dstub-cache.cc35 uint32_t field = name.raw_hash_field(); in PrimaryOffset()
H A Daccessor-assembler.cc2878 TNode<Uint32T> raw_hash_field = LoadNameRawHashField(name); in StubCachePrimaryOffset() local
2880 Word32Equal(Word32And(raw_hash_field, in StubCachePrimaryOffset()
2892 TNode<Word32T> hash = Int32Add(raw_hash_field, map32); in StubCachePrimaryOffset()
/third_party/node/deps/v8/src/snapshot/
H A Ddeserializer.cc344 // Make sure raw_hash_field() is computed. in ComputeRawHashField()
346 return string.raw_hash_field(); in ComputeRawHashField()
/third_party/node/deps/v8/src/codegen/
H A Dcode-stub-assembler.cc2067 TNode<Uint32T> raw_hash_field = LoadNameRawHashField(name);
2069 GotoIf(IsSetWord32(raw_hash_field, Name::kHashNotComputedMask),
2072 return DecodeWord32<Name::HashBits>(raw_hash_field);
7270 TNode<Uint32T> raw_hash_field = LoadNameRawHashField(input);
7271 GotoIf(IsSetWord32(raw_hash_field, Name::kDoesNotContainCachedArrayIndexMask),
7275 DecodeWordFromWord32<String::ArrayIndexValueBits>(raw_hash_field)));
8076 TNode<Uint32T> raw_hash_field = LoadNameRawHashField(CAST(key));
8077 GotoIf(IsClearWord32(raw_hash_field,
8083 raw_hash_field, Name::HashFieldType::kIntegerIndex),
8109 DecodeWordFromWord32<String::ArrayIndexValueBits>(raw_hash_field));
[all...]

Completed in 38 milliseconds