Searched refs:nameFile (Results 1 – 5 of 5) sorted by relevance
64 auto nameFile = path.path() / "name"; in getHwmonNameFFDC() local65 if (fs::exists(nameFile)) in getHwmonNameFFDC()67 std::ifstream f{nameFile}; in getHwmonNameFFDC()
75 std::ifstream nameFile(namePath); in isAdc() local76 if (!nameFile.good()) in isAdc()83 std::getline(nameFile, name); in isAdc()
229 std::ifstream nameFile(hwmonNamePath); in createSensors() local230 if (!nameFile.good()) in createSensors()236 std::getline(nameFile, hwmonName); in createSensors()237 nameFile.close(); in createSensors()
326 std::ifstream nameFile(pmbusPath); in createSensorsCallback() local327 if (!nameFile.good()) in createSensorsCallback()334 std::getline(nameFile, pmbusName); in createSensorsCallback()335 nameFile.close(); in createSensorsCallback()
1658 std::ifstream nameFile("/sys/bus/i2c/devices/i2c-" + in updateAssets() local1661 if (!nameFile) in updateAssets()1671 std::getline(nameFile, nameStr); in updateAssets()