Lines Matching refs:Table
185 using Table = std::map<std::string, TableRow>;
187 // Insert each fqInstanceName foo@x.y::IFoo/instance to the table by inserting the key
189 void insert(const HalManifest* manifest, Table* table, const RowMutator& mutate) {
194 mutate(&(*table)[key]);
199 void insert(const CompatibilityMatrix* matrix, Table* table, const RowMutator& mutate) {
209 auto it = table->find(key);
210 if (it == table->end()) {
211 mutate(&(*table)[key]);
223 Table generateHalSummary(const HalManifest* vm, const HalManifest* fm,
225 Table table;
226 insert(vm, &table, [](auto* row) { row->dm = true; });
227 insert(fm, &table, [](auto* row) { row->fm = true; });
228 insert(vcm, &table, [](auto* row) { row->dcm = true; });
229 insert(fcm, &table, [](auto* row) { row->fcm = true; });
231 return table;
261 auto table = generateHalSummary(vm.get(), fm.get(), vcm.get(), fcm.get());
263 for (const auto& pair : table)