Home
last modified time | relevance | path

Searched refs:c_str (Results 126 – 150 of 686) sorted by relevance

12345678910>>...28

/openbmc/openpower-hw-diags/analyzer/
H A Dinitialize_isolator.cpp33 trace::err("Unable to open file: %s", path.string().c_str()); in __getChipDataFiles()
51 trace::err("Unable to read file: %s", path.string().c_str()); in __getChipDataFiles()
62 trace::err("Invalid chip data file: %s", path.string().c_str()); in __getChipDataFiles()
72 path.string().c_str()); in __getChipDataFiles()
/openbmc/openpower-proc-control/procedures/phal/
H A Denter_mpreboot.cpp70 .c_str()); in sbeEnterMpReboot()
76 .c_str()); in sbeEnterMpReboot()
122 .c_str()); in sbeEnterMpReboot()
130 .c_str()); in sbeEnterMpReboot()
/openbmc/openpower-occ-control/
H A Docc_device.cpp29 devPath.c_str(), e.what()) in setActive()
30 .c_str()); in setActive()
95 error, p.c_str())); in errorCallback()
157 .c_str()); in getFilenameByRegex()
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/
H A Dlpc_aspeed.cpp96 const auto lpcControlFd = sys->open(lpcControlPath.c_str(), O_RDWR); in mapWindow()
101 lpcControlPath.c_str()); in mapWindow()
141 mappedFd = sys->open(lpcControlPath.c_str(), O_RDONLY | O_SYNC); in mapRegion()
145 lpcControlPath.c_str()); in mapRegion()
/openbmc/phosphor-bmc-code-mgmt/
H A Dserialize.cpp42 std::ofstream os(path.c_str()); in storePriority()
63 std::ofstream os(path.c_str()); in storePurpose()
74 std::ifstream is(path.c_str(), std::ios::in); in restorePriority()
105 std::ifstream input(devicePath.c_str()); in restorePriority()
136 std::ifstream is(path.c_str(), std::ios::in); in restorePurpose()
/openbmc/intel-ipmi-oem/src/
H A Dbmccontrolservices.cpp84 phosphor::logging::log<phosphor::logging::level::ERR>(msgToLog.c_str()); in checkAndThrowError()
85 throw sdbusplus::exception::SdBusError(-EIO, msgToLog.c_str()); in checkAndThrowError()
127 yield, ec, getServiceConfigMgrName().c_str(), serviceConfigBasePath, in setBmcControlServices()
149 yield, ec, getServiceConfigMgrName().c_str(), in setBmcControlServices()
175 yield, ec, getServiceConfigMgrName().c_str(), serviceConfigBasePath, in getBmcControlServices()
/openbmc/phosphor-state-manager/
H A Dscheduled_host_transition_main.cpp57 sdbusplus::server::manager_t objManager(bus, objPathInst.c_str()); in main()
60 bus, objPathInst.c_str(), hostId, event); in main()
71 .c_str()); in main()
H A Dutils.cpp102 auto method = bus.new_method_call(service.c_str(), path.c_str(), in getProperty()
136 auto method = bus.new_method_call(service.c_str(), path.c_str(), in setProperty()
148 gpiod_line* line = gpiod_line_find(gpioName.c_str()); in getGpioValue()
213 bus.new_method_call(DumpCreate::default_service, dumpPath.str.c_str(), in createBmcDump()
H A Ddiscover_system_state.cpp112 settings.service(settings.powerRestorePolicy, powerRestoreIntf).c_str(), in main()
113 settings.powerRestorePolicyOneTime.c_str(), in main()
118 settings.service(settings.powerRestorePolicy, powerRestoreIntf).c_str(), in main()
119 settings.powerRestorePolicy.c_str(), "org.freedesktop.DBus.Properties", in main()
153 .c_str(), in main()
154 settings.powerRestorePolicy.c_str(), in main()
/openbmc/openpower-proc-control/
H A Dcfam_access.cpp66 metadata::PATH(target->getCFAMPath().c_str())); in writeReg()
78 metadata::CALLOUT_DEVICE_PATH(target->getCFAMPath().c_str())); in writeReg()
100 metadata::PATH(target->getCFAMPath().c_str())); in readReg()
110 metadata::CALLOUT_DEVICE_PATH(target->getCFAMPath().c_str())); in readReg()
/openbmc/smbios-mdr/include/
H A Ddimm.hpp76 bus, objPath.c_str()), in Dimm()
79 bus, objPath.c_str()), in Dimm()
82 bus, objPath.c_str()), in Dimm()
85 bus, objPath.c_str()), in Dimm()
88 bus, objPath.c_str()), in Dimm()
91 bus, objPath.c_str()), in Dimm()
94 bus, objPath.c_str()), in Dimm()
97 bus, objPath.c_str()), in Dimm()
/openbmc/openpower-pnor-code-mgmt/static/
H A Ditem_updater_static.cpp48 FILE* pipe = popen(cmd.c_str(), "r"); in pflash()
90 std::ifstream f(versionFile.c_str(), std::ios::in | std::ios::binary); in getPNORVersion()
111 entry("DIR=%s", tmpDir.c_str()), in getPNORVersion()
112 entry("ERR=%s", ec.message().c_str())); in getPNORVersion()
126 entry("PART=%s", part.c_str()), in pnorClear()
132 entry("PART=%s", part.c_str())); in pnorClear()
252 entry("VERSION=%s", fullVersion.c_str())); in processPNORImage()
259 entry("VERSION=%s", fullVersion.c_str())); in processPNORImage()
/openbmc/phosphor-debug-collector/test/
H A Ddebug_inif_test.cpp48 phosphor::dump::elog::serialize(e, dumpFile.c_str()); in TEST_F()
49 bool value = phosphor::dump::elog::deserialize(dumpFile.c_str(), e); in TEST_F()
58 bool value = phosphor::dump::elog::deserialize(dumpFile.c_str(), e); in TEST_F()
/openbmc/phosphor-power/phosphor-power-supply/
H A Dutil.hpp48 .c_str()); in setPresence()
75 bus.new_method_call(invService.c_str(), INVENTORY_OBJ_PATH, in setPresence()
86 .c_str()); in setPresence()
109 bus.new_method_call(invService.c_str(), INVENTORY_OBJ_PATH, in setAvailable()
121 .c_str()); in setAvailable()
193 .c_str()); in handleChassisHealthRollup()
/openbmc/openpower-pnor-code-mgmt/
H A Ditem_updater.cpp84 entry("OBJPATH=%s", path.c_str())); in createActivation()
181 .c_str()); in erase()
192 .c_str()); in erase()
206 .c_str()); in erase()
242 auto method = bus.new_method_call((mapperResponse.begin()->first).c_str(), in isChassisOn()
260 (mapperResponse.begin()->first).c_str())); in isChassisOn()
/openbmc/phosphor-hwmon/test/
H A Dfanpwm_unittest.cpp40 EXPECT_STREQ(property.c_str(), names[0]); in SetupDbusObject()
70 objPath.c_str(), defer, target); in TEST()
101 objPath.c_str(), defer, target); in TEST()
127 objPath.c_str(), defer, target); in TEST()
168 objPath.c_str(), defer, target); in TEST()
/openbmc/sdbusplus/test/exception/
H A Dsdbus_error.cpp39 SdBusError err(errorVal, prefix.c_str()); in TEST()
89 SdBusError err(errorVal, prefix.c_str()); in TEST()
143 sd_bus_error_set(&error, name.c_str(), description.c_str()); in TEST()
147 SdBusError err(&error, prefix.c_str()); in TEST()
/openbmc/openpower-occ-control/test/
H A Dutest.cpp61 EXPECT_STREQ(parsed.c_str(), ""); in TEST()
69 EXPECT_STREQ(parsed.c_str(), "foo.bar"); in TEST()
77 EXPECT_STREQ(parsed.c_str(), "bar"); in TEST()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Ddevice_callouts.cpp110 throw std::invalid_argument{msg.c_str()}; in getI2CSearchKeys()
150 throw std::invalid_argument{msg.c_str()}; in getFSISearchKeys()
184 throw std::invalid_argument{msg.c_str()}; in getSPISearchKeys()
258 throw std::runtime_error(msg.c_str()); in extractCallouts()
302 throw std::invalid_argument(msg.c_str()); in calloutI2C()
350 throw std::invalid_argument(msg.c_str()); in calloutFSI()
396 throw std::invalid_argument(msg.c_str()); in calloutFSII2C()
435 throw std::invalid_argument(msg.c_str()); in calloutFSISPI()
482 throw std::invalid_argument{msg.c_str()}; in findCallouts()
/openbmc/phosphor-debug-collector/
H A Dbmc_dump_entry.hpp64 phosphor::dump::Entry(bus, objPath.c_str(), dumpId, timeStamp, fileSize, in Entry()
67 EntryIfaces(bus, objPath.c_str(), EntryIfaces::action::defer_emit) in Entry()
152 phosphor::dump::Entry(bus, objPath.c_str(), dumpId, 0, 0, file, in Entry()
155 EntryIfaces(bus, objPath.c_str(), EntryIfaces::action::defer_emit) in Entry()
H A Ddump_manager_bmc.cpp89 bus, objPath.c_str(), id, timeStamp, 0, std::string(), in createDump()
122 execl("/usr/bin/dreport", "dreport", "-d", dumpPath.c_str(), "-i", in captureDump()
123 id.c_str(), "-s", std::to_string(size).c_str(), "-q", "-v", "-p", in captureDump()
124 path.empty() ? "" : path.c_str(), "-t", strType.c_str(), nullptr); in captureDump()
200 bus, objPath.c_str(), id, timestamp, in createEntry()
/openbmc/phosphor-fan-presence/control/json/triggers/
H A Dinit.cpp114 .c_str()); in nameHasOwner()
133 .c_str()); in nameHasOwner()
171 log<level::ERR>(msg.c_str()); in triggerInit()
172 throw std::runtime_error(msg.c_str()); in triggerInit()
/openbmc/phosphor-event/
H A Dmessage.cpp139 dirp = opendir(eventpath.c_str()); in next_log()
151 id = (uint16_t) atoi(str.c_str()); in next_log()
192 r = stat(fn.c_str(), &f_stat); in get_file_size()
196 fn.c_str(), in get_file_size()
214 dirp = opendir(eventpath.c_str()); in get_managed_size()
223 buffer << eventpath << "/" << str.c_str(); in get_managed_size()
357 std::remove(s.c_str()); in remove()
/openbmc/phosphor-fan-presence/monitor/
H A Dtach_sensor.cpp115 _bus, match.c_str(), in TachSensor()
129 _bus, match.c_str(), in TachSensor()
324 .c_str()); in startTimer()
360 .c_str()); in setCounter()
372 .c_str()); in setCounter()
382 std::format("Starting count timer on sensor {}", _name).c_str()); in startCountTimer()
393 .c_str()); in stopCountTimer()
/openbmc/openpower-vpd-parser/
H A Dibm_vpd_utils.hpp143 bus.new_method_call(service.c_str(), object.c_str(), in readDBusProperty()
174 bus.new_method_call(service.c_str(), object.c_str(), in getAllDBusProperty()
302 unique_file_custom_deleter pipe{popen(cmd.c_str(), "r")}; in executeCmd()
490 bus.new_method_call(service.c_str(), object.c_str(), in setBusProperty()

12345678910>>...28