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.cc45 literal_bytes_(lb), pos_(0) {} in OneByteStringStream()
47 bool HasMore() { return pos_ < literal_bytes_.length(); } in HasMore()
48 uint16_t GetNext() { return literal_bytes_[pos_++]; } in GetNext()
51 Vector<const byte> literal_bytes_; member in v8::internal::__anon0e1c42500111::OneByteStringStream
64 return String::cast(other)->IsOneByteEqualTo(string_->literal_bytes_); in IsMatch()
66 Vector<const uint16_t>::cast(string_->literal_bytes_)); in IsMatch()
72 string_->literal_bytes_, string_->hash_field()); in AsHandle()
74 Vector<const uint16_t>::cast(string_->literal_bytes_), in AsHandle()
84 if (literal_bytes_.length() == 0) { in Internalize()
99 OneByteStringStream stream(literal_bytes_); in AsArrayIndex()
[all …]
Dast-value-factory.h50 bool IsEmpty() const { return literal_bytes_.length() == 0; } in IsEmpty()
52 return is_one_byte() ? literal_bytes_.length() in length()
53 : literal_bytes_.length() / 2; in length()
63 int byte_length() const { return literal_bytes_.length(); } in byte_length()
65 return literal_bytes_.start(); in raw_data()
89 literal_bytes_(literal_bytes), in AstRawString()
117 Vector<const byte> literal_bytes_; // Memory owned by Zone. variable