Home
last modified time | relevance | path

Searched refs:InMemoryFileSystem (Results 1 – 18 of 18) sorted by relevance

/external/clang/unittests/Driver/
DToolChainTest.cpp34 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local
35 new vfs::InMemoryFileSystem); in TEST()
37 InMemoryFileSystem); in TEST()
58 InMemoryFileSystem->addFile(Path, 0, in TEST()
87 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local
88 new vfs::InMemoryFileSystem); in TEST()
90 InMemoryFileSystem); in TEST()
97 InMemoryFileSystem->addFile(Path, 0, in TEST()
/external/clang/lib/Index/
DSimpleFormatContext.h41 InMemoryFileSystem(new vfs::InMemoryFileSystem), in SimpleFormatContext()
42 Files(FileSystemOptions(), InMemoryFileSystem), in SimpleFormatContext()
49 InMemoryFileSystem->addFile(Name, 0, in createInMemoryFile()
66 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem; variable
/external/clang/lib/Tooling/
DTooling.cpp130 llvm::IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in runToolOnCodeWithArgs() local
131 new vfs::InMemoryFileSystem); in runToolOnCodeWithArgs()
132 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in runToolOnCodeWithArgs()
139 InMemoryFileSystem->addFile(FileNameRef, 0, in runToolOnCodeWithArgs()
144 InMemoryFileSystem->addFile( in runToolOnCodeWithArgs()
314 InMemoryFileSystem(new vfs::InMemoryFileSystem), in ClangTool()
317 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in ClangTool()
361 InMemoryFileSystem->addFile( in run()
406 InMemoryFileSystem->addFile( in run()
487 llvm::IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in buildASTFromCodeWithArgs() local
[all …]
/external/clang/tools/clang-format/
DClangFormat.cpp115 vfs::InMemoryFileSystem *MemFS) { in createInMemoryFile()
132 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in fillRanges() local
133 new vfs::InMemoryFileSystem); in fillRanges()
134 FileManager Files(FileSystemOptions(), InMemoryFileSystem); in fillRanges()
140 InMemoryFileSystem.get()); in fillRanges()
281 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in format() local
282 new vfs::InMemoryFileSystem); in format()
283 FileManager Files(FileSystemOptions(), InMemoryFileSystem); in format()
289 InMemoryFileSystem.get()); in format()
/external/clang/unittests/Tooling/
DRewriterTestContext.h42 InMemoryFileSystem(new vfs::InMemoryFileSystem), in RewriterTestContext()
50 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in RewriterTestContext()
58 InMemoryFileSystem->addFile(Name, 0, std::move(Source)); in createInMemoryFile()
117 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem; variable
DToolingTest.cpp154 llvm::IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local
155 new vfs::InMemoryFileSystem); in TEST()
156 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in TEST()
166 InMemoryFileSystem->addFile( in TEST()
168 InMemoryFileSystem->addFile("def/abc", 0, in TEST()
180 llvm::IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local
181 new vfs::InMemoryFileSystem); in TEST()
182 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in TEST()
192 InMemoryFileSystem->addFile( in TEST()
194 InMemoryFileSystem->addFile("def/abc", 0, in TEST()
[all …]
/external/clang/unittests/Lex/
DPPCallbacksTest.cpp113 : InMemoryFileSystem(new vfs::InMemoryFileSystem), in PPCallbacksTest()
114 FileMgr(FileSystemOptions(), InMemoryFileSystem), in PPCallbacksTest()
122 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem; member in __anon5d7da8300111::PPCallbacksTest
137 InMemoryFileSystem->addFile(HeaderPath, 0, in AddFakeHeader()
/external/clang/lib/Tooling/Core/
DReplacement.cpp258 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in applyAllReplacements() local
259 new vfs::InMemoryFileSystem); in applyAllReplacements()
260 FileManager Files(FileSystemOptions(), InMemoryFileSystem); in applyAllReplacements()
266 InMemoryFileSystem->addFile( in applyAllReplacements()
/external/clang/include/clang/Basic/
DVirtualFileSystem.h273 class InMemoryFileSystem : public FileSystem {
279 explicit InMemoryFileSystem(bool UseNormalizedPaths = true);
280 ~InMemoryFileSystem() override;
/external/clang/lib/Basic/
DVirtualFileSystem.cpp478 InMemoryFileSystem::InMemoryFileSystem(bool UseNormalizedPaths) in InMemoryFileSystem() function in clang::vfs::InMemoryFileSystem
485 InMemoryFileSystem::~InMemoryFileSystem() {} in ~InMemoryFileSystem()
487 std::string InMemoryFileSystem::toString() const { in toString()
491 bool InMemoryFileSystem::addFile(const Twine &P, time_t ModificationTime, in addFile()
556 bool InMemoryFileSystem::addFileNoOwn(const Twine &P, time_t ModificationTime, in addFileNoOwn()
564 lookupInMemoryNode(const InMemoryFileSystem &FS, detail::InMemoryDirectory *Dir, in lookupInMemoryNode()
601 llvm::ErrorOr<Status> InMemoryFileSystem::status(const Twine &Path) { in status()
609 InMemoryFileSystem::openFileForRead(const Twine &Path) { in openFileForRead()
647 directory_iterator InMemoryFileSystem::dir_begin(const Twine &Dir, in dir_begin()
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
DOkUrlFactoryTest.java6 import com.squareup.okhttp.internal.io.InMemoryFileSystem;
32 private FileSystem fileSystem = new InMemoryFileSystem();
DUrlConnectionCacheTest.java23 import com.squareup.okhttp.internal.io.InMemoryFileSystem;
86 private final FileSystem fileSystem = new InMemoryFileSystem();
/external/clang/include/clang/Tooling/
DTooling.h336 llvm::IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem; variable
/external/okhttp/okhttp-testing-support/src/main/java/com/squareup/okhttp/internal/io/
DInMemoryFileSystem.java29 public final class InMemoryFileSystem implements FileSystem { class
/external/clang/lib/Format/
DFormat.cpp1893 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in reformat() local
1894 new vfs::InMemoryFileSystem); in reformat()
1895 FileManager Files(FileSystemOptions(), InMemoryFileSystem); in reformat()
1900 InMemoryFileSystem->addFile(FileName, 0, in reformat()
/external/clang/unittests/Basic/
DVirtualFileSystemTest.cpp542 clang::vfs::InMemoryFileSystem FS;
543 clang::vfs::InMemoryFileSystem NormalizedFS;
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCallTest.java26 import com.squareup.okhttp.internal.io.InMemoryFileSystem;
93 private FileSystem fileSystem = new InMemoryFileSystem();
DCacheTest.java23 import com.squareup.okhttp.internal.io.InMemoryFileSystem;
81 private final FileSystem fileSystem = new InMemoryFileSystem();