Lines Matching refs:literal_bytes_
42 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()
102 literal_bytes_.length() > String::kMaxArrayIndexSize) in AsArrayIndex()
104 OneByteStringStream stream(literal_bytes_); in AsArrayIndex()
111 if (is_one_byte_ && literal_bytes_.length() == length) { in IsOneByteEqualTo()
112 const char* token = reinterpret_cast<const char*>(literal_bytes_.start()); in IsOneByteEqualTo()
124 int length = string1->literal_bytes_.length(); in Compare()
125 if (string2->literal_bytes_.length() != length) return false; in Compare()
126 return memcmp(string1->literal_bytes_.start(), in Compare()
127 string2->literal_bytes_.start(), length) == 0; in Compare()