Home
last modified time | relevance | path

Searched refs:mBits (Results 1 – 24 of 24) sorted by relevance

/external/angle/src/common/
Dbitset_utils_unittest.cpp24 T mBits; member in __anone4f9e7a60111::BitSetTest
36 TypeParam mBits = this->mBits; in TYPED_TEST() local
37 EXPECT_FALSE(mBits.all()); in TYPED_TEST()
38 EXPECT_FALSE(mBits.any()); in TYPED_TEST()
39 EXPECT_TRUE(mBits.none()); in TYPED_TEST()
40 EXPECT_EQ(mBits.count(), 0u); in TYPED_TEST()
43 for (size_t i = 0; i < mBits.size(); ++i) in TYPED_TEST()
45 mBits.set(i); in TYPED_TEST()
47 EXPECT_EQ(mBits.all(), i + 1 == mBits.size()); in TYPED_TEST()
48 EXPECT_TRUE(mBits.any()); in TYPED_TEST()
[all …]
Dbitset_utils.h163 constexpr unsigned long to_ulong() const { return static_cast<unsigned long>(mBits); } in to_ulong()
164 constexpr BitsT bits() const { return mBits; } in bits()
178 result.mBits = BitMask<BitsT>(static_cast<ParamT>(x)); in Mask()
183 BitsT mBits;
187 constexpr BitSetT<N, BitsT, ParamT>::BitSetT() : mBits(0) in BitSetT()
194 constexpr BitSetT<N, BitsT, ParamT>::BitSetT(BitsT value) : mBits(value & Mask(N).bits()) in BitSetT()
198 constexpr BitSetT<N, BitsT, ParamT>::BitSetT(std::initializer_list<ParamT> init) : mBits(0) in BitSetT()
202 mBits |= Bit<BitsT>(element); in BitSetT()
204 ASSERT(mBits == (mBits & Mask(N).bits())); in BitSetT()
208 constexpr BitSetT<N, BitsT, ParamT>::BitSetT(const BitSetT &other) : mBits(other.mBits) in BitSetT()
[all …]
/external/angle/src/libANGLE/
DCLBitField.h19 BitField() noexcept : mBits(0u) {} in BitField()
20 explicit BitField(cl_bitfield bits) noexcept : mBits(bits) {} in BitField()
24 mBits = bits;
28 bool operator==(cl_bitfield bits) const { return mBits == bits; }
29 bool operator!=(cl_bitfield bits) const { return mBits != bits; }
30 bool operator==(const BitField &other) const { return mBits == other.mBits; }
31 bool operator!=(const BitField &other) const { return mBits != other.mBits; }
33 cl_bitfield get() const { return mBits; } in get()
35 bool isSet(cl_bitfield bits) const { return (mBits & bits) != 0u; } in isSet()
36 bool isSet(const BitField &other) const { return (mBits & other.mBits) != 0u; } in isSet()
[all …]
/external/angle/src/tests/perf_tests/
DBitSetIteratorPerf.cpp28 T mBits; member in __anonb98fb5c60111::BitSetIteratorPerfTest
39 mBits.flip(); in step()
41 for (size_t bit : mBits) in step()
46 mBits.reset(); in step()
/external/deqp-deps/glslang/SPIRV/
DSPVRemapper.h239 static const int mBits = sizeof(bits_t) * 4; variable
241 …d(spv::Id id) const { return id < maxMappedId() && ((mapped[id/mBits] & (1LL<<(id%mBits))) != 0);… in isMapped()
242 void setMapped(spv::Id id) { resizeMapped(id); mapped[id/mBits] |= (1LL<<(id%mBits)); } in setMapped()
243 void resizeMapped(spv::Id id) { if (id >= maxMappedId()) mapped.resize(id/mBits+1, 0); } in resizeMapped()
244 size_t maxMappedId() const { return mapped.size() * mBits; } in maxMappedId()
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/
DSPVRemapper.h239 static const int mBits = sizeof(bits_t) * 4; variable
241 …d(spv::Id id) const { return id < maxMappedId() && ((mapped[id/mBits] & (1LL<<(id%mBits))) != 0);… in isMapped()
242 void setMapped(spv::Id id) { resizeMapped(id); mapped[id/mBits] |= (1LL<<(id%mBits)); } in setMapped()
243 void resizeMapped(spv::Id id) { if (id >= maxMappedId()) mapped.resize(id/mBits+1, 0); } in resizeMapped()
244 size_t maxMappedId() const { return mapped.size() * mBits; } in maxMappedId()
/external/aac/libFDK/src/
DFDK_crc.cpp278 const INT mBits) { in FDKcrcStartReg() argument
283 hCrcInfo->crcRegData[reg].maxBits = mBits; in FDKcrcStartReg()
451 int mBits = bits & 0x7; /* modulo bits */ in crcCalc() local
461 if (mBits != 0) { in crcCalc()
463 mBits); in crcCalc()
/external/aac/libMpegTPDec/src/
Dtpdec_drm.cpp117 int mBits /*!< number of bits in crc region */ in drmRead_CrcStartReg() argument
125 return (FDKcrcStartReg(&pDrm->crcInfo, hBs, mBits)); in drmRead_CrcStartReg()
Dtpdec_drm.h140 int drmRead_CrcStartReg(HANDLE_DRM pDrm, HANDLE_FDK_BITSTREAM hBs, int mBits);
Dtpdec_adts.h178 int mBits);
Dtpdec_adts.cpp116 int mBits /*!< number of bits in crc region */ in adtsRead_CrcStartReg() argument
122 return (FDKcrcStartReg(&pAdts->crcInfo, hBs, mBits)); in adtsRead_CrcStartReg()
Dtpdec_lib.cpp1794 int transportDec_CrcStartReg(HANDLE_TRANSPORTDEC pTp, INT mBits) { in transportDec_CrcStartReg() argument
1797 return adtsRead_CrcStartReg(&pTp->parser.adts, &pTp->bitStream[0], mBits); in transportDec_CrcStartReg()
1799 return drmRead_CrcStartReg(&pTp->parser.drm, &pTp->bitStream[0], mBits); in transportDec_CrcStartReg()
/external/aac/libMpegTPEnc/src/
Dtpenc_adts.cpp111 int mBits /*!< number of bits in crc region */ in adtsWrite_CrcStartReg() argument
116 return (FDKcrcStartReg(&pAdts->crcInfo, hBs, mBits)); in adtsWrite_CrcStartReg()
Dtpenc_adts.h197 int mBits);
Dtpenc_lib.cpp580 int transportEnc_CrcStartReg(HANDLE_TRANSPORTENC hTpEnc, int mBits) { in transportEnc_CrcStartReg() argument
586 mBits); in transportEnc_CrcStartReg()
/external/dng_sdk/source/
Ddng_reference.cpp2246 uint32 mBits) in RefVignette16() argument
2249 const uint32 mRound = 1 << (mBits - 1); in RefVignette16()
2267 s = (s * m + mRound) >> mBits; in RefVignette16()
2304 r = (r * m + mRound) >> mBits; in RefVignette16()
2305 g = (g * m + mRound) >> mBits; in RefVignette16()
2306 b = (b * m + mRound) >> mBits; in RefVignette16()
2351 a = (a * m + mRound) >> mBits; in RefVignette16()
2352 b = (b * m + mRound) >> mBits; in RefVignette16()
2353 c = (c * m + mRound) >> mBits; in RefVignette16()
2354 d = (d * m + mRound) >> mBits; in RefVignette16()
[all …]
Ddng_bottlenecks.h540 uint32 mBits);
553 uint32 mBits);
1648 uint32 mBits) in DoVignette16() argument
1659 mBits); in DoVignette16()
1673 uint32 mBits) in DoVignette32() argument
1684 mBits); in DoVignette32()
Ddng_reference.h492 uint32 mBits);
504 uint32 mBits);
/external/aac/libFDK/include/
DFDK_crc.h198 const INT mBits);
/external/aac/libMpegTPEnc/include/
Dtpenc_lib.h305 int transportEnc_CrcStartReg(HANDLE_TRANSPORTENC hTpEnc, int mBits);
/external/aac/libMpegTPDec/include/
Dtpdec_lib.h633 int transportDec_CrcStartReg(const HANDLE_TRANSPORTDEC hTp, const INT mBits);
/external/deqp/framework/common/
DtcuTextureUtil.cpp1336 const int mBits = 9; in packRGB999E5() local
1340 const float maxVal = (float)(((1<<mBits) - 1) * (1<<(eMax-eBias))) / (float)(1<<mBits); in packRGB999E5()
1349 float e = deFloatPow(2.0f, (float)(exps-eBias-mBits)); in packRGB999E5()
1352 if (maxs == (1<<mBits)) in packRGB999E5()
DtcuTexture.cpp543 const int mBits = 9; in unpackRGB999E5() local
551 float e = deFloatPow(2.0f, (float)((int)exp - eBias - mBits)); in unpackRGB999E5()
/external/libabigail/tests/data/test-read-dwarf/
Dtest-libandroid.so.abi23557 …<var-decl name='mBits' type-id='fc87aa1c' visibility='default' filepath='frameworks/native/libs/ma…