Home
last modified time | relevance | path

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

123

/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()
DBloomFilter.java180 return Math.pow((double) bits.bitCount() / bitSize(), numHashFunctions); in expectedFpp()
/external/skia/include/utils/
DSkRandom.h75 uint32_t nextBits(unsigned bitCount) { in nextBits() argument
76 SkASSERT(bitCount > 0 && bitCount <= 32); in nextBits()
77 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/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()
Dcf2hints.h78 size_t bitCount; member
/external/pdfium/core/fxcrt/
Dfx_basic_util.cpp241 int bitCount = bitpos & 0x07; in GetBits32() local
242 if (nbits < 8 && nbits + bitCount <= 8) { in GetBits32()
243 bitShift = 8 - nbits - bitCount; in GetBits32()
248 int bitOffset = 8 - bitCount; in GetBits32()
/external/freetype/src/cff/
Dcf2intrp.c113 size_t bitCount ) in cf2_hintmask_setCounts() argument
115 if ( bitCount > CF2_MAX_HINTS ) in cf2_hintmask_setCounts()
122 hintmask->bitCount = bitCount; in cf2_hintmask_setCounts()
123 hintmask->byteCount = ( hintmask->bitCount + 7 ) / 8; in cf2_hintmask_setCounts()
128 return bitCount; in cf2_hintmask_setCounts()
137 size_t bitCount ) in cf2_hintmask_read() argument
145 CF2_UInt mask = ( 1 << ( -(CF2_Int)bitCount & 7 ) ) - 1; in cf2_hintmask_read()
150 if ( cf2_hintmask_setCounts( hintmask, bitCount ) == 0 ) in cf2_hintmask_read()
178 size_t bitCount ) in cf2_hintmask_setAll() argument
181 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()
Dcf2hints.h78 size_t bitCount; member
/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/skia/tests/
DPathOpsChalkboardTest.cpp102 int bitCount = samples < 32 ? samples : 64 - samples; in chalkboard_threaded() local
105 switch (bitCount) { in chalkboard_threaded()
121 switch (bitCount) { in chalkboard_threaded()
142 for (int i = 0; i < bitCount; ++i) { in chalkboard_threaded()
/external/pdfium/core/fxcodec/lbmp/
Dfx_bmp.h14 #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/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DSettings.java132 return Integer.bitCount(set); in size()
/external/skia/src/ports/
DSkScalerContext_win_dw.cpp667 int bitCount = width & 7; in bilevel_to_bw() local
685 if (bitCount > 0) { in bilevel_to_bw()
688 for (int i = 0; i < bitCount; i++) { in bilevel_to_bw()
694 src += bitCount; in bilevel_to_bw()
DSkFontHost_win.cpp1161 int bitCount = width & 7; in rgb_to_bw() local
1183 if (bitCount > 0) { in rgb_to_bw()
1186 for (int i = 0; i < bitCount; i++) { in rgb_to_bw()
1200 *last |= bitCount == 0 ? 1 : 1 << (8 - bitCount); in rgb_to_bw()
1295 int bitCount = width & 7; in generateImage() local
1299 *last |= bitCount == 0 ? 1 : 1 << (8 - bitCount); in generateImage()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DWNafUtil.java297 return diff.bitCount(); in getNafWeight()

123