/external/fio/lib/ |
bloom.c | 105 const unsigned int bit = hash[i] & BITS_INDEX_MASK; local 107 if (b->map[index] & (1U << bit)) 110 b->map[index] |= 1U << bit;
|
/external/icu/icu4c/source/samples/layout/ |
cmaps.cpp | 30 // Finds the high bit by binary searching 35 le_uint8 bit = 0; local 39 bit += 16; 44 bit += 8; 49 bit += 4; 54 bit += 2; 59 bit += 1; 62 return bit; 179 le_uint8 bit = highBit(nGroups); local 180 fPower = 1 << bit; [all...] |
/external/libnetfilter_conntrack/qa/ |
test_api.c | 169 int bit; local 252 bit = nfct_bitmask_maxbit(b); 253 if (nfct_bitmask_test_bit(b, bit)) { 254 nfct_bitmask_unset_bit(b, bit); 255 assert(!nfct_bitmask_test_bit(b, bit)); 257 nfct_bitmask_set_bit(b, bit); 258 assert(nfct_bitmask_test_bit(b, bit));
|
/external/libvpx/libvpx/vpx_dsp/ |
bitreader.h | 74 unsigned int bit = 0; local 93 bit = 1; 106 return bit; 114 int literal = 0, bit; local 116 for (bit = bits - 1; bit >= 0; bit--) literal |= vpx_read_bit(r) << bit;
|
/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/pdfium/xfa/fxbarcode/qrcode/ |
BC_QRCoderBitVector.cpp | 57 void CBC_QRCoderBitVector::AppendBit(int32_t bit, int32_t& e) { 58 if (!(bit == 0 || bit == 1)) { 67 m_array[m_sizeInBits >> 3] |= (bit << (7 - numBitsInLastByte)); 84 int32_t bit = (value >> (numBitsLeft - 1)) & 1; local 85 AppendBit(bit, e);
|
BC_QRCoderMaskUtil.cpp | 182 int32_t bit = isHorizontal ? array[i * width + j] : array[j * width + i]; local 183 if (bit == prevBit) { 192 prevBit = bit;
|
/external/selinux/libsepol/src/ |
genusers.c | 40 unsigned lineno = 0, islist = 0, bit; local 172 ebitmap_for_each_bit(&roldatum->dominates, rnode, bit) { 173 if (ebitmap_node_get_bit(rnode, bit)) 175 (&usrdatum->roles.roles, bit, 1)) {
|
/external/skia/src/gpu/glsl/ |
GrGLSLVarying.cpp | 95 int bit = 1 << GrGLSLFragmentBuilder::kNoPerspectiveInterpolation_GLSLPrivateFeature; local 96 fProgramBuilder->fVS.addFeature(bit, extension); 98 fProgramBuilder->fGS.addFeature(bit, extension); 100 fProgramBuilder->fFS.addFeature(bit, extension);
|
/external/skia/src/pathops/ |
SkIntersections.cpp | 117 int bit = 1 << index; local 118 fIsCoincident[0] |= bit; 119 fIsCoincident[1] |= bit;
|
/external/skia/tests/ |
DeviceLooperTest.cpp | 82 int bit = 1; local 85 if (mask & bit) { 90 bit <<= 1;
|
PathOpsTigerTest.cpp | 248 int bit; local 250 bit = r.nextRangeU(0, 38); 251 } while (testlines & (1LL << bit)); 252 testlines |= 1LL << bit; [all...] |
/external/swiftshader/src/D3D9/ |
Direct3DVertexDeclaration9.cpp | 467 int bit = 1 << element.UsageIndex; local 469 if(textureBits & bit) 474 textureBits |= bit;
|
/external/syslinux/gpxe/src/drivers/bitbash/ |
i2c_bit.c | 32 * I2C bit-bashing interface 34 * This implements a simple I2C master via a bit-bashing interface 51 * @v basher Bit-bashing interface 63 * @v basher Bit-bashing interface 75 * @v basher Bit-bashing interface 88 * @v basher Bit-bashing interface 98 * Send an I2C data bit 100 * @v basher Bit-bashing interface 101 * @v bit Bit to sen 117 int bit; local [all...] |
spi_bit.c | 33 * SPI bit-bashing interface 51 * @v spibit SPI bit-bashing interface 72 * Transfer bits over SPI bit-bashing bus 96 unsigned int bit; local 116 bit = ( *byte & byte_mask ); 117 DBGCP ( spibit, "SPIBIT %p wrote bit %d\n", 118 spibit, ( bit ? 1 : 0 ) ); 120 bit = 0; 122 write_bit ( basher, SPI_BIT_MOSI, bit ); 127 bit = read_bit ( basher, SPI_BIT_MISO ) [all...] |
/external/toybox/scripts/ |
mkflags.c | 151 unsigned bit; local 154 bit = fscanf(stdin, "%255s \"%1023[^\"]\" \"%1023[^\"]\"\n", 162 if (bit != 3) { 167 bit = 0; 199 char *llstr = bit>31 ? "LL" : ""; 207 llstr, bit); 210 aflist->lopt->command, llstr, bit); 214 bit++; 222 llstr, bit); 225 *aflist->command, llstr, bit); [all...] |
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
Grain.java | 49 int bit = 0; local 51 bit++; 54 return bit;
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
Grain.java | 49 int bit = 0; local 51 bit++; 54 return bit;
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
Grain.java | 54 int bit = 0; local 56 bit++; 59 return 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...] |