Home
last modified time | relevance | path

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

/external/v8/src/ast/
Dast-value-factory.cc43 literal_bytes_(lb), pos_(0) {} in OneByteStringStream()
45 bool HasMore() { return pos_ < literal_bytes_.length(); } in HasMore()
46 uint16_t GetNext() { return literal_bytes_[pos_++]; } in GetNext()
49 Vector<const byte> literal_bytes_; member in v8::internal::__anon5aa30e070111::OneByteStringStream
62 return String::cast(other)->IsOneByteEqualTo(string_->literal_bytes_); in IsMatch()
64 Vector<const uint16_t>::cast(string_->literal_bytes_)); in IsMatch()
76 string_->literal_bytes_, string_->hash()); in AsHandle()
78 Vector<const uint16_t>::cast(string_->literal_bytes_), string_->hash()); in AsHandle()
88 if (literal_bytes_.length() == 0) { in Internalize()
100 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()
73 int byte_length() const { return literal_bytes_.length(); } in byte_length()
81 return literal_bytes_.start(); in raw_data()
87 return literal_bytes_[0]; in FirstCharacter()
89 reinterpret_cast<const uint16_t*>(literal_bytes_.start()); in FirstCharacter()
104 : is_one_byte_(is_one_byte), literal_bytes_(literal_bytes), hash_(hash) {} in AstRawString()
113 Vector<const byte> literal_bytes_; variable