/openbmc/phosphor-power/test/ |
H A D | temporary_subdirectory_tests.cpp | 32 fs::path path = subdirectory.getPath(); in TEST() 48 EXPECT_FALSE(subdirectory1.getPath().empty()); in TEST() 52 fs::path path = subdirectory1.getPath(); in TEST() 58 EXPECT_TRUE(subdirectory1.getPath().empty()); in TEST() 61 EXPECT_EQ(subdirectory2.getPath(), path); in TEST() 75 fs::path path1 = subdirectory1.getPath(); in TEST() 111 fs::path path = subdirectory.getPath(); in TEST() 117 EXPECT_EQ(subdirectory.getPath(), path); in TEST() 176 path = subdirectory.getPath(); in TEST() 187 path = subdirectory.getPath(); in TEST() [all …]
|
H A D | temporary_file_tests.cpp | 71 fs::path path = file.getPath(); in TEST() 92 fs::path path = file1.getPath(); in TEST() 98 EXPECT_TRUE(file1.getPath().empty()); in TEST() 101 EXPECT_EQ(file2.getPath(), path); in TEST() 115 fs::path path1 = file1.getPath(); in TEST() 150 fs::path path = file.getPath(); in TEST() 156 EXPECT_EQ(file.getPath(), path); in TEST() 215 path = file.getPath(); in TEST() 226 path = file.getPath(); in TEST() 240 path = file.getPath(); in TEST() [all …]
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | temporary_file_test.cpp | 100 fs::path path = tmpFile->getPath(); in TEST_F() 135 fs::path path = tmpFile->getPath(); in TEST_F() 144 EXPECT_EQ(file.getPath(), path); in TEST_F() 159 fs::path path1 = tmpFile->getPath(); in TEST_F() 193 fs::path path = tmpFile->getPath(); in TEST_F() 199 EXPECT_EQ(tmpFile->getPath(), path); in TEST_F() 211 fs::path path1 = tmpFile->getPath(); in TEST_F() 256 path = file.getPath(); in TEST_F() 268 path = file.getPath(); in TEST_F() 282 path = file.getPath(); in TEST_F() [all …]
|
/openbmc/phosphor-power/phosphor-regulators/test/ |
H A D | ffdc_file_tests.cpp | 53 EXPECT_FALSE(file.getPath().empty()); in TEST() 65 EXPECT_FALSE(file.getPath().empty()); in TEST() 116 EXPECT_FALSE(file.getPath().empty()); in TEST() 117 EXPECT_TRUE(fs::exists(file.getPath())); in TEST() 157 EXPECT_FALSE(file.getPath().empty()); in TEST() 161 fs::path path = file.getPath(); in TEST() 165 EXPECT_TRUE(file.getPath().empty()); in TEST() 175 EXPECT_FALSE(file.getPath().empty()); in TEST() 179 EXPECT_TRUE(file.getPath().empty()); in TEST() 183 EXPECT_TRUE(file.getPath().empty()); in TEST() [all …]
|
/openbmc/telemetry/tests/src/ |
H A D | test_report.cpp | 231 EXPECT_THAT(getProperty<bool>(sut->getPath(), "Enabled"), in TEST_F() 257 EXPECT_THAT(getProperty<std::string>(sut->getPath(), "Name"), in TEST_F() 536 auto ec = deleteReport(sut->getPath()); in TEST_F() 553 auto ec = deleteReport(sut->getPath()); in TEST_F() 683 setProperty(sut->getPath(), "Persistency", false); in TEST_P() 685 setProperty(sut->getPath(), "Persistency", true); in TEST_P() 786 setProperty(sut->getPath(), "Enabled", false); in TEST_P() 946 callMethod(sut->getPath(), "SetReportingProperties", in changeReport() 1069 EXPECT_THAT(getProperty<bool>(sut->getPath(), "Enabled"), in TEST_P() 1085 EXPECT_THAT(getProperty<bool>(sut->getPath(), "Enabled"), in TEST_P() [all …]
|
H A D | test_trigger.cpp | 152 EXPECT_THAT(getProperty<std::string>(sut->getPath(), "Name"), in TEST_F() 166 getProperty<bool>(sut->getPath(), "Discrete"), in TEST_F() 177 EXPECT_THAT(sut->getPath(), in TEST_F() 184 EXPECT_THAT(setProperty(sut->getPath(), "Name", name), in TEST_F() 195 EXPECT_THAT(setProperty(sut->getPath(), "Reports", newNames), in TEST_F() 305 EXPECT_THAT(setProperty(sut->getPath(), "Sensors", newSensors), in TEST_F() 332 sut->getPath(), "Thresholds", in TEST_F() 344 sut->getPath(), "Name", in TEST_F() 408 auto ec = deleteTrigger(sut->getPath()); in TEST_F() 418 auto ec = deleteTrigger(sut->getPath()); in TEST_F() [all …]
|
/openbmc/skeleton/pytools/ |
H A D | gpioutil | 62 def getPath(self,name): 75 raise Exception("ERROR - Not exported: "+self.getPath()) 86 self.write(self.getPath('edge'),self.interrupt) 90 current_direction = self.read(self.getPath('direction')) 92 self.write(self.getPath('direction'),self.direction) 96 self.write(self.getPath('value'),'0') 98 self.write(self.getPath('value'),'1') 103 return self.read(self.getPath('value'))
|
/openbmc/openpower-hw-diags/util/ |
H A D | pdbg.cpp | 51 const char* getPath(pdbg_target* i_trgt) in getPath() function 56 const char* getPath(const libhei::Chip& i_chip) in getPath() function 58 return getPath(getTrgt(i_chip)); in getPath() 124 std::string{getPath(i_unitTarget)}); in getParentChip() 223 getPath(i_parentChip), i_unitType, i_unitPos); in getChipUnit() 281 std::string rxPath = util::pdbg::getPath(i_rxTarget); in getTargetAcrossBus() 305 std::string rxPath = util::pdbg::getPath(i_rxTarget); in getConnectedTarget() 455 getPath(i_trgt)); in __addChip() 494 "No parent MCC found for " + std::string{getPath(ocmb)}); in __isMaskedOcmb() 624 return std::string{getPath(trgt)}; in getLocationCode() [all …]
|
H A D | pdbg-no-sim.cpp | 38 trace::err("sbe_lpc_timeout() failed: target=%s", getPath(target)); in queryLpcTimeout() 67 std::string{getPath(i_target)}); in getScom() 74 "SCOM_TARGET", getPath(i_target), "SCOM_ADDRESS", in getScom() 94 "CFAM_TARGET", getPath(i_target), "CFAM_ADDRESS", in getCfam()
|
H A D | ffdc_file.hpp | 89 const fs::path& getPath() const in getPath() function in util::FFDCFile 91 return tempFile.getPath(); in getPath()
|
/openbmc/openpower-debug-collector/watchdog/ |
H A D | ffdc_file.cpp | 41 int fd = open(tempFile.getPath().c_str(), O_RDWR); in prepareFFDCFile() 54 "FILE", tempFile.getPath(), "ERRNO", errno, "ERRORMSG", in prepareFFDCFile() 63 "FILE", tempFile.getPath(), "WRITTEN", rc, "TOTAL", in prepareFFDCFile() 73 "FILE", tempFile.getPath(), "ERRNO", errno, "ERRORMSG", in prepareFFDCFile()
|
H A D | ffdc_file.hpp | 69 const fs::path& getPath() const in getPath() function in watchdog::dump::FFDCFile 71 return tempFile.getPath(); in getPath()
|
/openbmc/openpower-hw-diags/analyzer/ |
H A D | hei_user_interface.cpp | 59 util::pdbg::getPath(i_procTrgt), i_regType, i_address); in __readProc() 87 util::pdbg::getPath(i_obmcTrgt), i_regType, i_address); in __readOcmb() 117 util::pdbg::getPath(trgt), trgtType); in registerRead() 124 util::pdbg::getPath(trgt), i_address); in registerRead()
|
H A D | create_pel.cpp | 101 std::ofstream o{io_userDataFiles.back().getPath()}; in __addCalloutList() 115 std::ofstream o{io_userDataFiles.back().getPath()}; in __addCalloutFFDC() 130 auto path = io_userDataFiles.back().getPath(); in __captureSignatureList() 169 auto path = io_userDataFiles.back().getPath(); in __captureRegisterDump() 270 auto path = io_userDataFiles.back().getPath(); in __captureHostbootScratchRegisters() 327 auto path = io_userDataFiles.back().getPath(); in __captureScratchRegSignature()
|
/openbmc/phosphor-power/phosphor-power-sequencer/test/ |
H A D | config_file_parser_tests.cpp | 67 fs::path configFileDirPath = configFileDir.getPath(); in TEST() 80 fs::path configFileDirPath = configFileDir.getPath(); in TEST() 93 fs::path configFileDirPath = configFileDir.getPath(); in TEST() 106 fs::path configFileDirPath = configFileDir.getPath(); in TEST() 119 fs::path configFileDirPath = configFileDir.getPath(); in TEST() 134 fs::path configFileDirPath = configFileDir.getPath(); in TEST() 148 fs::path configFileDirPath = configFileDir.getPath(); in TEST() 266 fs::path pathName{configFile.getPath()}; in TEST() 295 fs::path pathName{configFile.getPath()}; in TEST() 307 fs::path pathName{configFile.getPath()}; in TEST() [all …]
|
H A D | pmbus_driver_device_tests.cpp | 59 tempDirPath = tempDir.getPath(); 406 EXPECT_CALL(pmbus, getPath(Type::Hwmon)) in TEST_F() 435 EXPECT_CALL(pmbus, getPath(Type::Hwmon)) in TEST_F() 475 EXPECT_CALL(pmbus, getPath(Type::Hwmon)) in TEST_F() 504 EXPECT_CALL(pmbus, getPath(Type::Hwmon)) in TEST_F() 549 EXPECT_CALL(pmbus, getPath(Type::Hwmon)) in TEST_F() 582 EXPECT_CALL(pmbus, getPath(Type::Hwmon)) in TEST_F() 624 EXPECT_CALL(pmbus, getPath(Type::Hwmon)) in TEST_F() 646 EXPECT_CALL(pmbus, getPath(Type::Hwmon)) in TEST_F() 676 EXPECT_CALL(pmbus, getPath(Type::Hwmon)) in TEST_F() [all …]
|
/openbmc/openpower-proc-control/procedures/phal/ |
H A D | reinit_devtree.cpp | 129 auto tmpDevtreePath = tmpDevtreeFile.getPath(); in reinitDevtree() 154 FILE_Ptr fpExport(fopen(tmpFile.getPath().c_str(), "w+"), in reinitDevtree() 161 tmpFile.getPath().c_str()) in reinitDevtree() 187 FILE_Ptr fpImport(fopen(tmpFile.getPath().c_str(), "r"), FileCloser()); in reinitDevtree() 192 tmpFile.getPath().c_str()) in reinitDevtree()
|
/openbmc/witherspoon-pfault-analysis/ |
H A D | pmbus.cpp | 61 fs::path PMBus::getPath(Type type) in getPath() function in witherspoon::pmbus::PMBus 120 fs::path path = getPath(type); in readBit() 166 auto path = getPath(type); in exists() 175 auto path = getPath(type); in read() 206 auto path = getPath(type); in readString() 236 auto path = getPath(type) / name; in readBinary() 279 fs::path path = getPath(type); in write()
|
/openbmc/phosphor-power/ |
H A D | pmbus.cpp | 61 fs::path PMBus::getPath(Type type) in getPath() function in phosphor::pmbus::PMBus 122 fs::path path = getPath(type); in readBit() 172 auto path = getPath(type); in exists() 181 auto path = getPath(type); in read() 222 auto path = getPath(type); in readString() 254 auto path = getPath(type) / name; in readBinary() 299 fs::path path = getPath(type); in write() 331 fs::path path = getPath(type); in writeBinary()
|
/openbmc/telemetry/tests/src/mocks/ |
H A D | trigger_mock.hpp | 15 ON_CALL(*this, getPath).WillByDefault([id] { return "/" + id; }); in TriggerMock() 25 MOCK_METHOD(std::string, getPath, (), (const, override));
|
H A D | report_mock.hpp | 15 ON_CALL(*this, getPath).WillByDefault([id] { return "/" + id; }); in ReportMock() 25 MOCK_METHOD(std::string, getPath, (), (override, const));
|
/openbmc/openpower-hw-diags/analyzer/plugins/ |
H A D | p10-tod-plugins.cpp | 142 static_cast<uint64_t>(i_addr), util::pdbg::getPath(i_chip)); in readRegister() 247 util::pdbg::getPath(i_chip)); in collectTodFaultData() 286 slavePathSelect, util::pdbg::getPath(i_chip), in collectTodFaultData() 287 iohsPos, util::pdbg::getPath(chipSourcingClock)); in collectTodFaultData() 300 util::pdbg::getPath(i_chip)); in collectTodFaultData()
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | ffdc_file.hpp | 106 const fs::path& getPath() const in getPath() function in phosphor::power::regulators::FFDCFile 108 return tempFile.getPath(); in getPath()
|
/openbmc/openpower-hw-diags/test/ |
H A D | pdbg-sim-only.cpp | 52 "SCOM_TARGET", getPath(i_target), "SCOM_ADDRESS", in getScom() 72 "CFAM_TARGET", getPath(i_target), "CFAM_ADDRESS", in getCfam()
|
H A D | test-util-data-file.cpp | 27 string fullPathTempFile1 = tempFile1.getPath(); in TEST() 28 string fullPathTempFile2 = tempFile2.getPath(); in TEST()
|