/external/v8/src/ |
unicode-cache.h | 20 typedef unibrow::Utf8Decoder<512> Utf8Decoder; 24 inline bool IsIdentifierStart(unibrow::uchar c); 25 inline bool IsIdentifierPart(unibrow::uchar c); 26 inline bool IsLineTerminator(unibrow::uchar c); 27 inline bool IsLineTerminatorSequence(unibrow::uchar c, unibrow::uchar next); 29 inline bool IsWhiteSpace(unibrow::uchar c); 30 inline bool IsWhiteSpaceOrLineTerminator(unibrow::uchar c); 33 unibrow::Predicate<IdentifierStart, 128> kIsIdentifierStart; 34 unibrow::Predicate<IdentifierPart, 128> kIsIdentifierPart [all...] |
unicode-cache-inl.h | 14 bool UnicodeCache::IsIdentifierStart(unibrow::uchar c) { 19 bool UnicodeCache::IsIdentifierPart(unibrow::uchar c) { 24 bool UnicodeCache::IsLineTerminator(unibrow::uchar c) { 29 bool UnicodeCache::IsLineTerminatorSequence(unibrow::uchar c, 30 unibrow::uchar next) { 37 bool UnicodeCache::IsWhiteSpace(unibrow::uchar c) { 42 bool UnicodeCache::IsWhiteSpaceOrLineTerminator(unibrow::uchar c) {
|
char-predicates.h | 44 return unibrow::ID_Start::Is(c); 58 return unibrow::ID_Start::Is(c) || unibrow::ID_Continue::Is(c); 70 static inline bool Is(uc32 c) { return unibrow::WhiteSpace::Is(c); } 78 return WhiteSpace::Is(c) || unibrow::LineTerminator::Is(c);
|
unicode-decoder.cc | 11 namespace unibrow { namespace 72 if (character > unibrow::Utf16::kMaxNonSurrogateCharCode) { 84 } // namespace unibrow
|
uri.cc | 48 uc32 value = unibrow::Utf8::ValueOf(octets, length, &cursor); 49 if (value == unibrow::Utf8::kBadChar && 54 if (value <= static_cast<uc32>(unibrow::Utf16::kMaxNonSurrogateCharCode)) { 57 buffer->Add(unibrow::Utf16::LeadSurrogate(value)); 58 buffer->Add(unibrow::Utf16::TrailSurrogate(value)); 103 if (decoded > unibrow::Utf8::kMaxOneByteChar) { 104 uint8_t octets[unibrow::Utf8::kMaxEncodedSize]; 153 if (decoded > unibrow::Utf8::kMaxOneByteChar) { 161 if (code > unibrow::Utf8::kMaxOneByteChar) { 253 unibrow::Utf8::Encode(s, c, unibrow::Utf16::kNoPreviousCharacter, false) [all...] |
isolate.h | [all...] |
unicode-decoder.h | 12 namespace unibrow { namespace 121 } // namespace unibrow
|
unicode-inl.h | 12 namespace unibrow { namespace 146 } // namespace unibrow
|
unicode.h | 16 namespace unibrow { namespace 231 } // namespace unibrow
|
log.cc | 90 int previous = unibrow::Utf16::kNoPreviousCharacter; 93 if (c <= unibrow::Utf8::kMaxOneByteChar) { 96 int char_length = unibrow::Utf8::Length(c, previous); 98 unibrow::Utf8::Encode(utf8_buffer_ + utf8_pos_, c, previous); [all...] |
api.cc | [all...] |
unicode.cc | 12 namespace unibrow { namespace [all...] |
/external/v8/src/regexp/ |
regexp-macro-assembler.cc | 34 unibrow::Mapping<unibrow::Ecma262Canonicalize>* canonicalize = 49 if (unibrow::Utf16::IsLeadSurrogate(c1)) { 52 if (!unibrow::Utf16::IsLeadSurrogate(c2)) return 0; 56 if (unibrow::Utf16::IsTrailSurrogate(c1t) && 57 unibrow::Utf16::IsTrailSurrogate(c2t)) { 58 c1 = unibrow::Utf16::CombineSurrogatePair(c1, c1t); 59 c2 = unibrow::Utf16::CombineSurrogatePair(c2, c2t); 73 unibrow::uchar c1 = substring1[i]; 74 unibrow::uchar c2 = substring2[i] [all...] |
regexp-parser.cc | 53 unibrow::Utf16::IsLeadSurrogate(static_cast<uc16>(c0))) { 55 if (unibrow::Utf16::IsTrailSurrogate(c1)) { 56 c0 = unibrow::Utf16::CombineSurrogatePair(static_cast<uc16>(c0), c1); 715 if (code_unit <= unibrow::Utf16::kMaxNonSurrogateCharCode) { 718 v->push_back(unibrow::Utf16::LeadSurrogate(code_unit)); 719 v->push_back(unibrow::Utf16::TrailSurrogate(code_unit)); 1033 if (result && unicode() && unibrow::Utf16::IsLeadSurrogate(*value) && 1041 unibrow::Utf16::IsTrailSurrogate(trail)) { 1042 *value = unibrow::Utf16::CombineSurrogatePair(static_cast<uc16>(*value), [all...] |
jsregexp.cc | 706 unibrow::Utf16::IsLeadSurrogate(subject_->Get(last_index)) && 707 unibrow::Utf16::IsTrailSurrogate(subject_->Get(last_index + 1))) { [all...] |
interpreter-irregexp.cc | 26 typedef unibrow::Mapping<unibrow::Ecma262Canonicalize> Canonicalize;
|
/external/v8/src/parsing/ |
scanner-character-streams.cc | 19 const unibrow::uchar kUtf8Bom = 0xfeff; 200 : current_({0, {0, 0, unibrow::Utf8::Utf8IncrementalBuffer(0)}}), 218 unibrow::Utf8::Utf8IncrementalBuffer incomplete_char; 263 unibrow::Utf8::Utf8IncrementalBuffer incomplete_char = 268 unibrow::uchar t = 269 unibrow::Utf8::ValueOfIncremental(chunk.data[it], &incomplete_char); 272 } else if (t != unibrow::Utf8::kIncomplete) { 274 if (t > unibrow::Utf16::kMaxNonSurrogateCharCode) chars++; 302 unibrow::uchar t = 303 unibrow::Utf8::ValueOfIncrementalFinish(¤t_.pos.incomplete_char) [all...] |
func-name-inferrer.cc | 29 if (!name->IsEmpty() && unibrow::Uppercase::Is(name->FirstCharacter())) {
|
scanner.h | 379 code_unit <= static_cast<uc32>(unibrow::Latin1::kMaxChar)) { 570 if (unibrow::Utf16::IsLeadSurrogate(c0_)) { 572 if (!unibrow::Utf16::IsTrailSurrogate(c1)) { 575 c0_ = unibrow::Utf16::CombineSurrogatePair(c0_, c1); 581 if (c0_ > static_cast<uc32>(unibrow::Utf16::kMaxNonSurrogateCharCode)) {
|
scanner.cc | 109 if (code_unit <= static_cast<uc32>(unibrow::Latin1::kMaxChar)) { 117 static_cast<uc32>(unibrow::Utf16::kMaxNonSurrogateCharCode)) { 122 unibrow::Utf16::LeadSurrogate(code_unit); 126 unibrow::Utf16::TrailSurrogate(code_unit); [all...] |
/external/v8/src/runtime/ |
runtime.h | [all...] |
/external/v8/src/builtins/ |
builtins-string.cc | 668 if (code <= static_cast<uc32>(unibrow::Utf16::kMaxNonSurrogateCharCode)) { 671 two_byte_buffer.Add(unibrow::Utf16::LeadSurrogate(code)); 672 two_byte_buffer.Add(unibrow::Utf16::TrailSurrogate(code)); [all...] |
/external/v8/src/profiler/ |
heap-snapshot-generator.cc | [all...] |
/external/v8/src/wasm/ |
module-decoder.cc | [all...] |
/external/v8/src/heap/ |
heap.cc | [all...] |