Home
last modified time | relevance | path

Searched refs:i_filePath (Results 1 – 4 of 4) sorted by relevance

/openbmc/openpower-vpd-parser/vpd-tool/include/
H A Dtool_utils.hpp236 inline bool saveToFile(const std::string& i_filePath, in saveToFile() argument
244 std::cerr << "Save to file[ " << i_filePath in saveToFile()
261 l_outPutFileStream.open(i_filePath); in saveToFile()
272 std::cerr << "Error opening output file " << i_filePath in saveToFile()
280 << "Failed to write to file: " << i_filePath in saveToFile()
781 inline std::string readValueFromFile(const std::string& i_filePath) in readValueFromFile() argument
786 if (!std::filesystem::exists(i_filePath, l_ec)) in readValueFromFile()
789 "filesystem call exists failed for file [" + i_filePath + "]."}; in readValueFromFile()
800 if (std::filesystem::is_empty(i_filePath, l_ec)) in readValueFromFile()
802 std::cerr << "File[" << i_filePath << "] is empty." << std::endl; in readValueFromFile()
[all …]
/openbmc/openpower-vpd-parser/vpd-manager/include/
H A Dlogger.hpp79 ILogFileHandler(const std::filesystem::path& i_filePath,
157 SyncFileLogger(const std::filesystem::path& i_filePath, in SyncFileLogger() argument
159 ILogFileHandler(i_filePath, i_maxEntries) in SyncFileLogger()
/openbmc/openpower-vpd-parser/vpd-tool/src/
H A Dvpd_tool_main.cpp158 const std::string& i_keywordName, const std::string& i_filePath) in readKeyword() argument
181 l_isHardwareOperation, i_filePath); in readKeyword()
205 const auto& i_fileOption, const auto& i_filePath) in checkOptionValuePair() argument
229 if (!i_fileOption->empty() && i_filePath.empty()) in checkOptionValuePair()
/openbmc/openpower-vpd-parser/vpd-manager/src/
H A Dlogger.cpp301 ILogFileHandler::ILogFileHandler(const std::filesystem::path& i_filePath, in ILogFileHandler() argument
303 m_filePath{i_filePath}, m_maxEntries{i_maxEntries} in ILogFileHandler()