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

References

tools/lldb/unittests/Utility/StringExtractorTest.cpp
  537   EXPECT_EQ(0x0ull, ex.GetHexMaxU32(true, 0));
  539   ex.Reset("0");
  540   EXPECT_EQ(0x0ull, ex.GetHexMaxU32(true, 1));
  542   ex.Reset("1");
  543   EXPECT_EQ(0x1ull, ex.GetHexMaxU32(true, 0));
  545   ex.Reset("01");
  546   EXPECT_EQ(0x1ull, ex.GetHexMaxU32(true, 0));
  548   ex.Reset("001");
  549   EXPECT_EQ(0x100ull, ex.GetHexMaxU32(true, 0));
  551   ex.Reset("12");
  552   EXPECT_EQ(0x12ull, ex.GetHexMaxU32(true, 0));
  554   ex.Reset("123");
  555   EXPECT_EQ(0x312ull, ex.GetHexMaxU32(true, 0));
  557   ex.Reset("1203");
  558   EXPECT_EQ(0x312ull, ex.GetHexMaxU32(true, 0));
  560   ex.Reset("1234");
  561   EXPECT_EQ(0x3412ull, ex.GetHexMaxU32(true, 0));
  563   ex.Reset("12340");
  564   EXPECT_EQ(0x3412ull, ex.GetHexMaxU32(true, 0));
  566   ex.Reset("123400");
  567   EXPECT_EQ(0x3412ull, ex.GetHexMaxU32(true, 0));
  569   ex.Reset("12345670");
  570   EXPECT_EQ(0x70563412ull, ex.GetHexMaxU32(true, 0));
  572   ex.Reset("123456701");
  573   EXPECT_EQ(0ull, ex.GetHexMaxU32(true, 0));