/openbmc/telemetry/src/ |
H A D | persistent_json_storage.cpp | 21 warningStr.c_str()); in isAnySymlink() 42 "Store to file", phosphor::logging::entry("PATH=%s", path.c_str())); in store() 87 phosphor::logging::entry("PATH=%s", path.c_str()), in remove() 175 path.c_str()); in assertThatPathIsNotSymlink()
|
H A D | errors.cpp | 31 return propertyName.c_str(); in description() 36 return errWhatDetailed.c_str(); in what()
|
/openbmc/pldm/libpldmresponder/ |
H A D | bios_string_attribute.cpp | 87 dBusMap->objectPath.c_str(), dBusMap->propertyName.c_str(), in getAttrValue() 88 dBusMap->interface.c_str()); in getAttrValue() 171 memcpy(entry->value + sizeof(uint16_t), value.c_str(), value.size()); in generateAttributeEntry()
|
/openbmc/openpower-pnor-code-mgmt/mmc/ |
H A D | item_updater_mmc.cpp | 114 std::get<0>(service).c_str()); in reset() 181 bus.new_method_call(service.c_str(), obj.c_str(), in enableInventoryItemsHelper() 195 .c_str()); in enableInventoryItemsHelper()
|
/openbmc/openpower-pnor-code-mgmt/ |
H A D | version.cpp | 43 EVP_DigestUpdate(ctx.get(), version.c_str(), strlen(version.c_str())); in getId() 62 Argument::ARGUMENT_VALUE(filePath.c_str())); in getValue() 116 entry("VERSION=%s", versionPart.c_str())); in getVersions()
|
/openbmc/openpower-proc-control/ |
H A D | filedescriptor.cpp | 37 fd = open(path.c_str(), O_RDWR | O_SYNC); in FileDescriptor() 44 metadata::PATH(path.c_str())); in FileDescriptor()
|
/openbmc/phosphor-power/tools/power-utils/ |
H A D | version.cpp | 67 entry("PATH=%s", psuInventoryPath.c_str())); in getVersionInfo() 157 .c_str()); in getPsuI2c() 206 .c_str()); in readVPDValue() 227 .c_str()); in checkFileExists() 279 log<level::ERR>(std::format("Error: {}", e.what()).c_str()); in getVersion()
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | journal.hpp | 130 log<level::DEBUG>(message.c_str()); in logDebug() 146 log<level::ERR>(message.c_str()); in logError() 162 log<level::INFO>(message.c_str()); in logInfo()
|
/openbmc/phosphor-fan-presence/presence/ |
H A D | gpio.cpp | 44 currentState(false), evdevfd(open(device.c_str(), O_RDONLY | O_NONBLOCK)), in Gpio() 74 GPIO::CALLOUT_DEVICE_PATH(phys.c_str())); in fail() 108 ad.emplace("GPIO_DEVICE_PATH", (phys.c_str())); in logConflict()
|
/openbmc/phosphor-host-ipmid/user_channel/ |
H A D | user_mgmt.cpp | 162 bus.new_method_call(service.c_str(), objPath.c_str(), in setDbusProperty() 280 newUserName.c_str(), ipmiMaxUserName); in userUpdateHelper() 564 if (!std::regex_match(userName.c_str(), in isValidUserName() 752 if (pamUpdatePasswd(userName.c_str(), userPassword.c_str()) != PAM_SUCCESS) in setSpecialUserPassword() 773 int retval = pamUpdatePasswd(userName.c_str(), passwd.c_str()); in setUserPassword() 1031 getUserServiceName().c_str(), userPath.c_str(), in setUserName() 1055 method.append(userName.c_str(), availableGroups, in setUserName() 1084 method.append(oldUser.c_str(), userName.c_str()); in setUserName() 1256 userName.c_str(), ipmiMaxUserName); in readUserData() 1409 if (write(fd, writeStr.c_str(), writeStr.size()) != in writeUserData() [all …]
|
/openbmc/phosphor-state-manager/host_condition_gpio/ |
H A D | host_condition_main.cpp | 29 sdbusplus::server::manager_t objManager(bus, objGroupName.c_str()); in main() 34 bus.request_name(busName.c_str()); in main()
|
/openbmc/phosphor-state-manager/ |
H A D | host_state_manager.cpp | 178 static_cast<const std::string&>(unitTargetPath).c_str(), in stateActive() 209 settings.service(settings.autoReboot, autoRebootIntf).c_str(), in isAutoReboot() 210 settings.autoRebootOneTime.c_str(), SYSTEMD_PROPERTY_IFACE, "Get"); in isAutoReboot() 214 settings.service(settings.autoReboot, autoRebootIntf).c_str(), in isAutoReboot() 215 settings.autoReboot.c_str(), SYSTEMD_PROPERTY_IFACE, "Get"); in isAutoReboot() 379 std::ofstream os(path.c_str(), std::ios::binary); in serialize() 392 std::ifstream is(path.c_str(), std::ios::in | std::ios::binary); in deserialize()
|
/openbmc/phosphor-mboxd/vpnor/ |
H A D | pnor_partition_table.cpp | 51 std::ifstream file(tocFile.c_str()); in allocateMemory() 78 std::ifstream file(tocFile.c_str()); in preparePartitions() 252 MSG_DBG("Parsing ToC flags '%s'\n", data.c_str()); in writeUserdata() 289 flag.c_str()); in writeUserdata() 309 memcpy(part.data.name, name.c_str(), sizeof(part.data.name)); in writeNameAndId() 335 err << "Malformed partition description: " << line.c_str() << "\n"; in parseTocLine() 348 start, match[NAME_MATCH].str().c_str(), blockSize); in parseTocLine() 356 match[NAME_MATCH].str().c_str(), (end - start), blockSize); in parseTocLine()
|
/openbmc/hiomapd/vpnor/ |
H A D | table.cpp | 59 std::ifstream file(tocFile.c_str()); in allocateMemory() 91 std::ifstream file(tocFile.c_str()); in preparePartitions() 269 MSG_DBG("Parsing ToC flags '%s'\n", data.c_str()); in writeUserdata() 306 flag.c_str()); in writeUserdata() 335 memcpy(part.data.name, name.c_str(), sizeof(part.data.name)); in writeNameAndId() 361 err << "Malformed partition description: " << line.c_str() << "\n"; in parseTocLine() 374 start, match[NAME_MATCH].str().c_str(), blockSize); in parseTocLine() 382 match[NAME_MATCH].str().c_str(), (end - start), blockSize); in parseTocLine()
|
/openbmc/openpower-hw-diags/analyzer/ras-data/ |
H A D | ras-data-parser.cpp | 42 trace::err("Unable to get resolution for action: %s", action.c_str()); in getResolution() 218 trace::inf("File found: path=%s", path.string().c_str()); in initDataFiles() 239 trace::err("Failed to parse file: %s", path.string().c_str()); in initDataFiles() 253 trace::inf("File found: path=%s", path.string().c_str()); in initDataFiles() 286 trace::err("Failed to parse file: %s", path.string().c_str()); in initDataFiles() 317 trace::err("No action defined for signature: %s %s %s", id.c_str(), in parseSignature() 318 bit.c_str(), inst.c_str()); in parseSignature()
|
/openbmc/phosphor-host-ipmid/dbus-sdr/ |
H A D | sdrutils.cpp | 323 auto findSensor = sensorTypes.find(type.c_str()); in getSensorTypeFromPath() 356 auto findSensor = sensorTypes.find(type.c_str()); in getSensorEventTypeFromPath() 523 path.c_str()); in updateIpmiFromAssociation() 536 path.c_str()); in updateIpmiFromAssociation() 570 endpoint.c_str(), in updateIpmiFromAssociation() 602 getObjectInterfaces(sensorConfigPath.c_str()); in updateIpmiFromAssociation() 625 getEntityManagerProperties(sensorConfigPath.c_str(), in updateIpmiFromAssociation() 626 configurationInterface->c_str()); in updateIpmiFromAssociation() 648 path.c_str(), entityId, entityInstance); in updateIpmiFromAssociation()
|
/openbmc/sdbusplus/include/sdbusplus/asio/ |
H A D | object_server.hpp | 402 conn_->emit_interfaces_removed(path_.c_str(), in ~dbus_interface() 417 if (sd_bus_member_name_is_valid(name.c_str()) != 1) in register_property_r() 459 if (sd_bus_member_name_is_valid(name.c_str()) != 1) in register_property_rw() 579 if (sd_bus_member_name_is_valid(name.c_str()) != 1) in register_signal() 754 element.name_.c_str(), element.signature_, get_handler, in initialize() 761 element.name_.c_str(), element.signature_, get_handler, in initialize() 771 element.name_.c_str(), element.arg_signature_, in initialize() 788 path_.c_str(), name_.c_str(), in initialize() 791 conn_->emit_interfaces_added(path_.c_str(), in initialize() 814 interface_->property_changed(name.c_str()); in signal_property() [all …]
|
/openbmc/pldm/oem/ibm/test/ |
H A D | libpldmresponder_fileio_test.cpp | 45 obj["path"] = imageFile.c_str(); in SetUp() 51 obj["path"] = cksumFile.c_str(); in SetUp() 56 std::ofstream file(fileTableConfig.c_str()); in SetUp() 260 auto& table = buildFileTable(fileTableConfig.c_str()); in TEST_F() 295 auto& table = buildFileTable(fileTableConfig.c_str()); in TEST_F() 330 auto& table = buildFileTable(fileTableConfig.c_str()); in TEST_F() 368 auto& table = buildFileTable(fileTableConfig.c_str()); in TEST_F() 495 FileTable tableObj(fileTableConfig.c_str()); in TEST_F() 500 ASSERT_EQ(strcmp(value.fsPath.c_str(), imageFile.c_str()), 0); in TEST_F() 508 ASSERT_EQ(strcmp(value1.fsPath.c_str(), cksumFile.c_str()), 0); in TEST_F() [all …]
|
/openbmc/phosphor-fan-presence/control/json/actions/ |
H A D | action.hpp | 70 .c_str()) in ActionParseError() 302 std::format("Action '{}' is already registered", name).c_str()); in regAction() 341 std::format("Action '{}' is not registered", name).c_str(), in getAction() 342 entry("AVAILABLE_ACTIONS=%s", acts.c_str())); in getAction()
|
/openbmc/phosphor-bmc-code-mgmt/ |
H A D | activation.hpp | 78 RedundancyPriorityInherit(bus, path.c_str(), in RedundancyPriority() 134 ActivationBlocksTransitionInherit(bus, path.c_str(), in ActivationBlocksTransition() 172 ActivationProgressInherit(bus, path.c_str(), in ActivationProgress() 201 ActivationInherit(bus, path.c_str(), in Activation()
|
/openbmc/phosphor-dbus-monitor/mslverify/ |
H A D | util.hpp | 41 auto reqMsg = bus.new_method_call(busName.c_str(), path.c_str(), in callMethod() 42 interface.c_str(), method.c_str()); in callMethod()
|
/openbmc/phosphor-debug-collector/ |
H A D | dump_serialize.cpp | 18 std::ofstream os(dir.c_str(), std::ios::binary); in serialize() 29 std::ifstream is(path.c_str(), std::ios::in | std::ios::binary); in deserialize()
|
/openbmc/linux/rust/kernel/ |
H A D | sync.rs | 55 $crate::c_str!(::core::concat!(::core::file!(), ":", ::core::line!())) 58 $crate::c_str!($name)
|
/openbmc/phosphor-logging/test/ |
H A D | remote_logging_tests.hpp | 41 configFilePath = std::string(dir.c_str()) + "/server.conf"; in TestRemoteLogging() 43 configFilePath.c_str()); in TestRemoteLogging()
|
/openbmc/openpower-occ-control/ |
H A D | occ_presence.cpp | 36 CALLOUT_DEVICE_PATH(file.c_str())); in analyzeEvent() 51 .c_str()); in analyzeEvent()
|