| /system/core/libpixelflinger/codeflinger/ |
| texturing.cpp | 143 const int bits = parts.iterated.size(); local 144 const uint32_t size = ((bits>=32) ? 0 : (1LU << bits)) - 1; 173 mask, bits); 282 tmu.bits = tmu.format.size*8; 351 txPtr.setTo(obtainReg(), tmu.bits); 488 // for 8-bits textures, we can afford 489 // 7 bits of fractional precision at no 490 // additional cost (we can't do 8 bits 491 // because filter8 uses signed 16 bits muls [all...] |
| /system/core/toolbox/ |
| getevent.c | 45 uint8_t bits[INPUT_PROP_CNT / 8]; local 52 res = ioctl(fd, EVIOCGPROP(sizeof(bits)), bits); 60 if (bits[i] & 1 << j) { 77 uint8_t *bits = NULL; local 89 res = ioctl(fd, EVIOCGBIT(i, bits_size), bits); 93 bits = realloc(bits, bits_size * 2); 94 if(bits == NULL) { 102 res2 = ioctl(fd, EVIOCGKEY(res), bits + bits_size) [all...] |
| /art/compiler/dex/quick/arm/ |
| target_arm.cc | 330 uint32_t bits = value & 0xff; local 333 return bits; 335 return (bits << 16) | bits; 337 return (bits << 24) | (bits << 8); 339 return (bits << 24) | (bits << 16) | (bits << 8) | bits; [all...] |
| /external/aac/libMpegTPDec/src/ |
| tpdec_lib.cpp | 321 needs a number 2^x. So we assume the maximum of 48 channels with 6144 bits per channel 398 /* For ELD and other payloads there is an unknown amount of padding, so ignore unread bits, but 399 throw an error only if too many bits where read. */ 451 * \param bitsAvail the amount of available bits at the end of the first frame to be decoded. 561 /* Reset CRC because the next bits are the beginning of a raw_data_block() */ 656 /* How many bits to advance for synchronization search. */ 677 INT syncLength; /* Length of sync word in bits */ 710 INT bitsAvail = 0; /* Bits available in bitstream buffer */ 711 INT checkLengthBits; /* Helper to check remaining bits and buffer boundaries */ 795 int bits; local 1126 INT bits; local [all...] |
| /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/ |
| BitSet.java | 43 * is no way to access the internal bits (which I need for speed) 45 * Consider defining set degree. Without access to the bits, I must 49 * than this.bits.length. 54 protected final static int BITS = 64; // number of bits / long 62 protected final static int MOD_MASK = BITS - 1; 64 /** The actual data bits */ 65 protected long bits[]; field in class:BitSet 67 /** Construct a bitset of size one word (64 bits) */ 69 this(BITS); [all...] |
| /external/blktrace/ |
| blkiomon.c | 362 int bits = BLK_TC_WRITE | BLK_TC_READ | BLK_TC_FS | BLK_TC_PC; local 363 return a & (BLK_TC_ACT(bits));
|
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
| X509CertificateObject.java | 109 DERBitString bits = DERBitString.getInstance(ASN1Primitive.fromByteArray(bytes)); local 111 bytes = bits.getBytes(); 112 int length = (bytes.length * 8) - bits.getPadBits();
|
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
| X509CertificateObject.java | 107 DERBitString bits = DERBitString.getInstance(ASN1Primitive.fromByteArray(bytes)); local 109 bytes = bits.getBytes(); 110 int length = (bytes.length * 8) - bits.getPadBits();
|
| /external/chromium_org/chrome/third_party/mozilla_security_manager/ |
| nsNSSCertHelper.cpp | 897 unsigned int bits = 0; local 899 for (size_t i = 0; i * 8 < bitfield->len && i < sizeof(bits); ++i) 900 bits |= bitfield->data[i] << (i * 8); [all...] |
| /external/chromium_org/net/third_party/nss/ssl/ |
| ssl3ecc.c | 124 PRUint16 bits; member in struct:Bits2CurveStr 429 if (bits2curve[i].bits < requiredECCbits) 474 /* convert to strength in bits */ [all...] |
| /external/chromium_org/skia/ext/ |
| vector_platform_device_emf_win.cc | 934 void* bits = NULL; local 937 DIB_RGB_COLORS, &bits, NULL, 0); 941 unsigned char* dest_buffer = static_cast<unsigned char *>(bits); [all...] |
| /external/chromium_org/third_party/libwebp/dec/ |
| frame.c | 204 const int bits = local 207 const int delta = (bits + DITHER_DESCALE_ROUNDER) >> DITHER_DESCALE; 680 static WEBP_INLINE void DoTransform(uint32_t bits, const int16_t* const src, 682 switch (bits >> 30) { 697 static void DoUVTransform(uint32_t bits, const int16_t* const src, 699 if (bits & 0xff) { // any non-zero coeff at all? 700 if (bits & 0xaa) { // any non-zero AC coefficient? 747 uint32_t bits = block->non_zero_y_; local 777 for (n = 0; n < 16; ++n, bits <<= 2) { 780 DoTransform(bits, coeffs + n * 16, dst) [all...] |
| idec.c | 340 uint32_t bits; local 350 bits = data[0] | (data[1] << 8) | (data[2] << 16); 351 idec->mem_.part0_size_ = (bits >> 5) + VP8_FRAME_HEADER_SIZE;
|
| vp8.c | 106 const uint32_t bits = data[0] | (data[1] << 8) | (data[2] << 16); local 107 const int key_frame = !(bits & 1); 115 if (((bits >> 1) & 7) > 3) { 118 if (!((bits >> 4) & 1)) { 121 if (((bits >> 5)) >= chunk_size) { // partition_length 271 const uint32_t bits = buf[0] | (buf[1] << 8) | (buf[2] << 16); local 273 frm_hdr->key_frame_ = !(bits & 1); 274 frm_hdr->profile_ = (bits >> 1) & 7; 275 frm_hdr->show_ = (bits >> 4) & 1; 276 frm_hdr->partition_length_ = (bits >> 5) [all...] |
| /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
| u_format.h | 92 /** Block size in bits */ 93 unsigned bits; member in struct:util_format_block 131 unsigned size:9; /**< bits per channel */ 167 * - pixel depth must be 8, 16, or 32 bits; 630 desc->block.bits != 32) 646 * Return total bits needed for the pixel format per block. 658 return desc->block.bits; 667 uint bits = util_format_get_blocksizebits(format); local 669 assert(bits % 8 == 0); 671 return bits / 8 [all...] |
| /external/chromium_org/third_party/openssl/openssl/crypto/engine/ |
| eng_cryptodev.c | 929 ssize_t bytes, bits; local 935 bits = BN_num_bits(a); 936 bytes = (bits + 7) / 8; 944 crp->crp_nbits = bits; [all...] |
| /external/chromium_org/third_party/opus/src/src/ |
| opus_demo.c | 48 "<bits per second> [options] <input> <output>\n", argv[0]); 245 double bits=0.0, bits_max=0.0, bits_act=0.0, bits2=0.0, nrg; local [all...] |
| /external/chromium_org/third_party/skia/src/core/ |
| SkScalerContext.cpp | 270 // check for overflow of 16bits, since our glyphID cannot exceed that 533 unsigned bits = 0; local 535 bits <<= 1; 536 bits |= convert_8_to_1(alpha[i]); 538 return SkToU8(bits); 561 unsigned bits = 0; local 564 bits |= convert_8_to_1(*src++) << shift; 566 *dst++ = bits; [all...] |
| /external/chromium_org/third_party/skia/src/utils/ |
| SkMD5.cpp | 64 // Get the number of bits before padding. 65 uint8_t bits[8]; local 66 encode(bits, this->byteCount << 3); 80 this->update(bits, 8); 109 /** Rotates x left n bits. */
|
| /external/chromium_org/third_party/zlib/ |
| trees.c | 48 /* Bit length codes must not exceed MAX_BL_BITS bits */ 54 /* repeat previous bit length 3-6 times (2 bits of repeat count) */ 57 /* repeat a zero length 3-10 times (3 bits of repeat count) */ 60 /* repeat a zero length 11-138 times (7 bits of repeat count) */ 62 local const int extra_lbits[LENGTH_CODES] /* extra bits for each length code */ 65 local const int extra_dbits[D_CODES] /* extra bits for each distance code */ 68 local const int extra_blbits[BL_CODES]/* extra bits for each bit length code */ 78 /* Number of bits used within bi_buf. (bi_buf might be implemented on 79 * more than 16 bits on some systems.) 100 * 5 bits. 244 int bits; \/* bit counter *\/ local 506 int bits; \/* bit length *\/ local 588 int bits; \/* bit index *\/ local [all...] |
| /external/chromium_org/ui/base/clipboard/ |
| clipboard_win.cc | 299 void *bits; local 301 ::CreateDIBSection(dc, &bm_info, DIB_RGB_COLORS, &bits, NULL, 0); 303 if (bits && source_hbitmap) { 307 memcpy(bits, bitmap.getPixels(), bitmap.getSize()); 323 // For this reason, we create a new bitmap, copy the bits over, and then
|
| /external/chromium_org/v8/src/arm64/ |
| instructions-arm64.h | 111 uint32_t Bits(int msb, int lsb) const { 116 int32_t bits = *(reinterpret_cast<const int32_t*>(this)); local 117 return signed_bitextract_32(msb, lsb, bits);
|
| /external/deqp/modules/gles2/functional/ |
| es2fPolygonOffsetTests.cpp | 1209 int bits; member in struct:deqp::gles2::Functional::DepthBufferFormat [all...] |
| /external/deqp/modules/gles3/functional/ |
| es3fPolygonOffsetTests.cpp | 1212 int bits; member in struct:deqp::gles3::Functional::DepthBufferFormat [all...] |
| es3fShaderPrecisionTests.cpp | 24 * floatBitsToUint() in shader to write out floating-point value bits. 310 // If 32-bit reference value is used, 2 bits of rounding error must be allowed. 312 // For mediump and lowp types the comparison currently allows 3 bits of rounding error: 313 // two bits from conversions and one from actual operation. 328 m_testCtx.getLog() << TestLog::Message << "Assuming " << mantissaBits << " mantissa bits, " << numLostBits << " bits lost in operation, and " << roundingUlpError << " ULP rounding error." 332 const deUint64 refBits = tcu::Float64(reference).bits(); 333 const deUint64 resBits = tcu::Float64(result).bits(); 340 m_testCtx.getLog() << TestLog::Message << "ERROR: comparison failed! ULP diff (ignoring lost/undefined bits) = " << ulpDiff << TestLog::EndMessage; 392 << "in0 = " << in0 << " / " << tcu::toHex(tcu::Float32(in0).bits()) 907 int bits; member in struct:deqp::gles3::Functional::__anon23881 933 int bits; member in struct:deqp::gles3::Functional::__anon23882 [all...] |