/openbmc/intel-ipmi-oem/src/ |
H A D | ipmi_to_redfish_hooks.cpp | 366 messageArgs.push_back(std::to_string(pair)); in biosSMIMessageHook() 367 messageArgs.push_back(std::to_string(rank)); in biosSMIMessageHook() 410 messageArgs.push_back(std::to_string(dimm)); in biosSMIMessageHook() 411 messageArgs.push_back(std::to_string(rank)); in biosSMIMessageHook() 447 messageArgs.push_back(std::to_string(bus)); in biosSMIMessageHook() 528 messageArgs.push_back(std::to_string(bus)); in biosSMIMessageHook() 590 messageArgs.push_back(std::to_string(bus)); in biosSMIMessageHook() 641 messageArgs.push_back(std::to_string(rank)); in biosSMIMessageHook() 741 messageArgs.push_back(std::to_string(bus)); in biosSMIMessageHook() 810 messageArgs.push_back(std::to_string(dimm)); 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/telemetry/ |
H A D | meson.build | 41 '-DTELEMETRY_MAX_REPORTS=' + get_option('max-reports').to_string(), 43 get_option('max-reading-parameters').to_string(), 44 '-DTELEMETRY_MIN_INTERVAL=' + get_option('min-interval').to_string(), 45 '-DTELEMETRY_MAX_TRIGGERS=' + get_option('max-triggers').to_string(), 47 get_option('max-dbus-path-length').to_string(), 49 get_option('max-append-limit').to_string(), 50 '-DTELEMETRY_MAX_ID_NAME_LENGTH=' + get_option('max-id-name-length').to_string(), 51 '-DTELEMETRY_MAX_PREFIX_LENGTH=' + get_option('max-prefix-length').to_string(),
|
/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/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() 228 strings[pos_prio] = "PRIORITY="s + std::to_string(static_cast<uint64_t>(l)); in do_log() 230 strings[pos_line] = "CODE_LINE="s + std::to_string(s.line()); in do_log()
|
/openbmc/fb-ipmi-oem/src/ |
H A D | selcommands.cpp | 415 std::to_string(data[2] & 0x1F); in logMchChkErr() 548 std::to_string(data[1] & 0x03); in logMemErr() 792 errLog += ", curr_val: " + std::to_string(data[1]) + in logPCHThermal() 905 errLog = std::to_string(data[1]) + " minutes"; in logHprWarn() 1015 errStr += " Node: " + std::to_string(nodeNum) + "," + in parseDimmPhyloc() 1016 " Card: " + std::to_string(chNum) + "," + in parseDimmPhyloc() 1023 errStr += " Node: " + std::to_string(nodeNum) + "," + in parseDimmPhyloc() 1024 " Card: " + std::to_string(chNum) + "," + in parseDimmPhyloc() 1032 " Card: " + std::to_string(chNum) + "," + in parseDimmPhyloc() 1040 " Card: " + std::to_string(chNum) + "," + in parseDimmPhyloc() [all …]
|
/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 | 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()
|
H A D | elog_quiesce_test.cpp | 48 std::string(OBJ_ENTRY) + '/' + std::to_string(id), in TEST_F() 76 std::string(OBJ_ENTRY) + '/' + std::to_string(id), in TEST_F() 115 std::string(OBJ_ENTRY) + '/' + std::to_string(id), in TEST_F() 172 std::string(OBJ_ENTRY) + '/' + std::to_string(id), in TEST_F() 231 std::string(OBJ_ENTRY) + '/' + std::to_string(id), in TEST_F()
|
/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 | 223 description += "TID " + std::to_string(tid) + ": "; in prefixMsgStrCreation() 232 description += "Sensor ID " + std::to_string(sensorId) + ": "; in prefixMsgStrCreation() 268 description += " #" + std::to_string(bitIdx); in dimmIdxsToString() 321 description += " at " + std::to_string(byte1) + "%"; in handleBootOverallEvent() 496 std::to_string(eventState); in processStateSensorEvent() 507 std::to_string(sensorOffset); in processStateSensorEvent() 678 std::to_string(failure.bits.mcuRankIdx); in dimmTrainingFailureToMsg() 681 std::to_string(failure.bits.sliceNum); in dimmTrainingFailureToMsg() 708 std::to_string(failure.bits.type); in dimmTrainingFailureToMsg() 731 description += "DIMM " + std::to_string(dimmIdx) + " "; in handleDIMMStatusEvent() [all …]
|
/openbmc/bmcweb/test/include/ |
H A D | async_resolve_test.cpp | 14 EXPECT_EQ(ep.address().to_string(), "1.2.3.4"); in TEST() 24 EXPECT_EQ(ep.address().to_string(), "102:304:506:708:90a:b0c:d0e:f10"); in TEST()
|
/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/phosphor-power/phosphor-regulators/src/actions/ |
H A D | i2c_write_bit_action.hpp | 65 std::to_string(static_cast<unsigned>(position))}; 72 std::to_string(static_cast<unsigned>(value))};
|
H A D | i2c_compare_bit_action.hpp | 65 std::to_string(static_cast<unsigned>(position))}; 72 std::to_string(static_cast<unsigned>(value))};
|