/openbmc/intel-ipmi-oem/src/ |
H A D | ipmi_to_redfish_hooks.cpp | 94 messageArgs.push_back(std::to_string(error)); in biosMessageHook() 112 messageArgs.push_back(std::to_string(mode)); in biosMessageHook() 180 messageArgs.push_back(std::to_string(node + 1)); in biosMessageHook() 230 messageArgs.push_back(std::to_string(priorMode)); in biosMessageHook() 248 messageArgs.push_back(std::to_string(selectedMode)); in biosMessageHook() 363 messageArgs.push_back(std::to_string(socket + 1)); in biosSMIMessageHook() 365 messageArgs.push_back(std::to_string(dimm + 1)); in biosSMIMessageHook() 366 messageArgs.push_back(std::to_string(pair)); in biosSMIMessageHook() 367 messageArgs.push_back(std::to_string(rank)); in biosSMIMessageHook() 408 messageArgs.push_back(std::to_string(socket + 1)); in biosSMIMessageHook() [all …]
|
/openbmc/linux/scripts/ |
H A D | generate_rust_target.rs | 64 self.0.push((key.to_string(), Value::Boolean(value))); in push() 70 self.0.push((key.to_string(), Value::Number(value))); in push() 76 self.0.push((key.to_string(), Value::String(value))); in push() 82 self.push(key, value.to_string()); in push() 88 self.0.push((key.to_string(), Value::Object(value))); in push() 129 result.insert(key.to_string(), value.trim_end_matches('\n').to_string()); in from_stdin() 157 let mut features = "-3dnow,-3dnowa,-mmx,+soft-float".to_string(); in main() 172 vec![("kind".to_string(), Value::String("none".to_string()))], in main()
|
/openbmc/linux/rust/macros/ |
H A D | pin_data.rs | 27 .skip_while(|tt| !matches!(tt, TokenTree::Ident(i) if i.to_string() == "struct")) in pin_data() 64 if matches!(&tt, TokenTree::Ident(i) if i.to_string() == "struct") { in pin_data() 96 if i.to_string() == "enum" in replace_self_and_deny_type_defs() 97 || i.to_string() == "trait" in replace_self_and_deny_type_defs() 98 || i.to_string() == "struct" in replace_self_and_deny_type_defs() 99 || i.to_string() == "union" in replace_self_and_deny_type_defs() 100 || i.to_string() == "impl" => in replace_self_and_deny_type_defs() 117 TokenTree::Ident(i) if i.to_string() == "Self" => struct_name.clone(), in replace_self_and_deny_type_defs()
|
H A D | vtable.rs | 14 TokenTree::Ident(ident) => match ident.to_string().as_str() { in vtable() 34 TokenTree::Ident(ident) if ident.to_string() == "fn" => { in vtable() 36 Some(TokenTree::Ident(ident)) => ident.to_string(), in vtable() 42 TokenTree::Ident(ident) if ident.to_string() == "const" => { in vtable() 44 Some(TokenTree::Ident(ident)) => ident.to_string(), in vtable()
|
H A D | helpers.rs | 7 Some(ident.to_string()) in try_ident() 15 Some(literal.to_string()) in try_literal() 28 Some(content.to_string()) in try_string() 122 TokenTree::Ident(i) if i.to_string() == "const" => {} in parse_generics()
|
/openbmc/fb-ipmi-oem/src/ |
H A D | selcommands.cpp | 413 errLog += ", Machine Check bank Number " + std::to_string(data[1]) + in logMchChkErr() 414 ", CPU " + std::to_string(data[2] >> 5) + ", Core " + in logMchChkErr() 415 std::to_string(data[2] & 0x1F); in logMchChkErr() 476 errLog += "CPU " + std::to_string(data[2] >> 5) + ", Error ID 0x" + in logIioErr() 548 std::to_string(data[1] & 0x03); in logMemErr() 557 std::string cpuStr = "CPU# " + std::to_string((data[2] & 0xE0) >> 5); in logMemErr() 558 std::string chStr = "CHN# " + std::to_string((data[2] & 0x18) >> 3); in logMemErr() 559 std::string dimmStr = "DIMM#" + std::to_string(data[2] & 0x7); in logMemErr() 704 errLog = "Unknown[" + std::to_string(data[0]) + "]"; in logMEPwrState() 792 errLog += ", curr_val: " + std::to_string(data[1]) + in logPCHThermal() [all …]
|
/openbmc/telemetry/ |
H A D | meson.build | 41 '-DTELEMETRY_MAX_REPORTS=' + get_option('max-reports').to_string(), 42 '-DTELEMETRY_MAX_READING_PARAMS=' + get_option('max-reading-parameters').to_string(), 43 '-DTELEMETRY_MIN_INTERVAL=' + get_option('min-interval').to_string(), 44 '-DTELEMETRY_MAX_TRIGGERS=' + get_option('max-triggers').to_string(), 45 '-DTELEMETRY_MAX_DBUS_PATH_LENGTH=' + get_option('max-dbus-path-length').to_string(), 46 '-DTELEMETRY_MAX_APPEND_LIMIT=' + get_option('max-append-limit').to_string(), 47 '-DTELEMETRY_MAX_ID_NAME_LENGTH=' + get_option('max-id-name-length').to_string(), 48 '-DTELEMETRY_MAX_PREFIX_LENGTH=' + get_option('max-prefix-length').to_string(),
|
/openbmc/phosphor-logging/lib/ |
H A D | lg2_logger.cpp | 33 return "0b" + std::bitset<8>(v).to_string(); in value_to_string() 37 return "0b" + std::bitset<16>(v).to_string(); in value_to_string() 41 return "0b" + std::bitset<32>(v).to_string(); in value_to_string() 46 return "0b" + std::bitset<64>(v).to_string(); in value_to_string() 98 return std::to_string(v); in value_to_string() 112 return std::to_string(v); in value_to_string() 119 return std::to_string(v); in value_to_string() 232 strings[pos_prio] = "PRIORITY="s + std::to_string(static_cast<uint64_t>(l)); in do_log() 234 strings[pos_line] = "CODE_LINE="s + std::to_string(s.line()); in do_log()
|
/openbmc/estoraged/src/erase/ |
H A D | verifyDriveGeometry.cpp | 20 std::to_string(bytes) + ">" + in geometryOkay() 21 std::to_string(eraseMaxGeometry)); in geometryOkay() 30 std::to_string(bytes) + "<" + std::to_string(eraseMinGeometry)); in geometryOkay()
|
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | file_io_type_cert.cpp | 59 filePath += "CSR_" + std::to_string(fileHandle); in readIntoMemory() 80 filePath += "CSR_" + std::to_string(fileHandle); in read() 138 filePath += "ClientCert_" + std::to_string(fileHandle); in write() 151 DBusMapping dbusMapping{certObjPath + std::to_string(fileHandle), in write() 168 certObjPath + std::to_string(fileHandle), certEntryIntf, in write() 190 DBusMapping dbusMapping{certObjPath + std::to_string(fileHandle), in write() 230 (filePath + "ClientCert_" + std::to_string(fileHandle)).c_str(), in newFileAvailable() 272 (filePath + "ClientCert_" + std::to_string(fileHandle)).c_str(), in newFileAvailableWithMetaData() 280 DBusMapping dbusMapping{certObjPath + std::to_string(fileHandle), in newFileAvailableWithMetaData() 320 DBusMapping dbusMapping{certObjPath + std::to_string(fileHandle), in fileAckWithMetaData()
|
/openbmc/phosphor-buttons/src/ |
H A D | gpio.cpp | 161 devPath += "/gpio" + std::to_string(gpioNum) + "/value"; in configGpio() 190 devPath = gpioDev + "/gpio" + std::to_string(gpioNum) + "/value"; in configGpio() 211 devPath = gpioDev + "/gpio" + std::to_string(gpioNum) + "/direction"; in configGpio() 228 devPath = gpioDev + "/gpio" + std::to_string(gpioNum) + "/direction"; in configGpio() 245 devPath = gpioDev + "/gpio" + std::to_string(gpioNum) + "/direction"; in configGpio() 267 devPath = gpioDev + "/gpio" + std::to_string(gpioNum) + "/edge"; in configGpio() 283 devPath = gpioDev + "/gpio" + std::to_string(gpioNum) + "/value"; in configGpio()
|
/openbmc/phosphor-logging/test/ |
H A D | elog_update_ts_test.cpp | 54 if (fs::exists(fs::path{paths::error()} / std::to_string(id))) in TEST() 68 std::string(OBJ_ENTRY) + '/' + std::to_string(id), in TEST() 100 fs::remove(fs::path{paths::error()} / std::to_string(id)); in TEST() 125 if (fs::exists(persist_path / std::to_string(id))) in TEST() 139 std::string(OBJ_ENTRY) + '/' + std::to_string(id), in TEST() 163 fs::remove(persist_path / std::to_string(id)); in TEST()
|
H A D | elog_quiesce_test.cpp | 49 std::string(OBJ_ENTRY) + '/' + std::to_string(id), in TEST_F() 77 std::string(OBJ_ENTRY) + '/' + std::to_string(id), in TEST_F() 116 std::string(OBJ_ENTRY) + '/' + std::to_string(id), in TEST_F() 173 std::string(OBJ_ENTRY) + '/' + std::to_string(id), in TEST_F() 232 std::string(OBJ_ENTRY) + '/' + std::to_string(id), in TEST_F()
|
H A D | serialization_test_path.cpp | 16 bus, std::string(OBJ_ENTRY) + '/' + std::to_string(id), id, manager); in TEST_F() 18 EXPECT_EQ(path.c_str(), TestSerialization::dir / std::to_string(id)); in TEST_F()
|
/openbmc/openpower-vpd-parser/vpd-manager/src/ |
H A D | ddimm_parser.cpp | 34 "Non valid Value encountered value[" + std::to_string(l_ByteValue) + in checkValidValue() 35 "] range [" + std::to_string(i_minValue) + ".." + in checkValidValue() 36 std::to_string(i_maxValue) + "] found "); in checkValidValue() 113 std::to_string(i_iterator[constants::SPD_BYTE_235]) + "]"); in getDdr5BasedDdimmSize() 143 std::to_string(i_iterator[constants::SPD_BYTE_235]) + "]"); in getDdr5BasedDdimmSize() 160 std::to_string(i_iterator[constants::SPD_BYTE_4]) + "]"); in getDdr5BasedDdimmSize() 176 std::to_string(i_iterator[constants::SPD_BYTE_4]) + "]"); in getDdr5BasedDdimmSize() 211 std::to_string(i_iterator[constants::SPD_BYTE_6]) + "]"); in getDdr5BasedDdimmSize() 344 std::to_string(i_iterator[constants::SPD_BYTE_2]) + "]"); in getDdimmSize()
|
/openbmc/telemetry/tests/src/helpers/ |
H A D | report_params_helpers.hpp | 16 *os << "( " << id << ", " << std::to_string(value) << ", " in PrintTo() 17 << std::to_string(timestamp) << " )"; in PrintTo() 23 *os << "( " << std::to_string(timestamp) << ", "; in PrintTo()
|
/openbmc/phosphor-snmp/test/ |
H A D | test_snmp_serialize.cpp | 45 objPath += "/" + std::to_string(1); in TEST_F() 47 objPath2 += "/" + std::to_string(2); in TEST_F() 63 objPath += "/" + std::to_string(1); in TEST_F() 77 objPath += "/" + std::to_string(1); in TEST_F()
|
H A D | test_snmp_client.cpp | 42 objPath += "/" + std::to_string(1); in TEST_F() 58 objPath += "/" + std::to_string(1); in TEST_F() 69 objPath += "/" + std::to_string(1); in TEST_F() 71 objPath2 += "/" + std::to_string(2); in TEST_F()
|
/openbmc/phosphor-power/ |
H A D | pmbus.cpp | 55 name.replace(pos, 1, std::to_string(page)); in insertPageNum() 78 auto dir = driverName + "." + std::to_string(instance); in getPath() 157 std::to_string(rc) + std::string(" FILENAME=") + path.string()) in readBit() 200 std::to_string(rc) + " FILENAME=" + path.string()) in read() 238 std::to_string(rc) + " FILENAME=" + path.string()) in readString() 280 std::to_string(rc) + " FILENAME=" + path.string()) in readBinary() 316 std::to_string(rc) + " FILENAME=" + path.string()) in write() 354 std::to_string(rc) + " FILENAME=" + path.string()) in writeBinary() 404 "/sys/bus/i2c/devices/" + std::to_string(bus) + "-" + address}; in createPMBus()
|
/openbmc/telemetry/tests/src/ |
H A D | test_transform.cpp | 15 utils::transform(input, [](int v) { return std::to_string(v); }); in TEST() 25 utils::transform(input, [](int v) { return std::to_string(v); }); in TEST() 35 input, [](int v) { return std::to_string(v); }); in TEST()
|
/openbmc/pldm/oem/ampere/event/ |
H A D | oem_event_manager.cpp | 230 description += "TID " + std::to_string(tid) + ": "; in prefixMsgStrCreation() 239 description += "Sensor ID " + std::to_string(sensorId) + ": "; in prefixMsgStrCreation() 275 description += " #" + std::to_string(bitIdx); in dimmIdxsToString() 328 description += " at " + std::to_string(byte1) + "%"; in handleBootOverallEvent() 501 std::to_string(eventState); in processStateSensorEvent() 512 std::to_string(sensorOffset); in processStateSensorEvent() 617 std::to_string(sensorEventClassType) + ": "; in handleSensorEvent() 679 std::to_string(failure.bits.mcuRankIdx); in dimmTrainingFailureToMsg() 682 std::to_string(failure.bits.sliceNum); in dimmTrainingFailureToMsg() 709 std::to_string(failure.bits.type); in dimmTrainingFailureToMsg() [all …]
|
/openbmc/linux/scripts/gdb/linux/ |
H A D | utils.py | 100 endian = gdb.execute("show endian", to_string=True) 175 target_arch = gdb.execute("show architecture", to_string=True) 192 return gdb.execute("monitor info version", to_string=True) != "" 198 thread_info = gdb.execute("info thread 2", to_string=True)
|
/openbmc/phosphor-host-ipmid/user_channel/ |
H A D | cipher_mgmt.cpp | 81 std::string chKey = "Channel" + std::to_string(chNum); in updateCSPrivilegesMap() 84 auto csKey = "CipherID" + std::to_string(csNum); in updateCSPrivilegesMap() 221 csKey = "CipherID" + std::to_string(csNum); in setCSPrivilegeLevels() 231 std::string chKey = "Channel" + std::to_string(chNum); in setCSPrivilegeLevels()
|
/openbmc/bmcweb/test/include/ |
H A D | async_resolve_test.cpp | 16 EXPECT_EQ(ep.address().to_string(), "1.2.3.4"); in TEST() 26 EXPECT_EQ(ep.address().to_string(), "102:304:506:708:90a:b0c:d0e:f10"); in TEST()
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | task.hpp | 158 std::string strIdx = std::to_string(index); in populateResp() 174 std::to_string(retryAfterSeconds)); in populateResp() 209 messages::taskAborted(std::to_string(self->index))); in extendTimer() 230 std::string indexStr = std::to_string(index); in sendTaskEvent() 306 messages.emplace_back(messages::taskStarted(std::to_string(index))); in startTimer() 352 return std::to_string(task->index) == strParam; in requestRoutesTaskMonitor() 395 return std::to_string(task->index) == strParam; in requestRoutesTask() 482 std::to_string(task->index)); in requestRoutesTaskCollection()
|