HomeSort by relevance Sort by last modified time
    Searched refs:bitCount (Results 1 - 25 of 69) sorted by null

1 2 3

  /external/webkit/Source/WebCore/platform/win/
BitmapInfo.cpp 36 BitmapInfo bitmapInfoForSize(int width, int height, BitmapInfo::BitCount bitCount)
42 bitmapInfo.bmiHeader.biBitCount = bitCount;
54 BitmapInfo BitmapInfo::create(const IntSize& size, BitCount bitCount)
56 return bitmapInfoForSize(size.width(), size.height(), bitCount);
59 BitmapInfo BitmapInfo::createBottomUp(const IntSize& size, BitCount bitCount)
61 return bitmapInfoForSize(size.width(), -size.height(), bitCount);
BitmapInfo.h 38 enum BitCount {
48 static BitmapInfo create(const IntSize&, BitCount bitCount = BitCount32);
49 static BitmapInfo createBottomUp(const IntSize&, BitCount bitCount = BitCount32);
  /frameworks/base/media/libstagefright/codecs/aacenc/src/
bit_cnt.c 38 * output: bitCount for tables 1-11
44 Word16 *bitCount)
94 bitCount[1]=extract_h(bc1_2);
95 bitCount[2]=extract_l(bc1_2);
96 bitCount[3]=extract_h(bc3_4) + sc;
97 bitCount[4]=extract_l(bc3_4) + sc;
98 bitCount[5]=extract_h(bc5_6);
99 bitCount[6]=extract_l(bc5_6);
100 bitCount[7]=extract_h(bc7_8) + sc;
101 bitCount[8]=extract_l(bc7_8) + sc
    [all...]
  /external/skia/include/core/
SkRandom.h 51 at most bitCount bits.
52 @param bitCount The maximum number of bits to be returned
54 uint32_t nextBits(unsigned bitCount) {
55 SkASSERT(bitCount > 0 && bitCount <= 32);
56 return this->nextU() >> (32 - bitCount);
  /libcore/luni/src/main/java/java/util/
HugeEnumSet.java 153 size += Long.bitCount(newBits) - Long.bitCount(oldBits);
184 size += Long.bitCount(b);
284 size += Long.bitCount(newBits) - Long.bitCount(oldBits);
313 size += Long.bitCount(newBits) - Long.bitCount(oldBits);
334 size -= Long.bitCount(bits[startIndex]);
336 size += Long.bitCount(bits[startIndex]);
340 size -= Long.bitCount(bits[startIndex])
    [all...]
BitSet.java 81 * Creates a new {@code BitSet} with size equal to {@code bitCount}, rounded up to
84 * @throws NegativeArraySizeException if {@code bitCount < 0}.
86 public BitSet(int bitCount) {
87 if (bitCount < 0) {
90 this.bits = arrayForBits(bitCount);
100 private static long[] arrayForBits(int bitCount) {
101 return new long[(bitCount + 63)/ 64];
663 result += Long.bitCount(bits[i]);
737 int bitCount = length();
738 byte[] result = new byte[(bitCount + 7)/ 8]
    [all...]
MiniEnumSet.java 133 size = Long.bitCount(newBits);
180 size = Long.bitCount(newBits);
206 size = Long.bitCount(newBits);
259 size = Long.bitCount(bits);
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
SecureRandom2Test.java 162 assertEquals(numBits, Integer.bitCount(random));
166 assertEquals(numBits, Integer.bitCount(random));
170 assertEquals(32, Integer.bitCount(random));
174 assertEquals(0, Integer.bitCount(random));
  /external/sonivox/arm-fm-22k/lib_src/
eas_otadata.h 53 EAS_U8 bitCount; /* bit count in char */
eas_ota.c 858 pData->current.bitCount = 0;
883 pData->current.bitCount = 0;
998 bitsLeft = pData->current.bitCount - numBits;
1004 if (pData->current.bitCount)
1018 pData->current.bitCount = (EAS_U8) bitsLeft;
1026 pData->current.bitCount = 0;
    [all...]
  /external/sonivox/arm-hybrid-22k/lib_src/
eas_otadata.h 53 EAS_U8 bitCount; /* bit count in char */
eas_ota.c 858 pData->current.bitCount = 0;
883 pData->current.bitCount = 0;
998 bitsLeft = pData->current.bitCount - numBits;
1004 if (pData->current.bitCount)
1018 pData->current.bitCount = (EAS_U8) bitsLeft;
1026 pData->current.bitCount = 0;
    [all...]
  /external/sonivox/arm-wt-22k/lib_src/
eas_otadata.h 53 EAS_U8 bitCount; /* bit count in char */
eas_ota.c 858 pData->current.bitCount = 0;
883 pData->current.bitCount = 0;
998 bitsLeft = pData->current.bitCount - numBits;
1004 if (pData->current.bitCount)
1018 pData->current.bitCount = (EAS_U8) bitsLeft;
1026 pData->current.bitCount = 0;
    [all...]
  /external/skia/src/images/
SkImageDecoder_libico.cpp 50 //helpers - my function pointer will call one of these, depending on the bitCount, each time through the inner loop
68 static int calculateRowBytesFor8888(int w, int bitCount)
74 if (4 == bitCount && (w & 0x1)) {
116 int bitCount = read2Bytes(buf, offset+14);
120 switch (bitCount)
135 SkDEBUGF(("Image with %ibpp not supported\n", bitCount));
164 int bitCount = read2Bytes(buf, offset+14);
169 switch (bitCount)
192 SkDEBUGF(("Decoding %ibpp is unimplemented\n", bitCount));
221 int bitWidth = w*bitCount;
    [all...]
  /frameworks/base/media/libstagefright/codecs/aacenc/inc/
bit_cnt.h 94 Word16 bitCount(const Word16 *aQuantSpectrum,
  /libcore/luni/src/main/java/java/math/
BitLevel.java 61 /** @see BigInteger#bitCount() */
62 static int bitCount(BigInteger val) {
73 bCount += Integer.bitCount(val.digits[i]);
77 bCount += Integer.bitCount(-val.digits[i]);
79 bCount += Integer.bitCount(~val.digits[i]);
105 int bitCount = numberOfBits & 31;
111 return ((i != intCount) || (digits[i] << (32 - bitCount) != 0));
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
IntegerTest.java     [all...]
LongTest.java     [all...]
  /frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/
combined_encode.cpp 285 Int byteCount = 0, byteCount1 = 0, bitCount = 0;
367 bitCount = BitstreamGetPos(bs1);
368 byteCount1 = byteCount = bitCount >> 3; /* save the position before GOB header */
369 bitCount = bitCount & 0x7;
437 bitCount = BitstreamGetPos(bs1);
438 byteCount = bitCount >> 3; /* save the state before encoding */
439 bitCount = bitCount & 0x7;
469 BitstreamRepos(bs1, byteCount, bitCount); /* rewind one MB *
    [all...]
bitstream_io.h 44 PV_STATUS BitstreamRepos(BitstreamEncVideo *bitstream, Int byteCount, Int bitCount);
  /dalvik/dexgen/src/com/android/dexgen/util/
Bits.java 131 public static int bitCount(int[] bits) {
136 count += Integer.bitCount(bits[i]);
BitIntSet.java 96 return Bits.bitCount(bits);
  /dalvik/dx/src/com/android/dx/util/
Bits.java 131 public static int bitCount(int[] bits) {
136 count += Integer.bitCount(bits[i]);
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
SecureRandom2Test.java 278 assertEquals(numBits, Integer.bitCount(random));
282 assertEquals(numBits, Integer.bitCount(random));
286 assertEquals(32, Integer.bitCount(random));
290 assertEquals(0, Integer.bitCount(random));

Completed in 842 milliseconds

1 2 3