Home
last modified time | relevance | path

Searched refs:ScalarGetValue (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/lldb/unittests/Utility/
DScalarTest.cpp240 template <typename T> static std::string ScalarGetValue(T value) { in ScalarGetValue() function
247 EXPECT_EQ("12345", ScalarGetValue<signed short>(12345)); in TEST()
248 EXPECT_EQ("-12345", ScalarGetValue<signed short>(-12345)); in TEST()
249 EXPECT_EQ("12345", ScalarGetValue<unsigned short>(12345)); in TEST()
251 ScalarGetValue(std::numeric_limits<unsigned short>::max())); in TEST()
253 EXPECT_EQ("12345", ScalarGetValue<signed int>(12345)); in TEST()
254 EXPECT_EQ("-12345", ScalarGetValue<signed int>(-12345)); in TEST()
255 EXPECT_EQ("12345", ScalarGetValue<unsigned int>(12345)); in TEST()
257 ScalarGetValue(std::numeric_limits<unsigned int>::max())); in TEST()
259 EXPECT_EQ("12345678", ScalarGetValue<signed long>(12345678L)); in TEST()
[all …]