| /external/libxml2/ |
| parserInternals.c | 873 int bits; local 874 if (val < 0x800) { *out++= (val >> 6) | 0xC0; bits= 0; } 875 else if (val < 0x10000) { *out++= (val >> 12) | 0xE0; bits= 6;} 876 else if (val < 0x110000) { *out++= (val >> 18) | 0xF0; bits= 12; } 883 for ( ; bits >= 0; bits-= 6) 884 *out++= ((val >> bits) & 0x3F) | 0x80 ; [all...] |
| /external/llvm/utils/TableGen/ |
| X86RecognizableInstr.cpp | 154 /// byteFromBitsInit - Extracts a value at most 8 bits in width from a BitsInit. 180 /// byteFromRec - Extract a value at most 8 bits in with from a Record given the 187 BitsInit* bits = rec->getValueAsBitsInit(name); local 188 return byteFromBitsInit(*bits); 565 // Given the set of prefix bits, how many additional operands does the [all...] |
| /external/mesa3d/src/gallium/auxiliary/cso_cache/ |
| cso_hash.c | 59 int bits = hint; local 61 while (bits > 1) { 62 bits >>= 1;
|
| /external/mesa3d/src/gallium/drivers/llvmpipe/ |
| lp_bld_depth.c | 319 type.width = format_desc->block.bits; 324 assert(format_desc->channel[swizzle].size == format_desc->block.bits); 327 assert(format_desc->block.bits <= 32); 329 if (format_desc->channel[swizzle].size < format_desc->block.bits) { 350 * Note that we leave the Z bits in the position that we find them 358 const unsigned total_bits = format_desc->block.bits; 398 * to put the stencil bits in the least significant position. 451 LLVMValueRef bits = LLVMBuildBitCast(builder, maskvalue, local 453 bits = lp_build_intrinsic_unary(builder, movmskintr, 454 LLVMInt32TypeInContext(context), bits); 461 LLVMValueRef bits = LLVMBuildBitCast(builder, maskvalue, local [all...] |
| /external/mesa3d/src/mesa/drivers/dri/i965/ |
| brw_eu.h | 93 } bits; member in union:brw_reg::__anon16914 217 * set swizzle and writemask to W, as the lower bits of subnr will 222 reg.dw1.bits.swizzle = swizzle; 223 reg.dw1.bits.writemask = writemask; 224 reg.dw1.bits.indirect_offset = 0; 225 reg.dw1.bits.pad1 = 0; 675 reg.dw1.bits.swizzle = BRW_SWIZZLE4(BRW_GET_SWZ(reg.dw1.bits.swizzle, x), 676 BRW_GET_SWZ(reg.dw1.bits.swizzle, y), 677 BRW_GET_SWZ(reg.dw1.bits.swizzle, z) [all...] |
| /external/pdfium/core/src/fpdfapi/fpdf_edit/ |
| fpdf_edit_image.cpp | 15 FX_INT32 width, height, color_trans, num_comps, bits; local 17 LoadInfo(pData, size, width, height, num_comps, bits, color_trans)) { 40 pDict->SetAtInteger("BitsPerComponent", bits);
|
| /external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/ |
| inflate.h | 32 TYPE, /* i: waiting for type bits, including last-flag bit */ 42 LENEXT, /* i: waiting for length extra bits */ 44 DISTEXT, /* i: waiting for distance extra bits */ 99 unsigned bits; /* number of bits in "in" */ member in struct:inflate_state 104 unsigned extra; /* extra bits needed */ 108 unsigned lenbits; /* index bits for lencode */ 109 unsigned distbits; /* index bits for distcode */ 120 int back; /* bits back of last unprocessed length/lit */
|
| /external/pdfium/core/src/fxcodec/libjpeg/ |
| fpdfapi_jchuff.c | 35 int put_bits; /* # of bits now in it */ 216 i = (int) htbl->bits[l]; 237 * it must still fit in si bits, since no code is allowed to be all ones. 296 /* Outputting bits to the file */ 298 /* Only the right 24 bits of put_buffer are used; the valid bits are 299 * left-justified in this part. At most 16 bits can be passed to emit_bits 300 * in one call, and we never retain more than 7 bits in put_buffer 301 * between calls, so 24 bits are sufficient. 307 /* Emit some bits; return TRUE if successful, FALSE if must suspend * 712 UINT8 bits[MAX_CLEN+1]; \/* bits[k] = # of symbols with code length k *\/ local [all...] |
| /external/skia/bench/ |
| MathBench.cpp | 196 uint32_t bits = SkFloat2Bits(x); // need unsigned for our shifts local 197 int exponent = bits << 1 >> 24;
|
| /external/skia/src/ports/ |
| SkFontHost_FreeType_common.cpp | 213 int bits = 0; local 217 if (0 == bits) { 219 bits = 8; 222 bits--; 259 unsigned bits = 0; local 261 bits <<= 1; 262 bits |= convert_8_to_1(alpha[i]); 264 return SkToU8(bits); 286 unsigned bits = 0; local 289 bits |= convert_8_to_1(*src++) << shift [all...] |
| SkScalerContext_win_dw.cpp | 236 // Due to floating point math, the lower bits are suspect. Round carefully. 689 const void* bits = this->drawDWMask(glyph, renderingMode, textureType); local 690 if (!bits) { 696 const uint8_t* src = (const uint8_t*)bits;
|
| /external/toybox/toys/pending/ |
| syslogd.c | 97 * for evry file and updates facilty and log level bits. 107 uint8_t set, levval, bits = 0; local 130 for (tk = "!=*"; *tk; tk++, bits <<= 1) { 132 bits++; 136 if (bits & 2) levval = 0xff; 139 levval |= (bits & 4) ? LOG_MASK(i) : LOG_UPTO(i); 140 if (bits & 8) levval = ~levval;
|
| /external/v8/src/ |
| types.cc | 346 lub |= mins[i-1].bits; 350 return lub |= mins[BitsetMinsSize()-1].bits; 355 double TypeImpl<Config>::BitsetType::Min(bitset bits) { 357 DCHECK(Is(bits, kNumber)); 359 bool mz = SEMANTIC(bits & kMinusZero); 361 if (Is(SEMANTIC(mins[i].bits), bits)) { 371 double TypeImpl<Config>::BitsetType::Max(bitset bits) { 373 DCHECK(Is(bits, kNumber)); 375 bool mz = bits & kMinusZero 611 bitset bits = type1->BitsetGlb() & type2->BitsetGlb(); local 766 TypeHandle bits = BitsetType::New( local [all...] |
| /external/vixl/src/vixl/a64/ |
| instructions-a64.cc | 138 // An integer is constructed from the n, imm_s and imm_r bits according to 148 // (s bits must not be all set) 150 // A pattern is constructed of size bits, where the least significant S+1 151 // bits are set. The pattern is rotated right by R, and repeated across a 159 uint64_t bits = (UINT64_C(1) << (imm_s + 1)) - 1; local 160 return RotateRight(bits, imm_r, 64); 171 uint64_t bits = (UINT64_C(1) << ((imm_s & mask) + 1)) - 1; local 173 RotateRight(bits, imm_r & mask, width), 189 // Imm8: abcdefgh (8 bits) 190 // Single: aBbb.bbbc.defg.h000.0000.0000.0000.0000 (32 bits) 192 uint32_t bits = imm8; local 212 uint32_t bits = imm8; local [all...] |
| /external/zlib/src/ |
| inflate.h | 32 TYPE, /* i: waiting for type bits, including last-flag bit */ 42 LENEXT, /* i: waiting for length extra bits */ 44 DISTEXT, /* i: waiting for distance extra bits */ 99 unsigned bits; /* number of bits in "in" */ member in struct:inflate_state 104 unsigned extra; /* extra bits needed */ 108 unsigned lenbits; /* index bits for lencode */ 109 unsigned distbits; /* index bits for distcode */ 120 int back; /* bits back of last unprocessed length/lit */
|
| /frameworks/av/media/libstagefright/omx/ |
| SoftVideoEncoderOMXComponent.cpp | 564 void *bits = NULL; local 576 0, 0, width, height, &bits); 586 ycbcr.y = bits; 587 ycbcr.cr = (uint8_t *)bits + srcStride * srcVStride; 596 ycbcr.y = bits; 597 ycbcr.cr = (uint8_t *)bits + srcStride * srcVStride; 611 (const uint8_t *)bits, width, height, srcStride,
|
| /frameworks/av/services/audioflinger/ |
| AudioResamplerDyn.cpp | 155 int bits = 0; local 158 for (int i=lscale; i; ++bits, i>>=1) 161 mShift = kNumPhaseBits - bits; 400 // check if locked phase (works only if mPhaseIncrement has no "fractional phase bits")
|
| /frameworks/native/opengl/libagl/ |
| dxt.cpp | 162 // There's no need to endian-swap within 'bits' 164 uint32_t bits = *d32++; local 166 // Detect if any (odd, even) pair of bits are '11' 167 // bits: b31 b30 b29 ... b3 b2 b1 b0 168 // bits >> 1: b31 b31 b30 ... b4 b3 b2 b1 171 if (((bits & (bits >> 1)) & 0x55555555) != 0) { 216 uint32_t bits = *d32++; local 220 bits = swap(bits); 339 uint32_t bits = *d32++; local 463 uint32_t bits = *d32++; local [all...] |
| /frameworks/rs/api/ |
| GenerateTestFiles.cpp | 336 int bits = min(compatibleType.exponentBits, generatedType.exponentBits) - 1; local 337 maxValue = ldexp(0.95, (1 << bits) - 1); [all...] |
| /hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/ |
| h264parse_sei.c | 930 int32_t word, bits; local [all...] |
| /hardware/intel/common/libva/va/ |
| va_enc_mpeg2.h | 101 * A 14bits unsigned inter, the lower 12bits 103 * 2bits is \c horizontal_size_extension 109 * A 14bits unsigned inter, the lower 12bits 110 * is vertical_size_value, and the upper 2bits is 154 } bits; member in union:_VAEncSequenceParameterBufferMPEG2::__anon23985 169 } bits; member in union:_VAEncSequenceParameterBufferMPEG2::__anon23987 245 } bits; member in union:_VAEncPictureParameterBufferMPEG2::__anon23989 265 } bits; member in union:_VAEncPictureParameterBufferMPEG2::__anon23991 [all...] |
| /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/ |
| obj_int_extract.c | 76 int bits = 0; local 89 bits = 32; 97 bits = 64; 180 if (bits == 32) { 190 } else { /* if (bits == 64) */ 236 int bits; /* 32 or 64 */ member in struct:__anon24057 259 elf->bits = 32; 276 elf->bits = 64; 341 if (elf->bits == 32) { 351 } else { /* if (elf->bits == 64) * [all...] |
| /hardware/intel/common/wrs_omxil_core/core/src/ |
| intel_m4v_config_parser.cpp | 144 //DV: this is the wrong way to skip bits, use FLush or Read psBits->dataBitPos += 32; 145 ReadBits(psBits, 32, &codeword); // skip 32 bits of the Start code 262 /* vol_id (4 bits) */ 610 uint8 ucNBits, /* nr of bits to read */ 614 uint8 *bits; local 621 if (ucNBits > (32 - bitPos)) /* not enough bits */ 637 bits = &pStream->data[dataBytePos]; 638 pStream->bitBuf = (bits[0] << 24) | (bits[1] << 16) | (bits[2] << 8) | bits[3] 656 uint8 *bits; local 688 uint8 *bits; local 724 uint8 *bits; local [all...] |
| /hardware/ti/omap3/omx/ti_omx_config_parser/src/ |
| ti_m4v_config_parser.cpp | 139 //DV: this is the wrong way to skip bits, use FLush or Read psBits->dataBitPos += 32; 140 ReadBits(psBits, 32, &codeword); // skip 32 bits of the Start code 257 /* vol_id (4 bits) */ 625 uint8 ucNBits, /* nr of bits to read */ 629 uint8 *bits; local 636 if (ucNBits > (32 - bitPos)) /* not enough bits */ 652 bits = &pStream->data[dataBytePos]; 653 pStream->bitBuf = (bits[0] << 24) | (bits[1] << 16) | (bits[2] << 8) | bits[3] 671 uint8 *bits; local 703 uint8 *bits; local 739 uint8 *bits; local [all...] |
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
| BigIntegerConstructorsTest.java | 739 * Create a random number of 75 bits length. 752 int bits; local 755 bits = 128; 756 b = new BigInteger(bits, 10, rnd); 757 assertEquals(b.toString(), bits, b.bitLength()); local 759 // Create a prime number of 25 bits length. 760 bits = 25; 761 b = new BigInteger(bits, 10, rnd); 762 assertEquals(b.toString(), bits, b.bitLength()); local 764 // Create a prime number of 18 bits length 767 assertEquals(b.toString(), bits, b.bitLength()); local 773 assertEquals(b.toString(), bits, b.bitLength()); local [all...] |