Home
last modified time | relevance | path

Searched refs:FileMgr (Results 1 – 20 of 20) sorted by relevance

/external/clang/lib/Lex/
DHeaderSearch.cpp39 : FileMgr(FM), FrameworkMap(64) { in HeaderSearch()
92 if (const HeaderMap *HM = HeaderMap::Create(FE, FileMgr)) { in CreateHeaderMap()
168 FileManager &FileMgr = HS.getFileMgr(); in DoFrameworkLookup() local
230 if (const FileEntry *FE = FileMgr.getFile(FrameworkName.str(), in DoFrameworkLookup()
243 return FileMgr.getFile(FrameworkName.str(), /*openFile=*/true); in DoFrameworkLookup()
279 return FileMgr.getFile(Filename, /*openFile=*/true); in LookupFile()
294 if (const FileEntry *FE = FileMgr.getFile(TmpDir.str(),/*openFile=*/true)) { in LookupFile()
414 const DirectoryEntry *Dir = FileMgr.getDirectory(FrameworkName.str()); in LookupSubframeworkHeader()
439 if (!(FE = FileMgr.getFile(HeadersFilename.str(), /*openFile=*/true))) { in LookupSubframeworkHeader()
451 if (!(FE = FileMgr.getFile(HeadersFilename.str(), /*openFile=*/true))) in LookupSubframeworkHeader()
DPreprocessor.cpp55 : Diags(&diags), Features(opts), Target(target),FileMgr(Headers.getFileMgr()), in Preprocessor()
157 FileMgr.addStatCache(PTH->createStatCache()); in setPTHManager()
/external/clang/include/clang/Frontend/
DCompilerInstance.h71 llvm::IntrusiveRefCntPtr<FileManager> FileMgr; variable
287 bool hasFileManager() const { return FileMgr != 0; } in hasFileManager()
291 assert(FileMgr && "Compiler instance has no file manager!"); in getFileManager()
292 return *FileMgr; in getFileManager()
296 FileMgr.resetWithoutRelease(); in resetAndLeakFileManager()
496 void createSourceManager(FileManager &FileMgr);
620 FileManager &FileMgr,
DASTUnit.h76 llvm::IntrusiveRefCntPtr<FileManager> FileMgr; variable
417 const FileManager &getFileManager() const { return *FileMgr; } in getFileManager()
418 FileManager &getFileManager() { return *FileMgr; } in getFileManager()
678 SourceManager &SourceMgr, FileManager &FileMgr,
DUtils.h52 FileManager &FileMgr);
/external/clang/lib/Frontend/
DCompilerInstance.cpp64 FileMgr = Value; in setFileManager()
182 FileMgr = new FileManager(getFileSystemOpts()); in createFileManager()
187 void CompilerInstance::createSourceManager(FileManager &FileMgr) { in createSourceManager() argument
188 SourceMgr = new SourceManager(getDiagnostics(), FileMgr); in createSourceManager()
210 FileManager &FileMgr) { in createPreprocessor() argument
217 HeaderSearch *HeaderInfo = new HeaderSearch(FileMgr); in createPreprocessor()
410 FileMgr->FixupRelativePath(NewOutFile); in clearOutputFiles()
528 FileManager &FileMgr, in InitializeSourceManager() argument
536 const FileEntry *File = FileMgr.getFile(InputFile); in InitializeSourceManager()
549 const FileEntry *File = FileMgr.getVirtualFile(SB->getBufferIdentifier(), in InitializeSourceManager()
DInitPreprocessor.cpp52 FileManager &FileMgr) { in NormalizeDashIncludePath() argument
66 FileMgr.getFile(File); in NormalizeDashIncludePath()
74 FileManager &FileMgr) { in AddImplicitInclude() argument
76 llvm::Twine(NormalizeDashIncludePath(File, FileMgr)) + "\""); in AddImplicitInclude()
81 FileManager &FileMgr) { in AddImplicitIncludeMacros() argument
83 llvm::Twine(NormalizeDashIncludePath(File, FileMgr)) + "\""); in AddImplicitIncludeMacros()
637 FileManager &FileMgr, in InitializeFileRemapping() argument
646 const FileEntry *FromFile = FileMgr.getVirtualFile(Remap->first, in InitializeFileRemapping()
670 const FileEntry *ToFile = FileMgr.getFile(Remap->second); in InitializeFileRemapping()
678 const FileEntry *FromFile = FileMgr.getVirtualFile(Remap->first, in InitializeFileRemapping()
DASTUnit.cpp406 FileManager &FileMgr) { in ReadPredefinesBuffer() argument
482 assert(FileMgr); in getBufferForFile()
483 return FileMgr->getBufferForFile(Filename, ErrorStr); in getBufferForFile()
525 AST->FileMgr = new FileManager(FileSystemOpts); in LoadFromASTFile()
552 const FileEntry *ToFile = AST->FileMgr->getFile(fname); in LoadFromASTFile()
908 FileMgr = new FileManager(FileSystemOpts); in Parse()
909 SourceMgr = new SourceManager(getDiagnostics(), *FileMgr); in Parse()
1224 if (FileMgr->getNoncachedStatValue(R->second, StatBuf)) { in getMainBufferWithPrecompiledPreamble()
1262 if (FileMgr->getNoncachedStatValue(F->first(), StatBuf)) { in getMainBufferWithPrecompiledPreamble()
1586 AST->FileMgr = new FileManager(AST->FileSystemOpts); in create()
[all …]
DCompilerInvocation.cpp1713 FileManager &FileMgr, in ParsePreprocessorArgs() argument
1768 ASTReader::getOriginalSourceFile(A->getValue(Args), FileMgr, Diags); in ParsePreprocessorArgs()
1878 FileManager FileMgr(Res.getFileSystemOpts()); in CreateFromArgs() local
1879 ParsePreprocessorArgs(Res.getPreprocessorOpts(), *Args, FileMgr, Diags); in CreateFromArgs()
/external/clang/lib/ARCMigrate/
DFileRemapper.cpp23 FileMgr.reset(new FileManager(FileSystemOptions())); in FileRemapper()
77 const FileEntry *origFE = FileMgr->getFile(fromFilename); in initFromDisk()
83 const FileEntry *newFE = FileMgr->getFile(toFilename); in initFromDisk()
149 const FileEntry *newE = FileMgr->getFile(tempPath); in flushToDisk()
238 const FileEntry *newfile = FileMgr->getFile(newPath); in remap()
258 const FileEntry *file = FileMgr->getFile(filePath); in getOriginalFile()
/external/clang/include/clang/Lex/
DHeaderSearch.h105 FileManager &FileMgr; variable
159 FileManager &getFileMgr() const { return FileMgr; } in getFileMgr()
DPreprocessor.h62 FileManager &FileMgr; variable
307 FileManager &getFileManager() const { return FileMgr; } in getFileManager()
/external/clang/include/clang/Serialization/
DASTReader.h125 FileManager &FileMgr) { in ReadPredefinesBuffer() argument
153 FileManager &FileMgr);
207 FileManager &FileMgr; variable
950 ASTReader(SourceManager &SourceMgr, FileManager &FileMgr,
993 FileManager &FileMgr,
/external/clang/tools/libclang/
DCIndexCodeCompletion.cpp219 llvm::IntrusiveRefCntPtr<FileManager> FileMgr; member
259 FileMgr(new FileManager(FileSystemOpts)), in AllocatedCXCodeCompleteResults()
260 SourceMgr(new SourceManager(*Diag, *FileMgr)) { in AllocatedCXCodeCompleteResults()
583 *Results->FileMgr, Results->Diagnostics, in clang_codeCompleteAt_Impl()
/external/clang/include/clang/ARCMigrate/
DFileRemapper.h32 llvm::OwningPtr<FileManager> FileMgr; variable
/external/clang/include/clang/Basic/
DSourceManager.h434 FileManager &FileMgr; variable
520 SourceManager(Diagnostic &Diag, FileManager &FileMgr);
527 FileManager &getFileManager() const { return FileMgr; } in getFileManager()
/external/clang/lib/Basic/
DFileManager.cpp219 static const DirectoryEntry *getDirectoryFromFile(FileManager &FileMgr, in getDirectoryFromFile() argument
232 return FileMgr.getDirectory(DirName); in getDirectoryFromFile()
DSourceManager.cpp365 SourceManager::SourceManager(Diagnostic &Diag, FileManager &FileMgr) in SourceManager() argument
366 : Diag(Diag), FileMgr(FileMgr), OverridenFilesKeepOriginalName(true), in SourceManager()
/external/clang/lib/Serialization/
DASTReader.cpp256 FileManager &FileMgr) { in ReadPredefinesBuffer() argument
263 PCHInclude += NormalizeDashIncludePath(OriginalFileName, FileMgr); in ReadPredefinesBuffer()
984 FileMgr); in CheckPredefinesBuffers()
1272 const FileEntry *File = FileMgr.getFile(Filename); in ReadSLocEntryRecord()
1279 File = FileMgr.getFile(resolved); in ReadSLocEntryRecord()
1282 File = FileMgr.getVirtualFile(Filename, (off_t)Record[4], in ReadSLocEntryRecord()
1852 const FileEntry *File = FileMgr.getFile(Filename); in getFileEntry()
1859 File = FileMgr.getFile(resolved); in getFileEntry()
2286 FileMgr.addStatCache(MyStatCache); in ReadASTBlock()
2636 = SourceMgr.getLocation(FileMgr.getFile(getOriginalSourceFile()), 1, 1); in ReadAST()
[all …]
/external/webkit/Source/WebCore/
DChangeLog-2010-12-0646776 Change makeAllDirectories to take a raw FileMgr pointer