Home
last modified time | relevance | path

Searched refs:patches_ (Results 1 – 4 of 4) sorted by relevance

/external/bsdiff/
Dsplit_patch_writer.cc16 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()
[all …]
Dsplit_patch_writer.h26 : new_chunk_size_(new_chunk_size), patches_(patches) { in SplitPatchWriter()
61 std::vector<PatchWriterInterface*> patches_; variable
/external/perfetto/include/perfetto/tracing/core/
Dcommit_data_request.h149 int patches_size() const { return static_cast<int>(patches_.size()); } in patches_size()
150 const std::vector<Patch>& patches() const { return patches_; } in patches()
151 std::vector<Patch>* mutable_patches() { return &patches_; } in mutable_patches()
152 void clear_patches() { patches_.clear(); } in clear_patches()
154 patches_.emplace_back(); in add_patches()
155 return &patches_.back(); in add_patches()
165 std::vector<Patch> patches_; variable
/external/perfetto/src/tracing/core/
Dcommit_data_request.cc161 (patches_ == other.patches_) && in operator ==()
179 patches_.clear(); in FromProto()
181 patches_.emplace_back(); in FromProto()
182 patches_.back().FromProto(field); in FromProto()
209 for (const auto& it : patches_) { in ToProto()