Lines Matching refs:Offset
43 typedef uint32_t Offset;
47 Offset TokenData, PPCondData;
52 PTHEntry(Offset td, Offset ppcd)
55 Offset getTokenOffset() const { return TokenData; }
56 Offset getPPCondTableOffset() const { return PPCondData; }
169 Offset off;
173 Offset getOffset() const { assert(valid); return off; }
174 void setOffset(Offset o) { off = o; valid = true; }
191 Offset CurStrOffset;
229 std::pair<Offset, Offset> EmitIdentifierTable();
233 Offset EmitFileTable() { return PM.Emit(Out); }
236 Offset EmitCachedSpellings();
275 // If this is a new string entry, bump the PTH offset.
282 // Emit the relative offset into the PTH file for the spelling string.
286 // Emit the offset into the original source file of this token so that we
301 typedef std::vector<std::pair<Offset, unsigned> > PPCondTable;
335 Offset HashOff = (Offset) Out.tell();
443 Offset PPCondOff = (Offset) Out.tell();
460 Offset PTHWriter::EmitCachedSpellings() {
462 Offset SpellingsOff = Out.tell();
477 Offset PrologueOffset = Out.tell();
514 const std::pair<Offset,Offset> &IdTableOff = EmitIdentifierTable();
517 Offset SpellingOff = EmitCachedSpellings();
520 Offset FileTableOff = EmitFileTable();
641 std::pair<Offset,Offset> PTHWriter::EmitIdentifierTable() {
643 // (1) an inverse map from persistent IDs -> (IdentifierInfo*,Offset)
644 // (2) a map from (IdentifierInfo*, Offset)* -> persistent IDs
670 Offset StringTableOffset = IIOffMap.Emit(Out);
673 Offset IDOff = Out.tell();