Lines Matching refs:manifest
122 inline DynamicPartitionGroup* AddGroup(DeltaArchiveManifest* manifest, in AddGroup() argument
125 auto* g = manifest->mutable_dynamic_partition_metadata()->add_groups(); in AddGroup()
131 inline void AddPartition(DeltaArchiveManifest* manifest, in AddPartition() argument
136 auto* p = manifest->add_partitions(); in AddPartition()
145 DeltaArchiveManifest manifest; in PartitionSuffixSizesToManifest() local
147 AddGroup(&manifest, std::string(kDefaultGroup) + suffix, kDefaultGroupSize); in PartitionSuffixSizesToManifest()
155 &manifest, in PartitionSuffixSizesToManifest()
156 manifest.mutable_dynamic_partition_metadata()->mutable_groups( in PartitionSuffixSizesToManifest()
163 return manifest; in PartitionSuffixSizesToManifest()
169 DeltaArchiveManifest manifest; in PartitionSizesToManifest() local
170 auto* g = AddGroup(&manifest, std::string(kDefaultGroup), kDefaultGroupSize); in PartitionSizesToManifest()
172 AddPartition(&manifest, g, pair.first, pair.second); in PartitionSizesToManifest()
174 return manifest; in PartitionSizesToManifest()
178 const DeltaArchiveManifest& manifest, uint32_t partition_attr = 0) {
181 for (const auto& group : manifest.dynamic_partition_metadata().groups()) {
189 for (const auto& partition : manifest.partitions()) {
201 explicit MetadataMatcher(const DeltaArchiveManifest& manifest) in MetadataMatcher() argument
202 : manifest_(manifest) {} in MetadataMatcher()
266 const DeltaArchiveManifest& manifest) { in MetadataMatches() argument
267 return MakeMatcher(new MetadataMatcher(manifest)); in MetadataMatches()