Home
last modified time | relevance | path

Searched refs:uc32 (Results 1 – 25 of 25) sorted by relevance

/external/v8/src/
Dchar-predicates.h16 inline int AsciiAlphaToLower(uc32 c);
17 inline bool IsCarriageReturn(uc32 c);
18 inline bool IsLineFeed(uc32 c);
19 inline bool IsAsciiIdentifier(uc32 c);
20 inline bool IsAlphaNumeric(uc32 c);
21 inline bool IsDecimalDigit(uc32 c);
22 inline bool IsHexDigit(uc32 c);
23 inline bool IsOctalDigit(uc32 c);
24 inline bool IsBinaryDigit(uc32 c);
25 inline bool IsRegExpWord(uc32 c);
[all …]
Dchar-predicates-inl.h17 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()
52 inline bool IsHexDigit(uc32 c) { in IsHexDigit()
58 inline bool IsOctalDigit(uc32 c) { in IsOctalDigit()
64 inline bool IsBinaryDigit(uc32 c) { in IsBinaryDigit()
Dchar-predicates.cc15 bool SupplementaryPlanes::IsIDStart(uc32 c) { in IsIDStart()
29 bool SupplementaryPlanes::IsIDPart(uc32 c) { in IsIDPart()
Djson-parser.h67 INLINE(uc32 AdvanceGetChar());
71 INLINE(bool MatchSkipWhiteSpace(uc32 c));
158 uc32 c0_;
Djson-parser.cc203 uc32 JsonParser<seq_one_byte>::AdvanceGetChar() { in AdvanceGetChar()
209 bool JsonParser<seq_one_byte>::MatchSkipWhiteSpace(uc32 c) { in MatchSkipWhiteSpace()
583 inline void SeqStringSet(Handle<StringType> seq_str, int i, uc32 c);
586 inline void SeqStringSet(Handle<SeqTwoByteString> seq_str, int i, uc32 c) { in SeqStringSet()
591 inline void SeqStringSet(Handle<SeqOneByteString> seq_str, int i, uc32 c) { in SeqStringSet()
671 uc32 value = 0; in SlowScanJsonString()
724 uc32 c0 = c0_; in ScanJsonString()
Dlog-utils.cc198 uc32 c = str->Get(i); in AppendDetailed()
Duri.cc48 uc32 value = unibrow::Utf8::ValueOf(octets, length, &cursor); in DecodeOctets()
Dglobals.h225 typedef int32_t uc32; typedef
Dutils.h32 inline int HexValue(uc32 c) { in HexValue()
Dbuiltins.cc4833 uc32 NextCodePoint(Isolate* isolate, BuiltinArguments args, int index) { in NextCodePoint()
4856 uc32 code = 0; in BUILTIN()
Dobjects.h9006 static const uc32 kMaxCodePoint = 0x10ffff;
9439 inline uc32 Get(int index);
Dobjects-inl.h484 uc32 FlatStringReader::Get(int index) { in Get()
/external/v8/src/regexp/
Dregexp-parser.h104 void AddUnicodeCharacter(uc32 character);
105 void AddEscapedUnicodeCharacter(uc32 character);
110 void AddCharacterClassForDesugaring(uc32 c);
128 bool NeedsDesugaringForIgnoreCase(uc32 c);
170 uc32 ParseClassCharacterEscape();
174 bool ParseHexEscape(int length, uc32* value);
175 bool ParseUnicodeEscape(uc32* value);
176 bool ParseUnlimitedLengthHexNumber(int max_value, uc32* value);
179 uc32 ParseOctalLiteral();
206 static bool IsSyntaxCharacterOrSlash(uc32 c);
[all …]
Dregexp-parser.cc47 inline uc32 RegExpParser::ReadNext() { in ReadNext()
49 uc32 c0 = in()->Get(position); in ReadNext()
65 uc32 RegExpParser::Next() { in Next()
110 bool RegExpParser::IsSyntaxCharacterOrSlash(uc32 c) { in IsSyntaxCharacterOrSlash()
373 uc32 c = Next(); in ParseDisjunction()
385 uc32 p = Next(); in ParseDisjunction()
438 uc32 first_digit = Next(); in ParseDisjunction()
452 uc32 octal = ParseOctalLiteral(); in ParseDisjunction()
480 uc32 controlLetter = Next(); in ParseDisjunction()
483 uc32 letter = controlLetter & ~('a' ^ 'A'); in ParseDisjunction()
[all …]
Dregexp-macro-assembler.h14 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;
Dregexp-ast.h85 static inline CharacterRange Singleton(uc32 value) { in Singleton()
88 static inline CharacterRange Range(uc32 from, uc32 to) { in Range()
103 bool Contains(uc32 i) { return from_ <= i && i <= to_; } in Contains()
104 uc32 from() const { return from_; } in from()
105 void set_from(uc32 value) { from_ = value; } in set_from()
106 uc32 to() const { return to_; } in to()
107 void set_to(uc32 value) { to_ = value; } in set_to()
129 CharacterRange(uc32 from, uc32 to) : from_(from), to_(to) {} in CharacterRange()
131 uc32 from_;
132 uc32 to_;
Djsregexp.h272 Entry(uc32 from, uc32 to, OutSet* out_set) in Entry()
276 uc32 from() { return from_; } in from()
277 uc32 to() { return to_; } in to()
278 void set_to(uc32 value) { to_ = value; } in set_to()
284 uc32 from_;
285 uc32 to_;
291 typedef uc32 Key;
293 static const uc32 kNoKey;
295 static inline int Compare(uc32 a, uc32 b) { in Compare()
306 OutSet* Get(uc32 value);
[all …]
Dregexp-macro-assembler.cc47 uc32 c1 = substring1[i]; in CaseInsensitiveCompareUC16()
48 uc32 c2 = substring2[i]; in CaseInsensitiveCompareUC16()
Djsregexp.cc1989 int start_index, int end_index, uc32 min_char, in GenerateBranches()
1990 uc32 max_char, Label* fall_through, in GenerateBranches()
3613 static const uc32 kRangeEndMarker = 0x110000;
4929 void UnicodeRangeSplitter::Call(uc32 from, DispatchTable::Entry entry) { in Call()
4972 uc32 from = non_bmp->at(i).from(); in AddNonBmpSurrogatePairs()
4973 uc32 to = non_bmp->at(i).to(); in AddNonBmpSurrogatePairs()
5137 uc32 start = 0; in AddUnicodeCaseEquivalents()
5138 uc32 end = 0; in AddUnicodeCaseEquivalents()
5897 uc32 bottom = range.from(); in AddCaseEquivalents()
5899 uc32 top = Min(range.to(), String::kMaxUtf16CodeUnit); in AddCaseEquivalents()
[all …]
/external/v8/src/parsing/
Dscanner.h45 inline uc32 Advance() { in Advance()
48 return static_cast<uc32>(*(buffer_cursor_++)); in Advance()
87 static const uc32 kEndOfInput = -1;
171 INLINE(void AddChar(uc32 code_unit)) { in INLINE()
507 uc32 ScanOctalEscape(uc32 c, int length);
565 INLINE(void AddLiteralChar(uc32 c)) { in INLINE()
575 INLINE(void AddRawLiteralChar(uc32 c)) { in INLINE()
609 uc32 c1 = source_->Advance(); in HandleLeadSurrogate()
618 void PushBack(uc32 ch) { in PushBack()
619 if (c0_ > static_cast<uc32>(unibrow::Utf16::kMaxNonSurrogateCharCode)) { in PushBack()
[all …]
Dscanner.cc66 uc32 Scanner::ScanHexNumber(int expected_length) { in ScanHexNumber()
70 uc32 x = 0; in ScanHexNumber()
88 uc32 Scanner::ScanUnlimitedLengthHexNumber(int max_value, int beg_pos) { in ScanUnlimitedLengthHexNumber()
89 uc32 x = 0; in ScanUnlimitedLengthHexNumber()
294 static inline bool IsLittleEndianByteOrderMark(uc32 c) { in IsLittleEndianByteOrderMark()
430 uc32 ch = c0_; in SkipMultiLineComment()
762 uc32 c = c0_; in ScanEscape()
819 uc32 Scanner::ScanOctalEscape(uc32 c, int length) { in ScanOctalEscape()
820 uc32 x = c - '0'; in ScanOctalEscape()
843 uc32 quote = c0_; in ScanString()
[all …]
Dscanner-character-streams.h26 void PushBack(uc32 character) override;
159 void PushBack(uc32 character) override { in PushBack()
Dscanner-character-streams.cc62 void BufferedUtf16CharacterStream::PushBack(uc32 character) { in PushBack()
/external/v8/test/cctest/
Dtest-regexp.cc571 for (uc32 i = 0; i < (1 << 16); i++) { in TestCharacterClassEscapes()
1569 static uc32 canonicalize(uc32 c) { in canonicalize()
1592 for (uc32 c = 128; c < (1 << 21); c++) in TEST()
1596 for (uc32 c = 0; c < (1 << 16); c++) { in TEST()
1603 uc32 u = upper[0]; in TEST()
1611 static uc32 CanonRangeEnd(uc32 c) { in CanonRangeEnd()
1630 uc32 block_end = CanonRangeEnd(block_start); in TEST()
1725 static bool InClass(uc32 c, ZoneList<CharacterRange>* ranges) { in InClass()
1744 for (uc32 c = 0; c < 0xd800; c++) { in TEST()
1751 for (uc32 c = 0xd800; c < 0xdbff; c++) { in TEST()
[all …]
/external/v8/src/runtime/
Druntime-strings.cc798 static inline bool ToUpperOverflows(uc32 character) { in ToUpperOverflows()
801 static const uc32 yuml_code = 0xff; in ToUpperOverflows()
802 static const uc32 micro_code = 0xb5; in ToUpperOverflows()
828 uc32 current = stream.GetNext(); in ConvertCaseHelper()
832 uc32 next = has_next ? stream.GetNext() : 0; in ConvertCaseHelper()
841 DCHECK(static_cast<uc32>(chars[0]) != current); in ConvertCaseHelper()