Home
last modified time | relevance | path

Searched refs:InMemoryFileSystem (Results 1 – 20 of 20) 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/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()
284 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in format() local
285 new vfs::InMemoryFileSystem); in format()
286 FileManager Files(FileSystemOptions(), InMemoryFileSystem); in format()
292 InMemoryFileSystem.get()); in format()
/external/clang/lib/Tooling/
DTooling.cpp135 llvm::IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in runToolOnCodeWithArgs() local
136 new vfs::InMemoryFileSystem); in runToolOnCodeWithArgs()
137 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in runToolOnCodeWithArgs()
145 InMemoryFileSystem->addFile(FileNameRef, 0, in runToolOnCodeWithArgs()
150 InMemoryFileSystem->addFile( in runToolOnCodeWithArgs()
322 InMemoryFileSystem(new vfs::InMemoryFileSystem), in ClangTool()
325 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in ClangTool()
375 InMemoryFileSystem->addFile( in run()
420 InMemoryFileSystem->addFile( in run()
510 llvm::IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in buildASTFromCodeWithArgs() local
[all …]
/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/lib/Format/
DTokenAnalyzer.cpp44 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in CreateVirtualEnvironment() local
45 new vfs::InMemoryFileSystem); in CreateVirtualEnvironment()
49 new FileManager(FileSystemOptions(), InMemoryFileSystem)); in CreateVirtualEnvironment()
59 InMemoryFileSystem->addFile( in CreateVirtualEnvironment()
/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 __anonf86715790111::PPCallbacksTest
137 InMemoryFileSystem->addFile(HeaderPath, 0, in AddFakeHeader()
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
DOkUrlFactoryTest.java7 import com.squareup.okhttp.internal.io.InMemoryFileSystem;
34 @Rule public InMemoryFileSystem fileSystem = new InMemoryFileSystem();
DUrlConnectionCacheTest.java22 import com.squareup.okhttp.internal.io.InMemoryFileSystem;
83 @Rule public InMemoryFileSystem fileSystem = new InMemoryFileSystem();
/external/clang/lib/Tooling/Core/
DReplacement.cpp257 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in applyAllReplacements() local
258 new vfs::InMemoryFileSystem); in applyAllReplacements()
259 FileManager Files(FileSystemOptions(), InMemoryFileSystem); in applyAllReplacements()
265 InMemoryFileSystem->addFile( in applyAllReplacements()
/external/clang/include/clang/Basic/
DVirtualFileSystem.h287 class InMemoryFileSystem : public FileSystem {
293 explicit InMemoryFileSystem(bool UseNormalizedPaths = true);
294 ~InMemoryFileSystem() override;
/external/clang/lib/Basic/
DVirtualFileSystem.cpp495 InMemoryFileSystem::InMemoryFileSystem(bool UseNormalizedPaths) in InMemoryFileSystem() function in clang::vfs::InMemoryFileSystem
502 InMemoryFileSystem::~InMemoryFileSystem() {} in ~InMemoryFileSystem()
504 std::string InMemoryFileSystem::toString() const { in toString()
508 bool InMemoryFileSystem::addFile(const Twine &P, time_t ModificationTime, in addFile()
573 bool InMemoryFileSystem::addFileNoOwn(const Twine &P, time_t ModificationTime, in addFileNoOwn()
581 lookupInMemoryNode(const InMemoryFileSystem &FS, detail::InMemoryDirectory *Dir, in lookupInMemoryNode()
618 llvm::ErrorOr<Status> InMemoryFileSystem::status(const Twine &Path) { in status()
626 InMemoryFileSystem::openFileForRead(const Twine &Path) { in openFileForRead()
664 directory_iterator InMemoryFileSystem::dir_begin(const Twine &Dir, in dir_begin()
679 std::error_code InMemoryFileSystem::setCurrentWorkingDirectory(const Twine &P) { in setCurrentWorkingDirectory()
/external/clang/include/clang/Tooling/
DTooling.h341 llvm::IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem; variable
/external/clang/unittests/AST/
DASTImporterTest.cpp72 vfs::InMemoryFileSystem *MFS = static_cast<vfs::InMemoryFileSystem *>( in testImport()
/external/okhttp/okhttp-testing-support/src/main/java/com/squareup/okhttp/internal/io/
DInMemoryFileSystem.java37 public final class InMemoryFileSystem implements FileSystem, TestRule { class
/external/clang/unittests/Basic/
DVirtualFileSystemTest.cpp525 clang::vfs::InMemoryFileSystem FS;
526 clang::vfs::InMemoryFileSystem NormalizedFS;
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCallTest.java25 import com.squareup.okhttp.internal.io.InMemoryFileSystem;
91 @Rule public final InMemoryFileSystem fileSystem = new InMemoryFileSystem();
DCacheTest.java22 import com.squareup.okhttp.internal.io.InMemoryFileSystem;
78 @Rule public InMemoryFileSystem fileSystem = new InMemoryFileSystem();
/external/clang/unittests/Format/
DFormatTest.cpp11491 vfs::InMemoryFileSystem FS; in TEST()