Home
last modified time | relevance | path

Searched refs:NormalizedFS (Results 1 – 2 of 2) sorted by relevance

/external/clang/unittests/Basic/
DVirtualFileSystemTest.cpp526 clang::vfs::InMemoryFileSystem NormalizedFS; member in InMemoryFileSystemTest
530 NormalizedFS(/*UseNormalizedPaths=*/true) {} in InMemoryFileSystemTest()
555 NormalizedFS.addFile("/a", 0, MemoryBuffer::getMemBuffer("a")); in TEST_F()
560 Stat = NormalizedFS.status("/."); in TEST_F()
579 NormalizedFS.addFile("/a", 0, MemoryBuffer::getMemBuffer("a")); in TEST_F()
580 NormalizedFS.addFile("././c", 0, MemoryBuffer::getMemBuffer("c")); in TEST_F()
581 NormalizedFS.addFile("./d/../d", 0, MemoryBuffer::getMemBuffer("d")); in TEST_F()
586 File = NormalizedFS.openFileForRead("/././a"); // Open again. in TEST_F()
596 File = NormalizedFS.openFileForRead("./c"); in TEST_F()
598 File = NormalizedFS.openFileForRead("e/../d"); in TEST_F()
[all …]
/external/llvm-project/llvm/unittests/Support/
DVirtualFileSystemTest.cpp889 llvm::vfs::InMemoryFileSystem NormalizedFS; member in InMemoryFileSystemTest
893 NormalizedFS(/*UseNormalizedPaths=*/true) {} in InMemoryFileSystemTest()
928 NormalizedFS.addFile("/a", 0, MemoryBuffer::getMemBuffer("a")); in TEST_F()
933 Stat = NormalizedFS.status("/."); in TEST_F()
952 NormalizedFS.addFile("/a", 0, MemoryBuffer::getMemBuffer("a")); in TEST_F()
953 NormalizedFS.addFile("././c", 0, MemoryBuffer::getMemBuffer("c")); in TEST_F()
954 NormalizedFS.addFile("./d/../d", 0, MemoryBuffer::getMemBuffer("d")); in TEST_F()
959 File = NormalizedFS.openFileForRead("/././a"); // Open again. in TEST_F()
969 File = NormalizedFS.openFileForRead("./c"); in TEST_F()
971 File = NormalizedFS.openFileForRead("e/../d"); in TEST_F()
[all …]