/external/chromium_org/tools/relocation_packer/src/ |
H A D | packer.cc | 19 // Pack R_ARM_RELATIVE relocations into a run-length encoded packed 23 std::vector<uint8_t>* packed) { 42 encoder.GetEncoding(packed); 44 // Pad packed to a whole number of words. This padding will decode as 47 while (packed->size() % sizeof(uint32_t)) 48 packed->push_back(0); 51 // Unpack R_ARM_RELATIVE relocations from a run-length encoded packed 54 const std::vector<uint8_t>& packed, 59 Leb128Decoder decoder(packed); 21 PackRelativeRelocations( const std::vector<Elf32_Rel>& relocations, std::vector<uint8_t>* packed) argument 53 UnpackRelativeRelocations( const std::vector<uint8_t>& packed, std::vector<Elf32_Rel>* relocations) argument
|
H A D | packer_unittest.cc | 28 std::vector<uint8_t> packed; local 42 packed.clear(); 43 packer.PackRelativeRelocations(relocations, &packed); 45 EXPECT_EQ(16u, packed.size()); 47 EXPECT_EQ('A', packed[0]); 48 EXPECT_EQ('P', packed[1]); 49 EXPECT_EQ('R', packed[2]); 50 EXPECT_EQ('1', packed[3]); 52 EXPECT_EQ(2u, packed[4]); 54 EXPECT_EQ(128u, packed[ 71 std::vector<uint8_t> packed; local [all...] |
H A D | run_length_encoder_unittest.cc | 28 std::vector<Elf32_Word> packed; local 32 packed.clear(); 33 codec.Encode(relocations, &packed); 35 EXPECT_EQ(0u, packed.size()); 40 packed.clear(); 41 codec.Encode(relocations, &packed); 43 EXPECT_EQ(0u, packed.size()); 48 packed.clear(); 49 codec.Encode(relocations, &packed); 51 EXPECT_EQ(4u, packed 85 std::vector<Elf32_Word> packed; local [all...] |
H A D | run_length_encoder.cc | 39 std::vector<Elf32_Word>* packed) { 51 packed->push_back(count); 52 packed->push_back(current); 59 packed->push_back(count); 60 packed->push_back(current); 65 // condensed slot in packed, and the count of pairs are provided. 67 const std::vector<Elf32_Word>& packed, 78 size_t count = packed[i]; 79 const Elf32_Addr delta = packed[i + 1]; 94 // Encode R_ARM_RELATIVE relocations into a run-length encoded (packed) 38 Condense(const std::vector<Elf32_Addr>& deltas, std::vector<Elf32_Word>* packed) argument 66 Uncondense(Elf32_Addr addr, const std::vector<Elf32_Word>& packed, size_t start_index, size_t end_index, std::vector<Elf32_Rel>* relocations) argument 96 Encode(const std::vector<Elf32_Rel>& relocations, std::vector<Elf32_Word>* packed) argument 120 Decode(const std::vector<Elf32_Word>& packed, std::vector<Elf32_Rel>* relocations) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_format_tests.h | 43 * A (packed, unpacked) color pair. 55 uint8_t packed[UTIL_FORMAT_MAX_PACKED_BYTES]; member in struct:util_format_test_case
|
H A D | u_pack_color.h | 30 * Functions to produce packed colors/Z from floats. 161 * Unpack RGBA from a packed pixel, returning values as ubytes in [0,255]. 477 uint32_t packed = util_pack_mask_z(format, z); local 481 packed |= (uint32_t)s << 24; 484 packed |= s; 487 packed |= s; 493 return packed; 500 uint64_t packed; local 504 packed = util_pack64_mask_z(format, z); 505 packed | 583 uint32_t packed = util_pack_z(format, z); local 606 uint64_t packed; local [all...] |
H A D | u_tile.c | 462 void *packed; local 468 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); 469 if (!packed) { 477 pipe_get_tile_raw(pipe, pt, x, y, w, h, packed, 0); 479 pipe_tile_raw_to_rgba(format, packed, w, h, p, dst_stride); 481 FREE(packed); 503 void *packed; local 508 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); 510 if (!packed) 515 /*z16_put_tile_rgba((ushort *) packed, 554 void *packed; local 582 void *packed; local 877 void *packed; local 908 void *packed; local [all...] |
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkImageInfo.cpp | 24 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);
|
H A D | SkFloatBits.cpp | 27 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...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_format_tests.h | 43 * A (packed, unpacked) color pair. 55 uint8_t packed[UTIL_FORMAT_MAX_PACKED_BYTES]; member in struct:util_format_test_case
|
H A D | u_pack_color.h | 30 * Functions to produce packed colors/Z from floats. 161 * Unpack RGBA from a packed pixel, returning values as ubytes in [0,255]. 477 uint32_t packed = util_pack_mask_z(format, z); local 481 packed |= (uint32_t)s << 24; 484 packed |= s; 487 packed |= s; 493 return packed; 500 uint64_t packed; local 504 packed = util_pack64_mask_z(format, z); 505 packed | 583 uint32_t packed = util_pack_z(format, z); local 606 uint64_t packed; local [all...] |
/external/skia/src/core/ |
H A D | SkImageInfo.cpp | 24 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);
|
H A D | SkFloatBits.cpp | 27 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...] |
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrTextStrike_impl.h | 96 GrGlyph* GrTextStrike::getGlyph(GrGlyph::PackedID packed, argument 98 GrGlyph* glyph = fCache.find(packed); 100 glyph = this->generateGlyph(packed, scaler);
|
/external/clang/test/SemaCXX/ |
H A D | cxx11-gnu-attrs.cpp | 53 struct [[gnu::packed]] packed { char c; int n; }; struct 54 static_assert(sizeof(packed) == sizeof(char) + sizeof(int), "not packed");
|
/external/skia/src/gpu/ |
H A D | GrTextStrike_impl.h | 96 GrGlyph* GrTextStrike::getGlyph(GrGlyph::PackedID packed, argument 98 GrGlyph* glyph = fCache.find(packed); 100 glyph = this->generateGlyph(packed, scaler);
|
/external/chromium_org/third_party/skia/include/gpu/ |
H A D | GrGlyph.h | 31 void init(GrGlyph::PackedID packed, const SkIRect& bounds) { argument 34 fPackedID = packed; 64 static inline SkFixed UnpackFixedX(PackedID packed) { argument 65 return ((packed >> 18) & 3) << 14; 68 static inline SkFixed UnpackFixedY(PackedID packed) { argument 69 return ((packed >> 16) & 3) << 14; 72 static inline uint16_t UnpackID(PackedID packed) { argument 73 return (uint16_t)packed;
|
/external/chromium_org/third_party/skia/tests/ |
H A D | PremulAlphaRoundTripTest.cpp | 20 uint32_t packed; local 21 uint8_t* byte = reinterpret_cast<uint8_t*>(&packed); 26 return packed; 30 uint32_t packed; local 31 uint8_t* byte = reinterpret_cast<uint8_t*>(&packed); 36 return packed;
|
/external/dexmaker/src/dx/java/com/android/dx/dex/code/ |
H A D | SwitchData.java | 29 * in either a "packed" or "sparse" form. 47 /** whether the output table will be packed (vs. sparse) */ 48 private final boolean packed; field in class:SwitchData 90 this.packed = shouldPack(cases); 96 return packed ? (int) packedCodeSize(cases) : 107 if (packed) { 153 * Returns whether or not this instance's data will be output as packed. 155 * @return {@code true} iff the data is to be packed 158 return packed; 184 sb.append(packed [all...] |
/external/skia/include/gpu/ |
H A D | GrGlyph.h | 31 void init(GrGlyph::PackedID packed, const SkIRect& bounds) { argument 34 fPackedID = packed; 64 static inline SkFixed UnpackFixedX(PackedID packed) { argument 65 return ((packed >> 18) & 3) << 14; 68 static inline SkFixed UnpackFixedY(PackedID packed) { argument 69 return ((packed >> 16) & 3) << 14; 72 static inline uint16_t UnpackID(PackedID packed) { argument 73 return (uint16_t)packed;
|
/external/skia/tests/ |
H A D | PremulAlphaRoundTripTest.cpp | 20 uint32_t packed; local 21 uint8_t* byte = reinterpret_cast<uint8_t*>(&packed); 26 return packed; 30 uint32_t packed; local 31 uint8_t* byte = reinterpret_cast<uint8_t*>(&packed); 36 return packed;
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/g722/ |
H A D | g722_enc_dec.h | 61 /*! TRUE if the G.722 data is packed */ 62 int packed; member in struct:__anon15045 99 /*! TRUE if the G.722 data is packed */ 100 int packed; member in struct:__anon15047
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_format_aos.c | 143 * @param desc the pixel format for the packed pixel value 144 * @param packed integer pixel in a format such as PIPE_FORMAT_B8G8R8A8_UNORM 151 LLVMValueRef packed) 172 assert (LLVMTypeOf(packed) == LLVMInt32TypeInContext(gallivm->context)); 174 /* Broadcast the packed value to all four channels 175 * before: packed = BGRA 176 * after: packed = {BGRA, BGRA, BGRA, BGRA} 178 packed = LLVMBuildInsertElement(builder, 180 packed, 183 packed 149 lp_build_unpack_arith_rgba_aos(struct gallivm_state *gallivm, const struct util_format_description *desc, LLVMValueRef packed) argument 269 LLVMValueRef packed = NULL; local 398 LLVMValueRef packed; local 442 LLVMValueRef packed; local [all...] |
H A D | lp_bld_format_soa.c | 79 * It takes a vector of packed pixels: 81 * packed = {P0, P1, P2, P3, ..., Pn} 90 * It requires that a packed pixel fits into an element of the output 94 * \param format_desc the format of the 'packed' incoming pixel vector 96 * \param packed the incoming vector of packed pixels 103 LLVMValueRef packed, 129 input = packed; 260 LLVMValueRef packed, 267 packed 100 lp_build_unpack_rgba_soa(struct gallivm_state *gallivm, const struct util_format_description *format_desc, struct lp_type type, LLVMValueRef packed, LLVMValueRef rgba_out[4]) argument 258 lp_build_rgba8_to_f32_soa(struct gallivm_state *gallivm, struct lp_type dst_type, LLVMValueRef packed, LLVMValueRef *rgba) argument 335 LLVMValueRef packed; local [all...] |
H A D | lp_bld_format_yuv.c | 50 * Extract Y, U, V channels from packed UYVY. 51 * @param packed is a <n x i32> vector with the packed UYVY blocks 57 LLVMValueRef packed, 71 assert(lp_check_value(type, packed)); 93 tmp = LLVMBuildLShr(builder, packed, lp_build_const_int_vec(gallivm, type, 8), ""); 103 *y = LLVMBuildLShr(builder, packed, shift, ""); 106 *u = packed; 107 *v = LLVMBuildLShr(builder, packed, lp_build_const_int_vec(gallivm, type, 16), ""); 118 * Extract Y, U, V channels from packed YUY 55 uyvy_to_yuv_soa(struct gallivm_state *gallivm, unsigned n, LLVMValueRef packed, LLVMValueRef i, LLVMValueRef *y, LLVMValueRef *u, LLVMValueRef *v) argument 123 yuyv_to_yuv_soa(struct gallivm_state *gallivm, unsigned n, LLVMValueRef packed, LLVMValueRef i, LLVMValueRef *y, LLVMValueRef *u, LLVMValueRef *v) argument 326 uyvy_to_rgba_aos(struct gallivm_state *gallivm, unsigned n, LLVMValueRef packed, LLVMValueRef i) argument 347 yuyv_to_rgba_aos(struct gallivm_state *gallivm, unsigned n, LLVMValueRef packed, LLVMValueRef i) argument 368 rgbg_to_rgba_aos(struct gallivm_state *gallivm, unsigned n, LLVMValueRef packed, LLVMValueRef i) argument 387 grgb_to_rgba_aos(struct gallivm_state *gallivm, unsigned n, LLVMValueRef packed, LLVMValueRef i) argument 405 grbr_to_rgba_aos(struct gallivm_state *gallivm, unsigned n, LLVMValueRef packed, LLVMValueRef i) argument 424 rgrb_to_rgba_aos(struct gallivm_state *gallivm, unsigned n, LLVMValueRef packed, LLVMValueRef i) argument 453 LLVMValueRef packed; local [all...] |