/external/pdfium/core/fxcrt/ |
D | cfx_bitstream.cpp | 25 uint32_t CFX_BitStream::GetBits(uint32_t nBits) { in GetBits() argument 26 ASSERT(nBits > 0); in GetBits() 27 ASSERT(nBits <= 32); in GetBits() 28 if (nBits > m_BitSize || m_BitPos > m_BitSize - nBits) in GetBits() 36 if (nBits == 1) { in GetBits() 42 uint32_t bit_left = nBits; in GetBits() 61 m_BitPos += nBits; in GetBits()
|
D | cfx_bitstream.h | 24 uint32_t GetBits(uint32_t nBits); 26 void SkipBits(uint32_t nBits) { m_BitPos += nBits; } in SkipBits() argument
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_util.cpp | 242 bool BitSet::resize(unsigned int nBits) in resize() argument 244 if (!data || !nBits) in resize() 245 return allocate(nBits, true); in resize() 247 const unsigned int n = (nBits + 31) / 32; in resize() 258 if (nBits < size && (nBits % 32)) in resize() 259 data[(nBits + 31) / 32 - 1] &= (1 << (nBits % 32)) - 1; in resize() 261 size = nBits; in resize() 265 bool BitSet::allocate(unsigned int nBits, bool zero) in allocate() argument 267 if (data && size < nBits) { in allocate() 271 size = nBits; in allocate()
|
D | nv50_ir_util.h | 481 BitSet(unsigned int nBits, bool zero) : marker(false), data(0), size(0) in BitSet() argument 483 allocate(nBits, zero); in BitSet() 492 bool allocate(unsigned int nBits, bool zero); 493 bool resize(unsigned int nBits); // keep old data, zero additional bits
|
/external/libopus/silk/float/ |
D | encode_frame_FLP.c | 99 opus_int32 seed_copy, nBits, nBits_lower, nBits_upper, gainMult_lower, gainMult_upper; in silk_encode_frame_FLP() local 180 nBits = nBits_lower; in silk_encode_frame_FLP() 182 nBits = nBits_upper; in silk_encode_frame_FLP() 213 nBits = ec_tell( psRangeEnc ); in silk_encode_frame_FLP() 216 if ( iter == maxIter && !found_lower && nBits > maxBits ) { in silk_encode_frame_FLP() 239 nBits = ec_tell( psRangeEnc ); in silk_encode_frame_FLP() 242 if( useCBR == 0 && iter == 0 && nBits <= maxBits ) { in silk_encode_frame_FLP() 248 if( found_lower && ( gainsID == gainsID_lower || nBits > maxBits ) ) { in silk_encode_frame_FLP() 259 if( nBits > maxBits ) { in silk_encode_frame_FLP() 269 nBits_upper = nBits; in silk_encode_frame_FLP() [all …]
|
/external/libopus/silk/fixed/ |
D | encode_frame_FIX.c | 99 opus_int32 seed_copy, nBits, nBits_lower, nBits_upper, gainMult_lower, gainMult_upper; in silk_encode_frame_FIX() local 184 nBits = nBits_lower; in silk_encode_frame_FIX() 186 nBits = nBits_upper; in silk_encode_frame_FIX() 227 nBits = ec_tell( psRangeEnc ); in silk_encode_frame_FIX() 230 if ( iter == maxIter && !found_lower && nBits > maxBits ) { in silk_encode_frame_FIX() 253 nBits = ec_tell( psRangeEnc ); in silk_encode_frame_FIX() 256 if( useCBR == 0 && iter == 0 && nBits <= maxBits ) { in silk_encode_frame_FIX() 262 if( found_lower && ( gainsID == gainsID_lower || nBits > maxBits ) ) { in silk_encode_frame_FIX() 273 if( nBits > maxBits ) { in silk_encode_frame_FIX() 281 nBits_upper = nBits; in silk_encode_frame_FIX() [all …]
|
/external/pdfium/core/fxcodec/jbig2/ |
D | JBig2_HuffmanDecoder.cpp | 20 int nBits = 0; in DecodeAValue() local 31 ++nBits; in DecodeAValue() 35 if (code.codelen != nBits || code.code != nVal) in DecodeAValue()
|
D | JBig2_GrrdProc.cpp | 185 int32_t nBits = iGRW - w > 8 ? 8 : iGRW - w; in DecodeTemplate0Opt() local 213 for (int32_t k = 0; k < nBits; k++) { in DecodeTemplate0Opt() 228 int32_t nBits = iGRW - w > 8 ? 8 : iGRW - w; in DecodeTemplate0Opt() local 250 for (int32_t k = 0; k < nBits; k++) { in DecodeTemplate0Opt() 433 int32_t nBits = iGRW - w > 8 ? 8 : iGRW - w; in DecodeTemplate1Opt() local 452 for (int32_t k = 0; k < nBits; k++) { in DecodeTemplate1Opt() 467 int32_t nBits = iGRW - w > 8 ? 8 : iGRW - w; in DecodeTemplate1Opt() local 486 for (int32_t k = 0; k < nBits; k++) { in DecodeTemplate1Opt()
|
D | JBig2_TrdProc.cpp | 116 int32_t nBits = 0; in DecodeHuffman() local 128 ++nBits; in DecodeHuffman() 131 if (nBits == SBSYMCODES[IDI].codelen && nVal == SBSYMCODES[IDI].code) in DecodeHuffman()
|
/external/aac/libFDK/src/ |
D | FDK_crc.cpp | 218 INT nBits); 337 INT nBits) { in calcCrc_Bits() argument 342 for (i = 0; (i < nBits); i++) { in calcCrc_Bits() 350 for (i = 0; (i < nBits); i++) { in calcCrc_Bits() 358 return nBits; in calcCrc_Bits()
|
/external/llvm-project/flang/lib/Decimal/ |
D | decimal-to-binary.cpp | 189 static constexpr int nBits{CHAR_BIT * sizeof n}; in SetTo() local 190 if constexpr (precision >= nBits) { in SetTo() 203 n <<= nBits - shift; in SetTo() 204 guard_ = (n >> (nBits - guardBits)) | ((n << guardBits) != 0); in SetTo()
|
/external/libopus/silk/ |
D | enc_API.c | 151 opus_int n, i, nBits, flags, tmp_payloadSize_ms = 0, tmp_complexity = 0, ret = 0; in silk_Encode() local 396 … nBits = silk_DIV32_16( silk_MUL( encControl->bitRate, encControl->payloadSize_ms ), 1000 ); in silk_Encode() 399 nBits -= psEnc->nBitsUsedLBRR; in silk_Encode() 402 nBits = silk_DIV32_16( nBits, psEnc->state_Fxx[ 0 ].sCmn.nFramesPerPacket ); in silk_Encode() 405 TargetRate_bps = silk_SMULBB( nBits, 100 ); in silk_Encode() 407 TargetRate_bps = silk_SMULBB( nBits, 50 ); in silk_Encode() 413 …opus_int32 bitsBalance = ec_tell( psRangeEnc ) - psEnc->nBitsUsedLBRR - nBits * psEnc->state_Fxx[ … in silk_Encode()
|
/external/guava/android/guava/src/com/google/common/math/ |
D | LongMath.java | 835 int nBits = LongMath.log2(n, RoundingMode.CEILING); in binomial() local 841 int numeratorBits = nBits; in binomial() 850 if (numeratorBits + nBits < Long.SIZE - 1) { in binomial() 854 numeratorBits += nBits; in binomial() 861 numeratorBits = nBits; in binomial()
|
/external/guava/guava/src/com/google/common/math/ |
D | LongMath.java | 835 int nBits = LongMath.log2(n, RoundingMode.CEILING); in binomial() local 841 int numeratorBits = nBits; in binomial() 850 if (numeratorBits + nBits < Long.SIZE - 1) { in binomial() 854 numeratorBits += nBits; in binomial() 861 numeratorBits = nBits; in binomial()
|
/external/aac/libMpegTPEnc/include/ |
D | tp_data.h | 419 static inline int getSamplingRateIndex(UINT samplingRate, UINT nBits) { in getSamplingRateIndex() argument 421 UINT tableSize = (1 << nBits) - 1; in getSamplingRateIndex()
|
D | tpenc_lib.h | 229 const int nBits);
|
/external/aac/libMpegTPDec/include/ |
D | tp_data.h | 419 static inline int getSamplingRateIndex(UINT samplingRate, UINT nBits) { in getSamplingRateIndex() argument 421 UINT tableSize = (1 << nBits) - 1; in getSamplingRateIndex()
|
/external/aac/libMpegTPEnc/src/ |
D | tpenc_asc.cpp | 685 int nBits) { in writeSampleRate() argument 686 int srIdx = getSamplingRateIndex(sampleRate, nBits); in writeSampleRate() 688 FDKwriteBits(hBs, srIdx, nBits); in writeSampleRate() 689 if (srIdx == (1 << nBits) - 1) { in writeSampleRate()
|
D | tpenc_lib.cpp | 329 const int nBits) { in transportEnc_AddOtherDataBits() argument 336 tpErr = transportEnc_LatmAddOtherDataBits(&hTpEnc->writer.latm, nBits); in transportEnc_AddOtherDataBits()
|
/external/llvm-project/flang/include/flang/Evaluate/ |
D | integer.h | 121 constexpr int nBits = CHAR_BIT * sizeof n; in Integer() local 122 if constexpr (nBits < partBits) { in Integer() 150 if constexpr (nBits > partBits) { in Integer() 158 static_assert(nBits >= partBits); in Integer() 159 if constexpr (nBits > partBits) { in Integer() 160 signExtension <<= nBits - partBits; in Integer()
|
/external/aac/libAACdec/src/ |
D | aacdecoder_lib.cpp | 1104 INT nBits, in aacDecoder_UpdateBitStreamCounters() argument 1107 nBits = nBits - (INT)FDKgetValidBits(hBs); in aacDecoder_UpdateBitStreamCounters() 1121 pSi->bitRate = (INT)fMultNorm(nBits, DFRACT_BITS - 1, ratio_m, ratio_e, in aacDecoder_UpdateBitStreamCounters() 1129 nBytes = nBits >> 3; in aacDecoder_UpdateBitStreamCounters() 1155 INT nBits; in aacDecoder_DecodeFrame() local 1182 nBits = FDKgetValidBits(hBs); in aacDecoder_DecodeFrame() 2044 aacDecoder_UpdateBitStreamCounters(&self->streamInfo, hBs, nBits, in aacDecoder_DecodeFrame()
|
/external/aac/libMpegTPDec/src/ |
D | tpdec_asc.cpp | 1350 static INT getSampleRate(HANDLE_FDK_BITSTREAM bs, UCHAR *index, int nBits) { in getSampleRate() argument 1354 idx = FDKreadBits(bs, nBits); in getSampleRate() 1355 if (idx == (1 << nBits) - 1) { in getSampleRate() 1649 UINT const nBits = fAbs(configSize_bits); in StoreConfigAsBitstream() local 1652 if (nBits > 8 * (UINT)configTargetBufferSize_bytes) { in StoreConfigAsBitstream() 1658 nBits, BS_WRITER); in StoreConfigAsBitstream() 1660 FDKpushBack(hBs, nBits); in StoreConfigAsBitstream() 1662 for (j = nBits; j > 31; j -= 32) { in StoreConfigAsBitstream() 1672 FDKpushBack(hBs, nBits); in StoreConfigAsBitstream()
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | otConverters.py | 1496 nBits = 1 << DeltaFormat 1497 minusOffset = 1 << nBits 1498 mask = (1 << nBits) - 1 1499 signMask = 1 << (nBits - 1) 1506 shift = shift - nBits 1520 nBits = 1 << DeltaFormat 1522 mask = (1 << nBits) - 1 1526 shift = shift - nBits
|
/external/antlr/runtime/ObjC/Framework/ |
D | ANTLRBitSet.m | 253 - (void) setSize:(NSUInteger) nBits 255 CFBitVectorSetCount( bitVector, nBits );
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_streamcontentparser.cpp | 127 FX_SAFE_UINT32 nBits = stream.Components(); in GetShadingBBox() local 128 nBits *= stream.ComponentBits(); in GetShadingBBox() 129 nBits *= color_count; in GetShadingBBox() 130 if (!nBits.IsValid()) in GetShadingBBox() 133 stream.BitStream()->SkipBits(nBits.ValueOrDie()); in GetShadingBBox()
|