Home
last modified time | relevance | path

Searched refs:c_str (Results 201 – 225 of 685) sorted by relevance

12345678910>>...28

/openbmc/witherspoon-pfault-analysis/
H A Dutility.cpp48 entry("PATH=%s", path.c_str()), in getService()
49 entry("INTERFACE=%s", interface.c_str())); in getService()
/openbmc/phosphor-snmp/
H A Dsnmp_util.cpp25 auto method = bus.new_method_call(service.c_str(), objPath.c_str(), in getManagedObjects()
55 auto result = getaddrinfo(address.c_str(), NULL, &hints, &addr); in resolveAddress()
/openbmc/openpower-hw-diags/util/
H A Ddbus.hpp69 bus.new_method_call(service.c_str(), object.c_str(), in setProperty()
81 trace::err(traceMsg.c_str()); in setProperty()
H A Dffdc.cpp75 std::string value = sdjGetFieldValue(journal, field.c_str()); in sdjGetMessages()
146 size_t numBytes = write(fd, buffer.c_str(), buffer.size()); in createFFDCTraceFile()
149 trace::err("%s only %u of %u bytes written", file.getPath().c_str(), in createFFDCTraceFile()
/openbmc/phosphor-fan-presence/sensor-monitor/
H A Dshutdown_alarm_monitor.cpp165 .c_str()); in checkAlarms()
287 .c_str()); in startTimer()
310 .c_str()); in startTimer()
317 .c_str()); in startTimer()
351 .c_str()); in stopTimer()
375 log<level::ERR>(message.c_str()); in createBmcDump()
391 .c_str()); in timerExpired()
/openbmc/phosphor-ipmi-flash/tools/
H A Dbt.cpp14 int inputFd = sys->open(input.c_str(), 0); in sendContents()
20 std::int64_t fileSize = sys->getSize(input.c_str()); in sendContents()
/openbmc/phosphor-hwmon/
H A Dfan_pwm.cpp39 CALLOUT_DEVICE_PATH(_devPath.c_str())); in target()
46 .c_str()); in target()
H A Dmainloop.cpp290 entry("FILE=%s", file.c_str()), in getObject()
302 CALLOUT_DEVICE_PATH(_devPath.c_str())); in getObject()
306 .c_str()); in getObject()
443 _bus.request_name(ss.str().c_str()); in init()
450 _interval = std::strtoull(interval.c_str(), NULL, 10); in init()
600 entry("FILE=%s", file.c_str()), in read()
617 CALLOUT_DEVICE_PATH(_devPath.c_str())); in read()
621 .c_str()); in read()
641 _bus.emit_object_removed(objPath.c_str()); in removeSensors()
686 entry("FILE=%s", file.c_str())); in addDroppedSensors()
/openbmc/phosphor-networkd/src/
H A Dethernet_interface.cpp125 vlan.emplace(bus, this->objPath.c_str(), info.intf, *this); in EthernetInterface()
254 Argument::ARGUMENT_VALUE(ipaddress.c_str())); in ip()
310 Argument::ARGUMENT_VALUE(ipAddress.c_str())); in neighbor()
457 Argument::ARGUMENT_VALUE(ip.c_str())); in staticNameServers()
579 Argument::ARGUMENT_VALUE(idStr.c_str())); in createVLAN()
815 Argument::ARGUMENT_VALUE(value.c_str())); in macAddress()
821 Argument::ARGUMENT_VALUE(value.c_str())); in macAddress()
860 execute("/sbin/fw_setenv", "fw_setenv", envVar->c_str(), in macAddress()
861 validMAC.c_str()); in macAddress()
906 Argument::ARGUMENT_VALUE(gw.c_str())); in normalizeGateway()
[all …]
/openbmc/phosphor-bmc-code-mgmt/
H A Dversion.cpp57 Argument::ARGUMENT_VALUE(manifestFilePath.c_str())); in getRepeatedValues()
110 Argument::ARGUMENT_VALUE(version.c_str())); in getId()
117 EVP_DigestUpdate(ctx.get(), version.c_str(), strlen(version.c_str())); in getId()
/openbmc/phosphor-fan-presence/control/json/actions/
H A Dpcie_card_floors.cpp72 .c_str()); in execute()
89 .c_str()); in execute()
194 .c_str()); in getPCIeDeviceProperty()
209 .c_str()); in getPCIeDeviceProperty()
/openbmc/phosphor-net-ipmid/
H A Dsd_event_loop.cpp118 auto method = bus.new_method_call(ifService.c_str(), logicalPath.c_str(), in getVLANID()
208 SO_BINDTODEVICE, iface.c_str(), iface.size() + 1) == in setupSocket()
229 bus->request_name(busName.c_str()); in setupSocket()
/openbmc/openpower-debug-collector/dump/
H A Dcreate_pel.cpp76 bus.new_method_call(service.c_str(), loggingObjectPath, in createSbeErrorPEL()
186 fileFD = mkostemp(const_cast<char*>(calloutFile.c_str()), O_RDWR); in createCalloutFile()
200 ssize_t rc = write(fileFD, calloutData.c_str(), calloutData.size()); in writeCalloutData()
238 std::remove(calloutFile.c_str()); in removeCalloutFile()
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dutils.cpp34 strnlen(socketInterface.c_str(), sizeof(addr.sun_path)); in setupUnixSocket()
42 strncpy(addr.sun_path, socketInterface.c_str(), sizeof(addr.sun_path) - 1); in setupUnixSocket()
167 objPath.c_str(), "Model", DecoratorAsset::interface); in checkIfIBMFru()
196 "ADAPTER_OBJ_PATH", adapterObjPath.c_str(), "ERROR", e); in findPortObjects()
/openbmc/phosphor-state-manager/test/
H A Dsystemd_parser.cpp44 std::fputs(defaultData1.dump().c_str(), tmpf); in TEST()
48 std::fputs(defaultData2.dump().c_str(), tmpf); in TEST()
88 std::fputs(invalidDataError.dump().c_str(), tmpf); in TEST()
/openbmc/phosphor-host-ipmid/
H A Dhost-cmd-manager.cpp131 this->bus.new_method_call(HOST_IPMI_SVC.c_str(), IPMI_PATH.c_str(), in checkQueueAndAlertHost()
132 IPMI_INTERFACE.c_str(), "setAttention"); in checkQueueAndAlertHost()
/openbmc/openpower-pnor-code-mgmt/test/
H A Dtest_signature.cpp20 auto val = std::system(cmd.c_str()); in command()
34 std::string imageDir = mkdtemp(const_cast<char*>(tmpDir.c_str())); in SetUp()
39 std::string confDir = mkdtemp(const_cast<char*>(tmpConfDir.c_str())); in SetUp()
/openbmc/phosphor-net-ipmid/command/
H A Dguid.cpp45 Argument::ARGUMENT_VALUE(rfc4122.c_str())); in rfcToGuid()
57 Argument::ARGUMENT_VALUE(rfc4122.c_str())); in rfcToGuid()
105 rfc4122Uuid.c_str()); in getSystemGUID()
/openbmc/sdbusplus/test/message/
H A Dread.cpp298 expect_basic<const char*>(SD_BUS_TYPE_STRING, s.c_str()); in TEST_F()
319 expect_basic<const char*>(SD_BUS_TYPE_STRING, s.c_str()); in TEST_F()
347 expect_basic<const char*>(SD_BUS_TYPE_STRING, is.second.c_str()); in TEST_F()
451 expect_basic<const char*>(SD_BUS_TYPE_STRING, is.second.c_str()); in TEST_F()
472 std::get<1>(tisb).c_str()); in TEST_F()
525 expect_basic<const char*>(SD_BUS_TYPE_STRING, s2.c_str()); in TEST_F()
618 expect_basic<const char*>(SD_BUS_TYPE_STRING, s.c_str()); in TEST_F()
631 expect_basic<const char*>(SD_BUS_TYPE_STRING, sv.first.c_str()); in TEST_F()
693 std::get<1>(tisb).c_str()); in TEST_F()
709 std::get<1>(tisb).c_str()); in TEST_F()
/openbmc/phosphor-dbus-monitor/src/
H A Devent_entry.hpp45 EntryIface(SDBusPlus::getBus(), path.c_str(), in Entry()
62 EntryIface(SDBusPlus::getBus(), path.c_str(), in Entry()
/openbmc/openpower-debug-collector/watchdog/
H A Dffdc_file.cpp41 int fd = open(tempFile.getPath().c_str(), O_RDWR); in prepareFFDCFile()
48 ssize_t rc = write(fd, calloutData.c_str(), calloutData.size()); in prepareFFDCFile()
/openbmc/phosphor-state-manager/
H A Dchassis_state_manager.cpp265 auto method = bus.new_method_call(service.c_str(), path.c_str(), in determineStatusOfUPSPower()
369 auto method = bus.new_method_call(service.c_str(), path.c_str(), in determineStatusOfPSUPower()
515 static_cast<const std::string&>(unitTargetPath).c_str(), in stateActive()
653 std::ofstream os(path.c_str(), std::ios::binary); in serializePOH()
666 std::ifstream is(path.c_str(), std::ios::in | std::ios::binary); in deserializePOH()
709 std::ofstream os(path.c_str(), std::ios::binary); in serializeStateChangeTime()
724 std::ifstream is(path.c_str(), std::ios::in | std::ios::binary); in deserializeStateChangeTime()
/openbmc/intel-ipmi-oem/src/
H A Dipmi_to_redfish_hooks.cpp293 journalMsg.c_str(), in biosMessageHook()
295 messageID.c_str())); in biosMessageHook()
302 journalMsg.c_str(), in biosMessageHook()
304 messageID.c_str()), in biosMessageHook()
306 messageArgsString.c_str())); in biosMessageHook()
829 journalMsg.c_str(), in biosSMIMessageHook()
830 phosphor::logging::entry("REDFISH_MESSAGE_ID=%s", messageID.c_str()), in biosSMIMessageHook()
832 messageArgsString.c_str())); in biosSMIMessageHook()
/openbmc/boost-dbus/include/dbus/impl/
H A Dmatch.ipp12 dbus_bus_add_match(impl, m.get_expression().c_str(), e);
20 dbus_bus_remove_match(impl, m.get_expression().c_str(), e);
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_systemspecific_bios_test.cpp98 BIOSConfig biosConfig(biosFilePath.c_str(), tableDir.c_str(), &dbusHandler, in TEST_F()
271 BIOSConfig biosConfig("./system_type1/bios_jsons", tableDir.c_str(), in TEST_F()
339 BIOSConfig biosConfig("./", tableDir.c_str(), &dbusHandler, 0, 0, nullptr, in TEST_F()
365 BIOSConfig biosConfig("./", tableDir.c_str(), &dbusHandler, 0, 0, nullptr, in TEST_F()
383 BIOSConfig biosConfig("./", tableDir.c_str(), &dbusHandler, 0, 0, nullptr, in TEST_F()
411 BIOSConfig biosConfig("./bios_jsons", tableDir.c_str(), &dbusHandler, 0, 0, in TEST_F()

12345678910>>...28