/external/valgrind/memcheck/tests/amd64/ |
D | bt_everything.c | 30 ULong btsq_mem ( char* base, Word bitno ) in btsq_mem() argument 37 : "r" (bitno)); in btsq_mem() 44 ULong btrq_mem ( char* base, Word bitno ) in btrq_mem() argument 51 : "r" (bitno)); in btrq_mem() 55 ULong btcq_mem ( char* base, Word bitno ) in btcq_mem() argument 62 : "r" (bitno)); in btcq_mem() 66 ULong btq_mem ( char* base, Word bitno ) in btq_mem() argument 73 : "r" (bitno) in btq_mem() 81 ULong btsl_mem ( char* base, Word bitno ) in btsl_mem() argument 88 : "r" ((Int)bitno)); in btsl_mem() [all …]
|
/external/valgrind/none/tests/x86/ |
D | bt_everything.c | 18 unsigned int btsl_mem ( unsigned char* base, int bitno ) in btsl_mem() argument 25 : "r" (bitno)); in btsl_mem() 32 unsigned int btrl_mem ( unsigned char* base, int bitno ) in btrl_mem() argument 39 : "r" (bitno)); in btrl_mem() 43 unsigned int btcl_mem ( unsigned char* base, int bitno ) in btcl_mem() argument 50 : "r" (bitno)); in btcl_mem() 54 unsigned int btl_mem ( unsigned char* base, int bitno ) in btl_mem() argument 61 : "r" (bitno) in btl_mem() 69 unsigned int btsl_reg ( unsigned int reg_in, int bitno, in btsl_reg() argument 80 : "r" (bitno), "r" (reg_in) in btsl_reg() [all …]
|
D | x86locked.c | 478 unsigned int btsl_mem ( UChar* base, int bitno ) 485 : "r" (bitno)); 491 unsigned int btsw_mem ( UChar* base, int bitno ) in btsw_mem() argument 498 : "r" (bitno)); in btsw_mem() 502 unsigned int btrl_mem ( UChar* base, int bitno ) in btrl_mem() argument 509 : "r" (bitno)); in btrl_mem() 512 unsigned int btrw_mem ( UChar* base, int bitno ) in btrw_mem() argument 519 : "r" (bitno)); in btrw_mem() 523 unsigned int btcl_mem ( UChar* base, int bitno ) in btcl_mem() argument 530 : "r" (bitno)); in btcl_mem() [all …]
|
/external/bison/lib/ |
D | abitset.c | 52 bitset_bindex bitno; in abitset_small_list() local 64 bitno = *next; in abitset_small_list() 65 if (bitno >= size) in abitset_small_list() 68 word >>= bitno; in abitset_small_list() 75 for (count = 0; word; bitno++) in abitset_small_list() 78 list[count++] = bitno; in abitset_small_list() 84 for (count = 0; word; bitno++) in abitset_small_list() 88 list[count++] = bitno; in abitset_small_list() 91 bitno++; in abitset_small_list() 99 *next = bitno; in abitset_small_list() [all …]
|
D | ebitset.c | 512 ebitset_set (bitset dst, bitset_bindex bitno) in ebitset_set() argument 514 bitset_windex windex = bitno / BITSET_WORD_BITS; in ebitset_set() 516 ebitset_elt_find (dst, bitno, EBITSET_CREATE); in ebitset_set() 519 (bitset_word) 1 << (bitno % BITSET_WORD_BITS); in ebitset_set() 525 ebitset_reset (bitset dst, bitset_bindex bitno) in ebitset_reset() argument 527 bitset_windex windex = bitno / BITSET_WORD_BITS; in ebitset_reset() 529 if (!ebitset_elt_find (dst, bitno, EBITSET_FIND)) in ebitset_reset() 533 ~((bitset_word) 1 << (bitno % BITSET_WORD_BITS)); in ebitset_reset() 543 ebitset_test (bitset src, bitset_bindex bitno) in ebitset_test() argument 545 bitset_windex windex = bitno / BITSET_WORD_BITS; in ebitset_test() [all …]
|
D | lbitset.c | 518 lbitset_set (bitset dst, bitset_bindex bitno) in lbitset_set() argument 520 bitset_windex windex = bitno / BITSET_WORD_BITS; in lbitset_set() 525 (bitset_word) 1 << (bitno % BITSET_WORD_BITS); in lbitset_set() 531 lbitset_reset (bitset dst, bitset_bindex bitno) in lbitset_reset() argument 533 bitset_windex windex = bitno / BITSET_WORD_BITS; in lbitset_reset() 539 ~((bitset_word) 1 << (bitno % BITSET_WORD_BITS)); in lbitset_reset() 547 lbitset_test (bitset src, bitset_bindex bitno) in lbitset_test() argument 549 bitset_windex windex = bitno / BITSET_WORD_BITS; in lbitset_test() 553 >> (bitno % BITSET_WORD_BITS)) in lbitset_test() 573 bitset_bindex bitno; in lbitset_list_reverse() local [all …]
|
D | bitset.h | 136 bitset_set (bitset bset, bitset_bindex bitno) in bitset_set() argument 138 bitset_windex windex = bitno / BITSET_WORD_BITS; in bitset_set() 142 bset->b.cdata[offset] |= ((bitset_word) 1 << (bitno % BITSET_WORD_BITS)); in bitset_set() 144 BITSET_SET_ (bset, bitno); in bitset_set() 150 bitset_reset (bitset bset, bitset_bindex bitno) in bitset_reset() argument 152 bitset_windex windex = bitno / BITSET_WORD_BITS; in bitset_reset() 156 bset->b.cdata[offset] &= ~((bitset_word) 1 << (bitno % BITSET_WORD_BITS)); in bitset_reset() 158 BITSET_RESET_ (bset, bitno); in bitset_reset() 164 bitset_test (bitset bset, bitset_bindex bitno) in bitset_test() argument 166 bitset_windex windex = bitno / BITSET_WORD_BITS; in bitset_test() [all …]
|
D | vbitset.c | 117 vbitset_set (dst, bitno) in vbitset_set() argument 119 bitset_bindex bitno; 121 bitset_windex windex = bitno / BITSET_WORD_BITS; 127 vbitset_resize (dst, bitno); 130 (bitset_word) 1 << (bitno % BITSET_WORD_BITS); 136 vbitset_reset (dst, bitno) in vbitset_reset() argument 138 bitset_bindex bitno ATTRIBUTE_UNUSED; 147 vbitset_test (src, bitno) in vbitset_test() argument 149 bitset_bindex bitno ATTRIBUTE_UNUSED; 168 bitset_bindex bitno; local [all …]
|
D | bitset.c | 227 bitset_next (bitset src, bitset_bindex bitno) in bitset_next() argument 230 bitset_bindex next = bitno; in bitset_next() 249 bitset_prev (bitset src, bitset_bindex bitno) in bitset_prev() argument 252 bitset_bindex next = bitno; in bitset_prev() 278 bitset_only_set_p (bitset src, bitset_bindex bitno) in bitset_only_set_p() argument 285 return val[0] == bitno; in bitset_only_set_p() 338 bitset_toggle_ (bitset bset, bitset_bindex bitno) in bitset_toggle_() argument 342 if (bitset_test (bset, bitno)) in bitset_toggle_() 344 bitset_reset (bset, bitno); in bitset_toggle_() 349 bitset_set (bset, bitno); in bitset_toggle_()
|
D | bitset_stats.c | 313 bitset_stats_set (bitset dst, bitset_bindex bitno) in bitset_stats_set() argument 316 bitset_windex wordno = bitno / BITSET_WORD_BITS; in bitset_stats_set() 323 bset->b.cdata[offset] |= (bitset_word) 1 << (bitno % BITSET_WORD_BITS); in bitset_stats_set() 327 BITSET_SET_ (bset, bitno); in bitset_stats_set() 332 bitset_stats_reset (bitset dst, bitset_bindex bitno) in bitset_stats_reset() argument 335 bitset_windex wordno = bitno / BITSET_WORD_BITS; in bitset_stats_reset() 343 ~((bitset_word) 1 << (bitno % BITSET_WORD_BITS)); in bitset_stats_reset() 347 BITSET_RESET_ (bset, bitno); in bitset_stats_reset() 352 bitset_stats_toggle (bitset src, bitset_bindex bitno) in bitset_stats_toggle() argument 354 return BITSET_TOGGLE_ (src->s.bset, bitno); in bitset_stats_toggle() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | gen_bitmap.c | 171 blk_t bitno) in ext2fs_test_generic_bitmap() argument 176 return ext2fs_test_generic_bmap(bitmap, bitno); in ext2fs_test_generic_bitmap() 180 "test_bitmap(%lu)", (unsigned long) bitno); in ext2fs_test_generic_bitmap() 185 if ((bitno < bitmap->start) || (bitno > bitmap->end)) { in ext2fs_test_generic_bitmap() 186 ext2fs_warn_bitmap2(bitmap, EXT2FS_TEST_ERROR, bitno); in ext2fs_test_generic_bitmap() 189 return ext2fs_test_bit(bitno - bitmap->start, bitmap->bitmap); in ext2fs_test_generic_bitmap() 193 __u32 bitno) in ext2fs_mark_generic_bitmap() argument 198 return ext2fs_mark_generic_bmap(bitmap, bitno); in ext2fs_mark_generic_bitmap() 202 "mark_bitmap(%lu)", (unsigned long) bitno); in ext2fs_mark_generic_bitmap() 207 if ((bitno < bitmap->start) || (bitno > bitmap->end)) { in ext2fs_mark_generic_bitmap() [all …]
|
D | blkmap64_ba.c | 129 __u64 bitno; in ba_resize_bmap() local 136 bitno = bmap->real_end; in ba_resize_bmap() 137 if (bitno > new_end) in ba_resize_bmap() 138 bitno = new_end; in ba_resize_bmap() 139 for (; bitno > bmap->end; bitno--) in ba_resize_bmap() 140 ext2fs_clear_bit64(bitno - bmap->start, bp->bitarray); in ba_resize_bmap() 167 blk64_t bitno = (blk64_t) arg; in ba_mark_bmap() local 169 return ext2fs_set_bit64(bitno - bitmap->start, bp->bitarray); in ba_mark_bmap() 175 blk64_t bitno = (blk64_t) arg; in ba_unmark_bmap() local 177 return ext2fs_clear_bit64(bitno - bitmap->start, bp->bitarray); in ba_unmark_bmap() [all …]
|
D | bitops.h | 111 __u32 bitno); 113 blk_t bitno); 115 blk_t bitno); 183 blk64_t bitno); 185 blk64_t bitno); 187 blk64_t bitno);
|
/external/valgrind/none/tests/amd64/ |
D | amd64locked.c | 518 ULong btsq_mem ( UChar* base, int bitno ) 526 : "r" ((ULong)bitno) : "rdx","cc","memory" ); 532 ULong btsl_mem ( UChar* base, int bitno ) in btsl_mem() argument 540 : "r" ((UInt)bitno)); in btsl_mem() 543 ULong btsw_mem ( UChar* base, int bitno ) in btsw_mem() argument 551 : "r" ((ULong)bitno)); in btsw_mem() 555 ULong btrq_mem ( UChar* base, int bitno ) in btrq_mem() argument 563 : "r" ((ULong)bitno)); in btrq_mem() 566 ULong btrl_mem ( UChar* base, int bitno ) in btrl_mem() argument 574 : "r" ((UInt)bitno)); in btrl_mem() [all …]
|
/external/valgrind/memcheck/tests/vbit-test/ |
D | vbits.c | 604 onehot_vbits(unsigned bitno, unsigned num_bits) in onehot_vbits() argument 606 assert(bitno < num_bits); in onehot_vbits() 611 case 1: new.bits.u32 = 1 << bitno; break; in onehot_vbits() 612 case 8: new.bits.u8 = 1 << bitno; break; in onehot_vbits() 613 case 16: new.bits.u16 = 1 << bitno; break; in onehot_vbits() 614 case 32: new.bits.u32 = 1u << bitno; break; in onehot_vbits() 615 case 64: new.bits.u64 = 1ull << bitno; break; in onehot_vbits() 618 if (bitno < 64) { in onehot_vbits() 619 new.bits.u128[0] = 1ull << bitno; in onehot_vbits() 623 new.bits.u128[1] = 1ull << (bitno - 64); in onehot_vbits() [all …]
|
D | vbits.h | 75 vbits_t onehot_vbits(unsigned bitno, unsigned num_bits);
|
/external/llvm/test/Transforms/FunctionAttrs/ |
D | nocapture.ll | 22 ; CHECK: define i1 @c4(i32* %q, i32 %bitno) 23 define i1 @c4(i32* %q, i32 %bitno) { 25 %tmp2 = lshr i32 %tmp, %bitno 36 ; CHECK: define i1 @c5(i32* %q, i32 %bitno) 37 define i1 @c5(i32* %q, i32 %bitno) { 39 %tmp2 = lshr i32 %tmp, %bitno 63 define i1* @lookup_bit(i32* %q, i32 %bitno) readnone nounwind { 65 %tmp2 = lshr i32 %tmp, %bitno 71 ; CHECK: define i1 @c7(i32* readonly %q, i32 %bitno) 72 define i1 @c7(i32* %q, i32 %bitno) { [all …]
|
/external/bzip2/ |
D | unzcrash.c | 67 int bitno = bit % 8; in flip_bit() local 68 uchar mask = 1 << bitno; in flip_bit()
|
/external/ltrace/ |
D | lens_default.c | 728 size_t bitno = 0; in bitvect_lens_format_cb() local 740 low = bitno; in bitvect_lens_format_cb() 744 bitno-1)) < 0) in bitvect_lens_format_cb() 748 bitno++; in bitvect_lens_format_cb() 751 if (low >= 0 && account_output(&o, out_bits(stream, low, bitno-1)) < 0) in bitvect_lens_format_cb()
|
/external/valgrind/VEX/priv/ |
D | guest_s390_helpers.c | 298 s390_set_facility_bit(ULong *addr, UInt bitno, UInt value) in s390_set_facility_bit() argument 300 addr += bitno / 64; in s390_set_facility_bit() 301 bitno = bitno % 64; in s390_set_facility_bit() 304 mask <<= (63 - bitno); in s390_set_facility_bit()
|
/external/valgrind/VEX/switchback/ |
D | test_bzip2.c | 5962 int bitno = bit % 8; in flip_bit() local 5963 uchar mask = 1 << bitno; in flip_bit()
|
/external/valgrind/perf/ |
D | bz2.c | 5980 int bitno = bit % 8; in flip_bit() local 5981 UChar mask = 1 << bitno; in flip_bit()
|
/external/valgrind/memcheck/tests/ |
D | varinfo6.c | 6020 int bitno = bit % 8; in flip_bit() local 6021 UChar mask = 1 << bitno; in flip_bit()
|
D | origin5-bz2.c | 5983 int bitno = bit % 8; in flip_bit() local 5984 UChar mask = 1 << bitno; in flip_bit()
|
/external/valgrind/exp-sgcheck/tests/ |
D | hackedbz2.c | 5991 int bitno = bit % 8; in flip_bit() local 5992 UChar mask = 1 << bitno; in flip_bit()
|