Lines Matching refs:current_
121 current_ = begin_; in parse()
171 currentValue().setOffsetLimit(current_ - begin_); in readValue()
175 currentValue().setOffsetLimit(current_ - begin_); in readValue()
207 current_--; in readValue()
210 currentValue().setOffsetStart(current_ - begin_ - 1); in readValue()
211 currentValue().setOffsetLimit(current_ - begin_); in readValue()
221 lastValueEnd_ = current_; in readValue()
240 token.start_ = current_; in readToken()
305 token.end_ = current_; in readToken()
310 while (current_ != end_) { in skipSpaces()
311 Char c = *current_; in skipSpaces()
313 ++current_; in skipSpaces()
320 if (end_ - current_ < patternLength) in match()
324 if (current_[index] != pattern[index]) in match()
326 current_ += patternLength; in match()
331 Location commentBegin = current_ - 1; in readComment()
344 if (c != '*' || !containsNewLine(commentBegin, current_)) in readComment()
348 addComment(commentBegin, current_, placement); in readComment()
385 while ((current_ + 1) < end_) { in readCStyleComment()
387 if (c == '*' && *current_ == '/') in readCStyleComment()
394 while (current_ != end_) { in readCppStyleComment()
400 if (current_ != end_ && *current_ == '\n') in readCppStyleComment()
410 Location p = current_; in readNumber()
414 c = (current_ = p) < end_ ? *p++ : '\0'; in readNumber()
417 c = (current_ = p) < end_ ? *p++ : '\0'; in readNumber()
419 c = (current_ = p) < end_ ? *p++ : '\0'; in readNumber()
423 c = (current_ = p) < end_ ? *p++ : '\0'; in readNumber()
425 c = (current_ = p) < end_ ? *p++ : '\0'; in readNumber()
427 c = (current_ = p) < end_ ? *p++ : '\0'; in readNumber()
433 while (current_ != end_) { in readString()
504 if (current_ != end_ && *current_ == ']') // empty array in readArray()
757 if (current_ == end_) in getNextChar()
759 return *current_++; in getNextChar()
985 Location current_ = nullptr; member in Json::OurReader
1013 current_ = begin_; in parse()
1066 currentValue().setOffsetLimit(current_ - begin_); in readValue()
1070 currentValue().setOffsetLimit(current_ - begin_); in readValue()
1120 current_--; in readValue()
1123 currentValue().setOffsetStart(current_ - begin_ - 1); in readValue()
1124 currentValue().setOffsetLimit(current_ - begin_); in readValue()
1134 lastValueEnd_ = current_; in readValue()
1154 token.start_ = current_; in readToken()
1259 token.end_ = current_; in readToken()
1264 while (current_ != end_) { in skipSpaces()
1265 Char c = *current_; in skipSpaces()
1267 ++current_; in skipSpaces()
1278 current_ = begin_; in skipBom()
1284 if (end_ - current_ < patternLength) in match()
1288 if (current_[index] != pattern[index]) in match()
1290 current_ += patternLength; in match()
1295 const Location commentBegin = current_ - 1; in readComment()
1323 addComment(commentBegin, current_, placement); in readComment()
1363 while ((current_ + 1) < end_) { in readCStyleComment()
1365 if (c == '*' && *current_ == '/') in readCStyleComment()
1375 while (current_ != end_) { in readCppStyleComment()
1381 if (current_ != end_ && *current_ == '\n') in readCppStyleComment()
1391 Location p = current_; in readNumber()
1393 current_ = ++p; in readNumber()
1399 c = (current_ = p) < end_ ? *p++ : '\0'; in readNumber()
1402 c = (current_ = p) < end_ ? *p++ : '\0'; in readNumber()
1404 c = (current_ = p) < end_ ? *p++ : '\0'; in readNumber()
1408 c = (current_ = p) < end_ ? *p++ : '\0'; in readNumber()
1410 c = (current_ = p) < end_ ? *p++ : '\0'; in readNumber()
1412 c = (current_ = p) < end_ ? *p++ : '\0'; in readNumber()
1418 while (current_ != end_) { in readString()
1430 while (current_ != end_) { in readStringSingleQuote()
1511 if (current_ != end_ && *current_ == ']' && in readArray()
1804 if (current_ == end_) in getNextChar()
1806 return *current_++; in getNextChar()