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

References

tools/lldb/unittests/Utility/DataExtractorTest.cpp
  147   offset = 0;
  148   EXPECT_EQ(0x01, LE.GetMaxS64(&offset, 1));
  149   EXPECT_EQ(1U, offset);
  150   offset = 0;
  151   EXPECT_EQ(0x01, BE.GetMaxS64(&offset, 1));
  152   EXPECT_EQ(1U, offset);
  155   offset = 0;
  156   int64_t value = LE.GetMaxS64(&offset, 3);
  158   EXPECT_EQ(3U, offset);
  159   offset = 2;
  160   value = BE.GetMaxS64(&offset, 3);
  162   EXPECT_EQ(5U, offset);
  165   offset = 0;
  166   EXPECT_EQ(0x0807060504830201, LE.GetMaxS64(&offset, 8));
  167   EXPECT_EQ(8U, offset);
  168   offset = 0;
  169   EXPECT_EQ(0x0102830405060708, BE.GetMaxS64(&offset, 8));
  170   EXPECT_EQ(8U, offset);