Searched defs:bit (Results 1 - 5 of 5) sorted by last modified time

/system/core/libpixelflinger/
H A Dfixed.cpp54 // shift right 1-bit to make room for the sign bit
111 GGLfixed bit = 0x800000; local
114 GGLfixed temp = bit + (r<<1);
118 r += bit;
122 } while (bit>>=1);
189 // we get 3.75 cycles per bit in the main loop
190 // and 8 cycles per bit in the termination loop
256 // first we compute a*b as a 64-bit integer
316 // this function computes a*b/c with 64-bit intermediat
[all...]
/system/extras/ext4_utils/
H A Dallocate.c178 static int bitmap_set_bit(u8 *bitmap, u32 bit) argument
180 if (bitmap[bit / 8] & 1 << (bit % 8))
183 bitmap[bit / 8] |= 1 << (bit % 8);
187 static int bitmap_set_8_bits(u8 *bitmap, u32 bit) argument
189 int ret = bitmap[bit / 8];
190 bitmap[bit / 8] = 0xFF;
H A Dext2simg.c98 static int bitmap_get_bit(u8 *bitmap, u32 bit) argument
100 if (bitmap[bit / 8] & 1 << (bit % 8))
H A Dext4fixup.c210 /* Clear the low bit which is set while this tool is in progress.
212 * The low bit is set to make the filesystem unmountable while
321 static int bitmap_get_bit(u8 *bitmap, u32 bit) argument
323 if (bitmap[bit / 8] & (1 << (bit % 8)))
329 static void bitmap_clear_bit(u8 *bitmap, u32 bit) argument
331 bitmap[bit / 8] &= ~(1 << (bit % 8));
419 /* Don't write out the backup superblocks with the bit set in the s_desc_size
420 * which prevents the filesystem from mounting. The bit fo
[all...]
/system/media/wilhelm/src/
H A Dlocks.c144 /** \brief Exclusively unlock an object and report updates to the specified bit-mask of
181 unsigned bit = ctz(attributes); local
182 // ATTR_INDEX_MAX == next bit position after the last attribute
183 assert(ATTR_INDEX_MAX > bit);
184 // compute the entry in the handler table using object ID and bit number
185 AttributeHandler handler = handlerTable[index][bit];
189 attributes &= ~(1 << bit);

Completed in 71 milliseconds