/external/angle/src/common/ |
D | bitset_utils_unittest.cpp | 24 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 …]
|
D | bitset_utils.h | 163 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/ |
D | CLBitField.h | 19 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/ |
D | BitSetIteratorPerf.cpp | 28 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/ |
D | SPVRemapper.h | 239 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/ |
D | SPVRemapper.h | 239 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/ |
D | FDK_crc.cpp | 278 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/ |
D | tpdec_drm.cpp | 117 int mBits /*!< number of bits in crc region */ in drmRead_CrcStartReg() argument 125 return (FDKcrcStartReg(&pDrm->crcInfo, hBs, mBits)); in drmRead_CrcStartReg()
|
D | tpdec_drm.h | 140 int drmRead_CrcStartReg(HANDLE_DRM pDrm, HANDLE_FDK_BITSTREAM hBs, int mBits);
|
D | tpdec_adts.h | 178 int mBits);
|
D | tpdec_adts.cpp | 116 int mBits /*!< number of bits in crc region */ in adtsRead_CrcStartReg() argument 122 return (FDKcrcStartReg(&pAdts->crcInfo, hBs, mBits)); in adtsRead_CrcStartReg()
|
D | tpdec_lib.cpp | 1794 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/ |
D | tpenc_adts.cpp | 111 int mBits /*!< number of bits in crc region */ in adtsWrite_CrcStartReg() argument 116 return (FDKcrcStartReg(&pAdts->crcInfo, hBs, mBits)); in adtsWrite_CrcStartReg()
|
D | tpenc_adts.h | 197 int mBits);
|
D | tpenc_lib.cpp | 580 int transportEnc_CrcStartReg(HANDLE_TRANSPORTENC hTpEnc, int mBits) { in transportEnc_CrcStartReg() argument 586 mBits); in transportEnc_CrcStartReg()
|
/external/dng_sdk/source/ |
D | dng_reference.cpp | 2246 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 …]
|
D | dng_bottlenecks.h | 540 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()
|
D | dng_reference.h | 492 uint32 mBits); 504 uint32 mBits);
|
/external/aac/libFDK/include/ |
D | FDK_crc.h | 198 const INT mBits);
|
/external/aac/libMpegTPEnc/include/ |
D | tpenc_lib.h | 305 int transportEnc_CrcStartReg(HANDLE_TRANSPORTENC hTpEnc, int mBits);
|
/external/aac/libMpegTPDec/include/ |
D | tpdec_lib.h | 633 int transportDec_CrcStartReg(const HANDLE_TRANSPORTDEC hTp, const INT mBits);
|
/external/deqp/framework/common/ |
D | tcuTextureUtil.cpp | 1336 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()
|
D | tcuTexture.cpp | 543 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/ |
D | test-libandroid.so.abi | 23557 …<var-decl name='mBits' type-id='fc87aa1c' visibility='default' filepath='frameworks/native/libs/ma…
|