Home
last modified time | relevance | path

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

/openbmc/openpower-vpd-parser/vpd-manager/
H A Deditor_impl.cpp108 vpdFileStream.seekp(startOffset + thisRecord.kwDataOffset, std::ios::beg); in updateData()
112 std::ostreambuf_iterator<char>(vpdFileStream)); in updateData()
202 std::ostreambuf_iterator<char>(vpdFileStream)); in updateRecordECC()
241 if (vpdFileStream.is_open()) in checkECC()
243 vpdFileStream.seekp(startOffset + thisRecord.recOffset, in checkECC()
248 std::ostreambuf_iterator<char>(vpdFileStream)); in checkECC()
604 vpdFileStream.exceptions( in updateKeyword()
608 vpdFileStream.open(vpdFilePath, in updateKeyword()
620 vpdFileStream.seekg(startOffset, std::ios_base::cur); in updateKeyword()
623 vpdFileStream.clear(std::ios_base::eofbit); in updateKeyword()
[all …]
H A Deditor_impl.hpp177 std::fstream vpdFileStream; member in openpower::vpd::manager::editor::EditorImpl
/openbmc/openpower-vpd-parser/
H A Dimpl.hpp81 vpdFileStream.exceptions(
86 vpdFileStream.open(vpdFilePath,
203 std::fstream vpdFileStream; member in openpower::vpd::parser::Impl
H A Dimpl.cpp91 if (vpdFileStream.is_open()) in vhdrEccCheck()
93 vpdFileStream.seekp(vpdStartOffset + offsets::VHDR_RECORD, in vhdrEccCheck()
95 vpdFileStream.write( in vhdrEccCheck()
153 if (vpdFileStream.is_open()) in vtocEccCheck()
155 vpdFileStream.seekp(vpdStartOffset + vtocOffset, std::ios::beg); in vtocEccCheck()
156 vpdFileStream.write( in vtocEccCheck()
217 if (vpdFileStream.is_open()) in recordEccCheck()
219 vpdFileStream.seekp(vpdStartOffset + recordOffset, in recordEccCheck()
221 vpdFileStream.write( in recordEccCheck()
H A Dvpd_tool_impl.cpp685 fstream vpdFileStream; in readKwFromHw() local
687 vpdFileStream.exceptions(std::ifstream::badbit | std::ifstream::failbit); in readKwFromHw()
690 vpdFileStream.open(fruPath, in readKwFromHw()
702 vpdFileStream.seekg(startOffset, ios_base::cur); in readKwFromHw()
703 vpdFileStream.read(reinterpret_cast<char*>(&completeVPDFile[0]), in readKwFromHw()
705 vpdFileStream.clear(std::ios_base::eofbit); in readKwFromHw()
711 std::cerr << "Stream file size = " << vpdFileStream.gcount() in readKwFromHw()