Home
last modified time | relevance | path

Searched refs:readFile (Results 1 – 23 of 23) sorted by relevance

/openbmc/openpower-occ-control/
H A Docc_errors.cpp126 auto data = readFile(len); in analyzeEvent()
137 std::string Error::readFile(int len) const in readFile() function in open_power::occ::Error
H A Docc_presence.cpp39 auto data = readFile(len); in analyzeEvent()
H A Docc_manager.cpp39 T readFile(const std::string& path) in readFile() function
894 labelValue = readFile<uint32_t>(file.path()); in readTempSensors()
911 fruTypeValue = readFile<uint32_t>(filePathString + fruTypeSuffix); in readTempSensors()
1001 auto dvfsValue = readFile<double>(filePathString + maxSuffix); in readTempSensors()
1018 faultValue = readFile<uint32_t>(filePathString + faultSuffix); in readTempSensors()
1040 tempValue = readFile<double>(filePathString + inputSuffix); in readTempSensors()
1152 labelValue = readFile<std::string>(file.path()); in readPowerSensors()
1185 tempValue = readFile<double>(filePathString + inputSuffix); in readPowerSensors()
1237 labelValue = readFile<std::string>(file.path()); in readExtnSensors()
1281 extnValue = readFile<std::string>(filePathString + inputSuffix); in readExtnSensors()
H A Docc_errors.hpp160 std::string readFile(int) const;
/openbmc/bmcweb/redfish-core/include/
H A Dgzfile.hpp29 if (!readFile(logStream, skip, top, logEntries, logCount)) in gzGetLines()
58 bool readFile(gzFile logStream, uint64_t skip, uint64_t top, in readFile() function in GzFileReader
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfile_io_by_type.hpp89 virtual int readFile(const std::string& filePath, uint32_t offset,
H A Dfile_io_type_vpd.cpp108 auto rc = readFile(keywrdFilePath, offset, keywrdSize, response); in read()
H A Dinband_code_update.cpp535 std::ifstream readFile(bootSideDirPath, std::ios::in); in readBootSideFile() local
537 if (!readFile) in readBootSideFile()
544 readFile >> jsonBootSideData; in readBootSideFile()
551 readFile.close(); in readBootSideFile()
H A Dfile_io.hpp212 return this->readFile(request, payloadLength); in Handler()
398 Response readFile(const pldm_msg* request, size_t payloadLength);
H A Dfile_io_by_type.cpp187 int FileHandler::readFile(const std::string& filePath, uint32_t offset, in readFile() function in pldm::responder::FileHandler
H A Dfile_io_type_lid.hpp290 return readFile(lidPath, offset, length, response); in read()
H A Dfile_io_type_cert.cpp85 auto rc = readFile(filePath.c_str(), offset, length, response); in read()
H A Dfile_io_type_dump.cpp348 return readFile(resDumpDirPath, offset, length, response); in read()
H A Dfile_io.cpp608 Response Handler::readFile(const pldm_msg* request, size_t payloadLength) in readFile() function in pldm::responder::oem_ibm::Handler
/openbmc/phosphor-bmc-code-mgmt/bmc/test/
H A Dutest.cpp357 static std::string readFile(const fs::path& path) in readFile() function in FileTest
428 std::string ssRetFile = readFile(fs::path(retFile)); in TEST_F()
429 std::string ssDstFile = readFile(fs::path(dstFile)); in TEST_F()
/openbmc/pldm/oem/ibm/test/
H A Dlibpldmresponder_fileio_test.cpp638 auto response = handler.readFile(requestMsgPtr, 0); in TEST_F()
645 response = handler.readFile(requestMsgPtr, payload_length); in TEST_F()
652 response = handler.readFile(requestMsgPtr, payload_length); in TEST_F()
692 auto responseMsg = handler.readFile(requestMsgPtr, payload_length); in TEST_F()
708 responseMsg = handler.readFile(requestMsgPtr, payload_length); in TEST_F()
985 auto rc = handler.readFile({}, 0, length, response); in TEST()
995 rc = handler.readFile(tmplt, 0, length, response); in TEST()
/openbmc/slpd-lite/
H A Dslp_message_handler.cpp353 std::ifstream readFile(absFileName); in readSLPServiceInfo() local
354 readFile >> service; in readSLPServiceInfo()
/openbmc/dbus-sensors/src/hwmon-temp/
H A DHwmonTempMain.cpp129 std::optional<double> tmpOffsetValue = readFile(pathOffsetStr, 1.0); in getSensorParameters()
140 std::optional<double> tmpScaleValue = readFile(pathScaleStr, 1.0); in getSensorParameters()
/openbmc/dbus-sensors/src/intel-cpu/
H A DIntelCPUSensor.cpp215 readFile(attrPath, IntelCPUSensor::sensorScaleFactor)) in updateMinMaxValues()
/openbmc/openbmc-tools/dbus-vis/
H A Dipmi_capture.js106 fs.readFile('./DBUS_MONITOR', {encoding: 'utf-8'}, (err, data) => {
/openbmc/dbus-sensors/src/
H A DThresholds.cpp524 if (auto val = readFile(attrPath, scaleFactor)) in parseThresholdsFromAttr()
H A DUtils.hpp395 std::optional<double> readFile(const std::string& thresholdFile,
H A DUtils.cpp708 std::optional<double> readFile(const std::string& thresholdFile, in readFile() function