/external/clang/include/clang/Edit/ |
D | FileOffset.h | 19 class FileOffset { 23 FileOffset() : Offs(0) { } in FileOffset() function 24 FileOffset(FileID fid, unsigned offs) : FID(fid), Offs(offs) { } in FileOffset() function 31 FileOffset getWithOffset(unsigned offset) const { in getWithOffset() 32 FileOffset NewOffs = *this; in getWithOffset() 37 friend bool operator==(FileOffset LHS, FileOffset RHS) { 40 friend bool operator!=(FileOffset LHS, FileOffset RHS) { 43 friend bool operator<(FileOffset LHS, FileOffset RHS) { 46 friend bool operator>(FileOffset LHS, FileOffset RHS) { 49 friend bool operator>=(FileOffset LHS, FileOffset RHS) { [all …]
|
D | Commit.h | 37 FileOffset Offset; 38 FileOffset InsertFromRangeOffs; 115 FileOffset Offs, StringRef text, bool beforePreviousInsertions); 116 void addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, 117 FileOffset RangeOffs, unsigned RangeLen, 119 void addRemove(SourceLocation OrigLoc, FileOffset Offs, unsigned Len); 121 bool canInsert(SourceLocation loc, FileOffset &Offset); 122 bool canInsertAfterToken(SourceLocation loc, FileOffset &Offset, 124 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs); 125 bool canRemoveRange(CharSourceRange range, FileOffset &Offs, unsigned &Len); [all …]
|
D | EditedSource.h | 41 typedef std::map<FileOffset, FileEdit> FileEditsTy; 64 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs); 75 bool commitInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text, 77 bool commitInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, 78 FileOffset InsertFromRangeOffs, unsigned Len, 80 void commitRemove(SourceLocation OrigLoc, FileOffset BeginOffs, unsigned Len); 82 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs, 84 FileEditsTy::iterator getActionForOffset(FileOffset Offs);
|
/external/clang/lib/Edit/ |
D | EditedSource.cpp | 61 bool EditedSource::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) { in canInsertInOffset() 96 FileOffset Offs, StringRef text, in commitInsert() 126 FileOffset Offs, in commitInsertFromRange() 127 FileOffset InsertFromRangeOffs, unsigned Len, in commitInsertFromRange() 133 FileOffset BeginOffs = InsertFromRangeOffs; in commitInsertFromRange() 134 FileOffset EndOffs = BeginOffs.getWithOffset(Len); in commitInsertFromRange() 141 FileOffset B = I->first; in commitInsertFromRange() 142 FileOffset E = B.getWithOffset(FA.RemoveLen); in commitInsertFromRange() 158 FileOffset B = I->first; in commitInsertFromRange() 159 FileOffset E = B.getWithOffset(FA.RemoveLen); in commitInsertFromRange() [all …]
|
D | Commit.cpp | 48 FileOffset Offs; in insert() 62 FileOffset RangeOffs; in insertFromRange() 69 FileOffset Offs; in insertFromRange() 87 FileOffset Offs; in remove() 115 FileOffset Offs; in replace() 129 FileOffset OuterBegin; in replaceWithInner() 136 FileOffset InnerBegin; in replaceWithInner() 143 FileOffset OuterEnd = OuterBegin.getWithOffset(OuterLen); in replaceWithInner() 144 FileOffset InnerEnd = InnerBegin.getWithOffset(InnerLen); in replaceWithInner() 165 FileOffset Offs; in replaceText() [all …]
|
/external/clang/include/clang/Basic/ |
D | SourceManagerInternals.h | 31 unsigned FileOffset; member 53 E.FileOffset = Offs; in get() 65 return lhs.FileOffset < rhs.FileOffset; 69 return E.FileOffset < Offset; 73 return Offset < E.FileOffset;
|
D | SourceManager.h | 1012 unsigned FileOffset = Entry.getOffset(); in getLocForStartOfFile() local 1013 return SourceLocation::getFileLoc(FileOffset); in getLocForStartOfFile() 1024 unsigned FileOffset = Entry.getOffset(); in getLocForEndOfFile() local 1025 return SourceLocation::getFileLoc(FileOffset + getFileIDSize(FID)); in getLocForEndOfFile()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/ |
D | ExplainOutputStyle.cpp | 32 ExplainOutputStyle::ExplainOutputStyle(InputFile &File, uint64_t FileOffset) in ExplainOutputStyle() argument 33 : File(File), FileOffset(FileOffset), P(2, false, outs()) {} in ExplainOutputStyle() 36 P.formatLine("Explaining file offset {0} of file '{1}'.", FileOffset, in dump() 75 explainStreamOffset(Dbi, FileOffset); in explainBinaryFile() 82 explainStreamOffset(Info, FileOffset); in explainBinaryFile() 92 return FileOffset / File.pdb().getBlockSize(); in pdbBlockIndex() 97 assert(FileOffset >= BlockStart); in pdbBlockOffset() 98 return FileOffset - BlockStart; in pdbBlockOffset() 136 if (FileOffset >= File.pdb().getFileSize()) { in explainPdbBlockStatus() 138 FileOffset, File.pdb().getFileSize()); in explainPdbBlockStatus() [all …]
|
D | ExplainOutputStyle.h | 29 ExplainOutputStyle(InputFile &File, uint64_t FileOffset); 62 const uint64_t FileOffset; variable
|
/external/clang/tools/libclang/ |
D | CXSourceLocation.cpp | 334 unsigned FileOffset = LocInfo.second; in clang_getSpellingLocation() local 342 *line = SM.getLineNumber(FID, FileOffset); in clang_getSpellingLocation() 344 *column = SM.getColumnNumber(FID, FileOffset); in clang_getSpellingLocation() 346 *offset = FileOffset; in clang_getSpellingLocation() 370 unsigned FileOffset = LocInfo.second; in clang_getFileLocation() local 378 *line = SM.getLineNumber(FID, FileOffset); in clang_getFileLocation() 380 *column = SM.getColumnNumber(FID, FileOffset); in clang_getFileLocation() 382 *offset = FileOffset; in clang_getFileLocation()
|
/external/libaom/libaom/common/ |
D | tools_common.h | 32 typedef int64_t FileOffset; typedef 38 typedef off64_t FileOffset; typedef 41 typedef off_t FileOffset; typedef 47 typedef long FileOffset; /* NOLINT */ typedef
|
/external/libvpx/libvpx/ |
D | tools_common.h | 29 typedef int64_t FileOffset; typedef 34 typedef off64_t FileOffset; typedef 37 typedef off_t FileOffset; typedef 43 typedef long FileOffset; /* NOLINT */ typedef
|
/external/llvm/tools/dsymutil/ |
D | MachOUtils.cpp | 268 static void createDwarfSegment(uint64_t VMAddr, uint64_t FileOffset, in createDwarfSegment() argument 272 alignTo(FileSize, 0x1000), FileOffset, in createDwarfSegment() 284 FileOffset = alignTo(FileOffset, Align); in createDwarfSegment() 286 Writer.writeSection(Layout, *Sec, VMAddr, FileOffset, 0, 0, 0); in createDwarfSegment() 288 FileOffset += Layout.getSectionAddressSize(Sec); in createDwarfSegment()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/ |
D | MachOUtils.cpp | 284 static void createDwarfSegment(uint64_t VMAddr, uint64_t FileOffset, in createDwarfSegment() argument 288 alignTo(FileSize, 0x1000), FileOffset, in createDwarfSegment() 300 FileOffset = alignTo(FileOffset, Align); in createDwarfSegment() 302 Writer.writeSection(Layout, *Sec, VMAddr, FileOffset, 0, 0, 0); in createDwarfSegment() 304 FileOffset += Layout.getSectionAddressSize(Sec); in createDwarfSegment()
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
D | SymbolVisitorDelegate.h | 27 virtual StringRef getFileNameForFileOffset(uint32_t FileOffset) = 0;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/ |
D | SymbolVisitorDelegate.h | 29 virtual StringRef getFileNameForFileOffset(uint32_t FileOffset) = 0;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/ |
D | DbiModuleList.cpp | 274 uint32_t FileOffset = FileNameOffsets[Index]; in getFileName() local 275 Names.setOffset(FileOffset); in getFileName()
|
/external/llvm/tools/llvm-readobj/ |
D | COFFDumper.cpp | 97 StringRef getFileNameForFileOffset(uint32_t FileOffset); 98 void printFileNameForOffset(StringRef Label, uint32_t FileOffset); 172 StringRef getFileNameForFileOffset(uint32_t FileOffset) override { in getFileNameForFileOffset() argument 173 return CD.getFileNameForFileOffset(FileOffset); in getFileNameForFileOffset() 1026 StringRef COFFDumper::getFileNameForFileOffset(uint32_t FileOffset) { in getFileNameForFileOffset() argument 1031 if (FileOffset >= CVFileChecksumTable.size()) in getFileNameForFileOffset() 1035 StringRef Data = CVFileChecksumTable.drop_front(FileOffset); in getFileNameForFileOffset() 1047 void COFFDumper::printFileNameForOffset(StringRef Label, uint32_t FileOffset) { in printFileNameForOffset() argument 1048 W.printHex(Label, getFileNameForFileOffset(FileOffset), FileOffset); in printFileNameForOffset()
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
D | DbiStream.cpp | 431 uint32_t FileOffset = FileNameOffsets[Index]; in getFileNameForIndex() local 432 Names.setOffset(FileOffset); in getFileNameForIndex()
|
/external/clang/lib/Frontend/ |
D | CacheTokens.cpp | 607 uint32_t FileOffset; member in __anon034ae09e0611::PTHIdKey 636 key->FileOffset = Out.tell(); in EmitKey() 688 Emit32(IIDMap[i].FileOffset); in EmitIdentifierTable()
|
D | TextDiagnostic.cpp | 1089 unsigned FileOffset = LocInfo.second; in emitSnippetAndCaret() local 1100 unsigned LineNo = SM.getLineNumber(FID, FileOffset); in emitSnippetAndCaret() 1101 unsigned ColNo = SM.getColumnNumber(FID, FileOffset); in emitSnippetAndCaret() 1109 const char *TokPtr = BufStart+FileOffset; in emitSnippetAndCaret()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/ |
D | COFFDumper.cpp | 120 StringRef getFileNameForFileOffset(uint32_t FileOffset); 121 void printFileNameForOffset(StringRef Label, uint32_t FileOffset); 215 StringRef getFileNameForFileOffset(uint32_t FileOffset) override { in getFileNameForFileOffset() argument 216 return CD.getFileNameForFileOffset(FileOffset); in getFileNameForFileOffset() 1188 StringRef COFFDumper::getFileNameForFileOffset(uint32_t FileOffset) { in getFileNameForFileOffset() argument 1193 auto Iter = CVFileChecksumTable.getArray().at(FileOffset); in getFileNameForFileOffset() 1202 void COFFDumper::printFileNameForOffset(StringRef Label, uint32_t FileOffset) { in printFileNameForOffset() argument 1203 W.printHex(Label, getFileNameForFileOffset(FileOffset), FileOffset); in printFileNameForOffset()
|
/external/llvm/lib/MC/ |
D | MCCodeView.cpp | 327 unsigned FileOffset = 8 * (Loc.getFileNum() - 1); in encodeInlineLineTable() local 329 compressAnnotation(FileOffset, Buffer); in encodeInlineLineTable()
|
D | MachObjectWriter.cpp | 198 uint64_t FileOffset, unsigned Flags, in writeSection() argument 207 FileOffset = 0; in writeSection() 225 write32(FileOffset); in writeSection()
|
/external/llvm/include/llvm/MC/ |
D | MCMachObjectWriter.h | 176 uint64_t VMAddr, uint64_t FileOffset, unsigned Flags,
|