Searched refs:SizeOfRecLen (Results 1 – 1 of 1) sorted by relevance
26 const int SizeOfRecLen = 2; in writeRecord() local28 int TotalSize = alignTo(Data.size() + SizeOfRecLen, Align); in writeRecord()29 assert(TotalSize - SizeOfRecLen <= UINT16_MAX); in writeRecord()32 *reinterpret_cast<ulittle16_t *>(Mem) = uint16_t(TotalSize - SizeOfRecLen); in writeRecord()33 memcpy(Mem + SizeOfRecLen, Data.data(), Data.size()); in writeRecord()34 for (int I = Data.size() + SizeOfRecLen; I < TotalSize; ++I) in writeRecord()42 HashedRecords.insert(std::make_pair(StringRef(Mem + SizeOfRecLen, Data.size()), TI)); in writeRecord()