Home
last modified time | relevance | path

Searched refs:c_str (Results 1 – 25 of 687) sorted by relevance

12345678910>>...28

/openbmc/phosphor-user-manager/test/
H A Dldap_config_test.cpp128 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 Dutils_test.cpp27 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 Dldap_config_mgr.cpp58 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/phosphor-ipmi-flash/bmc/
H A Dgeneral_systemd.cpp41 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 Dreinit_devtree.cpp57 .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/openpower-debug-collector/watchdog/
H A Dwatchdog_dbus.cpp35 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 Dmain.cpp133 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-dbus-monitor/src/
H A Dsdbusplus.hpp47 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 Dutils.cpp52 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 Dinstance-id.cpp17 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 Dcreate_pel.cpp77 .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 Ddump_utils.cpp49 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 Dpmbus.cpp104 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 Dgpio_handle.cpp20 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 Dpartition.cpp91 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 Dpmbus.cpp106 .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 …]
/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 …]
/openbmc/phosphor-psu-code-mgmt/src/
H A Dactivation.cpp143 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()
242 auto services = utils::getServices(bus, objPath.c_str(), deleteInterface); in deleteImageManagerObject()
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()
320 entry("SRC=%s", src.c_str()), in storeImage()
[all …]
/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/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()

12345678910>>...28