Home
last modified time | relevance | path

Searched refs:c_str (Results 326 – 350 of 684) sorted by relevance

1...<<11121314151617181920>>...28

/openbmc/phosphor-logging/test/openpower-pels/
H A Dmocks.hpp199 if (mkfifo(_fifo.c_str(), 0622)) in send()
208 int fd = open(_fifo.c_str(), O_NONBLOCK | O_RDWR); in send()
260 int newFD = open(_fifo.c_str(), O_NONBLOCK | O_RDONLY); in receive()
/openbmc/intel-ipmi-oem/src/
H A Dbiosconfigcommands.cpp226 phosphor::logging::log<phosphor::logging::level::ERR>(err.c_str()); in getPendingList()
279 std::ifstream payloadFile(payloadFilePath.c_str(), in computeCheckSum()
337 if (!stat(payloadFilePath.c_str(), &filestat)) in updatePayloadInfo()
617 unlink(FilePath.c_str()); in cleanUpPayloadFile()
619 unlink(FilePath.c_str()); in cleanUpPayloadFile()
824 std::rename(tempFilePath.c_str(), payloadFilePath.c_str()); in ipmiOEMSetPayload()
835 payloadFilePath.c_str()); in ipmiOEMSetPayload()
870 if (!stat(payloadFilePath.c_str(), &filestat)) in ipmiOEMSetPayload()
904 unlink(tempFilePath.c_str()); in ipmiOEMSetPayload()
/openbmc/phosphor-gpio-monitor/multi-presence/
H A Dmain.cpp124 line = gpiod_line_get(chipIdStr.c_str(), gpioNum); in main()
131 line = gpiod_line_find(lineName.c_str()); in main()
/openbmc/phosphor-power/phosphor-regulators/src/
H A Djournal.cpp78 rc = sd_journal_add_match(journal, match.c_str(), 0); in getMessages()
119 int rc = sd_journal_get_data(journal, field.c_str(), &data, &length); in getFieldValue()
/openbmc/google-misc/subprojects/nemora-postd/src/
H A Dnemora.cpp43 int ret = sscanf(mac_addr.c_str(), MAC_FORMAT, mac->octet, mac->octet + 1, in ParseMac()
62 NETWORK_INTERFACE, iface_path.c_str(), PROP_INTERFACE, "Get"); in GetMacAddr()
/openbmc/pldm/libpldmresponder/
H A Dplatform_config.cpp99 entityMangerService.c_str(), objectPath.c_str(), in getPlatformName()
/openbmc/openpower-pnor-code-mgmt/static/
H A Dactivation_static.cpp41 entry("DIR=%s", imagePath.c_str())); in activation()
94 entry("PNOR=%s", pnorFilePath.c_str())); in startActivation()
/openbmc/phosphor-logging/
H A Delog_meta.hpp104 (iter->second).c_str(), comp); in build()
106 !std::strcmp((iter->second).c_str(), std::get<0>(*callout))) in build()
H A Delog_entry.hpp70 EntryIfaces(bus, objectPath.c_str(), EntryIfaces::action::defer_emit), in Entry()
103 EntryIfaces(bus, path.c_str(), EntryIfaces::action::defer_emit), in Entry()
/openbmc/openpower-debug-collector/watchdog/
H A Dwatchdog_handler.cpp82 path.c_str(), matchInterface.c_str()), in monitorDump()
/openbmc/ipmi-fru-parser/
H A Dwritefrudata.cpp286 auto pimMsg = bus.new_method_call(service.c_str(), path.c_str(), in updateInventory()
287 intf.c_str(), "Notify"); in updateInventory()
297 entry("SERVICE=%s", service.c_str()), in updateInventory()
298 entry("PATH=%s", path.c_str())); in updateInventory()
/openbmc/bmcweb/src/
H A Dssl_key_handler.cpp141 file.open(filepath.c_str(), boost::beast::file_mode::read, ec); in verifyOpensslKeyCert()
208 BIO* certFileBio = BIO_new_file(filePath.c_str(), "rb"); in loadCert()
262 file.open(filepath.c_str(), boost::beast::file_mode::write, ec); in writeCertificateToFile()
312 x509String* cnStr = reinterpret_cast<x509String*>(cn.c_str()); in generateSslCertificate()
325 addExt(x509, NID_subject_alt_name, ("DNS:" + cn).c_str()); in generateSslCertificate()
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dcollect_slot_vpd.cpp110 auto method = bus.new_method_call(service.c_str(), VPDObjPath, in callVPDManager()
119 auto method = bus.new_method_call(service.c_str(), VPDObjPath, in callVPDManager()
319 adapterObjectPath.c_str(), "Present", ItemInterface); in fetchSensorStateFromDbus()
/openbmc/estoraged/src/erase/
H A Dsanitize.cpp125 ManagedFd fd = stdplus::fd::open(std::string(devPath).c_str(), in doIoctl()
135 ManagedFd fd = stdplus::fd::open(std::string(devPath).c_str(), in doIoctlMulti()
/openbmc/phosphor-debug-collector/
H A Ddump_entry.cpp47 int fd = open(file.c_str(), O_RDONLY | O_NONBLOCK); in getFileHandle()
53 elog<Open>(metadata::ERRNO(err), metadata::PATH(file.c_str())); in getFileHandle()
/openbmc/dbus-sensors/src/
H A DDeviceMgmt.hpp21 return strcasecmp(a.c_str(), b.c_str()) < 0; in operator ()()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Djournal.cpp96 rc = sd_journal_add_match(journal, match.c_str(), 0); in getMessages()
135 int rc = sd_journal_get_data(journal, field.c_str(), &data, &length); in getFieldValue()
/openbmc/sdbusplus/tools/sdbusplus/templates/
H A Devent.cpp.mako8 return sd_bus_error_set(e, errName, jsonString.c_str());
18 return i->sd_bus_error_set(e, errName, jsonString.c_str());
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/
H A Dmapper_errors.hpp16 return message.c_str(); in what()
/openbmc/phosphor-host-ipmid/
H A Dstoragehandler.cpp103 fprintf(stderr, "Failed to convert %s to SEL: %s\n", p.c_str(), in parseLoggingEntry()
463 auto methodCall = bus.new_method_call(service.c_str(), objPath.c_str(), in deleteSELEntry()
525 bus.new_method_call(service.c_str(), ipmi::sel::logObj, in clearSEL()
606 auto method = bus.new_method_call(service.c_str(), BMC_TIME_PATH, in ipmiStorageSetSelTime()
704 Created::SENSOR_DATA(selDataStr.c_str()), in ipmiStorageAddSEL()
705 Created::EVENT_DIR(assert), Created::SENSOR_PATH(objpath.c_str())); in ipmiStorageAddSEL()
/openbmc/openpower-vpd-parser/vpd-manager/
H A Dmanager.cpp243 "CALLOUT_INVENTORY_PATH", (pimPath + invPath).c_str()); in checkEssentialFrus()
579 ("Inventory path: " + inventoryPath).c_str())); in performVPDRecollection()
691 Argument::ARGUMENT_VALUE(objPath.c_str())); in collectFRUVPD()
770 Argument::ARGUMENT_VALUE(objPath.c_str())); in collectFRUVPD()
785 entry("ERROR=%s", ("Recollection failed for " + (path)).c_str())); in triggerVpdCollection()
825 ("Recollection failed for " + inventoryPath).c_str())); in triggerVpdCollection()
858 Argument::ARGUMENT_VALUE(objPath.c_str())); in deleteFRUVPD()
/openbmc/phosphor-inventory-manager/
H A Dmanager.cpp172 ctor(_bus, path.str.c_str(), in updateInterfaces()
212 _bus.emit_object_added(path.str.c_str()); in updateInterfaces()
216 _bus.emit_interfaces_added(path.str.c_str(), signals); in updateInterfaces()
303 _bus.emit_object_removed(p.c_str()); in destroyObjects()
/openbmc/phosphor-pid-control/test/
H A Dpid_zone_unittest.cpp76 SetupDbusObject(&sdbus_mock_enable, defer, pidsensorpath.c_str(), in TEST()
112 SetupDbusObject(&sdbus_mock_enable, defer, pidsensorpath.c_str(), in PidZoneTest()
173 IsNull(), StrEq(pidsensorpath.c_str()), in TEST_F()
184 bus_mock_enable, pidsensorpath.c_str(), defer); in TEST_F()
230 IsNull(), StrEq(pidsensorpath.c_str()), in TEST_F()
241 bus_mock_enable, pidsensorpath.c_str(), defer); in TEST_F()
274 IsNull(), StrEq(pidsensorpath.c_str()), in TEST_F()
285 bus_mock_enable, pidsensorpath.c_str(), defer); in TEST_F()
/openbmc/google-ipmi-sys/
H A Derrors.hpp39 return _message.c_str(); in what()
/openbmc/phosphor-psu-code-mgmt/vendor-example/
H A Dget_latest_version.cpp23 printf("%s", latest.c_str()); in main()

1...<<11121314151617181920>>...28