/external/clang/include/clang/Basic/ |
D | SourceManager.h | 469 FileID LQueryFID, RQueryFID; 478 FileID CommonFID; 491 bool isCacheValid(FileID LHS, FileID RHS) const { in isCacheValid() 515 void setQueryFIDs(FileID LHS, FileID RHS, bool isLFIDBeforeRFID) { in setQueryFIDs() 523 LQueryFID = RQueryFID = FileID(); in clear() 527 void setCommonLoc(FileID commonFID, unsigned lCommonOffset, in setCommonLoc() 641 mutable FileID LastFileIDLookup; 650 mutable FileID LastLineNoFileIDQuery; 656 FileID MainFileID; 659 FileID PreambleFileID; [all …]
|
D | SourceLocation.h | 39 class FileID { 44 FileID() : ID(0) {} in FileID() function 48 bool operator==(const FileID &RHS) const { return ID == RHS.ID; } 49 bool operator<(const FileID &RHS) const { return ID < RHS.ID; } 50 bool operator<=(const FileID &RHS) const { return ID <= RHS.ID; } 51 bool operator!=(const FileID &RHS) const { return !(*this == RHS); } 52 bool operator>(const FileID &RHS) const { return RHS < *this; } 53 bool operator>=(const FileID &RHS) const { return RHS <= *this; } 55 static FileID getSentinel() { return get(-1); } in getSentinel() 63 static FileID get(int V) { in get() [all …]
|
D | SourceManagerInternals.h | 89 std::map<FileID, std::vector<LineEntry> > LineEntries; 109 void AddLineNote(FileID FID, unsigned Offset, 111 void AddLineNote(FileID FID, unsigned Offset, 119 const LineEntry *FindNearestLineEntry(FileID FID, unsigned Offset); 122 typedef std::map<FileID, std::vector<LineEntry> >::iterator iterator; 128 void AddEntry(FileID FID, const std::vector<LineEntry> &Entries);
|
D | PlistSupport.h | 20 typedef llvm::DenseMap<FileID, unsigned> FIDMap; 22 inline void AddFID(FIDMap &FIDs, SmallVectorImpl<FileID> &V, in AddFID() 24 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in AddFID() 34 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in GetFID()
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 195 void LineTableInfo::AddLineNote(FileID FID, unsigned Offset, in AddLineNote() 226 void LineTableInfo::AddLineNote(FileID FID, unsigned Offset, in AddLineNote() 260 const LineEntry *LineTableInfo::FindNearestLineEntry(FileID FID, in FindNearestLineEntry() 279 void LineTableInfo::AddEntry(FileID FID, in AddEntry() 298 std::pair<FileID, unsigned> LocInfo = getDecomposedExpansionLoc(Loc); in AddLineNote() 328 std::pair<FileID, unsigned> LocInfo = getDecomposedExpansionLoc(Loc); in AddLineNote() 409 MainFileID = FileID(); in clearIDTables() 413 LastLineNoFileIDQuery = FileID(); in clearIDTables() 415 LastFileIDLookup = FileID(); in clearIDTables() 528 FileID SourceManager::getPreviousFileID(FileID FID) const { in getPreviousFileID() [all …]
|
/external/clang/include/clang/Rewrite/Core/ |
D | HTMLRewrite.h | 53 void EscapeText(Rewriter& R, FileID FID, 63 void AddLineNumbers(Rewriter& R, FileID FID); 65 void AddHeaderFooterInternalBuiltinCSS(Rewriter& R, FileID FID, 70 void SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP); 76 void HighlightMacros(Rewriter &R, FileID FID, const Preprocessor &PP);
|
D | Rewriter.h | 130 std::map<FileID, RewriteBuffer> RewriteBuffers; 149 typedef std::map<FileID, RewriteBuffer>::iterator buffer_iterator; 150 typedef std::map<FileID, RewriteBuffer>::const_iterator const_buffer_iterator; 271 RewriteBuffer &getEditBuffer(FileID FID); 275 const RewriteBuffer *getRewriteBufferFor(FileID FID) const { in getRewriteBufferFor() 276 std::map<FileID, RewriteBuffer>::const_iterator I = in getRewriteBufferFor() 295 unsigned getLocationOffsetAndFileID(SourceLocation Loc, FileID &FID) const;
|
/external/clang/lib/Rewrite/Core/ |
D | Rewriter.cpp | 133 FileID StartFileID, EndFileID; in getRangeSize() 144 std::map<FileID, RewriteBuffer>::const_iterator I = in getRangeSize() 177 FileID StartFileID, EndFileID; in getRewrittenText() 187 std::map<FileID, RewriteBuffer>::const_iterator I = in getRewrittenText() 217 FileID &FID) const { in getLocationOffsetAndFileID() 219 std::pair<FileID,unsigned> V = SourceMgr->getDecomposedLoc(Loc); in getLocationOffsetAndFileID() 227 RewriteBuffer &Rewriter::getEditBuffer(FileID FID) { in getEditBuffer() 228 std::map<FileID, RewriteBuffer>::iterator I = in getEditBuffer() 245 FileID FID; in InsertText() 285 FileID FID; in InsertTextAfterToken() [all …]
|
D | HTMLRewrite.cpp | 37 FileID FID = SM.getFileID(B); in HighlightRange() 106 void html::EscapeText(Rewriter &R, FileID FID, in EscapeText() 226 void html::AddLineNumbers(Rewriter& R, FileID FID) { in AddLineNumbers() 270 void html::AddHeaderFooterInternalBuiltinCSS(Rewriter& R, FileID FID, in AddHeaderFooterInternalBuiltinCSS() 357 void html::SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP) { in SyntaxHighlight() 446 void html::HighlightMacros(Rewriter &R, FileID FID, const Preprocessor& PP) { in HighlightMacros()
|
/external/clang/unittests/Tooling/ |
D | RewriterTest.cpp | 17 FileID ID = Context.createOnDiskFile("t.cpp", "line1\nline2\nline3\nline4"); in TEST() 26 FileID FailingID = Context.createInMemoryFile("invalid/failing.cpp", "test"); in TEST() 28 FileID WorkingID = Context.createOnDiskFile( in TEST()
|
D | RefactoringTest.cpp | 45 FileID ID = Context.createInMemoryFile("input.cpp", "text"); in TEST_F() 53 FileID ID = Context.createInMemoryFile("input.cpp", "line1\nline2\nline3"); in TEST_F() 61 FileID ID = Context.createInMemoryFile("input.cpp", ""); in TEST_F() 69 FileID ID = Context.createInMemoryFile("input.cpp", in TEST_F() 78 FileID ID = Context.createInMemoryFile("input.cpp", in TEST_F() 112 FileID ID = Context.createInMemoryFile("input.cpp", in TEST_F() 127 FileID ID = Context.createInMemoryFile("input.cpp", in TEST_F() 139 FileID ID = Context.createInMemoryFile("input.cpp", in TEST_F() 155 FileID IDa = Context.createInMemoryFile("a.cpp", "text"); in TEST_F() 156 FileID IDz = Context.createInMemoryFile("z.cpp", "text"); in TEST_F() [all …]
|
D | RewriterTestContext.h | 50 FileID createInMemoryFile(StringRef Name, StringRef Content) { in createInMemoryFile() 61 FileID createOnDiskFile(StringRef Name, StringRef Content) { in createOnDiskFile() 80 SourceLocation getLocation(FileID ID, unsigned Line, unsigned Column) { in getLocation() 87 std::string getRewrittenText(FileID ID) { in getRewrittenText()
|
/external/clang/include/clang/AST/ |
D | ASTImporter.h | 69 llvm::DenseMap<FileID, FileID> ImportedFileIDs; 201 FileID Import(FileID);
|
/external/clang/include/clang/Edit/ |
D | FileOffset.h | 20 FileID FID; 24 FileOffset(FileID fid, unsigned offs) : FID(fid), Offs(offs) { } in FileOffset() 28 FileID getFID() const { return FID; } in getFID()
|
/external/clang/include/clang/Lex/ |
D | PreprocessorLexer.h | 33 const FileID FID; 76 PreprocessorLexer(Preprocessor *pp, FileID fid); 153 FileID getFileID() const { in getFileID()
|
/external/clang/tools/libclang/ |
D | CIndexHigh.cpp | 48 FileID FID; 56 FindFileIdRefVisitData(CXTranslationUnit TU, FileID FID, in FindFileIdRefVisitData() 198 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); in findFileIdRefVisit() 221 FileID FID = SM.translateFile(File); in findIdRefsInFile() 293 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); in findFileMacroRefVisit() 319 FileID FID = SM.translateFile(File); in findMacroRefsInFile() 365 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); in visit() 391 FileID FID = SM.translateFile(File); in findIncludesInFile()
|
D | CXSourceLocation.cpp | 257 FileID fileID = SM.getFileID(ExpansionLoc); in clang_getExpansionLocation() 337 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(SpellLoc); in clang_getSpellingLocation() 338 FileID FID = LocInfo.first; in clang_getSpellingLocation() 374 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(FileLoc); in clang_getFileLocation() 375 FileID FID = LocInfo.first; in clang_getFileLocation()
|
/external/clang/include/clang/Frontend/ |
D | VerifyDiagnosticConsumer.h | 238 typedef llvm::DenseMap<FileID, const FileEntry *> ParsedFilesMap; 239 typedef llvm::DenseMap<FileID, UnparsedFileStatus> UnparsedFilesMap; 267 void UpdateParsedFileStatus(SourceManager &SM, FileID FID, ParsedStatus PS);
|
/external/clang/lib/Index/ |
D | SimpleFormatContext.h | 49 FileID createInMemoryFile(StringRef Name, StringRef Content) { in createInMemoryFile() 58 std::string getRewrittenText(FileID ID) { in getRewrittenText()
|
/external/chromium_org/content/browser/renderer_host/pepper/ |
D | pepper_security_helper.cc | 19 typename FileID> 26 const FileID& file) { in CanOpenFileWithPepperFlags()
|
/external/clang/include/clang/Rewrite/Frontend/ |
D | FixItRewriter.h | 92 bool IsModified(FileID ID) const { in IsModified() 103 bool WriteFixedFile(FileID ID, raw_ostream &OS);
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | HTMLDiagnostics.cpp | 61 void HandlePiece(Rewriter& R, FileID BugFileID, 64 void HighlightRange(Rewriter& R, FileID BugFileID, SourceRange Range, 126 FileID FID = in ReportDiag() 329 void HTMLDiagnostics::HandlePiece(Rewriter& R, FileID BugFileID, in HandlePiece() 342 std::pair<FileID, unsigned> LPosInfo = SM.getDecomposedExpansionLoc(Pos); in HandlePiece() 473 std::pair<FileID, unsigned> LocInfo = L.getDecomposedLoc(); in HandlePiece() 580 void HTMLDiagnostics::HighlightRange(Rewriter& R, FileID BugFileID, in HighlightRange()
|
/external/clang/lib/Rewrite/Frontend/ |
D | InclusionRewriter.cpp | 35 FileID Id; 53 bool Process(FileID FileId, SrcMgr::CharacteristicKind FileType); 60 FileID PrevFID) override; 79 bool HandleHasInclude(FileID FileId, Lexer &RawLex, 142 FileID) { in FileChanged() argument 278 FileID FileId, Lexer &RawLex, const DirectoryLookup *Lookup, Token &Tok, in HandleHasInclude() 347 bool InclusionRewriter::Process(FileID FileId, in Process()
|
/external/clang/lib/AST/ |
D | RawCommentList.cpp | 93 FileID BeginFileID; in getRawTextSlow() 94 FileID EndFileID; in getRawTextSlow() 168 std::pair<FileID, unsigned> Loc1Info = SM.getDecomposedLoc(Loc1); in onlyWhitespaceBetween() 169 std::pair<FileID, unsigned> Loc2Info = SM.getDecomposedLoc(Loc2); in onlyWhitespaceBetween()
|
/external/clang/unittests/Basic/ |
D | SourceManagerTest.cpp | 78 FileID mainFileID = SourceMgr.createFileID(buf); in TEST_F() 131 FileID MainFileID = SourceMgr.createFileID(Buf); in TEST_F() 163 SourceMgr.getColumnNumber(FileID(), 0, &Invalid); in TEST_F() 167 SourceMgr.getColumnNumber(FileID(), 1, &Invalid); in TEST_F() 191 FileID mainFileID = SourceMgr.createFileID(mainBuf); in TEST_F()
|