Lines Matching refs:GOFF
72 SetBufferSize(GOFF::PayloadLength); in GOFFOstream()
77 void makeNewRecord(GOFF::RecordType Type, size_t Size) { in makeNewRecord()
81 if (size_t Gap = (RemainingSize % GOFF::PayloadLength)) in makeNewRecord()
82 RemainingSize += GOFF::PayloadLength - Gap; in makeNewRecord()
102 GOFF::RecordType CurrentType;
111 size_t Bytes = RemainingSize % GOFF::PayloadLength; in bytesToNextPhysicalRecord()
112 return Bytes ? Bytes : GOFF::PayloadLength; in bytesToNextPhysicalRecord()
117 static void writeRecordPrefix(raw_ostream &OS, GOFF::RecordType Type, in writeRecordPrefix()
121 if (RemainingSize > GOFF::RecordLength) in writeRecordPrefix()
123 OS << binaryBe(static_cast<unsigned char>(GOFF::PTVPrefix)) in writeRecordPrefix()
134 assert((Remains < GOFF::RecordLength) && in fillRecord()
147 if (!(RemainingSize % GOFF::PayloadLength)) { in write_impl()
221 GW.makeNewRecord(GOFF::RT_HDR, GOFF::PayloadLength); in writeHeader()
249 GW.makeNewRecord(GOFF::RT_END, GOFF::PayloadLength); in writeEnd()