/external/mesa3d/src/egl/main/ |
eglcontext.c | 43 * Return the API bit (one of EGL_xxx_BIT) of the context. 48 EGLint bit = 0; local 54 bit = EGL_OPENGL_ES_BIT; 58 bit = EGL_OPENGL_ES2_BIT; 65 bit = EGL_OPENVG_BIT; 68 bit = EGL_OPENGL_BIT; 74 return bit;
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_bitmask.c | 163 unsigned bit; local 170 bit = bm->filled % UTIL_BITMASK_BITS_PER_WORD; 171 mask = 1 << bit; 173 while(bit < UTIL_BITMASK_BITS_PER_WORD) { 177 ++bit; 181 bit = 0; 202 unsigned bit; local 212 bit = index % UTIL_BITMASK_BITS_PER_WORD; 213 mask = 1 << bit; 228 unsigned bit; local 251 unsigned bit = index % UTIL_BITMASK_BITS_PER_WORD; local 278 unsigned bit = index % UTIL_BITMASK_BITS_PER_WORD; local [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
i915_fpc_emit.c | 36 int bit = ffs(~p->temp_flag); local 37 if (!bit) { 42 p->temp_flag |= 1 << (bit - 1); 43 return bit - 1; 61 int bit = ffs(~p->utemp_flag); local 62 if (!bit) { 67 p->utemp_flag |= 1 << (bit - 1); 68 return UREG(REG_TYPE_U, (bit - 1));
|
/external/mesa3d/src/mesa/swrast/ |
s_aalinetemp.h | 196 const GLuint bit = (swrast->StippleCounter / ctx->Line.StippleFactor) & 0xf; local 197 if ((1 << bit) & ctx->Line.StipplePattern) { 198 /* stipple bit is on */ 211 /* stipple bit is off */
|
s_lines.c | 47 GLuint bit = (swrast->StippleCounter / ctx->Line.StippleFactor) & 0xf; local 48 if ((1 << bit) & ctx->Line.StipplePattern) {
|
/external/selinux/libsepol/src/ |
genusers.c | 41 unsigned lineno = 0, islist = 0, bit; local 171 ebitmap_for_each_bit(&roldatum->dominates, rnode, bit) { 172 if (ebitmap_node_get_bit(rnode, bit)) 174 (&usrdatum->roles.roles, bit, 1)) {
|
/external/skia/src/pathops/ |
SkIntersections.cpp | 112 int bit = 1 << index; local 113 fIsCoincident[0] |= bit; 114 fIsCoincident[1] |= bit;
|
/external/skia/tests/ |
DeviceLooperTest.cpp | 82 int bit = 1; local 85 if (mask & bit) { 90 bit <<= 1;
|
/external/toybox/scripts/ |
mkflags.c | 123 unsigned bit; local 126 bit = fscanf(stdin, "%255s \"%1023[^\"]\" \"%1023[^\"]\"\n", 134 if (bit != 3) { 139 bit = 0; 178 sprintf(out, "#define FLAG_%s (1<<%d)\n", flist->lopt->command, bit); 181 aflist->lopt->command, bit); 185 bit++; 191 sprintf(out, "#define FLAG_%c (1<<%d)\n", *aflist->command, bit); 194 *aflist->command, bit); 195 bit++ [all...] |
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
Grain.java | 49 int bit = 0; local 51 bit++; 54 return bit;
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
Grain.java | 49 int bit = 0; local 51 bit++; 54 return bit;
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
Grain.java | 54 int bit = 0; local 56 bit++; 59 return bit;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/ |
dboolhuff.h | 64 unsigned int bit = 0; local 87 bit = 1; 100 return bit; 106 int bit; local 108 for (bit = bits - 1; bit >= 0; bit--) 110 z |= (vp8dx_decode_bool(br, 0x80) << bit);
|
/hardware/intel/img/hwcomposer/merrifield/common/planes/ |
DisplayPlaneManager.cpp | 115 int bit = (1 << i); local 116 if (bit & mask) { 117 mask &= ~bit; 130 int bit = (1 << index); local 132 if (bit & mask) { 133 WTRACE("bit %d was set", index); 137 mask |= bit; 145 int bit = (1 << index); local 146 if (bit & mask) { 147 mask &= ~bit; 288 int bit = (1 << j); local [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/planes/ |
DisplayPlaneManager.cpp | 115 int bit = (1 << i); local 116 if (bit & mask) { 117 mask &= ~bit; 130 int bit = (1 << index); local 132 if (bit & mask) { 133 WLOGTRACE("bit %d was set", index); 137 mask |= bit; 145 int bit = (1 << index); local 146 if (bit & mask) { 147 mask &= ~bit; 288 int bit = (1 << j); local [all...] |
/external/clang/test/Sema/ |
constant-conversion.c | 18 struct { int bit : 1; } a; member in struct:__anon6661 19 a.bit = 1; // shouldn't warn
|
/external/icu/icu4c/source/test/letest/ |
cmaps.cpp | 19 // Finds the high bit by binary searching 24 le_uint8 bit = 0; local 28 bit += 16; 33 bit += 8; 38 bit += 4; 43 bit += 2; 48 bit += 1; 51 return bit; 217 le_uint8 bit = highBit(nGroups); local 218 fPower = 1 << bit; [all...] |
/external/icu/icu4c/source/test/perf/leperf/ |
cmaps.cpp | 19 // Finds the high bit by binary searching 24 le_uint8 bit = 0; local 28 bit += 16; 33 bit += 8; 38 bit += 4; 43 bit += 2; 48 bit += 1; 51 return bit; 214 le_uint8 bit = highBit(nGroups); local 215 fPower = 1 << bit; [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
SortedSetRelation.java | 29 * Bit 2 is true if A - B is not empty 30 * Bit 1 is true if A & B is not empty 31 * BIT 0 is true if B - A is not empty 99 Iterator<? extends T> bit = b.iterator(); local 102 T bb = bit.next(); 109 if (!bit.hasNext()) return true; 111 } else if (!bit.hasNext()) { 115 bb = bit.next(); 124 if (!bit.hasNext()) { 127 bb = bit.next() [all...] |
/external/iptables/extensions/ |
libxt_sctp.c | 123 int bit, 132 flag_info[i].flag_mask |= (1 << bit); 134 flag_info[i].flag |= (1 << bit); 149 flag_info[*flag_count].flag_mask |= (1 << bit); 151 flag_info[*flag_count].flag |= (1 << bit); 205 int bit; local 209 bit = p - sctp_chunk_names[i].valid_flags; 210 bit = 7 - bit; 213 &(einfo->flag_count), i, bit, [all...] |
/external/jemalloc/include/jemalloc/internal/ |
bitmap.h | 4 /* Maximum bitmap bit count is 2^LG_BITMAP_MAXBITS. */ 106 bool bitmap_get(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit); 107 void bitmap_set(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit); 109 void bitmap_unset(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit); 123 bitmap_get(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit) 128 assert(bit < binfo->nbits); 129 goff = bit >> LG_BITMAP_GROUP_NBITS; 131 return (!(g & (1LU << (bit & BITMAP_GROUP_NBITS_MASK)))); 135 bitmap_set(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit) 141 assert(bit < binfo->nbits) 171 size_t bit; local [all...] |
/external/libexif/libexif/canon/ |
mnote-canon-entry.c | 476 unsigned int i, bit, lastbit = 0; local 479 * Search the table for the last matching bit, because 483 bit = table[i].value; 484 if ((vs >> bit) & 1) { 485 lastbit = bit; 490 bit = table[i].value; 491 if ((vs >> bit) & 1) { 493 if (bit != lastbit)
|
/external/libvorbis/lib/ |
mdct.c | 350 int *bit = init->bitrev; local 356 DATA_TYPE *x0 = x+bit[0]; 357 DATA_TYPE *x1 = x+bit[1]; 374 x0 = x+bit[2]; 375 x1 = x+bit[3]; 391 bit += 4;
|
/external/llvm/utils/TableGen/ |
CodeEmitterGen.cpp | 12 // returns the (currently, 32-bit unsigned) value of the instruction. 36 int getVariableBit(const std::string &VarName, BitsInit *BI, int bit); 46 // If the VarBitInit at position 'bit' matches the specified variable then 47 // return the variable bit position. Otherwise return -1. 49 BitsInit *BI, int bit) { 50 if (VarBitInit *VBI = dyn_cast<VarBitInit>(BI->getBit(bit))) { 54 } else if (VarInit *VI = dyn_cast<VarInit>(BI->getBit(bit))) { 70 int bit = BI->getNumBits()-1; local 72 // Scan for a bit that this contributed to. 73 for (; bit >= 0; ) [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_tile_cache.c | 62 int pos, bit; local 65 bit = bitvec[pos / 32] & (1 << (pos & 31)); 66 return bit;
|