HomeSort by relevance Sort by last modified time
    Searched defs:bits (Results 526 - 550 of 1014) sorted by null

<<21222324252627282930>>

  /external/chromium_org/third_party/skia/src/effects/
SkColorMatrixFilter.cpp 135 /* All of fArray[] values must fit in 23 bits, to safely allow me to
139 int bits = SkCLZ(max); local
143 if (bits < 9) {
144 bits = 9 - bits;
145 fState.fShift -= bits;
147 array[i] >>= bits; local
149 one >>= bits; local
298 // now packed it back down to 16bits (hmmm, could dither...)
  /external/chromium_org/third_party/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 234 // Due to floating point math, the lower bits are suspect. Round carefully.
692 const void* bits = this->drawDWMask(glyph); local
693 if (!bits) {
699 const uint8_t* src = (const uint8_t*)bits;
  /external/chromium_org/third_party/skia/third_party/harfbuzz/src/
harfbuzz-open.c 1387 HB_UShort byte, bits, mask, f, s; local
1396 bits = byte >> ( 16 - ( ( s % ( 1 << ( 4 - f ) ) + 1 ) << f ) );
1399 *value = (HB_Short)( bits & mask );
  /external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/
x86expr.c 37 unsigned char bits; member in struct:x86_checkea_reg3264_data
64 if (data->bits != 64 && (ei->data.reg & 0x8) == 0x8)
71 if (data->bits != 64 && (ei->data.reg & 0x8) == 0x8)
76 if (data->bits != 64)
152 x86_expr_checkea_distcheck_reg(yasm_expr **ep, unsigned int bits)
196 bits);
263 int *pcrel, unsigned int bits, void *data,
280 if (bits != 64) { /* only valid in 64-bit mode */
304 switch (x86_expr_checkea_distcheck_reg(ep, bits)) {
449 /* If not 0, the displacement length was forced; set the Mod bits
    [all...]
  /external/chromium_org/third_party/zlib/
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/chromium_org/ui/gfx/
icon_util.cc 181 void* bits = NULL; local
187 DIB_RGB_COLORS, &bits, NULL, 0);
189 if (!dib || !bits)
192 memcpy(bits, bitmap.getPixels(), bitmap.width() * bitmap.height() * 4);
388 uint32* bits; local
390 DIB_RGB_COLORS, reinterpret_cast<void**>(&bits), NULL, 0);
414 memset(bits, 0, num_pixels * 4);
421 opaque[i] = !bits[i];
424 memset(bits, 0, num_pixels * 4);
426 memcpy(bitmap.getPixels(), static_cast<void*>(bits), num_pixels * 4)
    [all...]
  /external/deqp/modules/egl/
teglChooseConfigTests.cpp 359 EGLint bits = 0; local
360 bits |= rnd.getBool() ? EGL_WINDOW_BIT : 0;
361 bits |= rnd.getBool() ? EGL_PIXMAP_BIT : 0;
362 bits |= rnd.getBool() ? EGL_PBUFFER_BIT : 0;
363 return bits;
  /external/deqp/modules/gles3/functional/
es3fFboTestUtil.cpp 1056 const tcu::IVec4 bits = tcu::getTextureFormatMantissaBitDepth(format); local
1104 const tcu::IVec4 bits = tcu::getTextureFormatMantissaBitDepth(src); local
    [all...]
  /external/dexmaker/src/dx/java/com/android/dx/dex/code/
InsnFormat.java 244 * Helper method to return a literal bits argument string.
266 * Helper method to return a literal bits comment string.
269 * @param width the width of the constant, in bits (used for displaying
270 * the uninterpreted bits; one of: {@code 4 8 16 32 64}
279 long bits; local
282 bits = ((CstLiteral64) value).getLongBits();
284 bits = value.getIntBits();
288 case 4: sb.append(Hex.uNibble((int) bits)); break;
289 case 8: sb.append(Hex.u1((int) bits)); break;
290 case 16: sb.append(Hex.u2((int) bits)); break
    [all...]
  /external/elfutils/0.153/libdwfl/
linux-kernel-modules.c 540 unsigned char *bits = p; local
557 vaddr += bits - buf.data;
558 return INTUSE(dwfl_module_report_build_id) (mod, bits,
  /external/flac/libFLAC/
bitreader.c 54 /* WATCHOUT: there are a few places where the code will not work unless brword is >= 32 bits wide */
83 * read. With FLAC this is on the order of maybe a few hundred bits.
137 /* any partially-consumed word at the head will stay right-justified as bits are consumed from the left */
144 unsigned consumed_bits; /* ... + (#bits of head word) already consumed from the front of buffer */
146 unsigned crc16_align; /* the number of bits in the current consumed word that should not be CRC'd */
232 /* before reading, if the existing reader looks like this (say brword is 32 bits wide)
371 fprintf(out, "bitreader: capacity=%u words=%u bytes=%u consumed: words=%u, bits=%u\n", br->capacity, br->words, br->bytes, br->consumed_words, br->consumed_bits);
435 FLaC__INLINE FLAC__bool FLAC__bitreader_read_raw_uint32(FLAC__BitReader *br, FLAC__uint32 *val, unsigned bits)
440 FLAC__ASSERT(bits <= 32);
441 FLAC__ASSERT((br->capacity*FLAC__BITS_PER_WORD) * 2 >= bits);
473 *val <<= bits; local
813 unsigned bits; \/* the # of binary LSBs left to read to finish a rice codeword *\/ local
928 uval <<= bits; local
940 uval <<= bits; local
948 uval <<= bits; local
959 uval <<= bits; local
    [all...]
  /external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/
GifHeaderParser.java 252 int available, clear, code_mask, code_size, end_of_information, in_code, old_code, bits, code, count, i, datum, data_size, first, top, bi, pi; local
280 datum = bits = count = first = top = pi = bi = 0;
285 if (bits < code_size) {
286 // Load bytes until there are enough bits for a code.
295 datum += (((int) block[bi]) & 0xff) << bits;
296 bits += 8;
304 bits -= code_size;
  /external/icu/icu4c/source/tools/toolutil/
pkg_genc.c 461 char bitFieldStr[64]; /* This is more bits than needed for a 32-bit number */
748 * The number of bits is implicit with the Machine value.
769 uint16_t cpu, bits; local
1024 getArchitecture(&cpu, &bits, &makeBigEndian, optMatchArch);
1025 printf("genccode: --match-arch cpu=%hu bits=%hu big-endian=%d\n", cpu, bits, makeBigEndian);
1064 if(bits==32) {
1083 } else /* bits==64 */ {
    [all...]
  /external/iproute2/tc/
f_u32.c 848 int bits = mask2bits(key->mask); local
849 if (bits >= 0) {
854 bits);
904 int bits = mask2bits(key->mask); local
905 if (bits >= 0) {
910 bits);
  /external/jpeg/
jchuff.c 31 int put_bits; /* # of bits now in it */
212 i = (int) htbl->bits[l];
233 * it must still fit in si bits, since no code is allowed to be all ones.
292 /* Outputting bits to the file */
294 /* Only the right 24 bits of put_buffer are used; the valid bits are
295 * left-justified in this part. At most 16 bits can be passed to emit_bits
296 * in one call, and we never retain more than 7 bits in put_buffer
297 * between calls, so 24 bits are sufficient.
303 /* Emit some bits; return TRUE if successful, FALSE if must suspend *
708 UINT8 bits[MAX_CLEN+1]; \/* bits[k] = # of symbols with code length k *\/ local
    [all...]
  /external/libogg/src/
bitwise.c 18 /* We're 'LSb' endian; if we write a word but read individual bits,
59 void oggpack_writetrunc(oggpack_buffer *b,long bits){
60 long bytes=bits>>3;
62 bits-=bytes*8;
64 b->endbit=bits;
66 *b->ptr&=mask[bits];
70 void oggpackB_writetrunc(oggpack_buffer *b,long bits){
71 long bytes=bits>>3;
73 bits-=bytes*8;
75 b->endbit=bits;
164 int bits=8-b->endbit; local
170 int bits=8-b->endbit; local
    [all...]
  /external/libvpx/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:__anon28568
259 elf->bits = 32;
276 elf->bits = 64;
341 if (elf->bits == 32) {
351 } else { /* if (elf->bits == 64) *
    [all...]
  /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 137 /// byteFromBitsInit - Extracts a value at most 8 bits in width from a BitsInit.
163 /// byteFromRec - Extract a value at most 8 bits in with from a Record given the
170 BitsInit* bits = rec->getValueAsBitsInit(name); local
171 return byteFromBitsInit(*bits);
    [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::__anon31528
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/openssl/crypto/bn/
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[(int)(l>>24L)]+24)
    [all...]
bntest.c 742 int bits = (200*(i+1))/num2; local
744 if (bits == 0)
746 BN_bntest_rand(&n,bits,0,1);
    [all...]

Completed in 1743 milliseconds

<<21222324252627282930>>