Home
last modified time | relevance | path

Searched refs:bitCount (Results 1 – 25 of 42) sorted by relevance

12

/external/aac/libAACenc/src/
Dbit_cnt.cpp111 INT *bitCount) in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11() argument
160 bitCount[1]=HI_LTAB(bc1_2); in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
161 bitCount[2]=LO_LTAB(bc1_2); in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
162 bitCount[3]=HI_LTAB(bc3_4)+sc; in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
163 bitCount[4]=LO_LTAB(bc3_4)+sc; in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
164 bitCount[5]=HI_LTAB(bc5_6); in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
165 bitCount[6]=LO_LTAB(bc5_6); in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
166 bitCount[7]=HI_LTAB(bc7_8)+sc; in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
167 bitCount[8]=LO_LTAB(bc7_8)+sc; in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
168 bitCount[9]=HI_LTAB(bc9_10)+sc; in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
[all …]
/external/guava/guava/src/com/google/common/hash/
DBloomFilterStrategies.java142 long bitCount; field in BloomFilterStrategies.BitArray
152 long bitCount = 0; in BitArray() local
154 bitCount += Long.bitCount(value); in BitArray()
156 this.bitCount = bitCount; in BitArray()
163 bitCount++; in set()
179 long bitCount() { in bitCount() method in BloomFilterStrategies.BitArray
180 return bitCount; in bitCount()
191 bitCount = 0; in putAll()
194 bitCount += Long.bitCount(data[i]); in putAll()
/external/pdfium/xfa/src/fxbarcode/pdf417/
DBC_PDF417CodewordDecoder.cpp62 CFX_Int32Array* bitCount = new CFX_Int32Array(); in sampleBitCounts() local
63 bitCount->SetSize(CBC_PDF417Common::BARS_IN_MODULE); in sampleBitCounts()
74 bitCount->SetAt(bitCountIndex, bitCount->GetAt(bitCountIndex) + 1); in sampleBitCounts()
76 return bitCount; in sampleBitCounts()
/external/skia/src/images/
DSkImageDecoder_libico.cpp63 static int calculateRowBytesFor8888(int w, int bitCount) in calculateRowBytesFor8888() argument
69 if (4 == bitCount && (w & 0x1)) { in calculateRowBytesFor8888()
171 int bitCount = read2Bytes(buf, offset+14); in onDecode() local
176 switch (bitCount) in onDecode()
199 SkDEBUGF(("Decoding %ibpp is unimplemented\n", bitCount)); in onDecode()
234 int bitWidth = w*bitCount; in onDecode()
238 int lineWidth = lineBitWidth/bitCount; in onDecode()
242 int andOffset = xorOffset + ((lineWidth*h*bitCount) >> 3); in onDecode()
253 bm->setInfo(SkImageInfo::MakeN32Premul(w, h), calculateRowBytesFor8888(w, bitCount)); in onDecode()
281 switch (bitCount) { in onDecode()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DSecureRandom2Test.java165 assertEquals(numBits, Integer.bitCount(random)); in test_nextJ()
169 assertEquals(numBits, Integer.bitCount(random)); in test_nextJ()
173 assertEquals(32, Integer.bitCount(random)); in test_nextJ()
177 assertEquals(0, Integer.bitCount(random)); in test_nextJ()
/external/skia/include/utils/
DSkRandom.h74 uint32_t nextBits(unsigned bitCount) { in nextBits() argument
75 SkASSERT(bitCount > 0 && bitCount <= 32); in nextBits()
76 return this->nextU() >> (32 - bitCount); in nextBits()
/external/lzma/Java/Tukaani/src/org/tukaani/xz/rangecoder/
DRangeEncoder.java40 int bitCount = 0;
44 bitCount <<= 1;
48 ++bitCount;
54 - 15 - bitCount;
/external/vulkan-validation-layers/libs/glm/detail/
Dfunc_integer.inl428 // bitCount
430 GLM_FUNC_QUALIFIER int bitCount(genIUType const & Value)
432 …GLM_STATIC_ASSERT(std::numeric_limits<genIUType>::is_integer, "'bitCount' only accept integer valu…
444 GLM_FUNC_QUALIFIER detail::tvec2<int, P> bitCount function
450 bitCount(value[0]),
451 bitCount(value[1]));
455 GLM_FUNC_QUALIFIER detail::tvec3<int, P> bitCount function
461 bitCount(value[0]),
462 bitCount(value[1]),
463 bitCount(value[2]));
[all …]
Dfunc_integer.hpp168 GLM_FUNC_DECL typename genIUType<T>::signed_type bitCount(genIUType<T> const & Value);
/external/freetype/src/cff/
Dcf2intrp.c111 size_t bitCount ) in cf2_hintmask_setCounts() argument
113 if ( bitCount > CF2_MAX_HINTS ) in cf2_hintmask_setCounts()
120 hintmask->bitCount = bitCount; in cf2_hintmask_setCounts()
121 hintmask->byteCount = ( hintmask->bitCount + 7 ) / 8; in cf2_hintmask_setCounts()
126 return bitCount; in cf2_hintmask_setCounts()
135 size_t bitCount ) in cf2_hintmask_read() argument
143 CF2_UInt mask = ( 1 << ( -(CF2_Int)bitCount & 7 ) ) - 1; in cf2_hintmask_read()
148 if ( cf2_hintmask_setCounts( hintmask, bitCount ) == 0 ) in cf2_hintmask_read()
176 size_t bitCount ) in cf2_hintmask_setAll() argument
179 CF2_UInt mask = ( 1 << ( -(CF2_Int)bitCount & 7 ) ) - 1; in cf2_hintmask_setAll()
[all …]
Dcf2intrp.h64 size_t bitCount );
Dcf2hints.c758 size_t bitCount, i; in cf2_hintmap_build() local
795 bitCount = cf2_arrstack_size( hStemHintArray ); in cf2_hintmap_build()
798 if ( bitCount > hintMask->bitCount ) in cf2_hintmap_build()
821 for ( i = 0, maskByte = 0x80; i < bitCount; i++ ) in cf2_hintmap_build()
922 for ( i = 0, maskByte = 0x80; i < bitCount; i++ ) in cf2_hintmap_build()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/cff/
Dcf2intrp.c111 size_t bitCount ) in cf2_hintmask_setCounts() argument
113 if ( bitCount > CF2_MAX_HINTS ) in cf2_hintmask_setCounts()
120 hintmask->bitCount = bitCount; in cf2_hintmask_setCounts()
121 hintmask->byteCount = ( hintmask->bitCount + 7 ) / 8; in cf2_hintmask_setCounts()
126 return bitCount; in cf2_hintmask_setCounts()
135 size_t bitCount ) in cf2_hintmask_read() argument
143 CF2_UInt mask = ( 1 << ( -(CF2_Int)bitCount & 7 ) ) - 1; in cf2_hintmask_read()
148 if ( cf2_hintmask_setCounts( hintmask, bitCount ) == 0 ) in cf2_hintmask_read()
176 size_t bitCount ) in cf2_hintmask_setAll() argument
179 CF2_UInt mask = ( 1 << ( -(CF2_Int)bitCount & 7 ) ) - 1; in cf2_hintmask_setAll()
[all …]
Dcf2intrp.h64 size_t bitCount );
Dcf2hints.c759 size_t bitCount, i; in cf2_hintmap_build() local
796 bitCount = cf2_arrstack_size( hStemHintArray ); in cf2_hintmap_build()
799 if ( bitCount > hintMask->bitCount ) in cf2_hintmap_build()
822 for ( i = 0, maskByte = 0x80; i < bitCount; i++ ) in cf2_hintmap_build()
923 for ( i = 0, maskByte = 0x80; i < bitCount; i++ ) in cf2_hintmap_build()
/external/pdfium/third_party/freetype/src/cff/
Dcf2intrp.c111 size_t bitCount ) in cf2_hintmask_setCounts() argument
113 if ( bitCount > CF2_MAX_HINTS ) in cf2_hintmask_setCounts()
120 hintmask->bitCount = bitCount; in cf2_hintmask_setCounts()
121 hintmask->byteCount = ( hintmask->bitCount + 7 ) / 8; in cf2_hintmask_setCounts()
126 return bitCount; in cf2_hintmask_setCounts()
135 size_t bitCount ) in cf2_hintmask_read() argument
143 CF2_UInt mask = ( 1 << ( -(CF2_Int)bitCount & 7 ) ) - 1; in cf2_hintmask_read()
148 if ( cf2_hintmask_setCounts( hintmask, bitCount ) == 0 ) in cf2_hintmask_read()
176 size_t bitCount ) in cf2_hintmask_setAll() argument
179 CF2_UInt mask = ( 1 << ( -(CF2_Int)bitCount & 7 ) ) - 1; in cf2_hintmask_setAll()
[all …]
Dcf2intrp.h64 size_t bitCount );
Dcf2hints.c758 size_t bitCount, i; in cf2_hintmap_build() local
795 bitCount = cf2_arrstack_size( hStemHintArray ); in cf2_hintmap_build()
798 if ( bitCount > hintMask->bitCount ) in cf2_hintmap_build()
821 for ( i = 0, maskByte = 0x80; i < bitCount; i++ ) in cf2_hintmap_build()
922 for ( i = 0, maskByte = 0x80; i < bitCount; i++ ) in cf2_hintmap_build()
/external/dexmaker/src/dx/java/com/android/dx/util/
DBits.java131 public static int bitCount(int[] bits) { in bitCount() method in Bits
136 count += Integer.bitCount(bits[i]); in bitCount()
DBitIntSet.java96 return Bits.bitCount(bits); in elements()
/external/sonivox/arm-wt-22k/lib_src/
Deas_ota.c858 pData->current.bitCount = 0; in OTA_ParseHeader()
883 pData->current.bitCount = 0; in OTA_ParseHeader()
998 bitsLeft = pData->current.bitCount - numBits; in OTA_FetchBitField()
1004 if (pData->current.bitCount) in OTA_FetchBitField()
1018 pData->current.bitCount = (EAS_U8) bitsLeft; in OTA_FetchBitField()
1026 pData->current.bitCount = 0; in OTA_FetchBitField()
Deas_otadata.h53 EAS_U8 bitCount; /* bit count in char */ member
/external/pdfium/core/src/fxcodec/lbmp/
Dfx_bmp.h12 #define BMP_WIDTHBYTES(width, bitCount) ((width * bitCount) + 31) / 32 * 4 argument
/external/aac/libSBRdec/src/
Dpsbitdec.cpp108 UCHAR bitCount = 0; in decode_huff_cw() local
112 bitCount++; in decode_huff_cw()
116 *length = bitCount; in decode_huff_cw()
/external/skia/src/ports/
DSkScalerContext_win_dw.cpp569 int bitCount = width & 7; in bilevel_to_bw() local
587 if (bitCount > 0) { in bilevel_to_bw()
590 for (int i = 0; i < bitCount; i++) { in bilevel_to_bw()
596 src += bitCount; in bilevel_to_bw()

12