Lines Matching refs:FileSystem

14 #include "llvm/Support/FileSystem.h"
48 class DummyFileSystem : public vfs::FileSystem {
184 case vfs::FileSystem::PrintType::Summary:
187 case vfs::FileSystem::PrintType::Contents:
190 case vfs::FileSystem::PrintType::RecursiveContents:
456 IntrusiveRefCntPtr<vfs::FileSystem> FS = vfs::getRealFileSystem();
492 std::unique_ptr<vfs::FileSystem> BFS = vfs::createPhysicalFileSystem(),
576 IntrusiveRefCntPtr<vfs::FileSystem> FS = vfs::getRealFileSystem();
605 IntrusiveRefCntPtr<vfs::FileSystem> FS = vfs::getRealFileSystem();
655 IntrusiveRefCntPtr<vfs::FileSystem> FS = vfs::getRealFileSystem();
729 IntrusiveRefCntPtr<vfs::FileSystem> FS = vfs::getRealFileSystem();
944 std::vector<const vfs::FileSystem *> FSs;
945 PFS.visit([&](const vfs::FileSystem &FS) { FSs.push_back(&FS); });
951 EXPECT_TRUE(isa<vfs::FileSystem>(FSs[3]));
952 EXPECT_TRUE(isa<vfs::FileSystem>(FSs[4]));
953 EXPECT_TRUE(isa<vfs::FileSystem>(FSs[5]));
966 Overlay2->print(OuputStream, vfs::FileSystem::PrintType::Summary);
970 Overlay2->print(OuputStream, vfs::FileSystem::PrintType::Contents);
977 Overlay2->print(OuputStream, vfs::FileSystem::PrintType::RecursiveContents);
1572 std::unique_ptr<vfs::FileSystem>
1574 IntrusiveRefCntPtr<vfs::FileSystem> ExternalFS,
1581 std::unique_ptr<vfs::FileSystem> getFromYAMLString(
1583 IntrusiveRefCntPtr<vfs::FileSystem> ExternalFS = new DummyFileSystem(),
1598 IntrusiveRefCntPtr<vfs::FileSystem> FS;
1612 IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
1726 IntrusiveRefCntPtr<vfs::FileSystem> FS =
1771 IntrusiveRefCntPtr<vfs::FileSystem> FS =
1815 IntrusiveRefCntPtr<vfs::FileSystem> FS =
1856 IntrusiveRefCntPtr<vfs::FileSystem> FS =
1961 IntrusiveRefCntPtr<vfs::FileSystem> FS =
2063 IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
2099 IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
2132 IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString("{]", Lower);
2258 IntrusiveRefCntPtr<vfs::FileSystem> FS =
2311 IntrusiveRefCntPtr<vfs::FileSystem> FS =
2357 IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
2379 IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
2424 IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
2469 IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
2513 IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
2564 IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
2593 IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
2622 IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
2650 IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
2703 IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
2762 IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
2844 IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
2881 IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
2943 IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLRawString(Buffer, Lower);
2982 IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLRawString(Buffer, Lower);
3014 IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLRawString(Buffer, Lower);
3045 IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLRawString(Buffer, Lower);
3080 auto ExpectPath = [&](vfs::FileSystem &FS, StringRef Expected,
3093 auto ExpectFailure = [&](vfs::FileSystem &FS, StringRef Message) {
3102 IntrusiveRefCntPtr<vfs::FileSystem> Fallthrough =
3108 IntrusiveRefCntPtr<vfs::FileSystem> Fallback =
3115 IntrusiveRefCntPtr<vfs::FileSystem> Redirect =
3125 IntrusiveRefCntPtr<vfs::FileSystem> Fallthrough =
3131 IntrusiveRefCntPtr<vfs::FileSystem> Fallback =
3137 IntrusiveRefCntPtr<vfs::FileSystem> Redirect =
3147 IntrusiveRefCntPtr<vfs::FileSystem> Fallthrough =
3153 IntrusiveRefCntPtr<vfs::FileSystem> Fallback =
3159 IntrusiveRefCntPtr<vfs::FileSystem> Redirect =
3290 Redirecting->print(OuputStream, vfs::FileSystem::PrintType::Summary);
3294 Redirecting->print(OuputStream, vfs::FileSystem::PrintType::Contents);
3306 Redirecting->print(OuputStream, vfs::FileSystem::PrintType::Contents, 1);
3319 vfs::FileSystem::PrintType::RecursiveContents);
3383 InterceptorFS(IntrusiveRefCntPtr<FileSystem> UnderlyingFS)