/external/v8/src/ |
D | char-predicates.h | 17 inline int AsciiAlphaToLower(uc32 c); 18 inline bool IsCarriageReturn(uc32 c); 19 inline bool IsLineFeed(uc32 c); 20 inline bool IsAsciiIdentifier(uc32 c); 21 inline bool IsAlphaNumeric(uc32 c); 22 inline bool IsDecimalDigit(uc32 c); 23 inline bool IsHexDigit(uc32 c); 24 inline bool IsOctalDigit(uc32 c); 25 inline bool IsBinaryDigit(uc32 c); 26 inline bool IsRegExpWord(uc32 c); [all …]
|
D | char-predicates-inl.h | 17 inline int AsciiAlphaToLower(uc32 c) { in AsciiAlphaToLower() 22 inline bool IsCarriageReturn(uc32 c) { in IsCarriageReturn() 27 inline bool IsLineFeed(uc32 c) { in IsLineFeed() 38 inline bool IsAsciiIdentifier(uc32 c) { in IsAsciiIdentifier() 42 inline bool IsAlphaNumeric(uc32 c) { in IsAlphaNumeric() 46 inline bool IsDecimalDigit(uc32 c) { in IsDecimalDigit() 51 inline bool IsHexDigit(uc32 c) { in IsHexDigit() 56 inline bool IsOctalDigit(uc32 c) { in IsOctalDigit() 61 inline bool IsBinaryDigit(uc32 c) { in IsBinaryDigit()
|
D | char-predicates.cc | 19 bool IdentifierStart::Is(uc32 c) { in Is() 28 bool IdentifierPart::Is(uc32 c) { in Is() 38 bool WhiteSpace::Is(uc32 c) { in Is()
|
D | json-parser.h | 68 V8_INLINE uc32 AdvanceGetChar(); 72 V8_INLINE bool MatchSkipWhiteSpace(uc32 c); 153 uc32 c0_;
|
D | json-parser.cc | 242 uc32 JsonParser<seq_one_byte>::AdvanceGetChar() { in AdvanceGetChar() 248 bool JsonParser<seq_one_byte>::MatchSkipWhiteSpace(uc32 c) { in MatchSkipWhiteSpace() 691 inline void SeqStringSet(Handle<StringType> seq_str, int i, uc32 c); 694 inline void SeqStringSet(Handle<SeqTwoByteString> seq_str, int i, uc32 c) { in SeqStringSet() 699 inline void SeqStringSet(Handle<SeqOneByteString> seq_str, int i, uc32 c) { in SeqStringSet() 779 uc32 value = 0; in SlowScanJsonString() 835 uc32 c0 = c0_; in ScanJsonString()
|
D | uri.cc | 50 uc32 value = unibrow::Utf8::ValueOf(octets, length, &cursor); in DecodeOctets() 56 if (value <= static_cast<uc32>(unibrow::Utf16::kMaxNonSurrogateCharCode)) { in DecodeOctets()
|
D | globals.h | 257 typedef int32_t uc32; typedef
|
D | messages.cc | 540 const uc32 subject_char = subject_reader.Get(subject_index); in StringEndsWithMethodName()
|
D | utils.h | 38 inline int HexValue(uc32 c) { in HexValue()
|
/external/v8/src/parsing/ |
D | scanner.h | 39 static const uc32 kEndOfInput = -1; 43 inline uc32 Peek() { in Peek() 45 return static_cast<uc32>(*buffer_cursor_); in Peek() 47 return static_cast<uc32>(*buffer_cursor_); in Peek() 55 inline uc32 Advance() { in Advance() 56 uc32 result = Peek(); in Advance() 65 V8_INLINE uc32 AdvanceUntil(FunctionType check) { in AdvanceUntil() 69 uc32 c0_ = static_cast<uc32>(raw_c0_); in AdvanceUntil() 81 return static_cast<uc32>(*next_cursor_pos); in AdvanceUntil() 224 static const uc32 kEndOfInput = Utf16CharacterStream::kEndOfInput; [all …]
|
D | scanner.cc | 107 void Scanner::LiteralBuffer::AddTwoByteChar(uc32 code_unit) { in AddTwoByteChar() 111 static_cast<uc32>(unibrow::Utf16::kMaxNonSurrogateCharCode)) { in AddTwoByteChar() 196 uc32 Scanner::ScanHexNumber(int expected_length) { in ScanHexNumber() 200 uc32 x = 0; in ScanHexNumber() 218 uc32 Scanner::ScanUnlimitedLengthHexNumber(int max_value, int beg_pos) { in ScanUnlimitedLengthHexNumber() 219 uc32 x = 0; in ScanUnlimitedLengthHexNumber() 429 AdvanceUntil([](uc32 c0_) { return unibrow::IsLineTerminator(c0_); }); in SkipSingleLineComment() 674 uc32 c = Peek(); in Scan() 852 uc32 c = c0_; in ScanEscape() 903 uc32 Scanner::ScanOctalEscape(uc32 c, int length) { in ScanOctalEscape() [all …]
|
/external/v8/src/regexp/ |
D | regexp-parser.h | 104 void AddUnicodeCharacter(uc32 character); 105 void AddEscapedUnicodeCharacter(uc32 character); 110 void AddCharacterClassForDesugaring(uc32 c); 134 bool NeedsDesugaringForIgnoreCase(uc32 c); 173 uc32 ParseClassCharacterEscape(); 177 bool ParseHexEscape(int length, uc32* value); 178 bool ParseUnicodeEscape(uc32* value); 179 bool ParseUnlimitedLengthHexNumber(int max_value, uc32* value); 183 uc32 ParseOctalLiteral(); 194 bool add_unicode_case_equivalents, uc32* char_out, [all …]
|
D | regexp-parser.cc | 51 inline uc32 RegExpParser::ReadNext() { in ReadNext() 53 uc32 c0 = in()->Get(position); in ReadNext() 69 uc32 RegExpParser::Next() { in Next() 115 bool RegExpParser::IsSyntaxCharacterOrSlash(uc32 c) { in IsSyntaxCharacterOrSlash() 329 uc32 c = Next(); in ParseDisjunction() 342 uc32 p = Next(); in ParseDisjunction() 391 uc32 first_digit = Next(); in ParseDisjunction() 405 uc32 octal = ParseOctalLiteral(); in ParseDisjunction() 433 uc32 controlLetter = Next(); in ParseDisjunction() 436 uc32 letter = controlLetter & ~('a' ^ 'A'); in ParseDisjunction() [all …]
|
D | regexp-macro-assembler.h | 14 static const uc32 kLeadSurrogateStart = 0xd800; 15 static const uc32 kLeadSurrogateEnd = 0xdbff; 16 static const uc32 kTrailSurrogateStart = 0xdc00; 17 static const uc32 kTrailSurrogateEnd = 0xdfff; 18 static const uc32 kNonBmpStart = 0x10000; 19 static const uc32 kNonBmpEnd = 0x10ffff;
|
D | regexp-ast.h | 90 static inline CharacterRange Singleton(uc32 value) { in Singleton() 93 static inline CharacterRange Range(uc32 from, uc32 to) { in Range() 108 bool Contains(uc32 i) { return from_ <= i && i <= to_; } in Contains() 109 uc32 from() const { return from_; } in from() 110 void set_from(uc32 value) { from_ = value; } in set_from() 111 uc32 to() const { return to_; } in to() 112 void set_to(uc32 value) { to_ = value; } in set_to() 114 bool IsEverything(uc32 max) { return from_ == 0 && to_ >= max; } in IsEverything() 134 CharacterRange(uc32 from, uc32 to) : from_(from), to_(to) {} in CharacterRange() 136 uc32 from_; [all …]
|
D | jsregexp.h | 248 Entry(uc32 from, uc32 to, OutSet* out_set) in Entry() 252 uc32 from() { return from_; } in from() 253 uc32 to() { return to_; } in to() 254 void set_to(uc32 value) { to_ = value; } in set_to() 260 uc32 from_; 261 uc32 to_; 267 typedef uc32 Key; 269 static const uc32 kNoKey; 271 static inline int Compare(uc32 a, uc32 b) { in Compare() 282 OutSet* Get(uc32 value); [all …]
|
D | regexp-macro-assembler.cc | 48 uc32 c1 = substring1[i]; in CaseInsensitiveCompareUC16() 49 uc32 c2 = substring2[i]; in CaseInsensitiveCompareUC16()
|
D | jsregexp.cc | 1924 int start_index, int end_index, uc32 min_char, in GenerateBranches() 1925 uc32 max_char, Label* fall_through, in GenerateBranches() 3537 static const uc32 kRangeEndMarker = 0x110000; 4851 void UnicodeRangeSplitter::Call(uc32 from, DispatchTable::Entry entry) { in Call() 4895 uc32 from = non_bmp->at(i).from(); in AddNonBmpSurrogatePairs() 4896 uc32 to = non_bmp->at(i).to(); in AddNonBmpSurrogatePairs() 5905 uc32 bottom = range.from(); in AddCaseEquivalents() 5907 uc32 top = Min(range.to(), String::kMaxUtf16CodeUnit); in AddCaseEquivalents() 5919 uc32 chr = chars[i]; in AddCaseEquivalents() 5946 uc32 block_end; in AddCaseEquivalents() [all …]
|
/external/v8/src/asmjs/ |
D | asm-scanner.h | 158 void ConsumeIdentifier(uc32 ch); 159 void ConsumeNumber(uc32 ch); 162 void ConsumeString(uc32 quote); 163 void ConsumeCompareOrShift(uc32 ch); 166 bool IsIdentifierStart(uc32 ch); 167 bool IsIdentifierPart(uc32 ch); 168 bool IsNumberStart(uc32 ch);
|
D | asm-scanner.cc | 87 uc32 ch = stream_->Advance(); in Next() 225 void AsmJsScanner::ConsumeIdentifier(uc32 ch) { in ConsumeIdentifier() 273 void AsmJsScanner::ConsumeNumber(uc32 ch) { in ConsumeNumber() 349 uc32 ch = stream_->Advance(); in ConsumeCComment() 364 uc32 ch = stream_->Advance(); in ConsumeCPPComment() 371 void AsmJsScanner::ConsumeString(uc32 quote) { in ConsumeString() 387 void AsmJsScanner::ConsumeCompareOrShift(uc32 ch) { in ConsumeCompareOrShift() 388 uc32 next_ch = stream_->Advance(); in ConsumeCompareOrShift() 421 bool AsmJsScanner::IsIdentifierStart(uc32 ch) { in IsIdentifierStart() 425 bool AsmJsScanner::IsIdentifierPart(uc32 ch) { return IsAsciiIdentifier(ch); } in IsIdentifierPart() [all …]
|
/external/v8/src/builtins/ |
D | builtins-string.cc | 42 uc32 NextCodePoint(Isolate* isolate, BuiltinArguments args, int index) { in NextCodePoint() 67 uc32 code = 0; in BUILTIN() 90 if (code <= static_cast<uc32>(unibrow::Utf16::kMaxNonSurrogateCharCode)) { in BUILTIN() 339 inline bool ToUpperOverflows(uc32 character) { in ToUpperOverflows() 342 static const uc32 yuml_code = 0xFF; in ToUpperOverflows() 343 static const uc32 micro_code = 0xB5; in ToUpperOverflows() 368 uc32 current = stream.GetNext(); in ConvertCaseHelper() 372 uc32 next = has_next ? stream.GetNext() : 0; in ConvertCaseHelper() 381 DCHECK(static_cast<uc32>(chars[0]) != current); in ConvertCaseHelper()
|
/external/v8/src/objects/ |
D | string.h | 352 static const uc32 kMaxCodePoint = 0x10ffff; 841 inline uc32 Get(int index);
|
D | string-inl.h | 178 uc32 FlatStringReader::Get(int index) { in Get()
|