reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lldb/unittests/Utility/StringExtractorTest.cpp
  619   EXPECT_EQ(0x0ull, ex.GetHexMaxU64(true, 0));
  621   ex.Reset("0");
  622   EXPECT_EQ(0x0ull, ex.GetHexMaxU64(true, 1));
  624   ex.Reset("1");
  625   EXPECT_EQ(0x1ull, ex.GetHexMaxU64(true, 0));
  627   ex.Reset("01");
  628   EXPECT_EQ(0x1ull, ex.GetHexMaxU64(true, 0));
  630   ex.Reset("001");
  631   EXPECT_EQ(0x100ull, ex.GetHexMaxU64(true, 0));
  633   ex.Reset("12");
  634   EXPECT_EQ(0x12ull, ex.GetHexMaxU64(true, 0));
  636   ex.Reset("123");
  637   EXPECT_EQ(0x312ull, ex.GetHexMaxU64(true, 0));
  639   ex.Reset("1203");
  640   EXPECT_EQ(0x312ull, ex.GetHexMaxU64(true, 0));
  642   ex.Reset("1234");
  643   EXPECT_EQ(0x3412ull, ex.GetHexMaxU64(true, 0));
  645   ex.Reset("12340");
  646   EXPECT_EQ(0x3412ull, ex.GetHexMaxU64(true, 0));
  648   ex.Reset("123400");
  649   EXPECT_EQ(0x3412ull, ex.GetHexMaxU64(true, 0));
  651   ex.Reset("123456789ABCDEF0");
  652   EXPECT_EQ(0xF0DEBC9A78563412ULL, ex.GetHexMaxU64(true, 0));
  654   ex.Reset("123456789ABCDEF01");
  655   EXPECT_EQ(0ull, ex.GetHexMaxU64(true, 0));