Home
last modified time | relevance | path

Searched refs:tableSize (Results 1 – 5 of 5) sorted by relevance

/openbmc/pldm/libpldmresponder/
H A Dbios_table.cpp112 auto tableSize = table.size(); in constructEntry() local
114 table.resize(tableSize + entryLength); in constructEntry()
116 pldm_bios_table_string_entry_encode(table.data() + tableSize, entryLength, in constructEntry()
119 table.data() + tableSize); in constructEntry()
154 auto tableSize = table.size(); in constructStringEntry() local
155 table.resize(tableSize + entryLength, 0); in constructStringEntry()
156 int rc = pldm_bios_table_attr_entry_string_encode(table.data() + tableSize, in constructStringEntry()
165 table.data() + tableSize); in constructStringEntry()
172 auto tableSize = table.size(); in constructIntegerEntry() local
173 table.resize(tableSize + entryLength, 0); in constructIntegerEntry()
[all …]
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfile_table.cpp36 size_t tableSize = 0; in FileTable() local
73 tableSize = fileTable.size(); in FileTable()
75 fileTable.resize(tableSize + sizeof(handle) + sizeof(fileNameLength) + in FileTable()
77 iter = fileTable.begin() + tableSize; in FileTable()
110 tableSize = fileTable.size(); in FileTable()
112 if ((tableSize % padWidth) != 0) in FileTable()
114 padCount = padWidth - (tableSize % padWidth); in FileTable()
115 fileTable.resize(tableSize + padCount, 0); in FileTable()
/openbmc/pldm/common/
H A Dbios_utils.hpp115 tableData(data), tableSize(length) in BIOSTableIter()
124 return iterator(tableData, tableSize); in begin()
138 size_t tableSize; member in pldm::bios::utils::BIOSTableIter
/openbmc/pldm/platform-mc/
H A Dterminus.cpp607 const size_t tableSize) in isTableEnd() argument
610 return (tableSize - offset) < sizeof(struct pldm_fru_record_data_format); in isTableEnd()
/openbmc/pldm/pldmtool/
H A Dpldm_bios_cmd.cpp236 auto tableSize = payloadLength - sizeof(nextTransferHandle) - in getBIOSTable() local
238 return std::make_optional<Table>(tableData, tableData + tableSize); in getBIOSTable()