Home
last modified time | relevance | path

Searched refs:kMask (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/codecs/mp3dec/test/
Dmp3reader.cpp192 static const uint32_t kMask = 0xfffe0c00; variable
286 if (match_header != 0 && (header & kMask) != (match_header & kMask)) { in resync()
321 if ((test_header & kMask) != (header & kMask)) { in resync()
390 if ((header & kMask) == (mFixedHeader & kMask) in getFrame()
/frameworks/native/libs/ftl/
Denum_test.cpp51 kMask = kFlag1 | kFlag4 | kFlag7, enumerator
118 EXPECT_EQ(ftl::flag_name(Flags::kMask), std::nullopt); in TEST()
144 EXPECT_EQ(ftl::flag_string(Flags::kMask), "0b10010010"); in TEST()
150 kMask = kFlag0 | kFlag63 in TEST() enumerator
155 EXPECT_EQ(ftl::flag_string(Flags64::kMask), "0x8000000000000001"); in TEST()
/frameworks/av/media/extractors/mp3/
DMP3Extractor.cpp44 static const uint32_t kMask = 0xfffe0c00; variable
138 if (match_header != 0 && (header & kMask) != (match_header & kMask)) { in Resync()
175 if ((test_header & kMask) != (header & kMask)) { in Resync()
546 if ((header & kMask) == (mFixedHeader & kMask) in read()
/frameworks/base/tools/aapt2/
DStringPool.cpp328 constexpr size_t kMask = 1 << ((sizeof(T) * 8) - 1); in EncodeLength() local
329 constexpr size_t kMaxSize = kMask - 1; in EncodeLength()
331 *data++ = kMask | (kMaxSize & (length >> (sizeof(T) * 8))); in EncodeLength()
347 constexpr size_t kMask = 1 << ((sizeof(T) * 8 * 2) - 1); in EncodeLengthMax() local
348 constexpr size_t max = kMask - 1; in EncodeLengthMax()
360 constexpr size_t kMask = 1 << ((sizeof(T) * 8) - 1); in EncodedLengthUnits() local
361 constexpr size_t kMaxSize = kMask - 1; in EncodedLengthUnits()
DDebug.cpp137 constexpr uint32_t kMask = android::ResTable_map::TYPE_ENUM | android::ResTable_map::TYPE_FLAGS; in Visit() local
138 if (attr->type_mask & kMask) { in Visit()