Lines Matching refs:pos_

196       pos_(nullptr),  in JSONParser()
221 pos_ = start_pos_; in Parse()
235 if (CanConsume(3) && static_cast<uint8_t>(*pos_) == 0xEF && in Parse()
236 static_cast<uint8_t>(*(pos_ + 1)) == 0xBB && in Parse()
237 static_cast<uint8_t>(*(pos_ + 2)) == 0xBF) { in Parse()
299 : pos_(pos), in StringBuilder()
306 std::swap(other->pos_, pos_); in Swap()
332 string_ = new std::string(pos_, length_); in Convert()
342 return StringPiece(pos_, length_); in AsStringPiece()
354 return pos_ + length <= end_pos_; in CanConsume()
360 ++pos_; in NextChar()
361 return pos_; in NextChar()
367 pos_ += n; in NextNChars()
375 switch (*pos_) { in GetNextToken()
414 while (pos_ < end_pos_) { in EatWhitespaceAndComments()
415 switch (*pos_) { in EatWhitespaceAndComments()
420 if (!(*pos_ == '\n' && pos_ > start_pos_ && *(pos_ - 1) == '\r')) in EatWhitespaceAndComments()
438 if (*pos_ != '/' || !CanConsume(1)) in EatComment()
495 if (*pos_ != '{') { in ConsumeDictionary()
559 if (*pos_ != '[') { in ConsumeList()
617 if (*pos_ != '"') { in ConsumeStringRaw()
631 pos_ = start_pos_ + index_; // CBU8_NEXT is postcrement. in ConsumeStringRaw()
753 if (!HexStringToInt(StringPiece(pos_, 4), &code_unit16_high)) in DecodeUTF16()
783 if (!HexStringToInt(StringPiece(pos_, 4), &code_unit16_low)) in DecodeUTF16()
831 const char* num_start = pos_; in ConsumeNumber()
835 if (*pos_ == '-') in ConsumeNumber()
845 if (*pos_ == '.') { in ConsumeNumber()
859 if (*pos_ == 'e' || *pos_ == 'E') { in ConsumeNumber()
861 if (*pos_ == '-' || *pos_ == '+') in ConsumeNumber()
874 const char* exit_pos = pos_ - 1; in ConsumeNumber()
888 pos_ = exit_pos; in ConsumeNumber()
907 char first = *pos_; in ReadInt()
926 switch (*pos_) { in ConsumeLiteral()
931 !StringsAreEqual(pos_, kTrueLiteral, kTrueLen)) { in ConsumeLiteral()
942 !StringsAreEqual(pos_, kFalseLiteral, kFalseLen)) { in ConsumeLiteral()
953 !StringsAreEqual(pos_, kNullLiteral, kNullLen)) { in ConsumeLiteral()