Home
last modified time | relevance | path

Searched refs:getVirtualFile (Results 1 – 14 of 14) 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/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliClassModifierListTest.java110 myFixture.configureFromExistingVirtualFile(file.getVirtualFile()); in testAddClassAccessFlag()
127 myFixture.configureFromExistingVirtualFile(file.getVirtualFile()); in testRemoveClassAccessFlag()
DSmaliFileTypeTest.java44 Assert.assertEquals(SmaliFileType.INSTANCE, file.getVirtualFile().getFileType()); in testImportSmaliClass()
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/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/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/clang/lib/Serialization/
DModuleManager.cpp251 FileMgr.getVirtualFile(FileName, Buffer->getBufferSize(), 0); in addInMemoryBuffer()
DASTReader.cpp1968 File = FileMgr.getVirtualFile(Filename, StoredSize, StoredTime); in getInputFile()
/external/clang/lib/Basic/
DFileManager.cpp322 FileManager::getVirtualFile(StringRef Filename, off_t Size, in getVirtualFile() function in FileManager