Lines Matching refs:patches_
16 if (current_patch_ || patches_.empty()) in Init()
22 if (expected_patches != patches_.size()) { in Init()
25 << " but got " << patches_.size() << " instead."; in Init()
29 return patches_[0]->Init( in Init()
70 if (current_patch_ >= patches_.size()) { in AddControlEntry()
74 if (!patches_[current_patch_]->Init(std::min( in AddControlEntry()
89 if (!patches_[current_patch_]->AddControlEntry( in AddControlEntry()
120 if (current_patch_ + 1 != patches_.size()) { in Close()
127 for (; closed_patches_ < patches_.size(); closed_patches_++) { in Close()
128 if (!patches_[closed_patches_]->Close()) in Close()
140 if (current_patch_ >= patches_.size()) { in AddControlEntryToCurrentPatch()
149 return patches_[current_patch_]->AddControlEntry(entry); in AddControlEntryToCurrentPatch()
160 if (!(patches_[i]->*method)(data + written, flush_size)) in WriteToStream()
168 if (!patches_[i]->Close()) in WriteToStream()