Searched refs:leftover_ (Results 1 – 3 of 3) sorted by relevance
144 leftover_(), in JsonStreamParser()174 if (!leftover_.empty()) { in Parse()177 chunk_storage_.swap(leftover_); in Parse()189 StrAppend(&leftover_, chunk.substr(n)); in Parse()192 leftover_.assign(chunk.data(), chunk.size()); in Parse()200 if (stack_.empty() && leftover_.empty()) { in FinishParse()208 bool is_valid_utf8 = internal::IsStructurallyValidUTF8(leftover_); in FinishParse()211 scratch->reserve(leftover_.size() * utf8_replacement_character_.size()); in FinishParse()212 ReplaceInvalidCodePoints(leftover_, utf8_replacement_character_, in FinishParse()216 p_ = json_ = leftover_; in FinishParse()[all …]
234 std::string leftover_; variable
1480 string leftover_; member in google::protobuf::compiler::objectivec::__anon6cccf9c20411::Parser1484 if (!leftover_.empty()) { in ParseChunk()1485 leftover_ += string(chunk); in ParseChunk()1486 p_ = StringPiece(leftover_); in ParseChunk()1492 leftover_.clear(); in ParseChunk()1494 leftover_ = string(p_); in ParseChunk()1500 if (leftover_.empty()) { in Finish()1504 leftover_ += "\n"; in Finish()1505 p_ = StringPiece(leftover_); in Finish()