Searched refs:leftover_ (Results 1 – 3 of 3) sorted by relevance
100 leftover_(), in JsonStreamParser()124 if (!leftover_.empty()) { in Parse()127 chunk_storage_.swap(leftover_); in Parse()139 chunk.substr(n).AppendToString(&leftover_); in Parse()142 chunk.CopyToString(&leftover_); in Parse()150 if (stack_.empty() && leftover_.empty()) { in FinishParse()157 utf8.reset(new char[leftover_.size()]); in FinishParse()158 char* coerced = internal::UTF8CoerceToStructurallyValid(leftover_, utf8.get(), ' '); in FinishParse()159 p_ = json_ = StringPiece(coerced, leftover_.size()); in FinishParse()161 p_ = json_ = leftover_; in FinishParse()[all …]
212 string leftover_; variable
1285 string leftover_; member in google::protobuf::compiler::objectivec::__anon0d0ee06f0411::Parser1289 if (!leftover_.empty()) { in ParseChunk()1290 chunk.AppendToString(&leftover_); in ParseChunk()1291 p_ = StringPiece(leftover_); in ParseChunk()1297 leftover_.clear(); in ParseChunk()1299 leftover_ = p_.ToString(); in ParseChunk()1305 if (leftover_.empty()) { in Finish()1309 leftover_ += "\n"; in Finish()1310 p_ = StringPiece(leftover_); in Finish()