Lines Matching full:offset
28 uint32_t offset = 0; in TEST() local
30 EXPECT_EQ(0x80U, DE.getU8(&offset)); in TEST()
31 EXPECT_EQ(1U, offset); in TEST()
32 offset = 0; in TEST()
33 EXPECT_EQ(0x8090U, DE.getU16(&offset)); in TEST()
34 EXPECT_EQ(2U, offset); in TEST()
35 offset = 0; in TEST()
36 EXPECT_EQ(0x8090FFFFU, DE.getU32(&offset)); in TEST()
37 EXPECT_EQ(4U, offset); in TEST()
38 offset = 0; in TEST()
39 EXPECT_EQ(0x8090FFFF80000000ULL, DE.getU64(&offset)); in TEST()
40 EXPECT_EQ(8U, offset); in TEST()
41 offset = 0; in TEST()
42 EXPECT_EQ(0x8090FFFF80000000ULL, DE.getAddress(&offset)); in TEST()
43 EXPECT_EQ(8U, offset); in TEST()
44 offset = 0; in TEST()
47 EXPECT_EQ(data, DE.getU32(&offset, data, 2)); in TEST()
50 EXPECT_EQ(8U, offset); in TEST()
51 offset = 0; in TEST()
55 EXPECT_EQ(0x9080U, DE.getU16(&offset)); in TEST()
56 EXPECT_EQ(2U, offset); in TEST()
57 offset = 0; in TEST()
58 EXPECT_EQ(0xFFFF9080U, DE.getU32(&offset)); in TEST()
59 EXPECT_EQ(4U, offset); in TEST()
60 offset = 0; in TEST()
61 EXPECT_EQ(0x80FFFF9080ULL, DE.getU64(&offset)); in TEST()
62 EXPECT_EQ(8U, offset); in TEST()
63 offset = 0; in TEST()
64 EXPECT_EQ(0xFFFF9080U, DE.getAddress(&offset)); in TEST()
65 EXPECT_EQ(4U, offset); in TEST()
66 offset = 0; in TEST()
68 EXPECT_EQ(data, DE.getU32(&offset, data, 2)); in TEST()
71 EXPECT_EQ(8U, offset); in TEST()
76 uint32_t offset = 0; in TEST() local
78 EXPECT_EQ(-128, DE.getSigned(&offset, 1)); in TEST()
79 EXPECT_EQ(1U, offset); in TEST()
80 offset = 0; in TEST()
81 EXPECT_EQ(-32624, DE.getSigned(&offset, 2)); in TEST()
82 EXPECT_EQ(2U, offset); in TEST()
83 offset = 0; in TEST()
84 EXPECT_EQ(-2137980929, DE.getSigned(&offset, 4)); in TEST()
85 EXPECT_EQ(4U, offset); in TEST()
86 offset = 0; in TEST()
87 EXPECT_EQ(-9182558167379214336LL, DE.getSigned(&offset, 8)); in TEST()
88 EXPECT_EQ(8U, offset); in TEST()
93 uint32_t offset = 0; in TEST() local
95 EXPECT_EQ(stringData, DE.getCStr(&offset)); in TEST()
96 EXPECT_EQ(11U, offset); in TEST()
97 EXPECT_EQ(nullptr, DE.getCStr(&offset)); in TEST()
98 EXPECT_EQ(11U, offset); in TEST()
103 uint32_t offset = 0; in TEST() local
105 EXPECT_EQ(9382ULL, DE.getULEB128(&offset)); in TEST()
106 EXPECT_EQ(2U, offset); in TEST()
107 offset = 0; in TEST()
108 EXPECT_EQ(-7002LL, DE.getSLEB128(&offset)); in TEST()
109 EXPECT_EQ(2U, offset); in TEST()
112 offset = 0; in TEST()
113 EXPECT_EQ(42218325750568106ULL, BDE.getULEB128(&offset)); in TEST()
114 EXPECT_EQ(8U, offset); in TEST()
115 offset = 0; in TEST()
116 EXPECT_EQ(-29839268287359830LL, BDE.getSLEB128(&offset)); in TEST()
117 EXPECT_EQ(8U, offset); in TEST()