/external/skia/src/core/ |
D | SkFloatBits.cpp | 27 static inline int unpack_exp(uint32_t packed) { in unpack_exp() argument 28 return (packed << 1 >> 24); in unpack_exp() 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) { in unpack_matissa_dirty() argument 41 return packed & ~0xFF000000; in unpack_matissa_dirty() 45 int32_t SkFloatBits_toIntCast(int32_t packed) { in SkFloatBits_toIntCast() argument 46 int exp = unpack_exp(packed) - EXP_BIAS; in SkFloatBits_toIntCast() 47 int value = unpack_matissa_dirty(packed) | MATISSA_MAGIC_BIG; in SkFloatBits_toIntCast() 62 return SkApplySign(value, SkExtractSign(packed)); in SkFloatBits_toIntCast() [all …]
|
/external/v8/tools/testrunner/objects/ |
D | context.py | 60 def Unpack(packed): argument 62 return Context(packed[0], packed[1], None, packed[2], False, 63 packed[3], packed[4], packed[5], packed[6], packed[7], 64 packed[8], packed[9], packed[10], packed[11], packed[12], 65 packed[13], packed[14])
|
/external/protobuf/src/google/protobuf/ |
D | unittest_extension_packed_nano.proto | 13 repeated int32 packed_int32 = 10 [ packed = true ]; 14 repeated uint32 packed_uint32 = 11 [ packed = true ]; 15 repeated sint32 packed_sint32 = 12 [ packed = true ]; 16 repeated int64 packed_int64 = 13 [ packed = true ]; 17 repeated uint64 packed_uint64 = 14 [ packed = true ]; 18 repeated sint64 packed_sint64 = 15 [ packed = true ]; 19 repeated fixed32 packed_fixed32 = 16 [ packed = true ]; 20 repeated sfixed32 packed_sfixed32 = 17 [ packed = true ]; 21 repeated fixed64 packed_fixed64 = 18 [ packed = true ]; 22 repeated sfixed64 packed_sfixed64 = 19 [ packed = true ]; [all …]
|
D | unittest_repeated_packables_nano.proto | 44 // One with none marked as packed and the other all packed. For 50 // All packable types, none marked as packed. 75 // all marked as packed. 77 repeated int32 int32s = 1 [ packed = true ]; 78 repeated int64 int64s = 2 [ packed = true ]; 79 repeated uint32 uint32s = 3 [ packed = true ]; 80 repeated uint64 uint64s = 4 [ packed = true ]; 81 repeated sint32 sint32s = 5 [ packed = true ]; 82 repeated sint64 sint64s = 6 [ packed = true ]; 83 repeated fixed32 fixed32s = 7 [ packed = true ]; [all …]
|
D | unittest.proto | 682 // Test messages for packed fields 685 repeated int32 packed_int32 = 90 [packed = true]; 686 repeated int64 packed_int64 = 91 [packed = true]; 687 repeated uint32 packed_uint32 = 92 [packed = true]; 688 repeated uint64 packed_uint64 = 93 [packed = true]; 689 repeated sint32 packed_sint32 = 94 [packed = true]; 690 repeated sint64 packed_sint64 = 95 [packed = true]; 691 repeated fixed32 packed_fixed32 = 96 [packed = true]; 692 repeated fixed64 packed_fixed64 = 97 [packed = true]; 693 repeated sfixed32 packed_sfixed32 = 98 [packed = true]; [all …]
|
D | unittest_lite.proto | 175 repeated int32 packed_int32 = 90 [packed = true]; 176 repeated int64 packed_int64 = 91 [packed = true]; 177 repeated uint32 packed_uint32 = 92 [packed = true]; 178 repeated uint64 packed_uint64 = 93 [packed = true]; 179 repeated sint32 packed_sint32 = 94 [packed = true]; 180 repeated sint64 packed_sint64 = 95 [packed = true]; 181 repeated fixed32 packed_fixed32 = 96 [packed = true]; 182 repeated fixed64 packed_fixed64 = 97 [packed = true]; 183 repeated sfixed32 packed_sfixed32 = 98 [packed = true]; 184 repeated sfixed64 packed_sfixed64 = 99 [packed = true]; [all …]
|
/external/kernel-headers/original/uapi/linux/ |
D | edd.h | 91 } __attribute__ ((packed)) isa; 98 } __attribute__ ((packed)) pci; 102 } __attribute__ ((packed)) ibnd; 105 } __attribute__ ((packed)) xprs; 108 } __attribute__ ((packed)) htpt; 111 } __attribute__ ((packed)) unknown; 120 } __attribute__ ((packed)) ata; 128 } __attribute__ ((packed)) atapi; 134 } __attribute__ ((packed)) scsi; 138 } __attribute__ ((packed)) usb; [all …]
|
D | pfkeyv2.h | 23 } __attribute__((packed)); 29 } __attribute__((packed)); 41 } __attribute__((packed)); 51 } __attribute__((packed)); 60 } __attribute__((packed)); 68 } __attribute__((packed)); 77 } __attribute__((packed)); 89 } __attribute__((packed)); 101 } __attribute__((packed)); 126 } __attribute__((packed)); [all …]
|
D | hyperv.h | 75 } __attribute__((packed)); 86 } __attribute__((packed)); 90 } __attribute__((packed)); 101 } __attribute__((packed)); 123 } __attribute__((packed)); 134 } __attribute__((packed)); 147 } __attribute__((packed)); 334 } __attribute__((packed)); 341 } __attribute__((packed)); 353 } __attribute__((packed)); [all …]
|
D | virtio_scsi.h | 51 } __attribute__((packed)); 63 } __attribute__((packed)); 73 } __attribute__((packed)); 81 } __attribute__((packed)); 85 } __attribute__((packed)); 92 } __attribute__((packed)); 97 } __attribute__((packed)); 103 } __attribute__((packed)); 116 } __attribute__((packed));
|
/external/rmi4utils/f54test/ |
D | f54test.h | 261 } __attribute__((packed)); 277 } __attribute__((packed)); 293 } __attribute__((packed)); 309 } __attribute__((packed)); 325 } __attribute__((packed)); 341 } __attribute__((packed)); 357 } __attribute__((packed)); 373 } __attribute__((packed)); 389 } __attribute__((packed)); 405 } __attribute__((packed)); [all …]
|
/external/mesa3d/src/gallium/tests/unit/ |
D | u_format_test.c | 58 const uint8_t *packed, in print_packed() argument 66 printf("%s%02x", sep, packed[i]); in print_packed() 214 format_desc->fetch_rgba_float(unpacked[i][j], test->packed, j, i); in test_format_fetch_rgba_float() 241 test->packed, 0, in test_format_unpack_rgba_float() 269 uint8_t packed[UTIL_FORMAT_MAX_PACKED_BYTES]; in test_format_pack_rgba_float() local 282 memset(packed, 0, sizeof packed); in test_format_pack_rgba_float() 291 format_desc->pack_rgba_float(packed, 0, in test_format_pack_rgba_float() 297 if ((test->packed[i] & test->mask[i]) != (packed[i] & test->mask[i])) in test_format_pack_rgba_float() 306 print_packed(format_desc, "FAILED: ", packed, " obtained\n"); in test_format_pack_rgba_float() 307 print_packed(format_desc, " ", test->packed, " expected\n"); in test_format_pack_rgba_float() [all …]
|
/external/kernel-headers/original/uapi/linux/usb/ |
D | cdc.h | 68 } __attribute__ ((packed)); 81 } __attribute__ ((packed)); 90 } __attribute__ ((packed)); 108 } __attribute__ ((packed)); 119 } __attribute__ ((packed)); 131 } __attribute__ ((packed)); 144 } __attribute__ ((packed)); 153 } __attribute__ ((packed)); 163 } __attribute__ ((packed)); 174 } __attribute__ ((packed)); [all …]
|
D | ch9.h | 191 } __attribute__ ((packed)); 252 } __attribute__ ((packed)); 274 } __attribute__ ((packed)); 324 } __attribute__ ((packed)); 342 } __attribute__ ((packed)); 362 } __attribute__ ((packed)); 382 } __attribute__ ((packed)); 624 } __attribute__ ((packed)); 664 } __attribute__ ((packed)); 675 } __attribute__ ((packed)); [all …]
|
D | functionfs.h | 35 } __attribute__((packed)); 45 } __attribute__((packed)); 53 } __attribute__((packed, deprecated)); 68 } __attribute__((packed)); 82 } __attribute__((packed)); 181 } __attribute__((packed)); 237 } __attribute__((packed)) u; 242 } __attribute__((packed));
|
D | audio.h | 162 } __attribute__ ((packed)); 176 } __attribute__ ((packed)) 190 } __attribute__ ((packed)); 217 } __attribute__ ((packed)); 245 } __attribute__ ((packed)) 255 } __attribute__ ((packed)); 305 } __attribute__ ((packed)); 322 } __attribute__((packed)); 339 } __attribute__ ((packed)); 407 } __attribute__ ((packed)); [all …]
|
/external/kernel-headers/original/uapi/linux/wimax/ |
D | i2400m.h | 146 } __attribute__ ((packed)); 186 } __attribute__ ((packed)); 212 } __attribute__((packed)); 230 } __attribute__((packed)); 284 } __attribute__ ((packed)); 323 } __attribute__ ((packed)); 428 } __attribute__((packed)); 439 } __attribute__((packed)); 475 } __attribute__((packed)); 484 } __attribute__((packed)); [all …]
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_format_yuv.c | 57 LLVMValueRef packed, in uyvy_to_yuv_soa() argument 71 assert(lp_check_value(type, packed)); in uyvy_to_yuv_soa() 93 tmp = LLVMBuildLShr(builder, packed, lp_build_const_int_vec(gallivm, type, 8), ""); in uyvy_to_yuv_soa() 103 *y = LLVMBuildLShr(builder, packed, shift, ""); in uyvy_to_yuv_soa() 106 *u = packed; in uyvy_to_yuv_soa() 107 *v = LLVMBuildLShr(builder, packed, lp_build_const_int_vec(gallivm, type, 16), ""); in uyvy_to_yuv_soa() 125 LLVMValueRef packed, in yuyv_to_yuv_soa() argument 139 assert(lp_check_value(type, packed)); in yuyv_to_yuv_soa() 161 tmp = LLVMBuildLShr(builder, packed, lp_build_const_int_vec(gallivm, type, 16), ""); in yuyv_to_yuv_soa() 163 *y = lp_build_select(&bld32, sel, packed, tmp); in yuyv_to_yuv_soa() [all …]
|
D | lp_bld_format_aos.c | 151 LLVMValueRef packed) in lp_build_unpack_arith_rgba_aos() argument 172 assert (LLVMTypeOf(packed) == LLVMInt32TypeInContext(gallivm->context)); in lp_build_unpack_arith_rgba_aos() 178 packed = LLVMBuildInsertElement(builder, in lp_build_unpack_arith_rgba_aos() 180 packed, in lp_build_unpack_arith_rgba_aos() 183 packed = LLVMBuildShuffleVector(builder, in lp_build_unpack_arith_rgba_aos() 184 packed, in lp_build_unpack_arith_rgba_aos() 229 shifted = LLVMBuildLShr(builder, packed, LLVMConstVector(shifts, 4), ""); in lp_build_unpack_arith_rgba_aos() 269 LLVMValueRef packed = NULL; in lp_build_pack_rgba_aos() local 342 if (packed) in lp_build_pack_rgba_aos() 343 packed = LLVMBuildOr(builder, packed, component, ""); in lp_build_pack_rgba_aos() [all …]
|
/external/clang/test/Sema/ |
D | struct-packed-align.c | 7 int b __attribute__((packed)); 15 struct __attribute__((packed)) packed_s { 17 int b __attribute__((packed)); 33 struct __attribute__((packed)) packed_fas { 44 } __attribute__((packed)); 77 struct __attribute__((packed)) as3 { 90 void *args[] __attribute__((packed)); 94 union __attribute__((packed)) au4 {char c; int x;}; 104 struct as6 {char c; __attribute__((packed, aligned(2))) int x;}; 108 union au6 {char c; __attribute__((packed, aligned(2))) int x;}; [all …]
|
/external/kernel-headers/original/uapi/sound/ |
D | asoc.h | 133 } __attribute__((packed)); 143 } __attribute__((packed)); 152 } __attribute__((packed)); 161 } __attribute__((packed)); 171 } __attribute__((packed)); 182 } __attribute__((packed)); 194 } __attribute__((packed)); 214 } __attribute__((packed)); 227 } __attribute__((packed)); 249 } __attribute__((packed)); [all …]
|
/external/skia/src/gpu/ |
D | GrGlyph.h | 42 void init(GrGlyph::PackedID packed, const SkIRect& bounds, GrMaskFormat format) { in init() 45 fPackedID = packed; in init() 78 static inline SkFixed UnpackFixedX(PackedID packed) { in UnpackFixedX() 79 return ((packed >> 18) & 3) << 14; in UnpackFixedX() 82 static inline SkFixed UnpackFixedY(PackedID packed) { in UnpackFixedY() 83 return ((packed >> 16) & 3) << 14; in UnpackFixedY() 86 static inline MaskStyle UnpackMaskStyle(PackedID packed) { in UnpackMaskStyle() 87 return ((packed >> 20) & 1) ? kDistance_MaskStyle : kCoverage_MaskStyle; in UnpackMaskStyle() 90 static inline uint16_t UnpackID(PackedID packed) { in UnpackID() 91 return (uint16_t)packed; in UnpackID()
|
/external/nanopb-c/tests/alltypes/ |
D | alltypes.proto | 60 repeated int32 rep_int32 = 21 [packed = true]; 61 repeated int64 rep_int64 = 22 [packed = true]; 62 repeated uint32 rep_uint32 = 23 [packed = true]; 63 repeated uint64 rep_uint64 = 24 [packed = true]; 64 repeated sint32 rep_sint32 = 25 [packed = true]; 65 repeated sint64 rep_sint64 = 26 [packed = true]; 66 repeated bool rep_bool = 27 [packed = true]; 68 repeated fixed32 rep_fixed32 = 28 [packed = true]; 69 repeated sfixed32 rep_sfixed32= 29 [packed = true]; 70 repeated float rep_float = 30 [packed = true]; [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_tile.c | 462 void *packed; in pipe_get_tile_rgba_format() local 468 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_get_tile_rgba_format() 469 if (!packed) { in pipe_get_tile_rgba_format() 477 pipe_get_tile_raw(pipe, pt, x, y, w, h, packed, 0); in pipe_get_tile_rgba_format() 479 pipe_tile_raw_to_rgba(format, packed, w, h, p, dst_stride); in pipe_get_tile_rgba_format() 481 FREE(packed); in pipe_get_tile_rgba_format() 503 void *packed; in pipe_put_tile_rgba_format() local 508 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_put_tile_rgba_format() 510 if (!packed) in pipe_put_tile_rgba_format() 537 packed, util_format_get_stride(format, w), in pipe_put_tile_rgba_format() [all …]
|
/external/opencv3/3rdparty/openexr/Imath/ |
D | ImathColorAlgo.h | 213 packed2rgb(PackedColor packed, Vec3<T> &out) in packed2rgb() argument 218 out.x = (packed & 0xFF) * f; in packed2rgb() 219 out.y = ((packed & 0xFF00) >> 8) * f; in packed2rgb() 220 out.z = ((packed & 0xFF0000) >> 16) * f; in packed2rgb() 225 out.x = (packed & 0xFF) * f; in packed2rgb() 226 out.y = ((packed & 0xFF00) >> 8) * f; in packed2rgb() 227 out.z = ((packed & 0xFF0000) >> 16) * f; in packed2rgb() 233 packed2rgb(PackedColor packed, Color4<T> &out) in packed2rgb() argument 238 out.r = (packed & 0xFF) * f; in packed2rgb() 239 out.g = ((packed & 0xFF00) >> 8) * f; in packed2rgb() [all …]
|