Home
last modified time | relevance | path

Searched refs:ndx (Results 1 – 3 of 3) sorted by relevance

/bionic/tools/relocation_packer/src/
Ddelta_encoder_unittest.cc58 size_t ndx = 0; in encode() local
59 EXPECT_EQ(1U, packed[ndx++]); in encode()
60 EXPECT_EQ(0xf00d0000, packed[ndx++]); in encode()
61 EXPECT_EQ(1U, packed[ndx++]); // group_size in encode()
62 EXPECT_EQ(8U, packed[ndx++]); // flags in encode()
64 EXPECT_EQ(0U, packed[ndx++]); // offset_delta in encode()
65 EXPECT_EQ(11U, packed[ndx++]); // info in encode()
66 EXPECT_EQ(10000U, packed[ndx++]); // addend_delta in encode()
75 ndx = 0; in encode()
78 EXPECT_EQ(2U, packed[ndx++]); // relocs count in encode()
[all …]
Dpacker_unittest.cc60 size_t ndx = 0; in DoPackNoAddend() local
61 EXPECT_EQ('A', packed[ndx++]); in DoPackNoAddend()
62 EXPECT_EQ('P', packed[ndx++]); in DoPackNoAddend()
63 EXPECT_EQ('S', packed[ndx++]); in DoPackNoAddend()
64 EXPECT_EQ('2', packed[ndx++]); in DoPackNoAddend()
66 EXPECT_EQ(6, packed[ndx++]); in DoPackNoAddend()
68 EXPECT_EQ(0xfc, packed[ndx++]); in DoPackNoAddend()
69 EXPECT_EQ(0xff, packed[ndx++]); in DoPackNoAddend()
70 EXPECT_EQ(0xb7, packed[ndx++]); in DoPackNoAddend()
71 EXPECT_EQ(0x8e, packed[ndx++]); in DoPackNoAddend()
[all …]
Ddelta_encoder.cc123 size_t ndx = 0; in Decode() local
125 ElfAddr total_count = packed[ndx++]; in Decode()
127 ElfAddr offset = packed[ndx++]; in Decode()
133 ElfAddr group_size = packed[ndx++]; in Decode()
134 ElfAddr group_flags = packed[ndx++]; in Decode()
138 group_offset_delta = packed[ndx++]; in Decode()
142 info = packed[ndx++]; in Decode()
147 addend += packed[ndx++]; in Decode()
155 offset += packed[ndx++]; in Decode()
159 info = packed[ndx++]; in Decode()
[all …]