Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/ast/
Dast-value-factory.cc52 : literal_bytes_(lb), pos_(0) {} in OneByteStringStream()
54 bool HasMore() { return pos_ < literal_bytes_.length(); } in HasMore()
55 uint16_t GetNext() { return literal_bytes_[pos_++]; } in GetNext()
58 base::Vector<const byte> literal_bytes_; member in v8::internal::__anon2b30ef490111::OneByteStringStream
67 if (literal_bytes_.length() == 0) { in Internalize()
70 OneByteStringKey key(raw_hash_field_, literal_bytes_); in Internalize()
74 base::Vector<const uint16_t>::cast(literal_bytes_)); in Internalize()
95 OneByteStringStream stream(literal_bytes_); in AsArrayIndex()
106 size_t length = static_cast<size_t>(literal_bytes_.length()); in IsOneByteEqualTo()
109 return 0 == strncmp(reinterpret_cast<const char*>(literal_bytes_.begin()), in IsOneByteEqualTo()
[all …]
Dast-value-factory.h58 bool IsEmpty() const { return literal_bytes_.length() == 0; } in IsEmpty()
60 return is_one_byte() ? literal_bytes_.length() in length()
61 : literal_bytes_.length() / 2; in length()
73 int byte_length() const { return literal_bytes_.length(); } in byte_length()
74 const unsigned char* raw_data() const { return literal_bytes_.begin(); } in raw_data()
102 literal_bytes_(literal_bytes), in AstRawString()
128 base::Vector<const byte> literal_bytes_; // Memory owned by Zone. variable