Searched refs:leftover_ (Results 1 – 3 of 3) sorted by relevance
103 leftover_(), in JsonStreamParser()131 if (!leftover_.empty()) { in Parse()134 chunk_storage_.swap(leftover_); in Parse()146 StrAppend(&leftover_, chunk.substr(n)); in Parse()149 leftover_.assign(chunk.data(), chunk.size()); in Parse()157 if (stack_.empty() && leftover_.empty()) { in FinishParse()164 utf8.reset(new char[leftover_.size()]); in FinishParse()165 char* coerced = internal::UTF8CoerceToStructurallyValid(leftover_, utf8.get(), ' '); in FinishParse()166 p_ = json_ = StringPiece(coerced, leftover_.size()); in FinishParse()168 p_ = json_ = leftover_; in FinishParse()[all …]
234 std::string leftover_; variable
1471 string leftover_; member in google::protobuf::compiler::objectivec::__anona97211560411::Parser1475 if (!leftover_.empty()) { in ParseChunk()1476 leftover_ += string(chunk); in ParseChunk()1477 p_ = StringPiece(leftover_); in ParseChunk()1483 leftover_.clear(); in ParseChunk()1485 leftover_ = string(p_); in ParseChunk()1491 if (leftover_.empty()) { in Finish()1495 leftover_ += "\n"; in Finish()1496 p_ = StringPiece(leftover_); in Finish()