/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | mocks.hpp | 199 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 D | biosconfigcommands.cpp | 226 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 D | main.cpp | 124 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 D | journal.cpp | 78 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 D | nemora.cpp | 43 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 D | platform_config.cpp | 99 entityMangerService.c_str(), objectPath.c_str(), in getPlatformName()
|
/openbmc/openpower-pnor-code-mgmt/static/ |
H A D | activation_static.cpp | 41 entry("DIR=%s", imagePath.c_str())); in activation() 94 entry("PNOR=%s", pnorFilePath.c_str())); in startActivation()
|
/openbmc/phosphor-logging/ |
H A D | elog_meta.hpp | 104 (iter->second).c_str(), comp); in build() 106 !std::strcmp((iter->second).c_str(), std::get<0>(*callout))) in build()
|
H A D | elog_entry.hpp | 70 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 D | watchdog_handler.cpp | 82 path.c_str(), matchInterface.c_str()), in monitorDump()
|
/openbmc/ipmi-fru-parser/ |
H A D | writefrudata.cpp | 286 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 D | ssl_key_handler.cpp | 141 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 D | collect_slot_vpd.cpp | 110 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 D | sanitize.cpp | 125 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 D | dump_entry.cpp | 47 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 D | DeviceMgmt.hpp | 21 return strcasecmp(a.c_str(), b.c_str()) < 0; in operator ()()
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | journal.cpp | 96 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 D | event.cpp.mako | 8 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 D | mapper_errors.hpp | 16 return message.c_str(); in what()
|
/openbmc/phosphor-host-ipmid/ |
H A D | storagehandler.cpp | 103 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 D | manager.cpp | 243 "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 D | manager.cpp | 172 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 D | pid_zone_unittest.cpp | 76 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 D | errors.hpp | 39 return _message.c_str(); in what()
|
/openbmc/phosphor-psu-code-mgmt/vendor-example/ |
H A D | get_latest_version.cpp | 23 printf("%s", latest.c_str()); in main()
|