/system/core/include/cutils/ |
D | bitops.h | 61 int bit, result; in bitmask_ffz() local 65 bit = ffs(~bitmask[i]); in bitmask_ffz() 66 if (bit) { in bitmask_ffz() 68 bit--; in bitmask_ffz() 69 result = BITS_PER_WORD * i + bit; in bitmask_ffz() 88 static inline void bitmask_set(unsigned int *bitmask, int bit) in bitmask_set() argument 90 bitmask[BIT_WORD(bit)] |= BIT_MASK(bit); in bitmask_set() 93 static inline void bitmask_clear(unsigned int *bitmask, int bit) in bitmask_clear() argument 95 bitmask[BIT_WORD(bit)] &= ~BIT_MASK(bit); in bitmask_clear() 98 static inline bool bitmask_test(unsigned int *bitmask, int bit) in bitmask_test() argument [all …]
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/include/linux/ |
D | bitops.h | 33 … for_each_set_bit(bit,addr,size) for((bit) = find_first_bit((addr), (size)); (bit) < (size); (bit)… argument 34 …h_set_bit_from(bit,addr,size) for((bit) = find_next_bit((addr), (size), (bit)); (bit) < (size); (b… argument
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/ |
D | bitops.h | 19 #define for_each_set_bit(bit, addr, size) \ argument 20 for ((bit) = find_first_bit((addr), (size)); \ 21 (bit) < (size); \ 22 (bit) = find_next_bit((addr), (size), (bit) + 1)) 25 #define for_each_set_bit_from(bit, addr, size) \ argument 26 for ((bit) = find_next_bit((addr), (size), (bit)); \ 27 (bit) < (size); \ 28 (bit) = find_next_bit((addr), (size), (bit) + 1))
|
/system/media/audio_utils/ |
D | primitives.c | 347 uint32_t bit, ormask; \ 351 bit = ormask & -ormask; /* get lowest bit */ \ 352 ormask ^= bit; /* remove lowest bit */ \ 353 if (dmask & bit) { \ 354 *dst++ = smask & bit ? *src++ : zero; \ 470 uint32_t bit, ormask = src_mask | dst_mask; in memcpy_by_index_array_initialization() local 473 bit = ormask & -ormask; /* get lowest bit */ in memcpy_by_index_array_initialization() 474 ormask ^= bit; /* remove lowest bit */ in memcpy_by_index_array_initialization() 475 if (src_mask & dst_mask & bit) { /* matching channel */ in memcpy_by_index_array_initialization() 477 } else if (src_mask & bit) { /* source channel only */ in memcpy_by_index_array_initialization()
|
/system/core/libpixelflinger/ |
D | fixed.cpp | 112 GGLfixed bit = 0x800000; in gglSqrtx() local 115 GGLfixed temp = bit + (r<<1); in gglSqrtx() 119 r += bit; in gglSqrtx() 123 } while (bit>>=1); in gglSqrtx()
|
/system/bt/stack/btm/ |
D | btm_ble_privacy.c | 142 UINT8 bit; in btm_ble_clear_irk_index() local 147 bit = index % 8; in btm_ble_clear_irk_index() 148 btm_cb.ble_ctr_cb.irk_list_mask[byte] &= (~(1 << bit)); in btm_ble_clear_irk_index() 165 UINT8 bit; in btm_ble_find_irk_index() local 170 bit = i % 8; in btm_ble_find_irk_index() 172 if ((btm_cb.ble_ctr_cb.irk_list_mask[byte] & (1 << bit)) == 0) in btm_ble_find_irk_index() 174 btm_cb.ble_ctr_cb.irk_list_mask[byte] |= (1 << bit); in btm_ble_find_irk_index()
|
/system/extras/ext4_utils/ |
D | allocate.c | 190 static int bitmap_set_bit(u8 *bitmap, u32 bit) in bitmap_set_bit() argument 192 if (bitmap[bit / 8] & 1 << (bit % 8)) in bitmap_set_bit() 195 bitmap[bit / 8] |= 1 << (bit % 8); in bitmap_set_bit() 199 static int bitmap_set_8_bits(u8 *bitmap, u32 bit) in bitmap_set_8_bits() argument 201 int ret = bitmap[bit / 8]; in bitmap_set_8_bits() 202 bitmap[bit / 8] = 0xFF; in bitmap_set_8_bits()
|
D | ext4_utils.h | 133 int bitmap_get_bit(u8 *bitmap, u32 bit); 134 void bitmap_clear_bit(u8 *bitmap, u32 bit);
|
D | ext4_utils.c | 105 int bitmap_get_bit(u8 *bitmap, u32 bit) in bitmap_get_bit() argument 107 if (bitmap[bit / 8] & (1 << (bit % 8))) in bitmap_get_bit() 113 void bitmap_clear_bit(u8 *bitmap, u32 bit) in bitmap_clear_bit() argument 115 bitmap[bit / 8] &= ~(1 << (bit % 8)); in bitmap_clear_bit()
|
/system/core/libmincrypt/ |
D | p256.c | 58 int p256_get_bit(const p256_int* scalar, int bit) { in p256_get_bit() argument 59 return (P256_DIGIT(scalar, bit / P256_BITSPERDIGIT) in p256_get_bit() 60 >> (bit & (P256_BITSPERDIGIT - 1))) & 1; in p256_get_bit()
|
/system/bt/doc/ |
D | power_management.md | 182 `info` field's `BTA_DM_DI_USE_SSR` bit, depending on the value of 185 `BTA_DM_DI_SET_SNIFF` bit set, then `BTA_DM_DI_INT_SNIFF` is set, 187 - If `BTA_PM_STS_ERROR`, the `BTA_DM_DI_SET_SNIFF` bit is cleared in the
|
/system/core/adb/ |
D | protocol.txt | 29 32 bit words which are sent across the wire in little endian format.
|