Lines Matching defs:HashHdr
84 static Error checkHashHdrVersion(const GSIHashHeader *HashHdr) {
85 if (HashHdr->VerHdr != GSIHashHeader::HdrVersion)
93 static Error readGSIHashHeader(const GSIHashHeader *&HashHdr,
95 if (Reader.readObject(HashHdr))
99 if (HashHdr->VerSignature != GSIHashHeader::HdrSignature)
108 const GSIHashHeader *HashHdr,
110 if (auto EC = checkHashHdrVersion(HashHdr))
113 // HashHdr->HrSize specifies the number of bytes of PSHashRecords we have.
115 if (HashHdr->HrSize % sizeof(PSHashRecord))
118 uint32_t NumHashRecords = HashHdr->HrSize / sizeof(PSHashRecord);
130 const GSIHashHeader *HashHdr,
133 if (auto EC = checkHashHdrVersion(HashHdr))
170 if (auto EC = readGSIHashHeader(HashHdr, Reader))
172 if (auto EC = readGSIHashRecords(HashRecords, HashHdr, Reader))
174 if (HashHdr->HrSize > 0)
175 if (auto EC = readGSIHashBuckets(HashBuckets, HashBitmap, HashHdr,