Lines Matching defs:Storage
55 llvm::StringMap<std::string> &Storage;
59 MemoryShardStorage(llvm::StringMap<std::string> &Storage, size_t &CacheHits)
60 : Storage(Storage), CacheHits(CacheHits) {}
65 Storage[ShardIdentifier] = llvm::to_string(Shard);
72 if (!Storage.contains(ShardIdentifier)) {
76 readIndexFile(Storage[ShardIdentifier], SymbolOrigin::Background);
97 llvm::StringMap<std::string> Storage;
99 MemoryShardStorage MSS(Storage, CacheHits);
144 llvm::StringMap<std::string> Storage;
146 MemoryShardStorage MSS(Storage, CacheHits);
189 llvm::StringMap<std::string> Storage;
191 MemoryShardStorage MSS(Storage, CacheHits);
244 llvm::StringMap<std::string> Storage;
246 MemoryShardStorage MSS(Storage, CacheHits);
278 llvm::StringMap<std::string> Storage;
280 MemoryShardStorage MSS(Storage, CacheHits);
286 // Check nothing is loaded from Storage, but A.cc and A.h has been stored.
295 EXPECT_EQ(Storage.size(), 2U);
305 EXPECT_EQ(Storage.size(), 2U);
348 llvm::StringMap<std::string> Storage;
350 MemoryShardStorage MSS(Storage, CacheHits);
397 llvm::StringMap<std::string> Storage;
399 MemoryShardStorage MSS(Storage, CacheHits);
405 // Check nothing is loaded from Storage, but A.cc and A.h has been stored.
471 llvm::StringMap<std::string> Storage;
473 MemoryShardStorage MSS(Storage, CacheHits);
487 EXPECT_THAT(Storage.keys(),
528 llvm::StringMap<std::string> Storage;
530 MemoryShardStorage MSS(Storage, CacheHits);
559 llvm::StringMap<std::string> Storage;
561 MemoryShardStorage MSS(Storage, CacheHits);
583 EXPECT_THAT(Storage.keys(),
623 llvm::StringMap<std::string> Storage;
625 MemoryShardStorage MSS(Storage, CacheHits);
639 EXPECT_THAT(Storage.keys(),
651 llvm::StringMap<std::string> Storage;
653 MemoryShardStorage MSS(Storage, CacheHits);
670 std::string OldShard = Storage.lookup(testPath("A.cc"));
682 EXPECT_EQ(OldShard, Storage.lookup(testPath("A.cc")));