Home
last modified time | relevance | path

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

12

/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.cpp68 static int calculateRowBytesFor8888(int w, int bitCount) in calculateRowBytesFor8888() argument
74 if (4 == bitCount && (w & 0x1)) { in calculateRowBytesFor8888()
116 int bitCount = read2Bytes(buf, offset+14); in onDecode() local
120 switch (bitCount) in onDecode()
135 SkDEBUGF(("Image with %ibpp not supported\n", bitCount)); in onDecode()
164 int bitCount = read2Bytes(buf, offset+14); in onDecode() local
169 switch (bitCount) in onDecode()
192 SkDEBUGF(("Decoding %ibpp is unimplemented\n", bitCount)); in onDecode()
221 int bitWidth = w*bitCount; in onDecode()
225 int lineWidth = lineBitWidth/bitCount; in onDecode()
[all …]
/external/skia/include/core/
DSkRandom.h54 uint32_t nextBits(unsigned bitCount) { in nextBits() argument
55 SkASSERT(bitCount > 0 && bitCount <= 32); in nextBits()
56 return this->nextU() >> (32 - bitCount); in nextBits()
DSk64.h117 int32_t getShiftRight(unsigned bitCount) const;
/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/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/webkit/Source/JavaScriptCore/wtf/
DStdLibExtras.h106 inline size_t bitCount(unsigned bits) in bitCount() function
DBitmap.h139 result += WTF::bitCount(bits[i]); in count()
/external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/
DBigIntegerOperateBitsTest.java37 assertEquals(0, aNumber.bitCount()); in testBitCountZero()
45 assertEquals(87, aNumber.bitCount()); in testBitCountNeg()
53 assertEquals(107, aNumber.bitCount()); in testBitCountPos()
/external/proguard/src/proguard/gui/
Ddefault.pro133 public static int bitCount(int);
158 public static int bitCount(long);
Dboilerplate.pro196 public static int bitCount(int);
222 public static int bitCount(long);
/external/apache-harmony/math/src/test/java/tests/api/java/math/
DBigIntegerTest.java525 assertTrue("a.bitCount==b.bitCount", a.bitCount() == b.bitCount()); in test_shiftLeftI()
/external/webkit/PerformanceTests/SunSpider/tests/v8-v4/
Dv8-crypto.js1310 BigInteger.prototype.bitCount = bnBitCount; method in BigInteger
/external/v8/benchmarks/
Dcrypto.js1318 BigInteger.prototype.bitCount = bnBitCount; method in BigInteger
/external/webkit/PerformanceTests/SunSpider/tests/v8-v6/
Dv8-crypto.js1310 BigInteger.prototype.bitCount = bnBitCount; method in BigInteger
/external/webkit/PerformanceTests/SunSpider/tests/v8-v5/
Dv8-crypto.js1310 BigInteger.prototype.bitCount = bnBitCount; method in BigInteger

12