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

References

tools/lldb/unittests/Utility/DataExtractorTest.cpp
  182   offset = 0;
  183   EXPECT_EQ(0x01U, LE.GetMaxU64_unchecked(&offset, 1));
  184   EXPECT_EQ(1U, offset);
  185   offset = 0;
  186   EXPECT_EQ(0x01U, BE.GetMaxU64_unchecked(&offset, 1));
  187   EXPECT_EQ(1U, offset);
  190   offset = 1;
  191   EXPECT_EQ(0x0302U, LE.GetMaxU64_unchecked(&offset, 2));
  192   EXPECT_EQ(3U, offset);
  193   offset = 1;
  194   EXPECT_EQ(0x0203U, BE.GetMaxU64_unchecked(&offset, 2));
  195   EXPECT_EQ(3U, offset);
  198   offset = 0;
  199   EXPECT_EQ(0x07060504030201U, LE.GetMaxU64_unchecked(&offset, 7));
  200   EXPECT_EQ(7U, offset);
  201   offset = 0;
  202   EXPECT_EQ(0x01020304050607U, BE.GetMaxU64_unchecked(&offset, 7));
  203   EXPECT_EQ(7U, offset);
  206   offset = 0;
  207   EXPECT_EQ(0x0807060504030201U, LE.GetMaxU64_unchecked(&offset, 8));
  208   EXPECT_EQ(8U, offset);
  209   offset = 0;
  210   EXPECT_EQ(0x0102030405060708U, BE.GetMaxU64_unchecked(&offset, 8));
  211   EXPECT_EQ(8U, offset);