Lines Matching defs:buffer
156 int32_t UpgradePkgFile::CheckPackageHeader(std::vector<uint8_t> &buffer, size_t &offset) in CheckPackageHeader()
193 int32_t UpgradePkgFile::WriteBuffer(std::vector<uint8_t> &buffer, size_t &offset, size_t &signOffse… in WriteBuffer()
223 std::vector<uint8_t> buffer(buffSize); in SavePackage() local
268 PkgBuffer buffer(HASH_TLV_SIZE); in ReadSignData() local
309 PkgBuffer buffer(HASH_TLV_SIZE); in ReadImgHashTLV() local
386 PkgBuffer buffer(GetUpgradeSignatureLen() + UPGRADE_RESERVE_LEN); in ReadPackageInfo() local
539 PkgBuffer buffer(buffSize); in Verify() local
582 int32_t UpgradePkgFile::SaveEntry(const PkgBuffer &buffer, size_t &parsedLen, UpgradeParam &info, in SaveEntry()
631 PkgBuffer buffer(sizeof(PkgTlv)); in ReadComponents() local
672 void UpgradePkgFile::ParsePkgHeaderToTlv(const PkgBuffer &buffer, size_t &currLen, PkgTlv &tlv) in ParsePkgHeaderToTlv()
717 PkgBuffer buffer(UPGRADE_FILE_BASIC_LEN); in ReadUpgradePkgHeader() local
813 PkgBuffer buffer(reinterpret_cast<uint8_t *>(&comp), sizeof(comp)); in EncodeHeader() local
863 int32_t UpgradeFileEntry::DecodeHeader(PkgBuffer &buffer, size_t headerOffset, size_t dataOffset, in DecodeHeader()
928 [this](PkgBuffer &buffer, size_t len, size_t offset) ->int32_t { in Unpack()
941 int32_t UpgradeFileEntry::Verify(PkgBuffer &buffer, size_t len, size_t offset) in Verify()