/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/opencv3/3rdparty/libjasper/ |
jpc_mqdec.c | 218 * Code for decoding a bit. 221 /* Decode a bit. */ 225 int bit; local 228 bit = jpc_mqdec_getbit_macro(mqdec); 231 mqdec->ctxs, bit)); 232 return bit;
|
/external/opencv3/3rdparty/libwebp/enc/ |
token.c | 12 // A 'token' is a bit value associated with a probability, either fixed 36 uint16_t tokens_[MAX_NUM_TOKEN]; // bit#15: bit 37 // bit #14: constant proba or idx 84 int bit, uint32_t proba_idx) { 86 assert(bit == 0 || bit == 1); 89 b->tokens_[slot] = (bit << 15) | proba_idx; 91 return bit; 95 int bit, int proba) 227 const int bit = (token >> 15) & 1; local [all...] |
/external/pdfium/xfa/src/fxbarcode/qrcode/ |
BC_QRCoderBitVector.cpp | 62 void CBC_QRCoderBitVector::AppendBit(int32_t bit, int32_t& e) {
63 if (!(bit == 0 || bit == 1)) {
72 m_array[m_sizeInBits >> 3] |= (bit << (7 - numBitsInLastByte));
89 int32_t bit = (value >> (numBitsLeft - 1)) & 1;
local 90 AppendBit(bit, e);
|
BC_QRCoderMaskUtil.cpp | 179 int32_t bit = isHorizontal ? array[i * width + j] : array[j * width + i];
local 180 if (bit == prevBit) {
189 prevBit = bit;
|
/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/gpu/glsl/ |
GrGLSLVarying.cpp | 99 int bit = 1 << GrGLSLFragmentBuilder::kNoPerspectiveInterpolation_GLSLPrivateFeature; local 100 fProgramBuilder->fVS.addFeature(bit, extension); 102 fProgramBuilder->fGS.addFeature(bit, extension); 104 fProgramBuilder->fFS.addFeature(bit, extension);
|
/external/skia/src/pathops/ |
SkIntersections.cpp | 113 int bit = 1 << index; local 114 fIsCoincident[0] |= bit; 115 fIsCoincident[1] |= bit;
|
/external/skia/tests/ |
DeviceLooperTest.cpp | 81 int bit = 1; local 84 if (mask & bit) { 89 bit <<= 1;
|
/external/toybox/scripts/ |
mkflags.c | 126 unsigned bit; local 129 bit = fscanf(stdin, "%255s \"%1023[^\"]\" \"%1023[^\"]\"\n", 137 if (bit != 3) { 142 bit = 0; 177 char *llstr = bit>31 ? "LL" : ""; 185 llstr, bit); 188 aflist->lopt->command, llstr, bit); 192 bit++; 200 llstr, bit); 203 *aflist->command, llstr, bit); [all...] |
/external/v8/test/cctest/ |
test-random-number-generator.cc | 80 // The predictor bit is either constant 0 or 1, or one of the bits from the 83 // The predicted bit is one of the bits from the PRNG. 85 // We don't want to check whether each bit predicts itself. 93 // Find out how many of the bits are the same as the prediction bit. 107 int bit = (random >> random_bit) & 1; local 108 if (bit == predicted) m++; 117 PrintF("Bit %d is %d %d%% of the time\n", random_bit, 120 PrintF("Bit %d is the same as bit %d %d ago %d%% of the time\n", 129 // If the predictor bit is a fixed 0 or 1 then it makes no sense t [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/ImageMagick/coders/ |
jbig.c | 147 bit, 249 bit=0; 253 if (bit == 0) 256 bit++; 258 if (bit == 8) 259 bit=0; 447 bit, 488 bit=0; 495 bit++; 496 if (bit == 8 144 bit, local 441 bit, local [all...] |
xbm.c | 207 bit, 371 bit=0; 375 if (bit == 0) 378 bit++; 380 if (bit == 8) 381 bit=0; 506 bit, 547 bit=0; 564 bit++; 565 if (bit == 8 203 bit, local 499 bit, local [all...] |
/external/boringssl/src/crypto/ec/ |
wnaf.c | 98 int bit, next_bit, mask; local 118 bit = 1 << w; /* at most 128 */ 119 next_bit = bit << 1; /* at most 256 */ 153 if (window_val & bit) { 170 if (digit <= -bit || digit >= bit || !(digit & 1)) { 180 if (window_val != 0 && window_val != next_bit && window_val != bit) { 189 window_val += bit * BN_is_bit_set(scalar, j + w);
|
/external/clang/test/Sema/ |
constant-conversion.c | 18 struct { int bit : 1; } a; member in struct:__anon9291 19 a.bit = 1; // shouldn't warn
|
/external/fec/ |
vtest27.c | 116 int bit = (i < framebits) ? (random() & 1) : 0; local 118 sr = (sr << 1) | bit; 179 printf("Execution time for %d %d-bit frames: %.2f sec\n",trials,
|