/external/clang/include/clang/Basic/ |
D | SourceManager.h | 466 FileID LQueryFID, RQueryFID; 475 FileID CommonFID; 488 bool isCacheValid(FileID LHS, FileID RHS) const { in isCacheValid() 512 void setQueryFIDs(FileID LHS, FileID RHS, bool isLFIDBeforeRFID) { in setQueryFIDs() 520 LQueryFID = RQueryFID = FileID(); in clear() 524 void setCommonLoc(FileID commonFID, unsigned lCommonOffset, in setCommonLoc() 643 mutable FileID LastFileIDLookup; 652 mutable FileID LastLineNoFileIDQuery; 658 FileID MainFileID; 661 FileID PreambleFileID; [all …]
|
D | SourceLocation.h | 39 class FileID { 44 FileID() : ID(0) {} in FileID() function 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 ID <= RHS.ID; } 52 bool operator!=(const FileID &RHS) const { return !(*this == RHS); } 53 bool operator>(const FileID &RHS) const { return RHS < *this; } 54 bool operator>=(const FileID &RHS) const { return RHS <= *this; } 56 static FileID getSentinel() { return get(-1); } in getSentinel() 64 static FileID get(int V) { in get() [all …]
|
D | SourceManagerInternals.h | 89 std::map<FileID, std::vector<LineEntry> > LineEntries; 104 void AddLineNote(FileID FID, unsigned Offset, 106 void AddLineNote(FileID FID, unsigned Offset, 114 const LineEntry *FindNearestLineEntry(FileID FID, unsigned Offset); 117 typedef std::map<FileID, std::vector<LineEntry> >::iterator iterator; 123 void AddEntry(FileID FID, const std::vector<LineEntry> &Entries);
|
D | PlistSupport.h | 19 typedef llvm::DenseMap<FileID, unsigned> FIDMap; 21 inline void AddFID(FIDMap &FIDs, SmallVectorImpl<FileID> &V, in AddFID() 23 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in AddFID() 33 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); in GetFID()
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 190 void LineTableInfo::AddLineNote(FileID FID, unsigned Offset, in AddLineNote() 221 void LineTableInfo::AddLineNote(FileID FID, unsigned Offset, in AddLineNote() 255 const LineEntry *LineTableInfo::FindNearestLineEntry(FileID FID, in FindNearestLineEntry() 274 void LineTableInfo::AddEntry(FileID FID, in AddEntry() 291 std::pair<FileID, unsigned> LocInfo = getDecomposedExpansionLoc(Loc); in AddLineNote() 319 std::pair<FileID, unsigned> LocInfo = getDecomposedExpansionLoc(Loc); in AddLineNote() 395 MainFileID = FileID(); in clearIDTables() 399 LastLineNoFileIDQuery = FileID(); in clearIDTables() 401 LastFileIDLookup = FileID(); in clearIDTables() 517 FileID SourceManager::getPreviousFileID(FileID FID) const { in getPreviousFileID() [all …]
|
/external/google-breakpad/src/common/linux/ |
D | file_id_unittest.cc | 92 FileID fileid1(exe_name); in TEST() 94 FileID fileid2(templ.c_str()); in TEST() 98 FileID::ConvertIdentifierToString(identifier1, identifier_string1, in TEST() 100 FileID::ConvertIdentifierToString(identifier2, identifier_string2, in TEST() 143 EXPECT_TRUE(FileID::ElfFileIdentifierFromMappedFile(this->elfdata, in TYPED_TEST() 146 FileID::ConvertIdentifierToString(identifier, identifier_string, in TYPED_TEST() 157 FileID::ConvertIdentifierToString(kExpectedIdentifier, in TYPED_TEST() 175 EXPECT_TRUE(FileID::ElfFileIdentifierFromMappedFile(this->elfdata, in TYPED_TEST() 178 FileID::ConvertIdentifierToString(identifier, identifier_string, in TYPED_TEST() 189 FileID::ConvertIdentifierToString(kExpectedIdentifier, in TYPED_TEST() [all …]
|
D | file_id.h | 45 class FileID { 47 explicit FileID(const char* path); 48 ~FileID() {} in ~FileID()
|
D | file_id.cc | 51 FileID::FileID(const char* path) : path_(path) {} in FileID() function in google_breakpad::FileID 141 bool FileID::ElfFileIdentifierFromMappedFile(const void* base, in ElfFileIdentifierFromMappedFile() 151 bool FileID::ElfFileIdentifier(uint8_t identifier[kMDGUIDSize]) { in ElfFileIdentifier() 160 void FileID::ConvertIdentifierToString(const uint8_t identifier[kMDGUIDSize], in ConvertIdentifierToString()
|
/external/llvm/tools/llvm-cov/ |
D | CoverageSummaryInfo.cpp | 34 for (unsigned FileID = 0, E = Function.Filenames.size(); FileID < E; in get() local 35 ++FileID) { in get() 41 if (CR.FileID != FileID) in get() 52 if (CR.FileID != FileID) in get()
|
/external/llvm/include/llvm/ProfileData/ |
D | CoverageMapping.h | 164 unsigned FileID, ExpandedFileID; member 168 CounterMappingRegion(Counter Count, unsigned FileID, unsigned ExpandedFileID, in CounterMappingRegion() 171 : Count(Count), FileID(FileID), ExpandedFileID(ExpandedFileID), in CounterMappingRegion() 176 makeRegion(Counter Count, unsigned FileID, unsigned LineStart, in makeRegion() 178 return CounterMappingRegion(Count, FileID, 0, LineStart, ColumnStart, in makeRegion() 183 makeExpansion(unsigned FileID, unsigned ExpandedFileID, unsigned LineStart, in makeExpansion() 185 return CounterMappingRegion(Counter(), FileID, ExpandedFileID, LineStart, in makeExpansion() 191 makeSkipped(unsigned FileID, unsigned LineStart, unsigned ColumnStart, in makeSkipped() 193 return CounterMappingRegion(Counter(), FileID, 0, LineStart, ColumnStart, in makeSkipped() 207 if (FileID != Other.FileID) [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 | 34 std::map<FileID, RewriteBuffer> RewriteBuffers; 53 typedef std::map<FileID, RewriteBuffer>::iterator buffer_iterator; 54 typedef std::map<FileID, RewriteBuffer>::const_iterator const_buffer_iterator; 166 RewriteBuffer &getEditBuffer(FileID FID); 170 const RewriteBuffer *getRewriteBufferFor(FileID FID) const { in getRewriteBufferFor() 171 std::map<FileID, RewriteBuffer>::const_iterator I = in getRewriteBufferFor() 190 unsigned getLocationOffsetAndFileID(SourceLocation Loc, FileID &FID) const;
|
/external/google-breakpad/src/common/mac/ |
D | file_id.cc | 47 FileID::FileID(const char *path) { in FileID() function in google_breakpad::FileID 51 bool FileID::FileIdentifier(unsigned char identifier[16]) { in FileIdentifier() 73 bool FileID::MachoIdentifier(cpu_type_t cpu_type, in MachoIdentifier() 85 void FileID::ConvertIdentifierToString(const unsigned char identifier[16], in ConvertIdentifierToString()
|
D | file_id.h | 42 class FileID { 44 FileID(const char *path); 45 ~FileID() {}; in ~FileID()
|
/external/clang/lib/Rewrite/ |
D | Rewriter.cpp | 129 FileID StartFileID, EndFileID; in getRangeSize() 140 std::map<FileID, RewriteBuffer>::const_iterator I = in getRangeSize() 173 FileID StartFileID, EndFileID; in getRewrittenText() 183 std::map<FileID, RewriteBuffer>::const_iterator I = in getRewrittenText() 213 FileID &FID) const { in getLocationOffsetAndFileID() 215 std::pair<FileID,unsigned> V = SourceMgr->getDecomposedLoc(Loc); in getLocationOffsetAndFileID() 223 RewriteBuffer &Rewriter::getEditBuffer(FileID FID) { in getEditBuffer() 224 std::map<FileID, RewriteBuffer>::iterator I = in getEditBuffer() 241 FileID FID; in InsertText() 281 FileID FID; in InsertTextAfterToken() [all …]
|
/external/llvm/lib/ProfileData/ |
D | CoverageMappingWriter.cpp | 116 for (const auto &FileID : VirtualFileMapping) in write() local 117 encodeULEB128(FileID, OS); in write() 134 if (I->FileID != CurrentFileID) { in write() 136 assert(I->FileID == (CurrentFileID + 1)); in write() 139 for (auto J = I + 1; J != E && I->FileID == J->FileID; ++J) in write() 144 CurrentFileID = I->FileID; in write()
|
D | CoverageMapping.cpp | 258 void insert(const FunctionRecord &Function, unsigned FileID) { in insert() argument 260 while (I != E && I->FileID != FileID) in insert() 373 FilenameEquivalence[CR.FileID]) in findMainViewFileID() 404 static bool isExpansion(const CountedRegion &R, unsigned FileID) { in isExpansion() argument 405 return R.Kind == CounterMappingRegion::ExpansionRegion && R.FileID == FileID; in isExpansion() 418 if (FileIDs.test(CR.FileID)) { in getCoverageForFile() 461 if (CR.FileID == *MainFileID) { in getCoverageForFunction() 477 Expansion.Function.Filenames[Expansion.FileID]); in getCoverageForExpansion() 480 if (CR.FileID == Expansion.FileID) { in getCoverageForExpansion() 482 if (isExpansion(CR, Expansion.FileID)) in getCoverageForExpansion() [all …]
|
/external/google-breakpad/src/common/solaris/ |
D | file_id.h | 41 class FileID { 43 FileID(const char *path); 44 ~FileID() {}; in ~FileID()
|
D | file_id.cc | 131 FileID::FileID(const char *path) { in FileID() function in google_breakpad::FileID 143 bool FileID::ElfFileIdentifier(unsigned char identifier[16]) { in ElfFileIdentifier() 174 bool FileID::ConvertIdentifierToString(const unsigned char identifier[16], in ConvertIdentifierToString()
|
/external/clang/unittests/Tooling/ |
D | RewriterTest.cpp | 20 FileID ID = Context.createOnDiskFile("t.cpp", "line1\nline2\nline3\nline4"); in TEST() 29 FileID FailingID = Context.createInMemoryFile("invalid/failing.cpp", "test"); in TEST() 31 FileID WorkingID = Context.createOnDiskFile( in TEST()
|
D | RewriterTestContext.h | 55 FileID createInMemoryFile(StringRef Name, StringRef Content) { in createInMemoryFile() 67 FileID createOnDiskFile(StringRef Name, StringRef Content) { in createOnDiskFile() 87 SourceLocation getLocation(FileID ID, unsigned Line, unsigned Column) { in getLocation() 94 std::string getRewrittenText(FileID ID) { in getRewrittenText()
|
/external/clang/include/clang/Frontend/ |
D | SerializedDiagnosticReader.h | 47 unsigned FileID; member 51 Location(unsigned FileID, unsigned Line, unsigned Col, unsigned Offset) in Location() 52 : FileID(FileID), Line(Line), Col(Col), Offset(Offset) {} in Location()
|
/external/clang/include/clang/AST/ |
D | ASTImporter.h | 69 llvm::DenseMap<FileID, FileID> ImportedFileIDs; 206 FileID Import(FileID);
|
/external/clang/lib/Frontend/ |
D | DiagnosticRenderer.cpp | 62 std::pair<FileID, unsigned> ExpansionInfo = SM.getDecomposedLoc(Loc); in getImmediateMacroName() 312 retrieveMacroLocation(SourceLocation Loc, FileID MacroFileID, in retrieveMacroLocation() 313 FileID CaretFileID, in retrieveMacroLocation() 314 const SmallVectorImpl<FileID> &CommonArgExpansions, in retrieveMacroLocation() 355 SmallVectorImpl<FileID> &IDs, in getMacroArgExpansionFileIDs() 372 SmallVectorImpl<FileID> &CommonArgExpansions) { in computeCommonMacroArgExpansionFileIDs() 373 SmallVector<FileID, 4> BeginArgExpansions; in computeCommonMacroArgExpansionFileIDs() 374 SmallVector<FileID, 4> EndArgExpansions; in computeCommonMacroArgExpansionFileIDs() 399 FileID CaretLocFileID = SM->getFileID(CaretLoc); in mapDiagnosticRanges() 407 FileID BeginFileID = SM->getFileID(Begin); in mapDiagnosticRanges() [all …]
|
/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()
|