/openbmc/phosphor-power/test/ |
H A D | format_utils_tests.cpp | 28 TEST(FormatUtilsTests, toString) in TEST() argument 34 EXPECT_EQ(toString(spn), "[1, 3, 5, 7, 9, 11]"); in TEST() 35 EXPECT_EQ(toString(spn.subspan(0, 4)), "[1, 3, 5, 7]"); in TEST() 36 EXPECT_EQ(toString(spn.subspan(3, 3)), "[7, 9, 11]"); in TEST() 37 EXPECT_EQ(toString(spn.subspan(5, 1)), "[11]"); in TEST() 38 EXPECT_EQ(toString(spn.subspan(0, 0)), "[]"); in TEST() 45 EXPECT_EQ(toString(spn), "[2.1, -3.9, 21.03]"); in TEST() 52 EXPECT_EQ(toString(spn), "[]"); in TEST() 59 EXPECT_EQ(toString(spn), "[cow, horse, zebra]"); in TEST() 60 EXPECT_EQ(toString(spn.subspan(1, 2)), "[horse, zebra]"); in TEST()
|
/openbmc/phosphor-power/phosphor-regulators/test/ |
H A D | sensors_tests.cpp | 25 EXPECT_EQ(toString(SensorType::iout), "iout"); in TEST() 26 EXPECT_EQ(toString(SensorType::iout_peak), "iout_peak"); in TEST() 27 EXPECT_EQ(toString(SensorType::iout_valley), "iout_valley"); in TEST() 28 EXPECT_EQ(toString(SensorType::pout), "pout"); in TEST() 29 EXPECT_EQ(toString(SensorType::temperature), "temperature"); in TEST() 30 EXPECT_EQ(toString(SensorType::temperature_peak), "temperature_peak"); in TEST() 31 EXPECT_EQ(toString(SensorType::vout), "vout"); in TEST() 32 EXPECT_EQ(toString(SensorType::vout_peak), "vout_peak"); in TEST() 33 EXPECT_EQ(toString(SensorType::vout_valley), "vout_valley"); in TEST()
|
H A D | pmbus_utils_tests.cpp | 109 EXPECT_EQ(pmbus_utils::toString(format), "linear_11"); in TEST() 116 EXPECT_EQ(pmbus_utils::toString(format), "linear_16"); in TEST() 123 EXPECT_EQ(pmbus_utils::toString(format), "linear"); in TEST() 129 EXPECT_EQ(pmbus_utils::toString(format), "vid"); in TEST() 136 EXPECT_EQ(pmbus_utils::toString(format), "direct"); in TEST() 142 EXPECT_EQ(pmbus_utils::toString(format), "ieee"); in TEST()
|
H A D | phase_fault_tests.cpp | 32 EXPECT_EQ(toString(PhaseFaultType::n), "n"); in TEST() 33 EXPECT_EQ(toString(PhaseFaultType::n_plus_1), "n+1"); in TEST()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/dbus/libdbus-c++-0.9.0/ |
H A D | 0002-tools-generate_proxy.cpp-avoid-possibly-undefined-ui.patch | 24 - arg_name += toString <uint> (i); 25 + arg_name += toString <unsigned int> (i); 33 - arg_name = "argout" + toString <uint> (i); 34 + arg_name = "argout" + toString <unsigned int> (i); 42 - arg_name = "arg" + toString <uint> (i); 43 + arg_name = "arg" + toString <unsigned int> (i); 51 - arg_name = "arg" + toString <uint> (j); 52 + arg_name = "arg" + toString <unsigned int> (j);
|
/openbmc/bmcweb/test/redfish-core/include/utils/ |
H A D | ip_utils_test.cpp | 18 EXPECT_EQ(toString(make_address("127.0.0.1")), "127.0.0.1"); in TEST() 19 EXPECT_EQ(toString(make_address("192.168.1.1")), "192.168.1.1"); in TEST() 20 EXPECT_EQ(toString(make_address("::1")), "::1"); in TEST() 25 EXPECT_EQ(toString(make_address("fd03:f9ab:25de:89ec::0001")), in TEST() 27 EXPECT_EQ(toString(make_address("fd03:f9ab:25de:89ec::1234:abcd")), in TEST() 29 EXPECT_EQ(toString(make_address("fd03:f9ab:25de:89ec:1234:5678:90ab:cdef")), in TEST() 35 EXPECT_EQ(toString(make_address("::ffff:127.0.0.1")), "127.0.0.1"); in TEST()
|
/openbmc/openbmc-tools/dbus-vis/ |
H A D | ipmi_capture.js | 176 let s = data.toString(); 274 capture_info.textContent = 'Contacting BMC console: ' + args.toString(); 315 const abc = ExtractMyDelimitedStuff(data.toString()); 366 let s = data.toString(); 378 AppendToParseBuffer(data.toString()); 385 let s = data.toString(); 409 let t = data.toString(); 438 let tmp = ExtractMyDelimitedStuff(data.toString(), 'int'); 442 'dbus_monitor size tmp=' + tmp + ', ' + data.toString()); 475 const lines = data.toString().split('\n');
|
H A D | dbus_pcap_loader.js | 43 const s = data.toString(); 65 console.error(data.toString()); 76 const s = data.toString(); 98 console.error(data.toString());
|
/openbmc/phosphor-power/phosphor-regulators/src/actions/ |
H A D | pmbus_read_sensor_action.cpp | 77 std::string PMBusReadSensorAction::toString() const in toString() function in phosphor::power::regulators::PMBusReadSensorAction 81 ss << "type: " << sensors::toString(type) << ", " << std::hex in toString() 85 ss << "format: " << pmbus_utils::toString(format); in toString()
|
H A D | log_phase_fault_action.hpp | 81 virtual std::string toString() const override in toString() function in phosphor::power::regulators::LogPhaseFaultAction 83 return "log_phase_fault: { type: " + regulators::toString(type) + " }"; in toString()
|
H A D | pmbus_write_vout_command_action.cpp | 74 std::string PMBusWriteVoutCommandAction::toString() const in toString() function in phosphor::power::regulators::PMBusWriteVoutCommandAction 84 ss << "format: " << pmbus_utils::toString(format); in toString()
|
H A D | action.hpp | 70 virtual std::string toString() const = 0;
|
H A D | action_error.hpp | 53 message{"ActionError: " + action.toString()} in ActionError()
|
H A D | set_device_action.hpp | 82 virtual std::string toString() const override in toString() function in phosphor::power::regulators::SetDeviceAction
|
H A D | compare_presence_action.cpp | 49 std::string ComparePresenceAction::toString() const in toString() function in phosphor::power::regulators::ComparePresenceAction
|
H A D | compare_presence_action.hpp | 93 virtual std::string toString() const override;
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | pmbus_utils.cpp | 61 std::string toString(SensorDataFormat format) in toString() function 76 std::string toString(VoutDataFormat format) in toString() function
|
H A D | pmbus_utils.hpp | 118 std::string toString(SensorDataFormat format); 126 std::string toString(VoutDataFormat format);
|
/openbmc/phosphor-power/phosphor-power-sequencer/src/ |
H A D | ucd90160_device.cpp | 72 namesStr = format_utils::toString(namesSpan.subspan(i, count)); in storeGPIOValues() 73 valuesStr = format_utils::toString(valuesSpan.subspan(i, count)); in storeGPIOValues()
|
/openbmc/pldm/fw-update/ |
H A D | package_parser.cpp | 96 std::make_tuple(utils::toString(descTitleStr), in parseFDIdentificationArea() 132 utils::toString(compImageSetVersionStr), std::move(descriptors), in parseFDIdentificationArea() 180 utils::toString(compVersion))); in parseCompImageInfoArea() 321 pkgHdrSize, utils::toString(pkgVersion), componentBitmapBitLength); in parsePkgHeader()
|
/openbmc/pldm/pldmtool/ |
H A D | pldm_fw_update_cmd.cpp | 270 pldm::utils::toString(activeCompImageSetVersion); in parseResponseMsg() 272 pldm::utils::toString(pendingCompImageSetVersion); in parseResponseMsg() 394 pldm::utils::toString(activeCompVerStr); in parseResponseMsg() 396 pldm::utils::toString(pendingCompVerStr); in parseResponseMsg() 595 auto vendorDescTitle = pldm::utils::toString(descriptorTitleStr); in parseResponseMsg()
|
/openbmc/phosphor-power/phosphor-regulators/test/actions/ |
H A D | mock_action.hpp | 40 MOCK_METHOD(std::string, toString, (), (const, override));
|
H A D | compare_vpd_action_tests.cpp | 219 EXPECT_EQ(action.toString(), in TEST() 231 EXPECT_EQ(action.toString(), in TEST()
|
/openbmc/bmcweb/redfish-core/src/ |
H A D | filter_expr_printer.cpp | 97 static std::string toString(filter_ast::ComparisonOpEnum rel) in toString() function 124 return std::format("{} {} {}", left, toString(x.token), right); in operator ()()
|
/openbmc/phosphor-power/ |
H A D | format_utils.hpp | 44 std::string toString(const std::span<T>& span) in toString() function
|