Home
last modified time | relevance | path

Searched refs:bitCount (Results 1 – 25 of 43) 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/webkit/Source/WebCore/platform/win/
DBitmapInfo.cpp36 BitmapInfo bitmapInfoForSize(int width, int height, BitmapInfo::BitCount bitCount) in bitmapInfoForSize() argument
42 bitmapInfo.bmiHeader.biBitCount = bitCount; in bitmapInfoForSize()
54 BitmapInfo BitmapInfo::create(const IntSize& size, BitCount bitCount) in create() argument
56 return bitmapInfoForSize(size.width(), size.height(), bitCount); in create()
59 BitmapInfo BitmapInfo::createBottomUp(const IntSize& size, BitCount bitCount) in createBottomUp() argument
61 return bitmapInfoForSize(size.width(), -size.height(), bitCount); in createBottomUp()
DBitmapInfo.h48 static BitmapInfo create(const IntSize&, BitCount bitCount = BitCount32);
49 static BitmapInfo createBottomUp(const IntSize&, BitCount bitCount = BitCount32);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DLongTest.java953 assertEquals(0, Long.bitCount(0x0)); in test_bitCountJ()
954 assertEquals(1, Long.bitCount(0x1)); in test_bitCountJ()
955 assertEquals(1, Long.bitCount(0x2)); in test_bitCountJ()
956 assertEquals(2, Long.bitCount(0x3)); in test_bitCountJ()
957 assertEquals(1, Long.bitCount(0x4)); in test_bitCountJ()
958 assertEquals(2, Long.bitCount(0x5)); in test_bitCountJ()
959 assertEquals(2, Long.bitCount(0x6)); in test_bitCountJ()
960 assertEquals(3, Long.bitCount(0x7)); in test_bitCountJ()
961 assertEquals(1, Long.bitCount(0x8)); in test_bitCountJ()
962 assertEquals(2, Long.bitCount(0x9)); in test_bitCountJ()
[all …]
DIntegerTest.java1119 assertEquals(0, Integer.bitCount(0x0)); in test_bitCountI()
1120 assertEquals(1, Integer.bitCount(0x1)); in test_bitCountI()
1121 assertEquals(1, Integer.bitCount(0x2)); in test_bitCountI()
1122 assertEquals(2, Integer.bitCount(0x3)); in test_bitCountI()
1123 assertEquals(1, Integer.bitCount(0x4)); in test_bitCountI()
1124 assertEquals(2, Integer.bitCount(0x5)); in test_bitCountI()
1125 assertEquals(2, Integer.bitCount(0x6)); in test_bitCountI()
1126 assertEquals(3, Integer.bitCount(0x7)); in test_bitCountI()
1127 assertEquals(1, Integer.bitCount(0x8)); in test_bitCountI()
1128 assertEquals(2, Integer.bitCount(0x9)); in test_bitCountI()
[all …]
/external/skia/src/images/
DSkImageDecoder_libico.cpp65 static int calculateRowBytesFor8888(int w, int bitCount) in calculateRowBytesFor8888() argument
71 if (4 == bitCount && (w & 0x1)) { in calculateRowBytesFor8888()
113 int bitCount = read2Bytes(buf, offset+14); in onDecode() local
117 switch (bitCount) in onDecode()
132 SkDEBUGF(("Image with %ibpp not supported\n", bitCount)); in onDecode()
161 int bitCount = read2Bytes(buf, offset+14); in onDecode() local
166 switch (bitCount) in onDecode()
189 SkDEBUGF(("Decoding %ibpp is unimplemented\n", bitCount)); in onDecode()
218 int bitWidth = w*bitCount; in onDecode()
222 int lineWidth = lineBitWidth/bitCount; in onDecode()
[all …]
/external/skia/legacy/src/images/
DSkImageDecoder_libico.cpp65 static int calculateRowBytesFor8888(int w, int bitCount) in calculateRowBytesFor8888() argument
71 if (4 == bitCount && (w & 0x1)) { in calculateRowBytesFor8888()
113 int bitCount = read2Bytes(buf, offset+14); in onDecode() local
117 switch (bitCount) in onDecode()
132 SkDEBUGF(("Image with %ibpp not supported\n", bitCount)); in onDecode()
161 int bitCount = read2Bytes(buf, offset+14); in onDecode() local
166 switch (bitCount) in onDecode()
189 SkDEBUGF(("Decoding %ibpp is unimplemented\n", bitCount)); in onDecode()
218 int bitWidth = w*bitCount; in onDecode()
222 int lineWidth = lineBitWidth/bitCount; in onDecode()
[all …]
/external/skia/include/utils/
DSkRandom.h62 uint32_t nextBits(unsigned bitCount) { in nextBits() argument
63 SkASSERT(bitCount > 0 && bitCount <= 32); in nextBits()
64 return this->nextU() >> (32 - bitCount); in nextBits()
215 uint32_t nextBits(unsigned bitCount) { in nextBits() argument
216 SkASSERT(bitCount > 0 && bitCount <= 32); in nextBits()
217 return this->nextU() >> (32 - bitCount); in nextBits()
/external/skia/legacy/include/core/
DSkRandom.h47 uint32_t nextBits(unsigned bitCount) { in nextBits() argument
48 SkASSERT(bitCount > 0 && bitCount <= 32); in nextBits()
49 return this->nextU() >> (32 - bitCount); in nextBits()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DSecureRandom2Test.java162 assertEquals(numBits, Integer.bitCount(random)); in test_nextJ()
166 assertEquals(numBits, Integer.bitCount(random)); in test_nextJ()
170 assertEquals(32, Integer.bitCount(random)); in test_nextJ()
174 assertEquals(0, Integer.bitCount(random)); in test_nextJ()
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/
DImageToAwt.java216 int reductionA = 8 - Integer.bitCount(p.am); in convert()
217 int reductionR = 8 - Integer.bitCount(p.rm); in convert()
218 int reductionG = 8 - Integer.bitCount(p.gm); in convert()
219 int reductionB = 8 - Integer.bitCount(p.bm); in convert()
329 int expansionA = 8 - Integer.bitCount(inParams.am); in convert()
330 int expansionR = 8 - Integer.bitCount(inParams.rm); in convert()
331 int expansionG = 8 - Integer.bitCount(inParams.gm); in convert()
332 int expansionB = 8 - Integer.bitCount(inParams.bm); in convert()
432 int expansionA = 8 - Integer.bitCount(p.am); in convert()
433 int expansionR = 8 - Integer.bitCount(p.rm); in convert()
[all …]
/external/jmonkeyengine/engine/src/android/com/jme3/util/
DFastInteger.java200 return bitCount(~i); in numberOfLeadingZeros()
213 return bitCount((i & -i) - 1); in numberOfTrailingZeros()
225 public static int bitCount(int i) { in bitCount() method
/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/sonivox/arm-hybrid-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/sonivox/arm-fm-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/webkit/Source/WebCore/platform/graphics/wince/
DSharedBitmap.cpp43 PassRefPtr<SharedBitmap> SharedBitmap::create(const IntSize& size, BitmapInfo::BitCount bitCount, b… in create() argument
45 RefPtr<SharedBitmap> resultantBitmap = adoptRef(new SharedBitmap(size, bitCount, initPixels)); in create()
61 SharedBitmap::SharedBitmap(const IntSize& size, BitmapInfo::BitCount bitCount, bool initPixels) in SharedBitmap() argument
62 : m_bmpInfo(BitmapInfo::createBottomUp(size, bitCount)) in SharedBitmap()
76 if (bitCount == BitmapInfo::BitCount16) in SharedBitmap()
/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/src/main/java/com/squareup/okhttp/internal/spdy/
DSettings.java106 return Integer.bitCount(set); in size()
/external/webkit/Source/JavaScriptCore/wtf/
DStdLibExtras.h106 inline size_t bitCount(unsigned bits) in bitCount() function
DBitmap.h139 result += WTF::bitCount(bits[i]); in count()

12