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

References

unittests/Support/NativeFormatTests.cpp
   71   EXPECT_EQ("0x0", format_number(0, HexPrintStyle::PrefixLower));
   72   EXPECT_EQ("0xbeef", format_number(0xbeefLL, HexPrintStyle::PrefixLower));
   74             format_number(0xdeadbeefLL, HexPrintStyle::PrefixLower));
   77   EXPECT_EQ("0x0", format_number(0, HexPrintStyle::PrefixUpper));
   78   EXPECT_EQ("0xBEEF", format_number(0xbeefLL, HexPrintStyle::PrefixUpper));
   80             format_number(0xdeadbeefLL, HexPrintStyle::PrefixUpper));
   83   EXPECT_EQ("0", format_number(0, HexPrintStyle::Lower));
   84   EXPECT_EQ("beef", format_number(0xbeefLL, HexPrintStyle::Lower));
   85   EXPECT_EQ("deadbeef", format_number(0xdeadbeefLL, HexPrintStyle::Lower));
   88   EXPECT_EQ("0", format_number(0, HexPrintStyle::Upper));
   89   EXPECT_EQ("BEEF", format_number(0xbeef, HexPrintStyle::Upper));
   90   EXPECT_EQ("DEADBEEF", format_number(0xdeadbeef, HexPrintStyle::Upper));
  134   EXPECT_EQ("0x0", format_number(0, HexPrintStyle::PrefixLower, 0));
  135   EXPECT_EQ("0xabcde", format_number(0xABCDE, HexPrintStyle::PrefixLower, 3));
  141   EXPECT_EQ("0x000", format_number(0, HexPrintStyle::PrefixLower, 5));
  142   EXPECT_EQ("0x0abcde", format_number(0xABCDE, HexPrintStyle::PrefixLower, 8));
  144   EXPECT_EQ("00000", format_number(0, HexPrintStyle::Lower, 5));
  145   EXPECT_EQ("000abcde", format_number(0xABCDE, HexPrintStyle::Lower, 8));
  149             format_number(0xABCDE, HexPrintStyle::PrefixLower, 21));