Lines Matching refs:pkgHdr
25 DeviceIDRecordCount deviceIdRecCount, const std::vector<uint8_t>& pkgHdr, in parseFDIdentificationArea() argument
28 size_t pkgHdrRemainingSize = pkgHdr.size() - offset; in parseFDIdentificationArea()
39 pkgHdr.data() + offset, pkgHdrRemainingSize, in parseFDIdentificationArea()
144 const std::vector<uint8_t>& pkgHdr, in parseCompImageInfoArea() argument
147 size_t pkgHdrRemainingSize = pkgHdr.size() - offset; in parseCompImageInfoArea()
155 pkgHdr.data() + offset, pkgHdrRemainingSize, &compImageInfo, in parseCompImageInfoArea()
224 void PackageParserV1::parse(const std::vector<uint8_t>& pkgHdr, in parse() argument
227 if (pkgHeaderSize != pkgHdr.size()) in parse()
242 auto deviceIdRecCount = static_cast<DeviceIDRecordCount>(pkgHdr[offset]); in parse()
245 offset = parseFDIdentificationArea(deviceIdRecCount, pkgHdr, offset); in parse()
260 le16toh(pkgHdr[offset] | (pkgHdr[offset + 1] << 8))); in parse()
263 offset = parseCompImageInfoArea(compImageCount, pkgHdr, offset); in parse()
278 auto calcChecksum = crc32(pkgHdr.data(), offset); in parse()
280 le32toh(pkgHdr[offset] | (pkgHdr[offset + 1] << 8) | in parse()
281 (pkgHdr[offset + 2] << 16) | (pkgHdr[offset + 3] << 24))); in parse()