Home
last modified time | relevance | path

Searched refs:literal_bytes_ (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/
Dast-value-factory.cc42 literal_bytes_(lb), pos_(0) {} in OneByteStringStream()
44 bool HasMore() { return pos_ < literal_bytes_.length(); } in HasMore()
45 uint16_t GetNext() { return literal_bytes_[pos_++]; } in GetNext()
48 Vector<const byte> literal_bytes_; member in v8::internal::__anon1fd5a8f00111::OneByteStringStream
61 return String::cast(other)->IsOneByteEqualTo(string_->literal_bytes_); in IsMatch()
63 Vector<const uint16_t>::cast(string_->literal_bytes_)); in IsMatch()
77 string_->literal_bytes_, string_->hash()); in AsHandle()
79 Vector<const uint16_t>::cast(string_->literal_bytes_), string_->hash()); in AsHandle()
89 if (literal_bytes_.length() == 0) { in Internalize()
101 if (!is_one_byte_ || literal_bytes_.length() == 0 || in AsArrayIndex()
[all …]
Dast-value-factory.h69 return literal_bytes_.length(); in length()
70 return literal_bytes_.length() / 2; in length()
79 return literal_bytes_.start(); in raw_data()
85 return literal_bytes_[0]; in FirstCharacter()
87 reinterpret_cast<const uint16_t*>(literal_bytes_.start()); in FirstCharacter()
103 : is_one_byte_(is_one_byte), literal_bytes_(literal_bytes), hash_(hash) {} in AstRawString()
112 Vector<const byte> literal_bytes_; variable