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

References

unittests/Support/DataExtractorTest.cpp
   30   EXPECT_EQ(0x80U, DE.getU8(&offset));
   31   EXPECT_EQ(1U, offset);
   32   offset = 0;
   33   EXPECT_EQ(0x8090U, DE.getU16(&offset));
   34   EXPECT_EQ(2U, offset);
   35   offset = 0;
   36   EXPECT_EQ(0x8090FFFFU, DE.getU32(&offset));
   37   EXPECT_EQ(4U, offset);
   38   offset = 0;
   39   EXPECT_EQ(0x8090FFFF80000000ULL, DE.getU64(&offset));
   40   EXPECT_EQ(8U, offset);
   41   offset = 0;
   42   EXPECT_EQ(0x8090FFFF80000000ULL, DE.getAddress(&offset));
   43   EXPECT_EQ(8U, offset);
   44   offset = 0;
   47   EXPECT_EQ(data, DE.getU32(&offset, data, 2));
   50   EXPECT_EQ(8U, offset);
   51   offset = 0;
   55   EXPECT_EQ(0x9080U, DE.getU16(&offset));
   56   EXPECT_EQ(2U, offset);
   57   offset = 0;
   58   EXPECT_EQ(0xFFFF9080U, DE.getU32(&offset));
   59   EXPECT_EQ(4U, offset);
   60   offset = 0;
   61   EXPECT_EQ(0x80FFFF9080ULL, DE.getU64(&offset));
   62   EXPECT_EQ(8U, offset);
   63   offset = 0;
   64   EXPECT_EQ(0xFFFF9080U, DE.getAddress(&offset));
   65   EXPECT_EQ(4U, offset);
   66   offset = 0;
   68   EXPECT_EQ(data, DE.getU32(&offset, data, 2));
   71   EXPECT_EQ(8U, offset);