Home
last modified time | relevance | path

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

/openbmc/openpower-vpd-parser/test/vpd-manager-test/
H A Deditor_test.cpp34 void readFile(std::string pathToFile);
37 void vpdManagerEditorTest::readFile(std::string pathToFile) in readFile() function in vpdManagerEditorTest
105 readFile("vpd-manager-test/invalidHeaderFile.dat"); in TEST_F()
123 readFile("vpd-manager-test/vpdFile.dat"); in TEST_F()
142 readFile("vpd-manager-test/vpdFile.dat"); in TEST_F()
161 readFile("vpd-manager-test/vpdFile.dat"); in TEST_F()
/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_manager.cpp37 T readFile(const std::string& path) in readFile() function
927 labelValue = readFile<uint32_t>(file.path()); in readTempSensors()
944 fruTypeValue = readFile<uint32_t>(filePathString + fruTypeSuffix); in readTempSensors()
1034 auto dvfsValue = readFile<double>(filePathString + maxSuffix); in readTempSensors()
1051 faultValue = readFile<uint32_t>(filePathString + faultSuffix); in readTempSensors()
1073 tempValue = readFile<double>(filePathString + inputSuffix); in readTempSensors()
1186 labelValue = readFile<std::string>(file.path()); in readPowerSensors()
1219 tempValue = readFile<double>(filePathString + inputSuffix); in readPowerSensors()
H A Docc_presence.cpp39 auto data = readFile(len); in analyzeEvent()
H A Docc_errors.hpp156 std::string readFile(int) const;
/openbmc/bmcweb/redfish-core/include/
H A Dgzfile.hpp25 if (!readFile(logStream, skip, top, logEntries, logCount)) in gzGetLines()
54 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 Dfile_io.hpp212 return this->readFile(request, payloadLength); in Handler()
387 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_dump.cpp343 return readFile(resDumpDirPath, offset, length, response); in read()
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.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/test/
H A Dutest.cpp
/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.cpp126 std::optional<double> tmpOffsetValue = readFile(pathOffsetStr, 1.0); in getSensorParameters()
137 std::optional<double> tmpScaleValue = readFile(pathScaleStr, 1.0); in getSensorParameters()
/openbmc/dbus-sensors/src/intel-cpu/
H A DIntelCPUSensor.cpp209 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.cpp520 if (auto val = readFile(attrPath, scaleFactor)) in parseThresholdsFromAttr()
H A DUtils.hpp375 std::optional<double> readFile(const std::string& thresholdFile,
H A DUtils.cpp697 std::optional<double> readFile(const std::string& thresholdFile, in readFile() function
/openbmc/linux/tools/power/pm-graph/
H A Dsleepgraph.py5587 def readFile(file): function
5644 power[tgtval] = readFile('%s/power/%s' % (dirname, tgtval))
5651 name = readFile(file)
5657 power[i] = readFile('%s/power/%s' % (dirname, i))