Home
last modified time | relevance | path

Searched refs:c_str (Results 26 – 50 of 685) sorted by relevance

12345678910>>...28

/openbmc/phosphor-power/phosphor-power-supply/
H A Dpower_supply.cpp133 .c_str()); in bindOrUnbindDriver()
140 .c_str()); in bindOrUnbindDriver()
160 .c_str()); in bindOrUnbindDriver()
177 .c_str()); in updatePresence()
255 .c_str()); in analyzeCMLFault()
295 .c_str()); in analyzeInputFault()
548 .c_str()); in analyzeVinUVFault()
931 .c_str()); in updateInventory()
1036 .c_str()); in updateInventory()
1155 .c_str()); in monitorPeakInputPowerSensor()
[all …]
/openbmc/entity-manager/src/
H A Dentity_manager.hpp147 sd_journal_send("MESSAGE=Inventory Added: %s", name.c_str(), "PRIORITY=%i", in logDeviceAdded()
150 "REDFISH_MESSAGE_ARGS=%s,%s,%s", model.c_str(), in logDeviceAdded()
151 type.c_str(), sn.c_str(), "NAME=%s", name.c_str(), NULL); in logDeviceAdded()
201 sd_journal_send("MESSAGE=Inventory Removed: %s", name.c_str(), in logDeviceRemoved()
204 "REDFISH_MESSAGE_ARGS=%s,%s,%s", model.c_str(), in logDeviceRemoved()
205 type.c_str(), sn.c_str(), "NAME=%s", name.c_str(), NULL); in logDeviceRemoved()
/openbmc/openpower-sbe-interface/
H A Dsbe_chipOp_handler.cpp47 throw std::runtime_error(errMsg.str().c_str()); in writeToFifo()
53 throw std::runtime_error(errMsg.str().c_str()); in writeToFifo()
65 throw std::runtime_error(errMsg.str().c_str()); in writeToFifo()
75 throw std::runtime_error(errMsg.str().c_str()); in writeToFifo()
81 throw std::runtime_error(errMsg.str().c_str()); in writeToFifo()
96 throw std::runtime_error(errMsg.str().c_str()); in writeToFifo()
128 throw std::runtime_error(errMsg.str().c_str()); in parseResponse()
151 throw std::runtime_error(errMsg.str().c_str()); in parseResponse()
177 throw std::runtime_error(errMsg.str().c_str()); in parseResponse()
/openbmc/phosphor-bmc-code-mgmt/
H A Dimage_manager.cpp89 report<ManifestFileFailure>(ManifestFail::PATH(tarFilePath.c_str())); in processImage()
123 report<ManifestFileFailure>(ManifestFail::PATH(tarFilePath.c_str())); in processImage()
161 ImageFail::PATH(manifestPath.string().c_str())); in processImage()
170 ImageFail::PATH(manifestPath.string().c_str())); in processImage()
267 report<UnTarFailure>(UnTarFail::PATH(tarFilePath.c_str())); in unTar()
273 report<UnTarFailure>(UnTarFail::PATH(extractDirPath.c_str())); in unTar()
285 execl("/bin/tar", "tar", "-xf", tarFilePath.c_str(), "-C", in unTar()
286 extractDirPath.c_str(), (char*)0); in unTar()
289 report<UnTarFailure>(UnTarFail::PATH(tarFilePath.c_str())); in unTar()
299 report<UnTarFailure>(UnTarFail::PATH(tarFilePath.c_str())); in unTar()
[all …]
H A Ddownload_manager.cpp48 Argument::ARGUMENT_VALUE(fileName.c_str())); in downloadViaTFTP()
56 Argument::ARGUMENT_VALUE(serverAddress.c_str())); in downloadViaTFTP()
82 execl("/usr/bin/tftp", "tftp", "-g", "-r", fileName.c_str(), in downloadViaTFTP()
83 serverAddress.c_str(), "-l", in downloadViaTFTP()
84 (std::string{IMG_UPLOAD_DIR} + '/' + fileName).c_str(), in downloadViaTFTP()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/libyui/libyui-ncurses/
H A D0001-libyui-ncurses-Replace-off64_t-with-off_t-and-stat64.patch39 - stat64( iniDir.c_str(), &statInfo );
41 + stat( iniDir.c_str(), &statInfo );
49 - stat64( dir.c_str(), &statInfo );
50 + stat( dir.c_str(), &statInfo );
85 - stat64( iniDir.c_str(), &statInfo );
86 + stat( iniDir.c_str(), &statInfo );
105 - if ( lstat64( fullName.c_str(), &statInfo ) == 0 )
106 + if ( lstat( fullName.c_str(), &statInfo ) == 0 )
115 + if ( stat( fullName.c_str(), &linkInfo ) == 0 )
135 + if ( lstat( fullName.c_str(), &statInfo ) == 0 )
[all …]
/openbmc/openpower-occ-control/
H A Docc_pass_through.cpp82 .c_str()); in send()
108 .c_str()); in send()
115 .c_str()); in send()
125 .c_str()); in send()
139 .c_str()); in send()
162 .c_str()); in setMode()
173 .c_str()); in setMode()
180 .c_str()); in setMode()
187 .c_str()); in setMode()
H A Docc_ffdc.cpp49 .c_str()); in createPEL()
123 .c_str()); in createOCCResetPEL()
155 .c_str()); in createOCCResetPEL()
174 CALLOUT_DEVICE_PATH(file.c_str())); in analyzeEvent()
245 .c_str()); in addJournalEntries()
254 .c_str()); in addJournalEntries()
281 .c_str()); in makeJsonFFDCFile()
290 .c_str()); in makeJsonFFDCFile()
321 rc = sd_journal_add_match(journal, match.c_str(), 0); in getJournalEntries()
426 _fd(open(name.c_str(), O_RDONLY)), _name(name) in FFDCFile()
[all …]
H A Docc_dbus.cpp33 path, std::make_unique<SensorIntf>(utils::getBus(), path.c_str())); in setMaxValue()
60 path, std::make_unique<SensorIntf>(utils::getBus(), path.c_str())); in setMinValue()
87 path, std::make_unique<SensorIntf>(utils::getBus(), path.c_str())); in setValue()
114 path, std::make_unique<SensorIntf>(utils::getBus(), path.c_str())); in setUnit()
158 utils::getBus(), path.c_str())); in setOperationalStatus()
195 path, std::make_unique<AssociationIntf>(utils::getBus(), path.c_str(), in setChassisAssociation()
220 .c_str()); in getChassisPath()
230 .c_str()); in getChassisPath()
245 std::make_unique<SensorIntf>(utils::getBus(), path.c_str()); in setDvfsTemp()
/openbmc/telemetry/src/
H A Dtrigger_actions.cpp64 phosphor::logging::log<phosphor::logging::level::INFO>(msg.c_str()); in commit()
119 sensorName.c_str(), value, in commit()
120 triggerId.c_str())); in commit()
128 sensorName.c_str(), value, threshold, in commit()
129 triggerId.c_str())); in commit()
186 phosphor::logging::log<phosphor::logging::level::INFO>(msg.c_str()); in commit()
203 sensorName.c_str(), value.c_str(), in commit()
204 triggerId.c_str())); in commit()
254 phosphor::logging::log<phosphor::logging::level::INFO>(msg.c_str()); in commit()
271 sensorName.c_str(), value.c_str(), in commit()
[all …]
/openbmc/phosphor-logging/test/
H A Dremote_logging_test_config.cpp32 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* /dev/null"); in TEST_F()
38 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* /dev/null"); in TEST_F()
45 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @@1.1.1.1:100"); in TEST_F()
52 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @@1.1.1.1:100"); in TEST_F()
54 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* /dev/null"); in TEST_F()
61 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @@1.1.1.1:100"); in TEST_F()
63 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* /dev/null"); in TEST_F()
70 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @@[abcd:ef01::01]:50000"); in TEST_F()
167 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @[abcd:ef01::01]:50000"); in TEST_F()
/openbmc/openpower-hw-diags/attn/
H A Dattn_dbus.cpp30 bus.new_method_call(service.c_str(), i_path.c_str(), in dbusMethod()
31 i_interface.c_str(), i_function.c_str()); in dbusMethod()
39 trace::inf(i_path.c_str()); in dbusMethod()
40 trace::inf(i_interface.c_str()); in dbusMethod()
64 trace::err("%s only %u of %u bytes written", filePath.c_str(), numBytes, in createPelRaw()
/openbmc/phosphor-mboxd/vpnor/
H A Dpnor_partition.cpp78 partition.data.name, dst.c_str(), src.c_str()); in getPartitionFilePath()
107 MSG_DBG("Resizing %s to %zu bytes\n", path.c_str(), maxAccess); in resize()
108 int rc = truncate(path.c_str(), maxAccess); in resize()
111 MSG_ERR("Failed to resize %s: %d\n", path.c_str(), errno); in resize()
126 int fd = ::open(path.c_str(), flags); in fulfil()
129 MSG_ERR("Failed to open backing file at '%s': %d\n", path.c_str(), in fulfil()
141 path.c_str(), fileSize, errno); in fulfil()
/openbmc/phosphor-objmgr/fail-monitor/
H A Dmonitor.cpp51 auto method = bus.new_method_call(systemdService, path.c_str(), in inFailedState()
60 entry("UNIT=%s", source.c_str())); in inFailedState()
83 entry("UNIT=%s", source.c_str())); in getSourceUnitPath()
101 entry("SOURCE=%s", source.c_str()), in runTargetAction()
102 entry("TARGET=%s", target.c_str()), in runTargetAction()
115 entry("UNIT=%s", target.c_str())); in runTargetAction()
/openbmc/phosphor-watchdog/src/
H A Dwatchdog.cpp123 entry("ACTION=%s", convertForMessage(action).c_str()), in timeOutHandler()
125 convertForMessage(expiredTimerUse()).c_str())); in timeOutHandler()
131 entry("ACTION=%s", convertForMessage(action).c_str()), in timeOutHandler()
132 entry("TIMER_USE=%s", convertForMessage(expiredTimerUse()).c_str()), in timeOutHandler()
133 entry("TARGET=%s", target->second.c_str())); in timeOutHandler()
147 entry("TARGET=%s", target->second.c_str()), in timeOutHandler()
156 signal.append(convertForMessage(action).c_str()); in timeOutHandler()
/openbmc/phosphor-psu-code-mgmt/src/
H A Ditem_updater.cpp88 entry("OBJPATH=%s", path.c_str())); in createActivation()
129 .c_str()); in erase()
144 .c_str()); in erase()
397 auto present = utils::getProperty<bool>(bus, service.c_str(), p.c_str(), in processPSUImage()
400 bus, service.c_str(), p.c_str(), ASSET_IFACE, MODEL); in processPSUImage()
442 entry("PATH=%s", dir.c_str())); in scanDirectory()
464 entry("PATH=%s", path.c_str())); in scanDirectory()
471 entry("PATH=%s", manifest.c_str())); in scanDirectory()
519 entry("PATH=%s", manifest.c_str())); in scanDirectory()
620 .c_str()); in onPSUInterfaceAdded()
[all …]
/openbmc/openpower-pnor-code-mgmt/
H A Dutils.cpp73 entry("PATH=%s", path.c_str()), in getService()
74 entry("INTERFACE=%s", intf.c_str())); in getService()
82 auto method = bus.new_method_call(service.c_str(), HIOMAPD_PATH, in hiomapdSuspend()
99 auto method = bus.new_method_call(service.c_str(), HIOMAPD_PATH, in hiomapdResume()
132 auto method = bus.new_method_call(service.c_str(), biosConfigPath, in setPendingAttributes()
142 entry("ATTRIBUTE=%s", attrName.c_str()), in setPendingAttributes()
143 entry("ATTRIBUTE_VALUE=%s", attrValue.c_str())); in setPendingAttributes()
164 auto method = bus.new_method_call(service.c_str(), loggingPath, in deleteAllErrorLogs()
/openbmc/sdbusplus/include/sdbusplus/async/
H A Dproxy.hpp129 auto msg = ctx.get_bus().new_method_call(c_str(s), c_str(p), c_str(i), in call()
162 return prop_intf.template call<result_t>(ctx, "Get", c_str(i), in get_property()
182 return prop_intf.template call<result_t>(ctx, "GetAll", c_str(i)); in get_all_properties()
201 ctx, "Set", c_str(i), property.data(), in set_property()
209 static auto c_str(string_ref v) in c_str() function
213 return v.c_str(); in c_str()
/openbmc/phosphor-host-postd/ipmisnoop/
H A Dipmisnoop.cpp12 bus.new_method_call(selectorService.c_str(), selectorObject.c_str(), in getSelectorPosition()
14 method.append(selectorIface.c_str(), propertyName); in getSelectorPosition()
46 std::cerr << errMsg.c_str() << std::endl; in configGPIODirOutput()
67 std::cerr << errMsg.c_str() << std::endl; in configGPIODirOutput()
143 sdbusplus::server::manager_t m{bus, objPathInst.c_str()}; in postCodeIpmiHandler()
147 std::make_unique<IpmiPostReporter>(bus, objPathInst.c_str())); in postCodeIpmiHandler()
152 bus.request_name(snoopDbus.c_str()); in postCodeIpmiHandler()
/openbmc/openpower-vpd-parser/vpd-manager/
H A Dreader_impl.cpp61 Argument::ARGUMENT_VALUE(locationCode.c_str())); in getExpandedLocationCode()
71 Argument::ARGUMENT_VALUE(locationCode.c_str())); in getExpandedLocationCode()
95 Argument::ARGUMENT_VALUE(locationCode.c_str())); in getFrusAtLocation()
107 Argument::ARGUMENT_VALUE(locationCode.c_str())); in getFrusAtLocation()
129 Argument::ARGUMENT_VALUE(locationCode.c_str())); in getCollapsedLocationCode()
156 Argument::ARGUMENT_VALUE(locationCode.c_str())); in getCollapsedLocationCode()
166 Argument::ARGUMENT_VALUE(locationCode.c_str())); in getCollapsedLocationCode()
208 Argument::ARGUMENT_VALUE(locationCode.c_str())); in getCollapsedLocationCode()
/openbmc/phosphor-ipmi-blobs/
H A Dutils.cpp53 libHandle = sys->dlopen(p.c_str(), RTLD_NOW | RTLD_GLOBAL); in loadLibraries()
56 log<level::ERR>("ERROR opening", entry("HANDLER=%s", p.c_str()), in loadLibraries()
70 entry("HANDLER=%s", p.c_str()), in loadLibraries()
89 entry("HANDLER=%s", p.c_str())); in loadLibraries()
98 entry("HANDLER=%s", p.c_str()), in loadLibraries()
/openbmc/phosphor-ipmi-flash/tools/
H A Dnet.cpp59 inputFd.reset(sys->open(input.c_str(), O_RDONLY)); in sendContents()
63 std::fprintf(stderr, "Unable to open file: '%s'\n", input.c_str()); in sendContents()
67 std::int64_t fileSize = sys->getSize(input.c_str()); in sendContents()
78 int ret = sys->getaddrinfo(host.c_str(), port.c_str(), &hints, &addrs); in sendContents()
82 host.c_str(), port.c_str(), gai_strerror(ret)); in sendContents()
/openbmc/phosphor-buttons/src/
H A Did_button.cpp37 (getFormFactorType() + " : lseek error!").c_str()); in handleEvent()
45 (getFormFactorType() + " : read error!").c_str()); in handleEvent()
52 (getFormFactorType() + " : pressed").c_str()); in handleEvent()
59 (getFormFactorType() + " : released").c_str()); in handleEvent()
/openbmc/phosphor-ipmi-blobs/test/
H A Dipmi_unittest.cpp17 EXPECT_STREQ("", stringFromBuffer({}).c_str()); in TEST()
26 .c_str()); in TEST()
37 .c_str()); in TEST()
49 .c_str()); in TEST()
/openbmc/phosphor-pid-control/dbus/
H A Ddbuswrite.cpp82 writeBus.new_method_call(connectionName.c_str(), path.c_str(), in write()
94 log<level::ERR>("Dbus Call Failure", entry("PATH=%s", path.c_str()), in write()
144 writeBus.new_method_call(connectionName.c_str(), path.c_str(), in write()
156 log<level::ERR>("Dbus Call Failure", entry("PATH=%s", path.c_str()), in write()

12345678910>>...28