/external/clang/include/clang/Basic/ |
D | SourceManager.h | 465 FileID LQueryFID, RQueryFID; 474 FileID CommonFID; 487 bool isCacheValid(FileID LHS, FileID RHS) const { in isCacheValid() 511 void setQueryFIDs(FileID LHS, FileID RHS, bool isLFIDBeforeRFID) { in setQueryFIDs() 519 LQueryFID = RQueryFID = FileID(); in clear() 523 void setCommonLoc(FileID commonFID, unsigned lCommonOffset, in setCommonLoc() 642 mutable FileID LastFileIDLookup; 651 mutable FileID LastLineNoFileIDQuery; 657 FileID MainFileID; 660 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);
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/Coverage/ |
D | CoverageMappingWriter.cpp | 131 if (LHS.FileID != RHS.FileID) in write() 132 return LHS.FileID < RHS.FileID; in write() 140 for (const auto &FileID : VirtualFileMapping) in write() local 141 encodeULEB128(FileID, OS); in write() 158 if (I->FileID != CurrentFileID) { in write() 160 assert(I->FileID == (CurrentFileID + 1)); in write() 163 for (auto J = I + 1; J != E && I->FileID == J->FileID; ++J) in write() 168 CurrentFileID = I->FileID; in write()
|
/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/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 206 unsigned FileID, ExpandedFileID; member 210 CounterMappingRegion(Counter Count, unsigned FileID, unsigned ExpandedFileID, in CounterMappingRegion() 213 : Count(Count), FileID(FileID), ExpandedFileID(ExpandedFileID), in CounterMappingRegion() 218 makeRegion(Counter Count, unsigned FileID, unsigned LineStart, in makeRegion() 220 return CounterMappingRegion(Count, FileID, 0, LineStart, ColumnStart, in makeRegion() 225 makeExpansion(unsigned FileID, unsigned ExpandedFileID, unsigned LineStart, in makeExpansion() 227 return CounterMappingRegion(Counter(), FileID, ExpandedFileID, LineStart, in makeExpansion() 233 makeSkipped(unsigned FileID, unsigned LineStart, unsigned ColumnStart, in makeSkipped() 235 return CounterMappingRegion(Counter(), FileID, 0, LineStart, ColumnStart, in makeSkipped() 249 if (FileID != Other.FileID) [all …]
|
/external/llvm/lib/ProfileData/Coverage/ |
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 | 265 void insert(const FunctionRecord &Function, unsigned FileID) { in insert() argument 267 while (I != E && I->FileID != FileID) in insert() 455 static bool isExpansion(const CountedRegion &R, unsigned FileID) { in isExpansion() argument 456 return R.Kind == CounterMappingRegion::ExpansionRegion && R.FileID == FileID; in isExpansion() 467 if (FileIDs.test(CR.FileID)) { in getCoverageForFile() 509 if (CR.FileID == *MainFileID) { in getCoverageForFunction() 524 Expansion.Function.Filenames[Expansion.FileID]); in getCoverageForExpansion() 527 if (CR.FileID == Expansion.FileID) { in getCoverageForExpansion() 529 if (isExpansion(CR, Expansion.FileID)) in getCoverageForExpansion() 533 DEBUG(dbgs() << "Emitting segments for expansion of file " << Expansion.FileID in getCoverageForExpansion()
|
/external/clang/include/clang/Index/ |
D | IndexDataConsumer.h | 19 class FileID; variable 42 FileID FID, unsigned Offset, 48 FileID FID, unsigned Offset); 53 FileID FID, unsigned Offset);
|
/external/google-breakpad/src/common/solaris/ |
D | file_id.h | 41 class FileID { 43 FileID(const char *path); 44 ~FileID() {}; in ~FileID()
|
/external/llvm/test/tools/llvm-readobj/ |
D | codeview-inlining.test | 41 ; CHECK-NEXT: FileID: d:\src\llvm\build\t.cpp (0x30) 49 ; CHECK-NEXT: FileID: d:\src\llvm\build\t.cpp (0x30) 58 ; CHECK-NEXT: FileID: d:\src\llvm\build\a.h (0x0) 62 ; CHECK-NEXT: FileID: d:\src\llvm\build\b.h (0x18) 63 ; CHECK-NEXT: FileID: d:\src\llvm\build\t.cpp (0x30)
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-readobj/ |
D | codeview-inlining.test | 41 ; CHECK-NEXT: FileID: d:\src\llvm\build\t.cpp (0x30) 49 ; CHECK-NEXT: FileID: d:\src\llvm\build\t.cpp (0x30) 58 ; CHECK-NEXT: FileID: d:\src\llvm\build\a.h (0x0) 62 ; CHECK-NEXT: FileID: d:\src\llvm\build\b.h (0x18) 63 ; CHECK-NEXT: FileID: d:\src\llvm\build\t.cpp (0x30)
|
/external/clang/lib/Format/ |
D | TokenAnalyzer.h | 41 Environment(SourceManager &SM, FileID ID, ArrayRef<CharSourceRange> Ranges) in Environment() 44 Environment(FileID ID, std::unique_ptr<FileManager> FileMgr, in Environment() 58 FileID getFileID() const { return ID; } in getFileID() 67 FileID ID;
|
/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/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()
|
/external/clang/lib/Frontend/ |
D | DiagnosticRenderer.cpp | 271 retrieveMacroLocation(SourceLocation Loc, FileID MacroFileID, in retrieveMacroLocation() 272 FileID CaretFileID, in retrieveMacroLocation() 273 const SmallVectorImpl<FileID> &CommonArgExpansions, in retrieveMacroLocation() 314 SmallVectorImpl<FileID> &IDs, in getMacroArgExpansionFileIDs() 331 SmallVectorImpl<FileID> &CommonArgExpansions) { in computeCommonMacroArgExpansionFileIDs() 332 SmallVector<FileID, 4> BeginArgExpansions; in computeCommonMacroArgExpansionFileIDs() 333 SmallVector<FileID, 4> EndArgExpansions; in computeCommonMacroArgExpansionFileIDs() 358 FileID CaretLocFileID = SM->getFileID(CaretLoc); in mapDiagnosticRanges() 366 FileID BeginFileID = SM->getFileID(Begin); in mapDiagnosticRanges() 367 FileID EndFileID = SM->getFileID(End); in mapDiagnosticRanges() [all …]
|