Lines Matching defs:bit
236 * Find the first bit set in a word.
241 register int bit = 0;
244 bit += 16;
248 bit += 8;
252 bit += 4;
256 bit++;
259 bit++;
261 return bit;
266 * Find position of first bit set in given value.
267 * XXX Warning: this function can only be used on 64-bit systems!
268 * \return position of least-significant bit set, starting at 1, return zero
274 int bit;
278 bit = ffs((int) val);
279 if (bit != 0)
280 return bit;
282 bit = ffs((int) (val >> 32));
283 if (bit != 0)
284 return 32 + bit;
307 * Return number of bits set in given 64-bit uint.
336 /* sign bit */
423 /* sign bit */