Home
last modified time | relevance | path

Searched refs:toString (Results 1 – 25 of 108) sorted by relevance

12345

/openbmc/phosphor-power/test/
H A Dformat_utils_tests.cpp28 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 Dsensors_tests.cpp25 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 Dpmbus_utils_tests.cpp109 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 Dphase_fault_tests.cpp32 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 D0002-tools-generate_proxy.cpp-avoid-possibly-undefined-ui.patch24 - 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 Dip_utils_test.cpp18 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 Dipmi_capture.js176 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 Ddbus_pcap_loader.js43 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 Dpmbus_read_sensor_action.cpp77 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 Dlog_phase_fault_action.hpp81 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 Dpmbus_write_vout_command_action.cpp74 std::string PMBusWriteVoutCommandAction::toString() const in toString() function in phosphor::power::regulators::PMBusWriteVoutCommandAction
84 ss << "format: " << pmbus_utils::toString(format); in toString()
H A Daction.hpp70 virtual std::string toString() const = 0;
H A Daction_error.hpp53 message{"ActionError: " + action.toString()} in ActionError()
H A Dset_device_action.hpp82 virtual std::string toString() const override in toString() function in phosphor::power::regulators::SetDeviceAction
H A Dcompare_presence_action.cpp49 std::string ComparePresenceAction::toString() const in toString() function in phosphor::power::regulators::ComparePresenceAction
H A Dcompare_presence_action.hpp93 virtual std::string toString() const override;
/openbmc/phosphor-power/phosphor-regulators/src/
H A Dpmbus_utils.cpp61 std::string toString(SensorDataFormat format) in toString() function
76 std::string toString(VoutDataFormat format) in toString() function
H A Dpmbus_utils.hpp118 std::string toString(SensorDataFormat format);
126 std::string toString(VoutDataFormat format);
/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Ducd90160_device.cpp72 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 Dpackage_parser.cpp96 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 Dpldm_fw_update_cmd.cpp270 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 Dmock_action.hpp40 MOCK_METHOD(std::string, toString, (), (const, override));
H A Dcompare_vpd_action_tests.cpp219 EXPECT_EQ(action.toString(), in TEST()
231 EXPECT_EQ(action.toString(), in TEST()
/openbmc/bmcweb/redfish-core/src/
H A Dfilter_expr_printer.cpp97 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 Dformat_utils.hpp44 std::string toString(const std::span<T>& span) in toString() function

12345