Searched defs:bit (Results 1 - 5 of 5) sorted by relevance
/system/core/include/cutils/ |
H A D | bitops.h | 39 * int bit = bitmask_ffz(resource_bits, num_resources); 40 * bitmask_set(resource_bits, bit); 42 * if (bitmask_test(resource_bits, bit)) { ... } 44 * bitmask_clear(resource_bits, bit); 61 int bit, result; local 65 bit = ffs(~bitmask[i]); 66 if (bit) { 68 bit--; 69 result = BITS_PER_WORD * i + bit; 88 static inline void bitmask_set(unsigned int *bitmask, int bit) argument 93 bitmask_clear(unsigned int *bitmask, int bit) argument 98 bitmask_test(unsigned int *bitmask, int bit) argument [all...] |
/system/extras/ext4_utils/ |
H A D | ext2simg.c | 108 static int bitmap_get_bit(u8 *bitmap, u32 bit) argument 110 if (bitmap[bit / 8] & 1 << (bit % 8))
|
H A D | allocate.c | 190 static int bitmap_set_bit(u8 *bitmap, u32 bit) argument 192 if (bitmap[bit / 8] & 1 << (bit % 8)) 195 bitmap[bit / 8] |= 1 << (bit % 8); 199 static int bitmap_set_8_bits(u8 *bitmap, u32 bit) argument 201 int ret = bitmap[bit / 8]; 202 bitmap[bit / 8] = 0xFF;
|
H A D | ext4fixup.c | 212 /* Clear the low bit which is set while this tool is in progress. 214 * The low bit is set to make the filesystem unmountable while 323 static int bitmap_get_bit(u8 *bitmap, u32 bit) argument 325 if (bitmap[bit / 8] & (1 << (bit % 8))) 331 static void bitmap_clear_bit(u8 *bitmap, u32 bit) argument 333 bitmap[bit / 8] &= ~(1 << (bit % 8)); 421 /* Don't write out the backup superblocks with the bit set in the s_desc_size 422 * which prevents the filesystem from mounting. The bit fo [all...] |
/system/core/libpixelflinger/ |
H A D | fixed.cpp | 54 // shift right 1-bit to make room for the sign bit 112 GGLfixed bit = 0x800000; local 115 GGLfixed temp = bit + (r<<1); 119 r += bit; 123 } while (bit>>=1); 190 // we get 3.75 cycles per bit in the main loop 191 // and 8 cycles per bit in the termination loop 257 // first we compute a*b as a 64-bit integer 317 // this function computes a*b/c with 64-bit intermediat [all...] |
Completed in 60 milliseconds