Home
last modified time | relevance | path

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

/frameworks/av/media/module/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.cpp56 kMask = kFlag1 | kFlag4 | kFlag7, enumerator
130 EXPECT_EQ(ftl::flag_name(Flags::kMask), std::nullopt); in TEST()
168 EXPECT_EQ(ftl::flag_string(Flags::kMask), "0b10010010"); in TEST()
174 kMask = kFlag0 | kFlag63 in TEST() enumerator
179 EXPECT_EQ(ftl::flag_string(Flags64::kMask), "0x8000000000000001"); in TEST()
/frameworks/av/media/module/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/libs/androidfw/
DStringPool.cpp327 constexpr size_t kMask = 1 << ((sizeof(T) * 8) - 1); in EncodeLength() local
328 constexpr size_t kMaxSize = kMask - 1; in EncodeLength()
330 *data++ = kMask | (kMaxSize & (length >> (sizeof(T) * 8))); in EncodeLength()
346 constexpr size_t kMask = 1 << ((sizeof(T) * 8 * 2) - 1); in EncodeLengthMax() local
347 constexpr size_t max = kMask - 1; in EncodeLengthMax()
359 constexpr size_t kMask = 1 << ((sizeof(T) * 8) - 1); in EncodedLengthUnits() local
360 constexpr size_t kMaxSize = kMask - 1; in EncodedLengthUnits()
/frameworks/libs/binary_translation/interpreter/riscv64/
Dinterpreter_test.cc250 state_.cpu.v[0] = SIMD128Register{kMask}.Get<__uint128_t>(); in TestVectorLoad()
515 state_.cpu.v[0] = SIMD128Register{kMask}.Get<__uint128_t>(); in TestVectorStore()
628 state_.cpu.v[0] = SIMD128Register{kMask}.Get<__uint128_t>(); in TestVleXX()
745 state_.cpu.v[0] = SIMD128Register{kMask}.Get<__uint128_t>(); in TestVseXX()
990 state_.cpu.v[0] = SIMD128Register{kMask}.Get<__uint128_t>(); in TestVectorRegisterGather()
1196 state_.cpu.v[0] = SIMD128Register{kMask}.Get<__uint128_t>(); in TestVectorInstructionInternal()
1345 const __uint128_t mask = SIMD128Register{~kMask}.Get<__uint128_t>(); in TestVectorMaskInstruction()
1426 state_.cpu.v[0] = SIMD128Register{kMask}.Get<__uint128_t>(); in TestVectorMaskTargetInstruction()
1501 kMask), in TestVectorMaskTargetInstruction()
1515 state_.cpu.v[0] = SIMD128Register{kMask}.Get<__uint128_t>(); in TestVXmXXsInstruction()
[all …]
/frameworks/base/tools/aapt2/
DDebug.cpp139 constexpr uint32_t kMask = android::ResTable_map::TYPE_ENUM | android::ResTable_map::TYPE_FLAGS; in Visit() local
140 if (attr->type_mask & kMask) { in Visit()
/frameworks/libs/binary_translation/tests/inline_asm_tests/
Dmain_riscv64.cc229 static constexpr SIMD128 kMask{{0xd5ad'd6b5'ad6b'b5ad, 0x6af7'57bb'deed'7bb5}}; variable
360 [mask] "r"(&kMask) in RunTwoVectorArgsOneRes()
453 [mask] "r"(&kMask), in RunCommonVectorFunc()
1364 kMask)), in TestVectorMaskTargetInstruction()