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.cc51 : literal_bytes_(lb), pos_(0) {} in OneByteStringStream()
53 bool HasMore() { return pos_ < literal_bytes_.length(); } in HasMore()
54 uint16_t GetNext() { return literal_bytes_[pos_++]; } in GetNext()
57 Vector<const byte> literal_bytes_; member in v8::internal::__anoneea97d920111::OneByteStringStream
66 if (literal_bytes_.length() == 0) { in Internalize()
69 OneByteStringKey key(hash_field_, literal_bytes_); in Internalize()
73 Vector<const uint16_t>::cast(literal_bytes_)); in Internalize()
94 OneByteStringStream stream(literal_bytes_); in AsArrayIndex()
105 size_t length = static_cast<size_t>(literal_bytes_.length()); in IsOneByteEqualTo()
108 return 0 == strncmp(reinterpret_cast<const char*>(literal_bytes_.begin()), in IsOneByteEqualTo()
[all …]
Dast-value-factory.h53 bool IsEmpty() const { return literal_bytes_.length() == 0; } in IsEmpty()
55 return is_one_byte() ? literal_bytes_.length() in length()
56 : literal_bytes_.length() / 2; in length()
68 int byte_length() const { return literal_bytes_.length(); } in byte_length()
69 const unsigned char* raw_data() const { return literal_bytes_.begin(); } in raw_data()
93 literal_bytes_(literal_bytes), in AstRawString()
119 Vector<const byte> literal_bytes_; // Memory owned by Zone. variable