Home
last modified time | relevance | path

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

/openbmc/openpower-vpd-parser/vpd-tool/include/
H A Dtool_utils.hpp235 inline bool saveToFile(const std::string& i_filePath, in saveToFile() argument
243 std::cerr << "Save to file[ " << i_filePath in saveToFile()
260 l_outPutFileStream.open(i_filePath); in saveToFile()
271 std::cerr << "Error opening output file " << i_filePath in saveToFile()
279 << "Failed to write to file: " << i_filePath in saveToFile()
780 inline std::string readValueFromFile(const std::string& i_filePath) in readValueFromFile() argument
785 if (!std::filesystem::exists(i_filePath, l_ec)) in readValueFromFile()
788 "filesystem call exists failed for file [" + i_filePath + "]."}; in readValueFromFile()
799 if (std::filesystem::is_empty(i_filePath, l_ec)) in readValueFromFile()
801 std::cerr << "File[" << i_filePath << "] is empty." << std::endl; in readValueFromFile()
[all …]
/openbmc/openpower-vpd-parser/vpd-tool/src/
H A Dvpd_tool_main.cpp134 const std::string& i_keywordName, const std::string& i_filePath) in readKeyword() argument
157 l_isHardwareOperation, i_filePath); in readKeyword()
181 const auto& i_fileOption, const auto& i_filePath) in checkOptionValuePair() argument
205 if (!i_fileOption->empty() && i_filePath.empty()) in checkOptionValuePair()