Home
last modified time | relevance | path

Searched refs:getVirtualFile (Results 1 – 25 of 25) sorted by relevance

/external/clang/unittests/Basic/
DFileManagerTest.cpp80 const FileEntry *file = manager.getVirtualFile("foo.cpp", 42, 0); in TEST_F()
87 file = manager.getVirtualFile("x/y/z.cpp", 42, 0); in TEST_F()
113 manager.getVirtualFile("virtual/dir/bar.h", 100, 0); in TEST_F()
164 manager.getVirtualFile("virtual/dir/bar.h", 100, 0); in TEST_F()
202 manager.getVirtualFile("bar.cpp", 200, 0); in TEST_F()
234 manager.getVirtualFile("abc/foo.cpp", 100, 0); in TEST_F()
235 manager.getVirtualFile("abc/bar.cpp", 200, 0); in TEST_F()
DSourceManagerTest.cpp196 const FileEntry *headerFile = FileMgr.getVirtualFile("/test-header.h", in TEST_F()
296 const FileEntry *headerFile = FileMgr.getVirtualFile("/test-header.h", in TEST_F()
/external/llvm-project/clang/unittests/Basic/
DFileManagerTest.cpp104 const FileEntry *file = manager.getVirtualFile("foo.cpp", 42, 0); in TEST_F()
111 file = manager.getVirtualFile("x/y/z.cpp", 42, 0); in TEST_F()
137 manager.getVirtualFile("virtual/dir/bar.h", 100, 0); in TEST_F()
189 manager.getVirtualFile("virtual/dir/bar.h", 100, 0); in TEST_F()
231 manager.getVirtualFile("bar.cpp", 200, 0); in TEST_F()
343 ASSERT_TRUE(manager.getVirtualFile("abc/foo.cpp", 100, 0)->isValid()); in TEST_F()
344 ASSERT_TRUE(manager.getVirtualFile("abc/bar.cpp", 200, 0)->isValid()); in TEST_F()
418 const FileEntry *file1 = manager.getVirtualFile("c:\\tmp\\test", 123, 1); in TEST_F()
489 const FileEntry *file = Manager.getVirtualFile("/tmp/test", 123, 1); in TEST_F()
554 const FileEntry *File = Manager.getVirtualFile("/tmp/test", /*Size=*/10, 0); in TEST_F()
DSourceManagerTest.cpp171 FileMgr.getVirtualFile("/mainFile.cpp", Buf->getBufferSize(), 0); in TEST_F()
175 FileMgr.getVirtualFile("/test-header.h", HeaderBuf->getBufferSize(), 0); in TEST_F()
290 const FileEntry *headerFile = FileMgr.getVirtualFile("/test-header.h", in TEST_F()
306 FileMgr.getVirtualFile("/implicit-header.h", 0, 0); in TEST_F()
414 const FileEntry *headerFile = FileMgr.getVirtualFile("/test-header.h", in TEST_F()
500 FileMgr.getVirtualFile("mainFile.cpp", Buf->getBufferSize(), 0); in TEST_F()
506 FileMgr.getVirtualFile("file2.cpp", Buf2->getBufferSize(), 0); in TEST_F()
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliFileTypeTest.java44 Assert.assertEquals(SmaliFileType.INSTANCE, file.getVirtualFile().getFileType()); in testImportSmaliClass()
DSmaliClassModifierListTest.java110 myFixture.configureFromExistingVirtualFile(file.getVirtualFile()); in testAddClassAccessFlag()
127 myFixture.configureFromExistingVirtualFile(file.getVirtualFile()); in testRemoveClassAccessFlag()
DSmaliCodeFragmentFactoryTest.java233 Editor editor = createEditor(fragment.getVirtualFile()); in assertCompletionContains()
256 Editor editor = createEditor(fragment.getVirtualFile()); in assertVariableType()
DLightCodeInsightParsingTestCase.java105 ((LightVirtualFile)f.getVirtualFile()).getContent().toString()); in doTest()
106 … assertEquals("virtual file text mismatch", text, LoadTextUtil.loadText(f.getVirtualFile())); in doTest()
/external/llvm-project/clang-tools-extra/unittests/include/common/
DVirtualFileHelper.h63 const FileEntry *Entry = SM.getFileManager().getVirtualFile( in mapVirtualFiles()
/external/llvm-project/clang/unittests/Frontend/
DTextDiagnosticTest.cpp49 const clang::FileEntry &fe = *FileMgr.getVirtualFile( in TEST()
/external/llvm-project/clang/include/clang/Basic/
DFileManager.h245 const FileEntry *getVirtualFile(StringRef Filename, off_t Size,
/external/clang/include/clang/Basic/
DFileManager.h234 const FileEntry *getVirtualFile(StringRef Filename, off_t Size,
/external/clang/lib/Frontend/
DCompilerInstance.cpp256 FileMgr.getVirtualFile(RB.first, RB.second->getBufferSize(), 0); in InitializeFileRemapping()
281 FileMgr.getVirtualFile(RF.first, ToFile->getSize(), 0); in InitializeFileRemapping()
790 File = FileMgr.getVirtualFile(InputFile, (*MB)->getBufferSize(), 0); in InitializeSourceManager()
810 const FileEntry *File = FileMgr.getVirtualFile(SB->getBufferIdentifier(), in InitializeSourceManager()
1027 ModuleMapFile = Instance.getFileManager().getVirtualFile( in compileModuleImpl()
/external/llvm-project/clang/lib/Frontend/
DCompilerInstance.cpp341 FileMgr.getVirtualFile(RB.first, RB.second->getBufferSize(), 0); in InitializeFileRemapping()
372 FileMgr.getVirtualFile(RF.first, (*ToFile)->getSize(), 0); in InitializeFileRemapping()
872 FileMgr.getVirtualFile(InputFile, (*MB)->getBufferSize(), 0); in InitializeSourceManager()
894 const FileEntry *File = FileMgr.getVirtualFile(SB->getBufferIdentifier(), in InitializeSourceManager()
1258 ModuleMapFile = Instance.getFileManager().getVirtualFile( in compileModule()
2093 const FileEntry *ModuleMapFile = Other.getFileManager().getVirtualFile( in createModuleFromSource()
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliMethod.java321 … new SmalideaClassProvider(getProject(), getContainingFile().getVirtualFile())); in getMethodAnalyzer()
DSmaliClass.java301 VirtualFile virtualFile = this.getContainingFile().getVirtualFile(); in setName()
/external/clang/tools/libclang/
DCXLoadedDiagnostic.cpp349 TopDiags->FakeFiles.getVirtualFile(Name, Size, Timestamp); in visitFilenameRecord()
/external/llvm-project/clang/tools/libclang/
DCXLoadedDiagnostic.cpp346 TopDiags->FakeFiles.getVirtualFile(Name, Size, Timestamp); in visitFilenameRecord()
/external/clang/lib/Serialization/
DModuleManager.cpp251 FileMgr.getVirtualFile(FileName, Buffer->getBufferSize(), 0); in addInMemoryBuffer()
DASTReader.cpp1968 File = FileMgr.getVirtualFile(Filename, StoredSize, StoredTime); in getInputFile()
/external/llvm-project/clang/lib/Serialization/
DModuleManager.cpp304 FileMgr.getVirtualFile(FileName, Buffer->getBufferSize(), 0); in addInMemoryBuffer()
/external/clang/lib/Basic/
DFileManager.cpp322 FileManager::getVirtualFile(StringRef Filename, off_t Size, in getVirtualFile() function in FileManager
/external/llvm-project/clang/lib/Basic/
DFileManager.cpp341 const FileEntry *FileManager::getVirtualFile(StringRef Filename, off_t Size, in getVirtualFile() function in FileManager
/external/llvm-project/clang/lib/Lex/
DHeaderSearch.cpp1535 auto *FakeFile = FileMgr.getVirtualFile(OriginalModuleMapFile, 0, 0); in loadModuleMapFile()
/external/llvm-project/clang/unittests/AST/
DASTImporterTest.cpp5807 *FM.getVirtualFile(Path, static_cast<off_t>(Contents.size()), 0); in TEST_P()