Home
last modified time | relevance | path

Searched refs:attrTable (Results 1 – 14 of 14) sorted by relevance

/openbmc/pldm/pldmtool/
H A Dpldm_bios_cmd.cpp242 const std::string& name, const Table& attrTable, in findAttrEntryByName() argument
255 for (auto attr : BIOSTableIter<PLDM_BIOS_ATTR_TABLE>(attrTable.data(), in findAttrEntryByName()
256 attrTable.size())) in findAttrEntryByName()
269 const Table& attrTable, in findAttrHandleByName() argument
272 auto attribute = findAttrEntryByName(name, attrTable, stringTable); in findAttrHandleByName()
320 const std::optional<Table>& attrTable, in displayEnumValueByIndex() argument
324 if (!attrTable) in displayEnumValueByIndex()
330 attrTable->data(), attrTable->size(), attrHandle); in displayEnumValueByIndex()
351 const std::optional<Table>& attrTable, in displayAttributeValueEntry() argument
395 attrTable, stringTable); in displayAttributeValueEntry()
[all …]
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_systemspecific_bios_test.cpp101 auto attrTable = biosConfig.getBIOSTable(PLDM_BIOS_ATTR_TABLE); in TEST_F() local
105 EXPECT_TRUE(attrTable); in TEST_F()
140 for (auto entry : BIOSTableIter<PLDM_BIOS_ATTR_TABLE>(attrTable->data(), in TEST_F()
141 attrTable->size())) in TEST_F()
218 table::attribute::findByHandle(*attrTable, header.attrHandle); in TEST_F()
276 auto attrTable = biosConfig.getBIOSTable(PLDM_BIOS_ATTR_TABLE); in TEST_F() local
280 EXPECT_TRUE(attrTable); in TEST_F()
285 for (auto entry : BIOSTableIter<PLDM_BIOS_ATTR_TABLE>(attrTable->data(), in TEST_F()
286 attrTable->size())) in TEST_F()
369 auto attrTable = biosConfig.getBIOSTable(PLDM_BIOS_ATTR_TABLE); in TEST_F() local
[all …]
H A Dlibpldmresponder_bios_config_test.cpp94 auto attrTable = biosConfig.getBIOSTable(PLDM_BIOS_ATTR_TABLE); in TEST_F() local
98 EXPECT_TRUE(attrTable); in TEST_F()
133 for (auto entry : BIOSTableIter<PLDM_BIOS_ATTR_TABLE>(attrTable->data(), in TEST_F()
134 attrTable->size())) in TEST_F()
211 table::attribute::findByHandle(*attrTable, header.attrHandle); in TEST_F()
289 auto attrTable = biosConfig.getBIOSTable(PLDM_BIOS_ATTR_TABLE); in TEST_F() local
293 EXPECT_FALSE(attrTable); in TEST_F()
330 auto attrTable = biosConfig.getBIOSTable(PLDM_BIOS_ATTR_TABLE); in TEST_F() local
333 BIOSTableIter<PLDM_BIOS_ATTR_TABLE> attrTableIter(attrTable->data(), in TEST_F()
334 attrTable->size()); in TEST_F()
[all …]
/openbmc/pldm/libpldmresponder/
H A Dbios_config.cpp276 auto attrTable = getBIOSTable(PLDM_BIOS_ATTR_TABLE); in checkAttributeValueTable() local
302 attrTable->data(), attrTable->size(), attrValueHandle); in checkAttributeValueTable()
591 Table attrTable, attrValueTable; in buildAndStoreAttrTables() local
600 attr->constructEntry(biosStringTable, attrTable, attrValueTable, in buildAndStoreAttrTables()
606 biosStringTable, attrTable, attrValueTable, in buildAndStoreAttrTables()
619 table::appendPadAndChecksum(attrTable); in buildAndStoreAttrTables()
621 setBIOSTable(PLDM_BIOS_ATTR_TABLE, attrTable); in buildAndStoreAttrTables()
725 uint16_t handle, uint8_t index, const std::optional<Table>& attrTable, in displayStringHandle() argument
729 attrTable->data(), attrTable->size(), handle); in displayStringHandle()
761 auto attrTable = getBIOSTable(PLDM_BIOS_ATTR_TABLE); in traceBIOSUpdate() local
[all …]
H A Dbios_string_attribute.cpp101 const BIOSStringTable& stringTable, Table& attrTable, Table& attrValueTable, in constructEntry() argument
112 table::attribute::constructStringEntry(attrTable, &info); in constructEntry()
H A Dbios_integer_attribute.cpp106 const BIOSStringTable& stringTable, Table& attrTable, Table& attrValueTable, in constructEntry() argument
116 table::attribute::constructIntegerEntry(attrTable, &info); in constructEntry()
H A Dbios_integer_attribute.hpp49 void constructEntry(const BIOSStringTable& stringTable, Table& attrTable,
H A Dbios_string_attribute.hpp72 void constructEntry(const BIOSStringTable& stringTable, Table& attrTable,
H A Dbios_attribute.hpp64 const BIOSStringTable& stringTable, Table& attrTable,
H A Dbios_enum_attribute.cpp206 const BIOSStringTable& stringTable, Table& attrTable, Table& attrValueTable, in constructEntry() argument
220 table::attribute::constructEnumEntry(attrTable, &info); in constructEntry()
H A Dbios_enum_attribute.hpp53 void constructEntry(const BIOSStringTable& stringTable, Table& attrTable,
H A Dbios_config.hpp323 const std::optional<Table>& attrTable,
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfile_io.cpp589 auto attrTable = table(); in getFileTable() local
590 response.resize(response.size() + attrTable.size()); in getFileTable()
593 if (attrTable.empty()) in getFileTable()
603 PLDM_START_AND_END, attrTable.data(), in getFileTable()
604 attrTable.size(), responsePtr); in getFileTable()
/openbmc/pldm/oem/ibm/test/
H A Dlibpldmresponder_fileio_test.cpp83 Table attrTable = { member in TestFileTable
524 std::equal(attrTable.begin(), attrTable.end(), table.begin())); in TEST_F()
563 ASSERT_EQ(0, memcmp(responsePtr->payload + offsetSize, attrTable.data(), in TEST_F()
564 attrTable.size())); in TEST_F()