/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_const.c | 132 unsigned bits; local 155 /* FIXME: consider the fractional bits? */ 156 bits = type.width / 2 - 1; 158 bits = type.width - 1; 160 return (double)-((long long)1 << bits); 170 unsigned bits; local 190 bits = type.width / 2; 192 bits = type.width; 195 bits -= 1; 197 return (double)(((unsigned long long)1 << bits) - 1) [all...] |
lp_bld_format_soa.c | 115 assert(format_desc->block.bits <= type.width); 149 if (stop < format_desc->block.bits) { 179 unsigned bits = type.width - stop; local 180 LLVMValueRef bits_val = lp_build_const_int_vec(gallivm, type, bits); 189 unsigned bits = type.width - format_desc->channel[chan].size; local 190 LLVMValueRef bits_val = lp_build_const_int_vec(gallivm, type, bits); 325 format_desc->block.bits <= type.width && 343 format_desc->block.bits,
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_vlc.h | 72 unsigned i, bits = util_logbase2(dst_size); local 83 for(i=0; i<(1 << (bits - src->entry.length)); ++i) 84 dst[src->bitcode >> (16 - bits) | i] = src->entry; 118 * fill the bit buffer, so that at least 32 bits are valid 193 * number of bits still valid in bit buffer 202 * number of bits left over all inbut buffers
|
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
nv50_ir_util.cpp | 278 data[(size + 31) / 32 - 1] = 0; // clear unused bits (e.g. for popCount) 376 uint32_t bits = data[i]; local 377 while (bits) { 378 int pos = ffs(bits) - 1; 379 bits &= ~(1 << pos);
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_tex_sample.h | 81 } bits; member in union:sp_sampler_key
|
sp_tex_tile_cache.h | 61 } bits; member in union:tex_tile_address 142 addr.bits.x = x / TILE_SIZE; 143 addr.bits.y = y / TILE_SIZE; 144 addr.bits.z = z; 145 addr.bits.face = face; 146 addr.bits.level = level;
|
sp_tile_cache.h | 58 } bits; member in union:tile_address 141 addr.bits.x = x / TILE_SIZE; 142 addr.bits.y = y / TILE_SIZE;
|
/external/mesa3d/src/mesa/drivers/dri/common/ |
utils.c | 132 * \c GL_UNSIGNED_SHORT_5_6_5_REV is specified with \c GL_RGB, bits [15:11] 133 * are the blue value, bits [10:5] are the green value, and bits [4:0] are 141 * still uses 32-bits. 248 const uint8_t * bits; local 314 bits = bits_table[0]; 317 bits = bits_table[1]; 320 bits = ((fb_format == GL_RGB) || (fb_format == GL_BGR)) 341 modes->redBits = bits[0]; 342 modes->greenBits = bits[1] [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
IsoTypeReader.java | 132 int bits = readUInt16(bb); local 135 int c = (bits >> (2 - i) * 5) & 0x1f;
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/read/ |
BitstreamReader.java | 154 int[] bits = new int[16 - nBit]; local 158 bits[cnt++] = (curByte >> (7 - i)) & 0x1; 162 bits[cnt++] = (nextByte >> (7 - i)) & 0x1; 168 result |= bits[i];
|
/external/openssh/ |
auth-rsa.c | 63 * options bits e n comment 64 * where bits, e and n are decimal numbers, 99 error("auth_rsa_verify_response: RSA modulus too small: %d < minimum %d bits", 169 u_int bits; local 214 if (hostfile_read_key(&cp, &bits, key) == 0) { 228 /* check the real bits */ 230 if (keybits < 0 || bits != (u_int)keybits) 233 file, linenum, BN_num_bits(key->rsa->n), bits);
|
auth1.c | 167 u_int bits; local 180 bits = packet_get_int(); 185 if (keybits < 0 || bits != (u_int)keybits) { 188 BN_num_bits(client_host_key->rsa->n), bits);
|
sshconnect1.c | 485 int bits, rbits; local 504 bits = packet_get_int(); 509 if (bits != rbits) { 511 "actual size is %d bits vs. announced %d.", rbits, bits); 516 bits = packet_get_int(); 521 if (bits != rbits) { 523 "actual size is %d bits vs. announced %d.", rbits, bits); 535 debug("Received server public key (%d bits) and host key (%d bits)." [all...] |
/external/openssl/apps/ |
dhparam.c | 256 BIO_printf(bio_err," numbits number of bits in to generate (default 512)\n"); 462 int len,l,bits; local 465 bits=BN_num_bits(dh->p); 475 printf("DH *get_dh%d()\n\t{\n",bits); 478 printf("\tstatic unsigned char dh%d_p[]={",bits); 487 printf("\tstatic unsigned char dh%d_g[]={",bits); 498 bits,bits); 500 bits,bits); [all...] |
/external/qemu/audio/ |
wavcapture.c | 10 int bits; member in struct:__anon27528 75 wav->freq, wav->bits, wav->nchannels, 85 int bits, int nchannels) 100 if (bits != 8 && bits != 16) { 101 monitor_printf(mon, "incorrect bit count %d, must be 8 or 16\n", bits); 112 bits16 = bits == 16; 142 wav->bits = bits;
|
/external/qemu/distrib/sdl-1.2.15/src/audio/arts/ |
SDL_artsaudio.c | 63 static arts_stream_t (*SDL_NAME(arts_play_stream))(int rate, int bits, int channels, const char *name); 279 int bits, frag_spec; local 290 bits = 0; 298 bits = 8; 302 bits = 16; 328 stream = SDL_NAME(arts_play_stream)(spec->freq, bits, spec->channels, "SDL");
|
/external/qemu/distrib/zlib-1.2.3/ |
infback.c | 83 unsigned sym, bits; local 94 bits = 9; 95 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); 101 bits = 5; 102 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); 126 bits = state->bits; \ 137 state->bits = bits; \ 144 bits = 0; 253 unsigned bits; \/* bits in bit buffer *\/ local [all...] |
/external/regex-re2/re2/ |
prog.cc | 317 uint32 bits = 0; local 320 bits = v.Word(i >> 5); 322 n += bits & 1; 323 bits >>= 1;
|
/external/regex-re2/re2/testing/ |
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/skia/include/core/ |
SkFloatingPoint.h | 71 int32_t bits = SkFloat2Bits(x); local 72 return (bits << 1) == (0xFF << 24);
|
/external/skia/src/core/ |
SkBlitter.cpp | 78 const uint8_t bits[], 85 unsigned b = *bits++ & left_mask; 123 const uint8_t* bits = mask.getAddr1(cx, cy); local 127 bits_to_runs(this, cx, cy, bits, 0xFF, mask_rowBytes, 0xFF); 128 bits += mask_rowBytes; 158 bits_to_runs(this, cx, cy, bits, left_mask, 1, rite_mask); 159 bits += mask_rowBytes; 164 bits_to_runs(this, cx, cy, bits, left_mask, full_runs + 2, rite_mask); 165 bits += mask_rowBytes;
|
/external/skia/src/gpu/ |
SkGrFontScaler.cpp | 159 // expand bits to our mask type 160 const uint8_t* bits = reinterpret_cast<const uint8_t*>(src); local 164 expand_bits(bytes, bits, width, height, dstRB, srcRB); 169 expand_bits(rgb565, bits, width, height, dstRB, srcRB); 174 expand_bits(rgba8888, bits, width, height, dstRB, srcRB);
|
/external/skia/tests/ |
Sk64Test.cpp | 135 int bits = rand.nextU() & 63; local 136 c = a; c.shiftLeft(bits); 137 REPORTER_ASSERT(reporter, asLL(c) == (aa << bits)); 138 c = a; c.shiftRight(bits); 139 REPORTER_ASSERT(reporter, asLL(c) == (aa >> bits)); 140 c = a; c.roundRight(bits); 145 if (bits > 0) 146 tmp += (SkLONGLONG)1 << (bits - 1); 147 REPORTER_ASSERT(reporter, asLL(c) == (tmp >> bits));
|
/external/tinyalsa/ |
tinycap.c | 79 unsigned int bits = 16; local 87 "[-r rate] [-b bits] [-p period_size] [-n n_periods]\n", argv[0]); 115 bits = atoi(*argv); 142 switch (bits) { 153 fprintf(stderr, "%d bits is not supported.\n", bits);
|
/external/tinycompress/ |
cplay.c | 105 /* check sync bits */ 209 unsigned int channels, rate, bits; local 221 if (parse_mp3_header(&header, &channels, &rate, &bits) == -1) { 235 codec.bit_rate = bits; 286 SND_AUDIOCODEC_MP3, channels, rate, bits);
|