/external/skia/fuzz/oss_fuzz/ |
FuzzPathDeserialize.cpp | 34 uint32_t packed; local 35 memcpy(&packed, data, 4); 36 unsigned version = packed & 0xFF;
|
/art/tools/dexfuzz/src/dexfuzz/program/ |
MSwitchInsn.java | 31 public boolean packed; field in class:MSwitchInsn 42 newInsn.packed = packed;
|
/external/mesa3d/src/gallium/auxiliary/util/ |
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
|
u_pack_color.h | 30 * Functions to produce packed colors/Z from floats. 162 * Unpack RGBA from a packed pixel, returning values as ubytes in [0,255]. 480 uint32_t packed = util_pack_mask_z(format, z); local 484 packed |= (uint32_t)s << 24; 487 packed |= s; 490 packed |= s; 496 return packed; 503 uint64_t packed; local 507 packed = util_pack64_mask_z(format, z); 508 packed |= (uint64_t)s << 32ull 586 uint32_t packed = util_pack_z(format, z); local 609 uint64_t packed; local [all...] |
/bionic/tools/relocation_packer/src/ |
delta_encoder_unittest.cc | 42 std::vector<typename ELF::Addr> packed; local 46 codec.Encode(relocations, &packed); 48 ASSERT_EQ(0U, packed.size()); 53 codec.Encode(relocations, &packed); 56 EXPECT_EQ(7U, packed.size()); 59 EXPECT_EQ(1U, packed[ndx++]); 60 EXPECT_EQ(0xf00d0000, packed[ndx++]); 61 EXPECT_EQ(1U, packed[ndx++]); // group_size 62 EXPECT_EQ(8U, packed[ndx++]); // flags 64 EXPECT_EQ(0U, packed[ndx++]); // offset_delt 159 std::vector<typename ELF::Addr> packed; local [all...] |
packer_unittest.cc | 41 std::vector<uint8_t> packed; local 55 packed.clear(); 56 packer.PackRelocations(relocations, &packed); 58 ASSERT_EQ(18U, packed.size()); 61 EXPECT_EQ('A', packed[ndx++]); 62 EXPECT_EQ('P', packed[ndx++]); 63 EXPECT_EQ('S', packed[ndx++]); 64 EXPECT_EQ('2', packed[ndx++]); 66 EXPECT_EQ(6, packed[ndx++]); 68 EXPECT_EQ(0xfc, packed[ndx++]) 98 std::vector<uint8_t> packed; local 161 std::vector<uint8_t> packed; local 226 std::vector<uint8_t> packed; local [all...] |
/bionic/tools/versioner/src/ |
CompilationType.h | 57 } packed; local 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));
|
/external/clang/test/SemaCXX/ |
cxx11-gnu-attrs.cpp | 70 struct [[gnu::packed]] packed { char c; int n; }; struct 71 static_assert(sizeof(packed) == sizeof(char) + sizeof(int), "not packed");
|
/external/skia/tests/ |
PremulAlphaRoundTripTest.cpp | 18 uint32_t packed; local 19 uint8_t* byte = reinterpret_cast<uint8_t*>(&packed); 24 return packed; 28 uint32_t packed; local 29 uint8_t* byte = reinterpret_cast<uint8_t*>(&packed); 34 return packed;
|
/external/tensorflow/tensorflow/core/lib/strings/ |
base64.cc | 62 const uint32 packed = (Convert(codes[0]) << 18) | (Convert(codes[1]) << 12) | local 65 // Therefore `packed` has high bits set iff at least one of code is invalid. 66 if (TF_PREDICT_FALSE((packed & 0xFF000000) != 0)) { 69 result[0] = static_cast<char>(packed >> 16); 70 result[1] = static_cast<char>(packed >> 8); 71 result[2] = static_cast<char>(packed);
|
/system/core/libpixelflinger/ |
clear.cpp | 50 static void memset2d(context_t* c, const surface_t& s, uint32_t packed, 67 memset(dst, packed, w); 73 android_memset16((uint16_t*)dst, packed, w); 81 android_memset32((uint32_t*)dst, packed, w); 130 const uint32_t packed = c->state.clear.colorPacked; local 131 memset2d(c, c->state.buffers.color, packed, l, t, w, h); 139 const uint32_t packed = c->state.clear.depthPacked; local 140 memset2d(c, c->state.buffers.depth, packed, l, t, w, h);
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/utils/ |
MsDosDateTimeUtilsTest.java | 35 int packed = MsDosDateTimeUtils.packDate(time); local 45 assertEquals(expectedDateBits, packed); 58 int packed = MsDosDateTimeUtils.packTime(time); local 68 assertEquals(expectedTimeBits, packed);
|
/external/protobuf/objectivec/google/protobuf/ |
Type.pbobjc.h | 246 /// Whether to use alternative packed wire representation. 247 @property(nonatomic, readwrite) BOOL packed; variable
|
/external/skqp/tests/ |
PremulAlphaRoundTripTest.cpp | 18 uint32_t packed; local 19 uint8_t* byte = reinterpret_cast<uint8_t*>(&packed); 24 return packed; 28 uint32_t packed; local 29 uint8_t* byte = reinterpret_cast<uint8_t*>(&packed); 34 return packed;
|
/frameworks/base/libs/common_time/ |
common_time_server_packets.cpp | 70 inline uint64_t unpackDeviceID(uint64_t packed) { 71 return (packed & kDeviceIDMask); 74 inline uint8_t unpackDevicePriority(uint64_t packed) { 75 return static_cast<uint8_t>(packed >> kDevicePriorityShift); 188 uint64_t packed = packDeviceID(senderDeviceID, senderDevicePriority); local 189 SERIALIZE_INT64(packed); 198 uint64_t packed; local 199 DESERIALIZE_INT64(packed); 200 senderDeviceID = unpackDeviceID(packed); 201 senderDevicePriority = unpackDevicePriority(packed); 210 uint64_t packed = packDeviceID(deviceID, devicePriority); local 220 uint64_t packed; local 274 uint64_t packed = packDeviceID(deviceID, devicePriority); local 284 uint64_t packed; local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
Input.java | 34 public boolean packed; field in class:Input 49 packed = false; 65 packed = in.readInt() == 1 ? true : false; 87 dest.writeInt(packed ? 1 : 0);
|
/external/aac/libSACenc/src/ |
sacenc_huff_tab.h | 115 (((a.packed >> 8) & 0x00FFFFFF)) /*!< Return value from packed table entry. \ 118 ((a.packed & 0xFF)) /*!< Return length from packed table entry. */ 122 * \brief This struct contains packed huffman entries. 124 * The packed entry consist of hffman value and length information. 132 ULONG packed; /*! Packed huffman entry: member in struct:__anon13972
|
/external/deqp/modules/gles31/functional/ |
es31fShaderMultisampleInterpolationTests.cpp | 159 const deUint32 packed = ((deUint32)color.getRed()) + ((deUint32)color.getGreen() << 8) + ((deUint32)color.getGreen() << 16); local 165 if (shadeFrequency.find(packed) == shadeFrequency.end()) 166 shadeFrequency[packed] = 1; 168 shadeFrequency[packed] = shadeFrequency[packed] + 1; [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
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)); 99 tmp = LLVMBuildLShr(builder, packed, lp_build_const_int_vec(gallivm, type, 8), ""); 114 *y = LLVMBuildLShr(builder, packed, shift, ""); 118 *u = packed; 119 *v = LLVMBuildLShr(builder, packed, lp_build_const_int_vec(gallivm, type, 16), ""); 121 *u = LLVMBuildLShr(builder, packed, lp_build_const_int_vec(gallivm, type, 24), "") 492 LLVMValueRef packed; local [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_test_format.c | 76 (*fetch_ptr_t)(void *unpacked, const void *packed, 146 PIPE_ALIGN_VAR(16) uint8_t packed[UTIL_FORMAT_MAX_PACKED_BYTES]; local 176 memcpy(packed, test->packed, sizeof packed); 184 fetch_ptr(unpacked, packed, j, i, cache_ptr); 208 printf(" Packed: %02x %02x %02x %02x\n", 209 test->packed[0], test->packed[1], test->packed[2], test->packed[3]) 245 PIPE_ALIGN_VAR(16) uint8_t packed[UTIL_FORMAT_MAX_PACKED_BYTES]; local [all...] |
/external/mesa3d/src/gallium/tests/unit/ |
u_format_test.c | 58 const uint8_t *packed, 66 printf("%s%02x", sep, packed[i]); 214 format_desc->fetch_rgba_float(unpacked[i][j], test->packed, j, i); 241 test->packed, 0, 269 uint8_t packed[UTIL_FORMAT_MAX_PACKED_BYTES]; local 275 * Skip S3TC as packed representation is not canonical. 282 memset(packed, 0, sizeof packed); 291 format_desc->pack_rgba_float(packed, 0, 297 if ((test->packed[i] & test->mask[i]) != (packed[i] & test->mask[i]) 382 uint8_t packed[UTIL_FORMAT_MAX_PACKED_BYTES]; local 469 uint8_t packed[UTIL_FORMAT_MAX_PACKED_BYTES]; local 543 uint8_t packed[UTIL_FORMAT_MAX_PACKED_BYTES]; local 618 uint8_t packed[UTIL_FORMAT_MAX_PACKED_BYTES]; local [all...] |
/external/skia/src/core/ |
SkImageInfo.cpp | 137 uint32_t packed = buffer.read32(); local 138 fColorType = stored_to_live((packed >> 0) & kColorTypeMask); 139 fAlphaType = (SkAlphaType)((packed >> 8) & kAlphaTypeMask); 152 uint32_t packed = (fAlphaType << 8) | live_to_stored(fColorType); local 153 buffer.write32(packed);
|
SkVertices.cpp | 154 // storage = packed | vertex_count | index_count | pos[] | texs[] | colors[] | indices[] 163 // packed has room for addtional flags in the future (e.g. versioning) 164 uint32_t packed = static_cast<uint32_t>(fMode); local 165 SkASSERT((packed & ~kMode_Mask) == 0); // our mode fits in the mask bits 167 packed |= kHasTexs_Mask; 170 packed |= kHasColors_Mask; 181 writer.write32(packed); 201 const uint32_t packed = reader.readInt(); local 204 const VertexMode mode = safe.checkLE<VertexMode>(packed & kMode_Mask, 209 const bool hasTexs = SkToBool(packed & kHasTexs_Mask) [all...] |
/external/skqp/src/core/ |
SkImageInfo.cpp | 97 uint32_t packed = buffer.read32(); local 98 fColorType = stored_to_live((packed >> 0) & kColorTypeMask); 99 fAlphaType = (SkAlphaType)((packed >> 8) & kAlphaTypeMask); 112 uint32_t packed = (fAlphaType << 8) | live_to_stored(fColorType); local 113 buffer.write32(packed);
|
SkVertices.cpp | 154 // storage = packed | vertex_count | index_count | pos[] | texs[] | colors[] | indices[] 163 // packed has room for addtional flags in the future (e.g. versioning) 164 uint32_t packed = static_cast<uint32_t>(fMode); local 165 SkASSERT((packed & ~kMode_Mask) == 0); // our mode fits in the mask bits 167 packed |= kHasTexs_Mask; 170 packed |= kHasColors_Mask; 181 writer.write32(packed); 201 const uint32_t packed = reader.readInt(); local 204 const VertexMode mode = safe.checkLE<VertexMode>(packed & kMode_Mask, 209 const bool hasTexs = SkToBool(packed & kHasTexs_Mask) [all...] |