Home
last modified time | relevance | path

Searched refs:packed (Results 1 – 25 of 74) sorted by relevance

123

/bionic/tools/relocation_packer/src/
Ddelta_encoder_unittest.cc42 std::vector<typename ELF::Addr> packed; in encode() local
46 codec.Encode(relocations, &packed); in encode()
48 ASSERT_EQ(0U, packed.size()); in encode()
53 codec.Encode(relocations, &packed); in encode()
56 EXPECT_EQ(7U, packed.size()); in encode()
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()
[all …]
Dpacker_unittest.cc41 std::vector<uint8_t> packed; in DoPackNoAddend() local
55 packed.clear(); in DoPackNoAddend()
56 packer.PackRelocations(relocations, &packed); in DoPackNoAddend()
58 ASSERT_EQ(18U, packed.size()); in DoPackNoAddend()
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()
[all …]
Dpacker.cc19 std::vector<uint8_t>* packed) { in PackRelocations() argument
36 packed->push_back('A'); in PackRelocations()
37 packed->push_back('P'); in PackRelocations()
38 packed->push_back('S'); in PackRelocations()
39 packed->push_back('2'); in PackRelocations()
40 packed->insert(packed->end(), sleb128_packed.begin(), sleb128_packed.end()); in PackRelocations()
47 const std::vector<uint8_t>& packed, in UnpackRelocations() argument
51 CHECK(packed.size() > 4 && in UnpackRelocations()
52 packed[0] == 'A' && in UnpackRelocations()
53 packed[1] == 'P' && in UnpackRelocations()
[all …]
Ddelta_encoder.cc37 std::vector<ElfAddr>* packed) { in Encode() argument
43 packed->push_back(static_cast<ElfAddr>(relocations.size())); in Encode()
50 packed->push_back(start_offset); in Encode()
68 packed->push_back(group_size); in Encode()
69 packed->push_back(group_flags); in Encode()
72 packed->push_back(group_offset_delta); in Encode()
76 packed->push_back(group_info); in Encode()
81 packed->push_back(group_addend - previous_addend); in Encode()
90 packed->push_back(relocation->r_offset - previous_offset); in Encode()
95 packed->push_back(relocation->r_info); in Encode()
[all …]
/bionic/libc/kernel/uapi/linux/
Dedd.h70 } __attribute__((packed)) isa;
77 } __attribute__((packed)) pci;
80 } __attribute__((packed)) ibnd;
83 } __attribute__((packed)) xprs;
86 } __attribute__((packed)) htpt;
89 } __attribute__((packed)) unknown;
98 } __attribute__((packed)) ata;
106 } __attribute__((packed)) atapi;
112 } __attribute__((packed)) scsi;
116 } __attribute__((packed)) usb;
[all …]
Dtoshiba.h27 unsigned int ebx __attribute__((packed));
28 unsigned int ecx __attribute__((packed));
29 unsigned int edx __attribute__((packed));
30 unsigned int esi __attribute__((packed));
31 unsigned int edi __attribute__((packed));
Dpfkeyv2.h33 } __attribute__((packed));
37 } __attribute__((packed));
47 } __attribute__((packed));
55 } __attribute__((packed));
62 } __attribute__((packed));
68 } __attribute__((packed));
75 } __attribute__((packed));
85 } __attribute__((packed));
91 } __attribute__((packed));
109 } __attribute__((packed));
[all …]
Dhyperv.h43 } __attribute__((packed));
47 } __attribute__((packed));
50 } __attribute__((packed));
60 } __attribute__((packed));
75 } __attribute__((packed));
84 } __attribute__((packed));
92 } __attribute__((packed));
141 } __attribute__((packed));
146 } __attribute__((packed));
157 } __attribute__((packed));
[all …]
Dvirtio_scsi.h37 } __attribute__((packed));
47 } __attribute__((packed));
55 } __attribute__((packed));
61 } __attribute__((packed));
64 } __attribute__((packed));
69 } __attribute__((packed));
73 } __attribute__((packed));
78 } __attribute__((packed));
90 } __attribute__((packed));
Dif_fddi.h54 } __attribute__((packed));
60 } __attribute__((packed));
67 } __attribute__((packed));
77 } __attribute__((packed));
Dvirtio_vsock.h26 } __attribute__((packed));
32 } __attribute__((packed));
44 } __attribute__((packed));
Dif_hippi.h52 } __attribute__((packed));
74 } __attribute__((packed));
82 } __attribute__((packed));
87 } __attribute__((packed));
/bionic/tools/versioner/src/
DCompilationType.h57 } packed;
58 packed.arch = static_cast<int32_t>(type.arch);
59 packed.cpp = type.cpp;
60 packed.api_level = type.api_level;
61 packed.file_offset_bits = (type.file_offset_bits == 64);
62 packed.padding = 0;
64 memcpy(&value, &packed, sizeof(value));
/bionic/libc/kernel/uapi/linux/wimax/
Di2400m.h35 } __attribute__((packed));
60 } __attribute__((packed));
72 } __attribute__((packed));
77 } __attribute__((packed));
114 } __attribute__((packed));
132 } __attribute__((packed));
208 } __attribute__((packed));
217 } __attribute__((packed));
241 } __attribute__((packed));
248 } __attribute__((packed));
[all …]
/bionic/libc/kernel/uapi/linux/usb/
Dcdc.h62 } __attribute__((packed));
71 } __attribute__((packed));
77 } __attribute__((packed));
88 } __attribute__((packed));
95 } __attribute__((packed));
104 } __attribute__((packed));
114 } __attribute__((packed));
121 } __attribute__((packed));
128 } __attribute__((packed));
135 } __attribute__((packed));
[all …]
Dfunctionfs.h46 } __attribute__((packed));
51 } __attribute__((packed));
57 } __attribute__((packed, deprecated));
70 } __attribute__((packed));
82 } __attribute__((packed));
88 } __attribute__((packed));
101 } __attribute__((packed)) u;
104 } __attribute__((packed));
Dmidi.h35 } __attribute__((packed));
44 } __attribute__((packed));
49 } __attribute__((packed));
58 } __attribute__((packed));
61 } __attribute__((packed))
68 } __attribute__((packed));
71 } __attribute__((packed))
Dch9.h115 } __attribute__((packed));
147 } __attribute__((packed));
163 } __attribute__((packed));
192 } __attribute__((packed));
202 } __attribute__((packed));
213 } __attribute__((packed));
224 } __attribute__((packed));
256 } __attribute__((packed));
264 } __attribute__((packed));
278 } __attribute__((packed));
[all …]
Daudio.h112 } __attribute__((packed));
115 } __attribute__((packed))
127 } __attribute__((packed));
146 } __attribute__((packed));
158 } __attribute__((packed))
166 } __attribute__((packed));
174 } __attribute__((packed));
183 } __attribute__((packed));
192 } __attribute__((packed));
200 } __attribute__((packed));
[all …]
Dch11.h70 } __attribute__((packed));
126 } __attribute__((packed));
151 } __attribute__((packed)) hs;
156 } __attribute__((packed)) ss;
158 } __attribute__((packed));
172 } __attribute__((packed));
/bionic/libc/kernel/uapi/sound/
Dasoc.h121 } __attribute__((packed));
125 } __attribute__((packed));
129 } __attribute__((packed));
133 } __attribute__((packed));
143 } __attribute__((packed));
150 } __attribute__((packed));
155 } __attribute__((packed));
163 } __attribute__((packed));
169 } __attribute__((packed));
174 } __attribute__((packed));
[all …]
Dcompress_offload.h28 } __attribute__((packed, aligned(4)));
33 } __attribute__((packed, aligned(4)));
40 } __attribute__((packed, aligned(4)));
44 } __attribute__((packed, aligned(4)));
58 } __attribute__((packed, aligned(4)));
63 } __attribute__((packed, aligned(4)));
71 } __attribute__((packed, aligned(4)));
/bionic/libc/kernel/uapi/mtd/
Dnftl-user.h26 } __attribute__((packed));
32 } __attribute__((packed));
37 } __attribute__((packed));
42 } __attribute__((packed));
58 } __attribute__((packed));
Dinftl-user.h29 } __attribute__((packed));
37 } __attribute__((packed));
45 } __attribute__((packed));
50 } __attribute__((packed));
68 } __attribute__((packed));
79 } __attribute__((packed));
/bionic/libc/kernel/uapi/linux/nfsd/
Dcld.h33 } __attribute__((packed));
42 } __attribute__((packed)) cm_u;
43 } __attribute__((packed));

123