/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_rast_debug.c | 374 int bit = tile.coverage/(64.0*64.0)*10; local 375 debug_printf("%c", bits[MIN2(bit,10)]);
|
/external/mesa3d/src/gallium/drivers/r600/sb/ |
H A D | sb_valtable.cpp | 357 void sb_bitset::set(unsigned id, bool bit) { argument 364 if (bit) 370 inline bool sb_bitset::set_chk(unsigned id, bool bit) { argument 375 basetype dn = (d & ~(1 << b)) | (bit << b);
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_tile_cache.c | 69 int pos, bit; local 72 bit = bitvec[pos / 32] & (1 << (pos & 31)); 73 return bit;
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
H A D | intel_pixel_bitmap.c | 91 static bool test_bit( const GLubyte *src, GLuint bit ) 93 return (src[bit/8] & (1<<(bit % 8))) ? 1 : 0; 96 static void set_bit( GLubyte *dest, GLuint bit ) 98 dest[bit/8] |= 1 << (bit % 8); 115 GLuint bit = 0; local 143 for (col = 0; col < w; col++, bit++) { 145 set_bit(dest, bit ^ 7); 151 bit [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_state_upload.c | 566 uint64_t bit; member in struct:dirty_bit_map 673 for (int i = 0; bit_map[i].bit != 0; i++) { 674 if (bit_map[i].bit & bits) 682 for (int i = 0; bit_map[i].bit != 0; i++) { 685 bit_map[i].bit, bit_map[i].count, bit_map[i].name);
|
H A D | intel_pixel_bitmap.c | 88 static bool test_bit( const GLubyte *src, GLuint bit ) 90 return (src[bit/8] & (1<<(bit % 8))) ? 1 : 0; 93 static void set_bit( GLubyte *dest, GLuint bit ) 95 dest[bit/8] |= 1 << (bit % 8); 112 GLuint bit = 0; local 140 for (col = 0; col < w; col++, bit++) { 142 set_bit(dest, bit ^ 7); 148 bit [all...] |
/external/pdfium/fxbarcode/qrcode/ |
H A D | BC_QRCoderMatrixUtil.cpp | 149 int32_t bit = typeInfoBits.At(typeInfoBits.Size() - 1 - i, e); local 154 matrix->Set(x1, y1, bit); 158 matrix->Set(x2, y2, bit); 162 matrix->Set(x2, y2, bit); 184 int32_t bit = versionInfoBits.At(bitIndex, e); local 188 matrix->Set(i, matrix->GetHeight() - 11 + j, bit); 189 matrix->Set(matrix->GetHeight() - 11 + j, i, bit); 219 int32_t bit; local 221 bit = dataBits->At(bitIndex, e); 226 bit 311 int32_t bit = (i + 1) % 2; local [all...] |
/external/ppp/pppd/ |
H A D | md4.c | 31 ** This implementation assumes that ints are 32-bit quantities. 72 ** operator will shift in zeros rather than extending the sign bit. 214 unsigned int i, tmp, bit, byte, mask; local 250 bit = count & 7; 255 /* Add padding '1' bit and low-order zeros in last byte */ 256 mask = 1 << (7 - bit); 258 /* If room for bit count, finish up with this block */
|
/external/selinux/libselinux/src/ |
H A D | stringrep.c | 326 access_vector_t bit = 1; local 336 if (av & bit) { 337 permstr = security_av_perm_to_string(tclass, bit); 341 av &= ~bit; 343 bit <<= 1;
|
/external/selinux/libsepol/src/ |
H A D | ebitmap.c | 249 int ebitmap_get_bit(const ebitmap_t * e, unsigned int bit) argument 253 if (e->highbit < bit) 257 while (n && (n->startbit <= bit)) { 258 if ((n->startbit + MAPSIZE) > bit) { 259 if (n->map & (MAPBIT << (bit - n->startbit))) 270 int ebitmap_set_bit(ebitmap_t * e, unsigned int bit, int value) argument 273 uint32_t startbit = bit & ~(MAPSIZE - 1); 277 ERR(NULL, "bitmap overflow, bit 0x%x", bit); 283 while (n && n->startbit <= bit) { [all...] |
H A D | util.c | 130 unsigned int bit; local 146 for (bit = 0; bit < sizeof(xperms->perms)*8; bit++) { 147 if (!xperm_test(bit, xperms->perms)) 150 if (in_range && next_bit_in_range(bit, xperms->perms)) { 153 } else if (next_bit_in_range(bit, xperms->perms)) { 155 low_bit = bit; 161 value = xperms->driver<<8 | bit; 169 value = bit << [all...] |
/external/sonivox/arm-wt-22k/lib_src/ |
H A D | eas_smf.c | 626 EAS_U32 bit = (EAS_U32) value; local 627 bit = (bit << JET_EVENT_SEG_SHIFT) & JET_EVENT_SEG_MASK; 632 i << JET_EVENT_TRACK_SHIFT | bit | MIDI_FLAGS_JET_CB; 641 EAS_U32 bit = (EAS_U32) value; local 644 if (bit & 1) 648 bit >>= 1; 763 /* read until bit 7 is zero */
|
/external/speex/libspeex/ |
H A D | bits.c | 4 Handles bit packing/unpacking 43 /* Maximum size of the bit-stream (for fixed-size allocation) */ 256 int bit; local 257 bit = (d>>(nbBits-1))&1; 258 bits->chars[bits->charPtr] |= bit<<(BITS_PER_CHAR-1-bits->bitPtr);
|
/external/syslinux/core/ |
H A D | dmi.c | 314 uint8_t bit; member in struct:cpuflag 354 if (test_bit(cf->bit, flags))
|
/external/syslinux/gpxe/src/drivers/net/ |
H A D | 3c595.c | 42 int bit; member in struct:connector_entry 364 if (vx_connectors & conn_tab[k].bit) { 404 if ((vx_connectors & conn_tab[vx_connector].bit) == 0) {
|
/external/toybox/toys/posix/ |
H A D | file.c | 35 // Names are linux/arch/ directory (sometimes before 32/64 bit merges) 68 // "64-bit" 69 if (bits == 1) printf("32-bit "); 70 else if (bits == 2) printf("64-bit "); 115 // (Note: fields got reordered for 64 bit) 136 // (Note: fields got reordered for 64 bit) 209 xprintf(", %d x %d, %d-bit/%s, %sinterlaced", (int)peek_be(s, 4), 255 int bit = s[0]=='\xce'?32:64; local 258 xprintf("Mach-O %d-bit ", bit); [all...] |
/external/v8/src/base/ |
H A D | atomic-utils.h | 141 V8_INLINE void SetBit(int bit) { argument 142 SetBits(static_cast<T>(1) << bit, static_cast<T>(1) << bit); 145 V8_INLINE void ClearBit(int bit) { SetBits(0, 1 << bit); } argument
|
/external/v8/src/regexp/ |
H A D | interpreter-irregexp.cc | 439 int bit = (current_char & (kBitsPerByte - 1)); local 440 if ((b & (1 << bit)) != 0) {
|
/external/webp/src/enc/ |
H A D | token_enc.c | 12 // A 'token' is a bit value associated with a probability, either fixed 33 typedef uint16_t token_t; // bit #15: bit value 34 // bit #14: flags for constant proba or idx 90 static WEBP_INLINE uint32_t AddToken(VP8TBuffer* const b, uint32_t bit, argument 94 assert(bit <= 1); 97 b->tokens_[slot] = (bit << 15) | proba_idx; 99 VP8RecordStats(bit, stats); 100 return bit; 104 uint32_t bit, uint32_ 103 AddConstantToken(VP8TBuffer* const b, uint32_t bit, uint32_t proba) argument 211 const int bit = (token >> 15) & 1; local 237 const int bit = token & (1 << 15); local [all...] |
/external/webp/src/utils/ |
H A D | bit_writer_utils.c | 36 // If the following line wraps over 32bit, the test just after will catch it. 108 int VP8PutBit(VP8BitWriter* const bw, int bit, int prob) { argument 110 if (bit) { 123 return bit; 126 int VP8PutBitUniform(VP8BitWriter* const bw, int bit) { argument 128 if (bit) { 140 return bit; 300 // Special case of overflow handling for 32bit accumulator (2-steps flush).
|
/external/webrtc/webrtc/modules/video_coding/utility/ |
H A D | vp8_header_parser.cc | 72 // Read a bit with proba 'prob'. 82 int bit; local 86 bit = 1; 89 bit = 0; 97 return bit;
|
/external/ImageMagick/coders/ |
H A D | icon.c | 271 bit, 500 for (bit=0; bit < 8; bit++) 502 SetPixelIndex(image,((byte & (0x80 >> bit)) != 0 ? 0x01 : 510 for (bit=0; bit < (image->columns % 8); bit++) 512 SetPixelIndex(image,((byte & (0x80 >> bit)) != 0 ? 0x01 : 534 Read 4-bit Ico 266 bit, local 891 bit, local 1111 bit, local [all...] |
H A D | pdb.c | 452 bit; 455 Read 1-bit PDB image. 464 for (bit=0; bit < 8; bit++) 466 index=(Quantum) (*p & (0x80 >> bit) ? 0x00 : 0x01); 485 Read 2-bit PDB image. 521 Read 4-bit PDB image. 815 case 2: pdb_image.type=(unsigned char) 0x00; break; /* 2 bit gray */ 816 default: pdb_image.type=(unsigned char) 0x02; /* 4 bit gra 447 bit; local [all...] |
H A D | ps3.c | 332 bit; 362 bit=(unsigned char) 0x00; 364 bit=(unsigned char) (GetPixelLuma(image,p) == TransparentAlpha ? 366 code=(code << 1)+bit; 1321 1 bit or 8 bit components? 326 bit; local
|
/external/aac/libSBRdec/src/ |
H A D | env_dec.cpp | 22 the purpose of encoding or decoding bit streams in products that are compliant 707 int bit, mask; local 721 mask = 1; /* begin with lowest bit of exponent */ 723 for (bit = ENV_EXP_FRACT - 1; bit >= 0; bit--) { 725 /* The current bit of the exponent is set, 727 mantissa = (FIXP_SGL)((mantissa * pow2[bit]) << 1); 729 /* Advance to next bit */ 737 /* In case of the high amplitude resolution, 1 bit o [all...] |