Searched refs:packed (Results 1 - 25 of 396) sorted by relevance

1234567891011>>

/external/clang/test/CodeGen/
H A D2011-03-08-ZeroFieldUnionInitializer.c4 struct { } __attribute((packed));
H A D2007-03-26-BitfieldAfterZeroWidth.c6 } __attribute__ ((packed)) y;
H A D2008-03-26-PackedBitFields.c6 long int __attribute__((packed)) e:28;
H A D2008-07-22-packed-bitfield-access.c6 unsigned b:32 __attribute__ ((packed));
H A Dpr2394.c2 struct __attribute((packed)) x {int a : 24;};
H A D2007-04-05-PackedBitFields-2.c3 # define pck __attribute__((packed))
/external/chromium_org/tools/relocation_packer/src/
H A Dpacker_unittest.cc52 std::vector<uint8_t> packed; local
66 packed.clear();
67 packer.PackRelativeRelocations(relocations, &packed);
69 EXPECT_EQ(16, packed.size());
71 EXPECT_EQ('A', packed[0]);
72 EXPECT_EQ('P', packed[1]);
73 EXPECT_EQ('R', packed[2]);
74 EXPECT_EQ('1', packed[3]);
76 EXPECT_EQ(2, packed[4]);
78 EXPECT_EQ(128, packed[
95 std::vector<uint8_t> packed; local
140 std::vector<uint8_t> packed; local
195 std::vector<uint8_t> packed; local
[all...]
H A Ddelta_encoder_unittest.cc39 std::vector<ELF::Sxword> packed; local
43 packed.clear();
44 codec.Encode(relocations, &packed);
46 EXPECT_EQ(0, packed.size());
51 packed.clear();
52 codec.Encode(relocations, &packed);
54 EXPECT_EQ(3, packed.size());
56 EXPECT_EQ(1, packed[0]);
58 EXPECT_EQ(0xf00d0000, packed[1]);
59 EXPECT_EQ(10000, packed[
109 std::vector<ELF::Sxword> packed; local
[all...]
H A Drun_length_encoder_unittest.cc33 std::vector<ELF::Xword> packed; local
37 packed.clear();
38 codec.Encode(relocations, &packed);
40 EXPECT_EQ(0, packed.size());
45 packed.clear();
46 codec.Encode(relocations, &packed);
48 EXPECT_EQ(0, packed.size());
53 packed.clear();
54 codec.Encode(relocations, &packed);
56 EXPECT_EQ(4, packed
90 std::vector<ELF::Xword> packed; local
[all...]
H A Dpacker.cc18 // Pack relative relocations into a run-length encoded packed
22 std::vector<uint8_t>* packed) {
40 encoder.GetEncoding(packed);
42 // Pad packed to a whole number of words. This padding will decode as
45 while (packed->size() % sizeof(ELF::Word))
46 packed->push_back(0);
49 // Unpack relative relocations from a run-length encoded packed
52 const std::vector<uint8_t>& packed,
56 Leb128Decoder decoder(packed);
68 // Pack relative relocations with addends into a delta encoded packed
20 PackRelativeRelocations( const std::vector<ELF::Rel>& relocations, std::vector<uint8_t>* packed) argument
51 UnpackRelativeRelocations( const std::vector<uint8_t>& packed, std::vector<ELF::Rel>* relocations) argument
70 PackRelativeRelocations( const std::vector<ELF::Rela>& relocations, std::vector<uint8_t>* packed) argument
104 UnpackRelativeRelocations( const std::vector<uint8_t>& packed, std::vector<ELF::Rela>* relocations) argument
[all...]
H A Ddelta_encoder.cc14 // Encode relative relocations with addends into a delta encoded (packed)
18 std::vector<ELF::Sxword>* packed) {
24 packed->push_back(relocations.size());
33 packed->push_back(relocation->r_offset - offset);
35 packed->push_back(relocation->r_addend - addend);
40 // Decode relative relocations with addends from a delta encoded (packed)
42 void RelocationDeltaCodec::Decode(const std::vector<ELF::Sxword>& packed, argument
44 // We need at least one packed pair after the packed pair count to be
46 if (packed
17 Encode(const std::vector<ELF::Rela>& relocations, std::vector<ELF::Sxword>* packed) argument
[all...]
H A Dpacker.h17 // Once packed, data is prefixed by an identifier that allows for any later
20 // A complete packed stream of relocations without addends might look
36 // Once packed, data is prefixed by an identifier that allows for any later
39 // A complete packed stream might look something like:
56 // compact forms, and unpacks them to reproduce the pre-packed data.
61 // |packed| is the vector of packed bytes into which relocations are packed.
63 std::vector<uint8_t>* packed);
65 std::vector<uint8_t>* packed);
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dtoshiba.h6 * on making sure the structure is aligned and packed.
29 unsigned int ebx __attribute__ ((packed));
30 unsigned int ecx __attribute__ ((packed));
31 unsigned int edx __attribute__ ((packed));
32 unsigned int esi __attribute__ ((packed));
33 unsigned int edi __attribute__ ((packed));
/external/chromium_org/third_party/skia/src/core/
H A DSkFloatBits.cpp27 static inline int unpack_exp(uint32_t packed) { argument
28 return (packed << 1 >> 24);
33 static inline int unpack_matissa(uint32_t packed) {
35 return (packed & ~0xFF000000) | MATISSA_MAGIC_BIG;
40 static inline int unpack_matissa_dirty(uint32_t packed) { argument
41 return packed & ~0xFF000000;
45 int32_t SkFloatBits_toIntCast(int32_t packed) { argument
46 int exp = unpack_exp(packed) - EXP_BIAS;
47 int value = unpack_matissa_dirty(packed) | MATISSA_MAGIC_BIG;
62 return SkApplySign(value, SkExtractSign(packed));
66 SkFloatBits_toIntFloor(int32_t packed) argument
105 SkFloatBits_toIntRound(int32_t packed) argument
135 SkFloatBits_toIntCeil(int32_t packed) argument
[all...]
/external/chromium_org/v8/tools/testrunner/objects/
H A Dcontext.py57 def Unpack(packed):
59 return Context(packed[0], packed[1], None, packed[2], False,
60 packed[3], packed[4], packed[5], packed[6], packed[7],
61 packed[
[all...]
/external/wpa_supplicant_8/hostapd/src/common/
H A Dqca-vendor-attr.h21 } __attribute__ ((packed));
26 } __attribute__ ((packed));
/external/wpa_supplicant_8/src/common/
H A Dqca-vendor-attr.h21 } __attribute__ ((packed));
26 } __attribute__ ((packed));
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Dqca-vendor-attr.h21 } __attribute__ ((packed));
26 } __attribute__ ((packed));
/external/clang/test/CodeGenCXX/
H A Denum.cpp4 enum A { a } __attribute((packed));
/external/kernel-headers/original/uapi/asm-arm/asm/
H A Dstatfs.h9 #define ARCH_PACK_STATFS64 __attribute__((packed,aligned(4)))
/external/kernel-headers/original/uapi/asm-arm64/asm/
H A Dstatfs.h19 #define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed,aligned(4)))
/external/kernel-headers/original/uapi/asm-x86/asm/
H A Dstatfs.h5 * We need compat_statfs64 to be packed, because the i386 ABI won't
9 #define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed,aligned(4)))
/external/skia/src/core/
H A DSkFloatBits.cpp27 static inline int unpack_exp(uint32_t packed) { argument
28 return (packed << 1 >> 24);
33 static inline int unpack_matissa(uint32_t packed) {
35 return (packed & ~0xFF000000) | MATISSA_MAGIC_BIG;
40 static inline int unpack_matissa_dirty(uint32_t packed) { argument
41 return packed & ~0xFF000000;
45 int32_t SkFloatBits_toIntCast(int32_t packed) { argument
46 int exp = unpack_exp(packed) - EXP_BIAS;
47 int value = unpack_matissa_dirty(packed) | MATISSA_MAGIC_BIG;
62 return SkApplySign(value, SkExtractSign(packed));
66 SkFloatBits_toIntFloor(int32_t packed) argument
96 SkFloatBits_toIntRound(int32_t packed) argument
126 SkFloatBits_toIntCeil(int32_t packed) argument
[all...]
H A DSkImageInfo.cpp24 uint32_t packed = buffer.read32(); local
25 SkASSERT(0 == (packed >> 16));
26 fAlphaType = (SkAlphaType)((packed >> 8) & 0xFF);
27 fColorType = (SkColorType)((packed >> 0) & 0xFF);
38 uint32_t packed = (fAlphaType << 8) | fColorType; local
39 buffer.write32(packed);
/external/kernel-headers/original/uapi/linux/nfsd/
H A Dcld.h42 } __attribute__((packed));
53 } __attribute__((packed)) cm_u;
54 } __attribute__((packed));

Completed in 406 milliseconds

1234567891011>>