Searched refs:intToHexString (Results 1 – 5 of 5) sorted by relevance
/openbmc/bmcweb/test/redfish-core/include/utils/ |
H A D | hex_utils_test.cpp | 20 EXPECT_EQ(intToHexString(0xFFFFFFFFFFFFFFFFULL, 16), "FFFFFFFFFFFFFFFF"); in TEST() 22 EXPECT_EQ(intToHexString(0, 4), "0000"); in TEST() 23 EXPECT_EQ(intToHexString(0, 8), "00000000"); in TEST() 24 EXPECT_EQ(intToHexString(0, 12), "000000000000"); in TEST() 25 EXPECT_EQ(intToHexString(0, 16), "0000000000000000"); in TEST() 28 EXPECT_EQ(intToHexString(0xDEADBEEFBAD4F00DULL, 4), "F00D"); in TEST() 29 EXPECT_EQ(intToHexString(0xDEADBEEFBAD4F00DULL, 8), "BAD4F00D"); in TEST() 30 EXPECT_EQ(intToHexString(0xDEADBEEFBAD4F00DULL, 12), "BEEFBAD4F00D"); in TEST() 31 EXPECT_EQ(intToHexString(0xDEADBEEFBAD4F00DULL, 16), "DEADBEEFBAD4F00D"); in TEST() 34 EXPECT_EQ(intToHexString(0xBEEF, 1), "F"); in TEST() [all …]
|
/openbmc/bmcweb/http/ |
H A D | http_response.hpp | 234 return "\"" + intToHexString(hashval, 8) + "\""; in computeEtag() 286 std::string hexVal = "\"" + intToHexString(hashval, 8) + "\""; in setHashAndHandleNotModified()
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | hex_utils.hpp | 15 inline std::string intToHexString(uint64_t value, size_t digits) in intToHexString() function
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | processor.hpp | 153 "0x" + intToHexString(*value, 4); in getCpuDataByInterface() 167 "0x" + intToHexString(*value, 4); in getCpuDataByInterface() 177 "0x" + intToHexString(*value, 16); in getCpuDataByInterface() 191 "0x" + intToHexString(*value, 8); in getCpuDataByInterface() 205 "0x" + intToHexString(*value, 4); in getCpuDataByInterface()
|
H A D | memory.hpp | 152 asyncResp->res.jsonValue[jsonPtr][key] = "0x" + intToHexString(*value, 4); in dimmPropToHex()
|