Home
last modified time | relevance | path

Searched refs:c0_ (Results 1 – 4 of 4) sorted by relevance

/external/v8/src/parsing/
Dscanner.cc72 int d = HexValue(c0_); in ScanHexNumber()
90 int d = HexValue(c0_); in ScanUnlimitedLengthHexNumber()
101 d = HexValue(c0_); in ScanUnlimitedLengthHexNumber()
258 if (static_cast<unsigned>(c0_) <= 0x7f) { in Next()
259 Token::Value token = static_cast<Token::Value>(one_char_tokens[c0_]); in Next()
312 if (c0_ < 0) break; in SkipWhiteSpace()
315 if (unicode_cache_->IsLineTerminator(c0_)) { in SkipWhiteSpace()
317 } else if (!unicode_cache_->IsWhiteSpace(c0_) && in SkipWhiteSpace()
318 !IsLittleEndianByteOrderMark(c0_)) { in SkipWhiteSpace()
328 if (c0_ == '-' && has_line_terminator_before_next_) { in SkipWhiteSpace()
[all …]
Dscanner.h593 AddLiteralChar(c0_); in AddLiteralCharAdvance()
601 AddRawLiteralChar(c0_); in Advance()
603 c0_ = source_->Advance(); in Advance()
608 if (unibrow::Utf16::IsLeadSurrogate(c0_)) { in HandleLeadSurrogate()
613 c0_ = unibrow::Utf16::CombineSurrogatePair(c0_, c1); in HandleLeadSurrogate()
619 if (c0_ > static_cast<uc32>(unibrow::Utf16::kMaxNonSurrogateCharCode)) { in PushBack()
620 source_->PushBack(unibrow::Utf16::TrailSurrogate(c0_)); in PushBack()
621 source_->PushBack(unibrow::Utf16::LeadSurrogate(c0_)); in PushBack()
623 source_->PushBack(c0_); in PushBack()
625 c0_ = ch; in PushBack()
[all …]
/external/v8/src/
Djson-parser.cc125 if (result.is_null() || c0_ != kEndOfString) { in ParseJson()
135 switch (c0_) { in ParseJson()
158 arg1 = factory->LookupSingleCharacterStringFromCode(c0_); in ParseJson()
180 c0_ = kEndOfString; in Advance()
182 c0_ = seq_source_->SeqOneByteStringGet(position_); in Advance()
184 c0_ = source_->Get(position_); in Advance()
192 } while (c0_ == ' ' || c0_ == '\t' || c0_ == '\n' || c0_ == '\r'); in AdvanceSkipWhitespace()
197 while (c0_ == ' ' || c0_ == '\t' || c0_ == '\n' || c0_ == '\r') { in SkipWhitespace()
205 return c0_; in AdvanceGetChar()
210 if (c0_ == c) { in MatchSkipWhiteSpace()
[all …]
Djson-parser.h158 uc32 c0_; variable