Home | History | Annotate | Download | only in vm

Lines Matching defs:bit

18  * Implementation of an expandable bit vector.
29 * Allocate a bit vector with enough space to hold at least the specified
37 assert(sizeof(bv->storage[0]) == 4); /* assuming 32-bit units */
62 * "Allocate" the first-available bit in the bitmap.
70 unsigned int word, bit;
78 bit = ffs(~(pBits->storage[word])) -1;
79 assert(bit < 32);
80 pBits->storage[word] |= 1 << bit;
81 return (word << 5) | bit;
100 * Mark the specified bit as "set".
106 ALOGE("Attempt to set bit outside valid range (%d, limit is %d)",
128 * Mark the specified bit as "clear".
138 * Mark all bits bit as "clear".
165 * Determine whether or not the specified bit is set.
227 * Intersect two bit vectors and store the result to the dest vector.
246 * Unify two bit vectors and store the result to the dest vector.
265 * Compare two bit vectors and return true if difference is seen.