Searched refs:packageHeader (Results 1 – 3 of 3) sorted by relevance
/openbmc/pldm/fw-update/test/ |
H A D | device_updater_test.cpp | 49 std::vector<uint8_t> packageHeader(sizeof(pldm_package_header_information)); in TEST_F() local 50 package.read(reinterpret_cast<char*>(packageHeader.data()), in TEST_F() 55 packageHeader.data()); in TEST_F() 58 packageHeader.clear(); in TEST_F() 59 packageHeader.resize(pkgHeaderInfoSize); in TEST_F() 61 package.read(reinterpret_cast<char*>(packageHeader.data()), in TEST_F() 64 auto parser = parsePkgHeader(packageHeader); in TEST_F() 68 packageHeader.resize(parser->pkgHeaderSize); in TEST_F() 69 package.read(reinterpret_cast<char*>(packageHeader.data()), in TEST_F() 72 parser->parse(packageHeader, packageSize); in TEST_F()
|
/openbmc/pldm/fw-update/ |
H A D | update_manager.cpp | 79 std::vector<uint8_t> packageHeader(sizeof(pldm_package_header_information)); in processPackage() local 80 package.read(reinterpret_cast<char*>(packageHeader.data()), in processPackage() 85 packageHeader.data()); in processPackage() 88 packageHeader.clear(); in processPackage() 89 packageHeader.resize(pkgHeaderInfoSize); in processPackage() 91 package.read(reinterpret_cast<char*>(packageHeader.data()), in processPackage() 94 parser = parsePkgHeader(packageHeader); in processPackage() 108 packageHeader.resize(parser->pkgHeaderSize); in processPackage() 109 package.read(reinterpret_cast<char*>(packageHeader.data()), in processPackage() 113 parser->parse(packageHeader, packageSize); in processPackage()
|
/openbmc/libpldm/tests/dsp/ |
H A D | firmware_update.cpp | 95 pldm_package_header_information packageHeader{}; in TEST() local 100 &packageHeader, &packageVersion); in TEST() 110 &packageHeader, nullptr); in TEST() 115 sizeof(pldm_package_header_information) - 1, &packageHeader, in TEST() 121 &packageHeader, &packageVersion); in TEST() 134 &packageHeader, &packageVersion); in TEST() 147 &packageHeader, &packageVersion); in TEST() 160 &packageHeader, &packageVersion); in TEST()
|