/external/webp/src/utils/ |
H A D | huffman.c | 161 static int ReverseBitsShort(int bits, int num_bits) { argument 167 retval |= bits & 1; 168 bits >>= 1; 180 static int ReverseBitsShort(int bits, int num_bits) { argument 181 const uint8_t v = (kReversedBits[bits & 0xf] << 4) | kReversedBits[bits >> 4];
|
/external/chromium_org/v8/src/ |
H A D | types.cc | 346 lub |= mins[i-1].bits; 350 return lub |= mins[BitsetMinsSize()-1].bits; 355 double TypeImpl<Config>::BitsetType::Min(bitset bits) { argument 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) { argument 373 DCHECK(Is(bits, kNumber)); 375 bool mz = bits 611 bitset bits = type1->BitsetGlb() & type2->BitsetGlb(); local 766 TypeHandle bits = BitsetType::New( local 983 Name(bitset bits) argument 1003 Print(OStream& os, bitset bits) argument 1102 Print(bitset bits) argument [all...] |
/external/pixman/pixman/ |
H A D | pixman-inlines.h | 42 * Input mask is bits mask so template should handle this. 428 pixman_fixed_t src_width_fixed = pixman_int_to_fixed (src_image->bits.width); \ 445 solid_mask = _pixman_image_get_solid (imp, mask_image, dest_image->bits.format); \ 474 max_vy = pixman_int_to_fixed (src_image->bits.height); \ 484 pad_repeat_get_scanline_bounds (src_image->bits.width, vx, unit_x, \ 505 repeat (PIXMAN_REPEAT_PAD, &y, src_image->bits.height); \ 510 src + src_image->bits.width - src_image->bits.width + 1, \ 516 dst + left_pad, src + src_image->bits.width, width, \ 522 dst + left_pad + width, src + src_image->bits [all...] |
H A D | pixman.c | 248 region->extents.x2 = MIN (region->extents.x2, dest_image->bits.width); 249 region->extents.y2 = MIN (region->extents.y2, dest_image->bits.height); 418 * extents in destination space fits in 16 bits 433 * them to be smaller than 16 bits. 435 if (image->bits.width >= 0x7fff || image->bits.height >= 0x7fff) 441 extents->x2 <= image->bits.width && 442 extents->y2 <= image->bits.height) 511 pixman_fixed_to_int (transformed.x2) < image->bits.width && 512 pixman_fixed_to_int (transformed.y2) < image->bits 757 pixman_fill(uint32_t *bits, int stride, int bpp, int x, int y, int width, int height, uint32_t filler) argument [all...] |
/external/deqp/framework/platform/X11/ |
H A D | tcuX11GlxPlatform.cpp | 436 deUint32 bits = surfaceTypeToDrawableBits(renderCfg.surfaceType); local 438 if ((visual.getAttrib(GLX_DRAWABLE_TYPE) & bits) == 0) 455 void add (size_t bits, deUint32 value); 456 void sub (size_t bits, deUint32 value); 464 void Rank::add (size_t bits, deUint32 value) argument 466 TCU_CHECK_INTERNAL(m_bitsLeft >= bits); 467 m_bitsLeft -= bits; 468 m_value = m_value << bits | de::min((1U << bits) - 1, value); 471 void Rank::sub (size_t bits, deUint3 argument [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | decNumber.c | 159 /* is not useful for longer numbers because overflow of 32 bits */ 300 /* masked special-values bits */ 301 #define SPECIALARG (rhs->bits & DECSPECIAL) 302 #define SPECIALARGS ((lhs->bits | rhs->bits) & DECSPECIAL) 373 if (in<0) dn->bits=DECNEG; /* sign needed */ 405 if (dn->bits&DECSPECIAL || dn->digits>10 || dn->exponent!=0) ; /* bad */ 422 if (dn->bits&DECNEG && hi==214748364 && lo==8) return 0x80000000; 427 if (dn->bits&DECNEG) return -i; 440 if (dn->bits 511 uByte bits=0; /* working flags [assume +ve] */ local 1989 uByte bits=0; /* result sign if errors */ local 3841 uByte bits; /* result bits */ local 4281 uByte bits; /* working sign */ local 4872 uByte bits; /* result sign */ local [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | decNumber.c | 159 /* is not useful for longer numbers because overflow of 32 bits */ 302 /* masked special-values bits */ 303 #define SPECIALARG (rhs->bits & DECSPECIAL) 304 #define SPECIALARGS ((lhs->bits | rhs->bits) & DECSPECIAL) 375 if (in<0) dn->bits=DECNEG; /* sign needed */ 407 if (dn->bits&DECSPECIAL || dn->digits>10 || dn->exponent!=0) ; /* bad */ 424 if (dn->bits&DECNEG && hi==214748364 && lo==8) return 0x80000000; 429 if (dn->bits&DECNEG) return -i; 442 if (dn->bits 513 uByte bits=0; /* working flags [assume +ve] */ local 1991 uByte bits=0; /* result sign if errors */ local 3843 uByte bits; /* result bits */ local 4283 uByte bits; /* working sign */ local 4874 uByte bits; /* result sign */ local [all...] |
/external/chromium_org/third_party/skia/experimental/Intersection/ |
H A D | EdgeWalker_TestUtility.cpp | 189 static int pathsDrawTheSame(SkBitmap& bits, const SkPath& scaledOne, const SkPath& scaledTwo, argument 191 if (bits.width() == 0) { 192 bits.setConfig(SkBitmap::kARGB_8888_Config, bitWidth * 2, bitHeight); 193 bits.allocPixels(); 195 SkCanvas canvas(bits); 210 uint32_t* addr1 = bits.getAddr32(0, y); 211 uint32_t* addr2 = bits.getAddr32(0, y + 1); 212 uint32_t* addr3 = bits.getAddr32(bitWidth, y); 213 uint32_t* addr4 = bits.getAddr32(bitWidth, y + 1); 231 static int pathsDrawTheSame(const SkPath& one, const SkPath& two, SkBitmap& bits, SkPat argument 248 SkBitmap bits; local 354 SkBitmap bits; local [all...] |
/external/jpeg/ |
H A D | jdmarker.c | 429 UINT8 bits[17]; local 443 bits[0] = 0; 446 INPUT_BYTE(cinfo, bits[i], return FALSE); 447 count += bits[i]; 453 bits[1], bits[2], bits[3], bits[4], 454 bits[5], bits[ [all...] |
/external/pdfium/core/src/fxcodec/libjpeg/ |
H A D | fpdfapi_jdmarker.c | 457 UINT8 bits[17];
local 471 bits[0] = 0;
474 INPUT_BYTE(cinfo, bits[i], return FALSE);
475 count += bits[i];
481 bits[1], bits[2], bits[3], bits[4],
482 bits[5], bits[ [all...] |
/external/qemu/distrib/jpeg-6b/ |
H A D | jdmarker.c | 423 UINT8 bits[17]; local 437 bits[0] = 0; 440 INPUT_BYTE(cinfo, bits[i], return FALSE); 441 count += bits[i]; 447 bits[1], bits[2], bits[3], bits[4], 448 bits[5], bits[ [all...] |
/external/skia/experimental/Intersection/ |
H A D | EdgeWalker_TestUtility.cpp | 189 static int pathsDrawTheSame(SkBitmap& bits, const SkPath& scaledOne, const SkPath& scaledTwo, argument 191 if (bits.width() == 0) { 192 bits.setConfig(SkBitmap::kARGB_8888_Config, bitWidth * 2, bitHeight); 193 bits.allocPixels(); 195 SkCanvas canvas(bits); 210 uint32_t* addr1 = bits.getAddr32(0, y); 211 uint32_t* addr2 = bits.getAddr32(0, y + 1); 212 uint32_t* addr3 = bits.getAddr32(bitWidth, y); 213 uint32_t* addr4 = bits.getAddr32(bitWidth, y + 1); 231 static int pathsDrawTheSame(const SkPath& one, const SkPath& two, SkBitmap& bits, SkPat argument 248 SkBitmap bits; local 354 SkBitmap bits; local [all...] |
/external/chromium_org/third_party/libaddressinput/src/cpp/src/util/ |
H A D | md5.cc | 39 uint32 bits[2]; member in struct:__anon12568::Context 170 ctx->bits[0] = 0; 171 ctx->bits[1] = 0; 187 t = ctx->bits[0]; 188 if ((ctx->bits[0] = t + ((uint32)len << 3)) < t) 189 ctx->bits[1]++; /* Carry from low to high */ 190 ctx->bits[1] += static_cast<uint32>(len >> 29); 228 * 1 0* (64-bit count of bits processed, MSB-first) 236 count = (ctx->bits[0] >> 3) & 0x3F; 261 /* Append length in bits an [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
H A D | SkLayerDrawLooper.cpp | 67 BitFlags bits = info.fPaintBits; local 70 if (0 == bits) { 73 if (kEntirePaint_Bits == bits) { 84 if (bits & kStyle_Bit) { 92 if (bits & kTextSkewX_Bit) { 96 if (bits & kPathEffect_Bit) { 99 if (bits & kMaskFilter_Bit) { 102 if (bits & kShader_Bit) { 105 if (bits & kColorFilter_Bit) { 108 if (bits [all...] |
/external/flac/libFLAC/ |
H A D | fixed.c | 58 /* rbps stands for residual bits per sample 67 unsigned bits; /* the number of bits required to represent a number */ local 68 int fracbits; /* the number of bits of rbps that comprise the fractional part */ 78 * The above two things tell us 1) n fits in 16 bits; 2) err/n > 1. 87 /* err now holds err/n with fracbits fractional bits */ 90 * Whittle err down to 16 bits max. 16 significant bits is enough for 94 bits = FLAC__bitmath_ilog2(err)+1; 95 if(bits > 1 146 unsigned bits; /* the number of bits required to represent a number */ local [all...] |
/external/skia/src/effects/ |
H A D | SkLayerDrawLooper.cpp | 67 BitFlags bits = info.fPaintBits; local 70 if (0 == bits) { 73 if (kEntirePaint_Bits == bits) { 84 if (bits & kStyle_Bit) { 92 if (bits & kTextSkewX_Bit) { 96 if (bits & kPathEffect_Bit) { 99 if (bits & kMaskFilter_Bit) { 102 if (bits & kShader_Bit) { 105 if (bits & kColorFilter_Bit) { 108 if (bits [all...] |
/external/zlib/src/contrib/inflate86/ |
H A D | inffas86.c | 50 state->bits < 8 60 - The maximum input bits used by a length/distance pair is 15 bits for the 61 length code, 5 bits for the length extra, 15 bits for the distance code, 62 and 13 bits for the distance extra. This totals 48 bits, or six bytes. 90 /* 88 44 */ unsigned bits; /* ebx rbx local strm->bits */ member in struct:inffast_ar 119 ar.bits [all...] |
/external/bison/darwin-lib/ |
H A D | stdint.h | 122 #define _STDINT_MIN(signed, bits, zero) \ 123 ((signed) ? (- ((zero) + 1) << ((bits) ? (bits) - 1 : 0)) : (zero)) 125 #define _STDINT_MAX(signed, bits, zero) \ 127 ? ~ _STDINT_MIN (signed, bits, zero) \ 131 ((((zero) + 1) << ((bits) ? (bits) - 1 - (signed) : 0)) - 1) * 2 + 1) 138 types have 8, 16, 32, optionally 64 bits. */ 220 types have 8, 16, 32, optionally 64 bits. Therefore the leastN_t types 250 types have 8, 16, 32, optionally 64 bits [all...] |
/external/bison/lib/ |
H A D | stdint.in.h | 121 #define _STDINT_MIN(signed, bits, zero) \ 122 ((signed) ? (- ((zero) + 1) << ((bits) ? (bits) - 1 : 0)) : (zero)) 124 #define _STDINT_MAX(signed, bits, zero) \ 126 ? ~ _STDINT_MIN (signed, bits, zero) \ 130 ((((zero) + 1) << ((bits) ? (bits) - 1 - (signed) : 0)) - 1) * 2 + 1) 137 types have 8, 16, 32, optionally 64 bits. */ 219 types have 8, 16, 32, optionally 64 bits. Therefore the leastN_t types 249 types have 8, 16, 32, optionally 64 bits [all...] |
/external/chromium_org/net/spdy/ |
H A D | hpack_huffman_table.cc | 21 // How many bits to index in the root decode table. 23 // Maximum number of bits to index in successive decode tables. 91 // At least one code (such as an EOS symbol) must be 8 bits or longer. 128 // Mask and shift the portion of the code being indexed into low bits. 225 // Load, and shift code to low bits. 274 // Current input, stored in the high |bits_available| bits of |bits|. 275 uint32 bits = 0; local 277 bool peeked_success = in->PeekBits(&bits_available, &bits); 281 uint32 index = bits >> (3 [all...] |
/external/chromium_org/third_party/re2/re2/testing/ |
H A D | dfa_test.cc | 145 int bits = 0; local 148 bits <<= 1; 149 bits &= mask; 150 if (!did[bits|1]) { 151 bits |= 1; 156 CHECK(!did[bits]); 157 did[bits] = true;
|
/external/regex-re2/re2/testing/ |
H A D | dfa_test.cc | 145 int bits = 0; local 148 bits <<= 1; 149 bits &= mask; 150 if (!did[bits|1]) { 151 bits |= 1; 156 CHECK(!did[bits]); 157 did[bits] = true;
|
/external/chromium_org/third_party/libjpeg_turbo/ |
H A D | jdmarker.c | 436 UINT8 bits[17]; local 450 bits[0] = 0; 453 INPUT_BYTE(cinfo, bits[i], return FALSE); 454 count += bits[i]; 460 bits[1], bits[2], bits[3], bits[4], 461 bits[5], bits[ [all...] |
/external/openssl/crypto/bn/ |
H A D | bn_lib.c | 144 static const unsigned char bits[256]={ local 170 return(bits[(int)(l>>56)]+56); 172 else return(bits[(int)(l>>48)]+48); 178 return(bits[(int)(l>>40)]+40); 180 else return(bits[(int)(l>>32)]+32); 192 return(bits[(int)(l>>56)]+56); 194 else return(bits[(int)(l>>48)]+48); 200 return(bits[(int)(l>>40)]+40); 202 else return(bits[(int)(l>>32)]+32); 213 return(bits[(in [all...] |
/external/chromium_org/third_party/webrtc/base/ |
H A D | md5.cc | 47 ctx->bits[0] = 0; 48 ctx->bits[1] = 0; 54 uint32 t = ctx->bits[0]; 55 if ((ctx->bits[0] = t + (static_cast<uint32>(len) << 3)) < t) { 56 ctx->bits[1]++; // Carry from low to high. 58 ctx->bits[1] += static_cast<uint32>(len >> 29); 91 // 1 0* (64-bit count of bits processed, MSB-first) 94 uint32 count = (ctx->bits[0] >> 3) & 0x3F; 119 // Append length in bits and transform. 120 ctx->in[14] = ctx->bits[ [all...] |