Searched defs:FileOffset (Results 1 - 12 of 12) sorted by relevance

/external/clang/include/clang/Edit/
H A DFileOffset.h1 //===----- FileOffset.h - Offset in a file ----------------------*- C++ -*-===//
19 class FileOffset { class in namespace:clang::edit
23 FileOffset() : Offs(0) { } function in class:clang::edit::FileOffset
24 FileOffset(FileID fid, unsigned offs) : FID(fid), Offs(offs) { } function in class:clang::edit::FileOffset
31 FileOffset getWithOffset(unsigned offset) const {
32 FileOffset NewOffs = *this;
37 friend bool operator==(FileOffset LHS, FileOffset RHS) {
40 friend bool operator!=(FileOffset LHS, FileOffset RH
[all...]
/external/clang/include/clang/Basic/
H A DSourceManagerInternals.h31 unsigned FileOffset; member in struct:clang::LineEntry
53 E.FileOffset = Offs;
65 return lhs.FileOffset < rhs.FileOffset;
69 return E.FileOffset < Offset;
73 return Offset < E.FileOffset;
H A DSourceManager.h989 unsigned FileOffset = Entry.getOffset(); local
990 return SourceLocation::getFileLoc(FileOffset);
1001 unsigned FileOffset = Entry.getOffset(); local
1002 return SourceLocation::getFileLoc(FileOffset + getFileIDSize(FID));
/external/clang/tools/libclang/
H A DCXSourceLocation.cpp339 unsigned FileOffset = LocInfo.second; local
347 *line = SM.getLineNumber(FID, FileOffset);
349 *column = SM.getColumnNumber(FID, FileOffset);
351 *offset = FileOffset;
376 unsigned FileOffset = LocInfo.second; local
384 *line = SM.getLineNumber(FID, FileOffset);
386 *column = SM.getColumnNumber(FID, FileOffset);
388 *offset = FileOffset;
H A DIndexingContext.cpp896 unsigned FileOffset = LocInfo.second; local
907 *line = SM.getLineNumber(FID, FileOffset);
909 *column = SM.getColumnNumber(FID, FileOffset);
911 *offset = FileOffset;
/external/llvm/tools/macho-dump/
H A Dmacho-dump.cpp55 uint64_t FileOffset, uint64_t FileSize,
62 outs() << " ('file_offset', " << FileOffset << ")\n";
53 DumpSegmentCommandData(StringRef Name, uint64_t VMAddr, uint64_t VMSize, uint64_t FileOffset, uint64_t FileSize, uint32_t MaxProt, uint32_t InitProt, uint32_t NumSections, uint32_t Flags) argument
/external/clang/lib/Index/
H A DCommentToXML.cpp902 unsigned FileOffset = LocInfo.second; local
910 Result << " line=\"" << SM.getLineNumber(FID, FileOffset)
911 << "\" column=\"" << SM.getColumnNumber(FID, FileOffset)
/external/clang/lib/Frontend/
H A DCacheTokens.cpp595 uint32_t FileOffset; member in class:__anon17915::PTHIdKey
624 key->FileOffset = Out.tell();
676 Emit32(IIDMap[i].FileOffset);
/external/clang/lib/Lex/
H A DPTHLexer.cpp59 uint32_t FileOffset = local
76 Tok.setLocation(FileStartLoc.getLocWithOffset(FileOffset));
/external/llvm/lib/MC/
H A DMachObjectWriter.cpp203 uint64_t FileOffset,
211 FileOffset = 0;
230 Write32(FileOffset);
200 WriteSection(const MCAssembler &Asm, const MCAsmLayout &Layout, const MCSectionData &SD, uint64_t FileOffset, uint64_t RelocationsStart, unsigned NumRelocations) argument
/external/clang/include/clang/Serialization/
H A DASTReader.h411 typedef std::pair<ModuleFile *, uint64_t> FileOffset; typedef in class:clang::ASTReader
412 typedef SmallVector<FileOffset, 2> FileOffsetsTy;
/external/clang/lib/Serialization/
H A DASTReader.cpp1045 unsigned FileOffset = Record[Idx++]; local
1051 Entries.push_back(LineEntry::get(FileOffset, LineNo, FilenameID,

Completed in 280 milliseconds