/openbmc/phosphor-user-manager/test/ |
H A D | ldap_config_test.cpp | 128 tlsCACertFilePath.c_str(), tlsCertFilePath.c_str()); in TEST_F() 189 tlsCACertFilePath.c_str(), tlsCertFilePath.c_str()); in TEST_F() 216 tlsCACertFilePath.c_str(), tlsCertFilePath.c_str()); in TEST_F() 249 tlsCACertFilePath.c_str(), tlsCertFilePath.c_str()); in TEST_F() 297 tlsCACertFilePath.c_str(), tlsCertFilePath.c_str()); in TEST_F() 346 tlsCACertFilePath.c_str(), tlsCertFilePath.c_str()); in TEST_F() 399 tlsCACertFilePath.c_str(), tlsCertFilePath.c_str()); in TEST_F() 449 tlsCACertFilePath.c_str(), tlsCertFilePath.c_str()); in TEST_F() 487 tlsCACertFilePath.c_str(), tlsCertFilePath.c_str()); in TEST_F() 527 tlsCACertFilePath.c_str(), tlsCertFilePath.c_str()); in TEST_F() [all …]
|
H A D | utils_test.cpp | 27 EXPECT_EQ(true, isValidLDAPURI(ipAddress.c_str(), ldapScheme)); in TEST_F() 30 EXPECT_EQ(true, isValidLDAPURI(ipAddress.c_str(), ldapScheme)); in TEST_F() 33 EXPECT_EQ(false, isValidLDAPURI(ipAddress.c_str(), ldapScheme)); in TEST_F() 36 EXPECT_EQ(false, isValidLDAPURI(ipAddress.c_str(), ldapScheme)); in TEST_F() 39 EXPECT_EQ(false, isValidLDAPURI(ipAddress.c_str(), ldapScheme)); in TEST_F() 42 EXPECT_EQ(false, isValidLDAPURI(ipAddress.c_str(), ldapScheme)); in TEST_F() 45 EXPECT_EQ(true, isValidLDAPURI(ipAddress.c_str(), ldapsScheme)); in TEST_F() 48 EXPECT_EQ(false, isValidLDAPURI(ipAddress.c_str(), ldapsScheme)); in TEST_F() 51 EXPECT_EQ(true, isValidLDAPURI(ipAddress.c_str(), ldapsScheme)); in TEST_F() 57 EXPECT_EQ(true, isValidLDAPURI(ipAddress.c_str(), ldapsScheme)); in TEST_F() [all …]
|
/openbmc/phosphor-user-manager/phosphor-ldap-config/ |
H A D | ldap_config_mgr.cpp | 58 method.append(service.c_str(), "replace"); in restartService() 74 method.append(service.c_str(), "replace"); in stopService() 108 if (secureLDAP && !fs::exists(tlsCacertFile.c_str())) in createConfig() 143 bus, objPath.c_str(), configFilePath.c_str(), tlsCacertFile.c_str(), in createConfig() 144 tlsCertFile.c_str(), secureLDAP, ldapServerURI, ldapBindDN, in createConfig() 155 bus, objPath.c_str(), configFilePath.c_str(), tlsCacertFile.c_str(), in createConfig() 156 tlsCertFile.c_str(), secureLDAP, ldapServerURI, ldapBindDN, in createConfig() 171 bus, openLDAPDbusObjectPath.c_str(), configFilePath.c_str(), in createDefaultObjects() 172 tlsCacertFile.c_str(), tlsCertFile.c_str(), in createDefaultObjects() 179 bus, adDbusObjectPath.c_str(), configFilePath.c_str(), in createDefaultObjects() [all …]
|
/openbmc/openpower-occ-control/ |
H A D | powercap.cpp | 57 .c_str()); in updatePcapBounds() 74 .c_str()); in updatePcapBounds() 91 .c_str()); in updatePcapBounds() 256 .c_str()); in writeOcc() 297 .c_str()); in readUserCapHwmon() 316 .c_str()); in readUserCapHwmon() 372 .c_str()); in pcapChanged() 382 .c_str()); in pcapChanged() 393 .c_str()); in pcapChanged() 421 .c_str()); in updateDbusPcapLimits() [all …]
|
H A D | occ_status.cpp | 152 .c_str()); in resetOCC() 226 .c_str()); in occsWentActive() 239 .c_str()); in occsWentActive() 264 .c_str()); in sendAmbient() 306 .c_str()); in sendAmbient() 317 .c_str()); in sendAmbient() 338 .c_str()); in safeStateDelayExpired() 358 .c_str()); in getHwmonPath() 436 .c_str()); in occReadStateNow() 647 .c_str()); in readProcAssociation() [all …]
|
H A D | powermode.cpp | 321 .c_str()); in initPersistentData() 368 .c_str()); in updateDbusMode() 448 .c_str()); in sendModeChange() 670 .c_str()); in sendIpsData() 765 .c_str()); in save() 791 .c_str()); in load() 861 bus.new_method_call(service.c_str(), path.c_str(), in getDefaultMode() 918 bus.new_method_call(service.c_str(), path.c_str(), in getDefaultIPSParms() 1020 .c_str()); in useDefaultIPSParms() 1287 .c_str()); in updateDbusSafeMode() [all …]
|
H A D | pldm.cpp | 64 .c_str()); in fetchSensorInfo() 77 .c_str()); in fetchSensorInfo() 280 .c_str()); in clearData() 297 .c_str()); in clearData() 305 .c_str()); in clearData() 314 .c_str()); in clearData() 476 .c_str()); in resetOCC() 595 .c_str()); in openMctpDemuxTransport() 605 .c_str()); in openMctpDemuxTransport() 618 .c_str()); in openMctpDemuxTransport() [all …]
|
H A D | utils.cpp | 69 auto method = bus.new_method_call(service.c_str(), objectPath.c_str(), in getProperty() 102 auto method = bus.new_method_call(service.c_str(), objectPath.c_str(), in setProperty() 112 .c_str()); in setProperty() 121 .c_str()); in setProperty() 165 path.c_str(), interface) in getServiceUsingSubTree() 166 .c_str()); in getServiceUsingSubTree() 180 interface, path.c_str()) in getServiceUsingSubTree() 181 .c_str()); in getServiceUsingSubTree() 202 bus.new_method_call(service.c_str(), objPath.c_str(), in getStateValue() 220 .c_str()); in getStateValue() [all …]
|
H A D | occ_manager.cpp | 177 .c_str()); in findAndCreateObjects() 373 .c_str()); in createObjects() 383 path.c_str() in createObjects() 524 .c_str()); in sbeTimeout() 637 .c_str()); in sbeHRESETResult() 807 .c_str()); in pollerTimerExpired() 1317 .c_str()); in ambientCallback() 1329 .c_str()); in ambientCallback() 1369 .c_str()); in occsNotAllRunning() 1420 .c_str()); in createPldmSensorPEL() [all …]
|
H A D | occ_command.cpp | 53 log<level::INFO>(s.c_str()); in dump_hex() 71 .c_str()); in OccCommand() 80 .c_str()); in openDevice() 89 .c_str()); in openDevice() 131 .c_str()); in send() 148 .c_str()); in send() 188 .c_str()); in send() 206 .c_str()); in send() 226 .c_str()); in send() 250 .c_str()); in send() [all …]
|
/openbmc/phosphor-ipmi-flash/bmc/ |
H A D | general_systemd.cpp | 41 triggerService.c_str(), job->c_str()); in trigger() 64 triggerService.c_str(), mode.c_str(), job->c_str()); in trigger() 74 triggerService.c_str(), mode.c_str(), e.what()); in trigger() 87 auto cancel_req = bus.new_method_call(systemdService, job->c_str(), in abort() 92 std::fprintf(stderr, "Canceled %s: %s\n", triggerService.c_str(), in abort() 93 job->c_str()); in abort() 98 triggerService.c_str(), job->c_str(), ex.what()); in abort() 116 std::fprintf(stderr, "No running job %s\n", triggerService.c_str()); in match() 131 triggerService.c_str(), e.what()); in match() 140 std::fprintf(stderr, "Job Finished %s %s: %s\n", triggerService.c_str(), in match() [all …]
|
/openbmc/openpower-proc-control/procedures/phal/ |
H A D | reinit_devtree.cpp | 57 .c_str()); in applyAttrOverride() 82 log<level::ERR>(err.c_str()); in computeRODeviceTreePath() 91 log<level::ERR>(err.c_str()); in computeRODeviceTreePath() 145 .c_str()); in reinitDevtree() 161 tmpFile.getPath().c_str()) in reinitDevtree() 162 .c_str()); in reinitDevtree() 176 .c_str()); in reinitDevtree() 192 tmpFile.getPath().c_str()) in reinitDevtree() 193 .c_str()); in reinitDevtree() 205 .c_str()); in reinitDevtree() [all …]
|
/openbmc/phosphor-host-ipmid/libipmid/ |
H A D | utils.cpp | 77 entry("MATCH=%s", match.c_str())); in getDbusObject() 92 auto method = bus.new_method_call(service.c_str(), objPath.c_str(), in getDbusProperty() 110 auto method = bus.new_method_call(service.c_str(), objPath.c_str(), in getAllDbusProperties() 127 auto method = bus.new_method_call(service.c_str(), objPath.c_str(), in getManagedObjects() 141 auto method = bus.new_method_call(service.c_str(), objPath.c_str(), in setDbusProperty() 185 return bus.new_method_call(getService(bus).c_str(), path.c_str(), intf, in newMethodCall() 305 entry("PATH=%s", path.c_str()), in getAllAncestors() 321 auto busMethod = bus.new_method_call(service.c_str(), objPath.c_str(), in callDbusMethod() 322 interface.c_str(), method.c_str()); in callDbusMethod() 426 ctx->yield, ec, service.c_str(), objPath.c_str(), PROP_INTF, in getAllDbusProperties() [all …]
|
/openbmc/openpower-debug-collector/watchdog/ |
H A D | watchdog_dbus.cpp | 35 newMethod.append(path.c_str()); in dbusMethod() 55 bus.new_method_call(service.c_str(), path.c_str(), in dbusMethod() 56 interface.c_str(), function.c_str()); in dbusMethod() 62 bus.new_method_call(service.c_str(), path.c_str(), in dbusMethod() 63 extended.c_str(), function.c_str()); in dbusMethod() 73 lg2::info(traceMsgPath.c_str()); in dbusMethod() 75 lg2::info(traceMsgIface.c_str()); in dbusMethod()
|
/openbmc/phosphor-fan-presence/control/ |
H A D | main.cpp | 133 entry("PATH=%s", e.path.c_str()), in main() 134 entry("INTERFACE=%s", e.interface.c_str())); in main() 139 entry("BUSNAME=%s", e.busName.c_str()), in main() 140 entry("PATH=%s", e.path.c_str()), in main() 141 entry("INTERFACE=%s", e.interface.c_str()), in main() 142 entry("METHOD=%s", e.method.c_str())); in main() 147 entry("BUSNAME=%s", e.busName.c_str()), in main() 148 entry("PATH=%s", e.path.c_str()), in main() 149 entry("INTERFACE=%s", e.interface.c_str()), in main() 150 entry("PROPERTY=%s", e.property.c_str())); in main()
|
/openbmc/phosphor-psu-code-mgmt/src/ |
H A D | activation.cpp | 143 entry("PSU=%s", psuQueue.front().c_str())); in onUpdateFailed() 154 entry("VERSION_ID=%s", versionId.c_str())); in startActivation() 172 entry("PSU=%s", p.c_str())); in startActivation() 180 entry("PSU=%s", p.c_str())); in startActivation() 262 auto method = bus.new_method_call(versionService.c_str(), objPath.c_str(), in deleteImageManagerObject() 272 entry("PATH=%s", objPath.c_str())); in deleteImageManagerObject() 279 utils::getService(bus, psuInventoryPath.c_str(), ASSET_IFACE); in isCompatible() 281 bus, service.c_str(), psuInventoryPath.c_str(), ASSET_IFACE, in isCompatible() 284 bus, service.c_str(), psuInventoryPath.c_str(), ASSET_IFACE, MODEL); in isCompatible() 319 entry("SRC=%s", src.c_str()), in storeImage() [all …]
|
/openbmc/phosphor-dbus-monitor/src/ |
H A D | sdbusplus.hpp | 47 busName.c_str(), path.c_str(), interface.c_str(), method.c_str()); in callMethodNoReply() 63 busName.c_str(), path.c_str(), interface.c_str(), method.c_str()); in callMethod()
|
/openbmc/phosphor-led-manager/ |
H A D | utils.cpp | 52 auto method = bus.new_method_call(service.c_str(), objectPath.c_str(), in getAllProperties() 76 auto method = bus.new_method_call(service.c_str(), objectPath.c_str(), in getProperty() 98 auto method = bus.new_method_call(service.c_str(), objectPath.c_str(), in setProperty() 100 method.append(interface.c_str(), propertyName.c_str(), value); in setProperty() 114 method.append(objectPath.c_str()); in getSubTreePaths()
|
/openbmc/libpldm/tests/ |
H A D | instance-id.cpp | 17 EXPECT_EQ(::pldm_instance_db_init(nullptr, nonexistentDb.c_str()), -EINVAL); in TEST() 25 EXPECT_EQ(::pldm_instance_db_init(&db, nonexistentDb.c_str()), -EINVAL); in TEST() 69 EXPECT_EQ(pldm_instance_db_init(&db, dbPath.c_str()), -EINVAL); in TEST_F() 78 EXPECT_EQ(pldm_instance_db_init(&db, dbPath.c_str()), -EINVAL); in TEST_F() 85 EXPECT_EQ(pldm_instance_db_init(&db, dbPath.c_str()), 0); in TEST_F() 95 ASSERT_EQ(pldm_instance_db_init(&db, dbPath.c_str()), 0); in TEST_F() 109 ASSERT_EQ(pldm_instance_db_init(&db, dbPath.c_str()), 0); in TEST_F() 131 ASSERT_EQ(pldm_instance_db_init(&db, dbPath.c_str()), 0); in TEST_F() 159 ASSERT_EQ(pldm_instance_db_init(&connections[0].db, dbPath.c_str()), 0); in TEST_F() 221 ASSERT_EQ(pldm_instance_db_init(&db, dbPath.c_str()), 0); in TEST_F() [all …]
|
/openbmc/openpower-proc-control/extensions/phal/ |
H A D | create_pel.cpp | 77 .c_str()); in getSBECallout() 124 .c_str()); in createErrorPEL() 202 .c_str()); in createSbeErrorPEL() 231 .c_str()); in createSbeErrorPEL() 272 .c_str()); in createPEL() 282 .c_str()); in createPEL() 320 .c_str()); in createCalloutFile() 334 .c_str()); in writeCalloutData() 343 .c_str()); in writeCalloutData() 357 .c_str()); in setCalloutFileSeekPos() [all …]
|
H A D | dump_utils.cpp | 49 status->c_str(), path.c_str()) in dumpStatusChanged() 50 .c_str()); in dumpStatusChanged() 76 path.c_str(), matchInterface.c_str()), in monitorDump() 107 .c_str()); in requestDump() 121 bus.new_method_call(service.c_str(), path, interface, function); in requestDump() 150 .c_str()); in requestDump() 159 .c_str()); in requestDump()
|
/openbmc/witherspoon-pfault-analysis/ |
H A D | pmbus.cpp | 104 entry("PATH=%s", path.c_str())); in getDeviceName() 135 value = strtoul(val.c_str(), &err, 10); in readBit() 140 entry("FILE=%s", path.c_str()), in readBit() 141 entry("CONTENTS=%s", val.c_str())); in readBit() 152 entry("FILENAME=%s", path.c_str())); in readBit() 190 entry("FILENAME=%s", path.c_str())); in read() 221 entry("FILENAME=%s", path.c_str())); in readString() 240 std::unique_ptr<FILE, FileCloser> file{fopen(path.c_str(), "rb")}; in readBinary() 260 entry("FILENAME=%s", path.c_str())); in readBinary() 296 entry("FILENAME=%s", path.c_str())); in write() [all …]
|
/openbmc/phosphor-hwmon/ |
H A D | gpio_handle.cpp | 20 unsigned long chipId = std::strtoul(gpiochip.c_str(), &gpioEnd, 10); in BuildGpioHandle() 21 unsigned long lineOffset = std::strtoul(line.c_str(), &lineEnd, 10); in BuildGpioHandle() 23 if (!gpioEnd || gpioEnd != &gpiochip.c_str()[gpiochip.length()]) in BuildGpioHandle() 26 entry("GPIOCHIP=%s", gpiochip.c_str())); in BuildGpioHandle() 30 if (!lineEnd || lineEnd != &line.c_str()[line.length()]) in BuildGpioHandle() 33 entry("LINE=%s", line.c_str())); in BuildGpioHandle()
|
/openbmc/hiomapd/vpnor/ |
H A D | partition.cpp | 91 partition.data.name, dst.c_str(), src.c_str()); in getPartitionFilePath() 139 path.c_str(), offset, dst, len); in read() 146 int fd = ::open(path.c_str(), O_RDONLY); in read() 149 MSG_ERR("Failed to open backing file at '%s': %d\n", path.c_str(), in read() 160 path.c_str(), fileSize, lerrno); in read() 173 len, access_len, path.c_str(), fileSize, offset, lerrno); in read() 202 path.c_str(), offset, dst, len); in write() 204 int fd = ::open(path.c_str(), O_RDWR); in write() 207 MSG_ERR("Failed to open backing file at '%s': %d\n", path.c_str(), in write() 217 MSG_ERR("Failed to seek to %zu in %s: %d\n", offset, path.c_str(), in write() [all …]
|
/openbmc/phosphor-power/ |
H A D | pmbus.cpp | 106 .c_str()); in getDeviceName() 137 value = strtoul(val.c_str(), &err, 10); in readBit() 144 .c_str()); in readBit() 158 .c_str()); in readBit() 201 .c_str()); in read() 239 .c_str()); in readString() 281 .c_str()); in readBinary() 317 .c_str()); in write() 345 .c_str()); in writeBinary() 355 .c_str()); in writeBinary() [all …]
|