Home
last modified time | relevance | path

Searched refs:bitno (Results 1 – 21 of 21) sorted by relevance

/external/valgrind/main/memcheck/tests/amd64/
Dbt_everything.c18 ULong btsq_mem ( char* base, Word bitno ) in btsq_mem() argument
25 : "r" (bitno)); in btsq_mem()
32 ULong btrq_mem ( char* base, Word bitno ) in btrq_mem() argument
39 : "r" (bitno)); in btrq_mem()
43 ULong btcq_mem ( char* base, Word bitno ) in btcq_mem() argument
50 : "r" (bitno)); in btcq_mem()
54 ULong btq_mem ( char* base, Word bitno ) in btq_mem() argument
61 : "r" (bitno) in btq_mem()
69 ULong btsl_mem ( char* base, Word bitno ) in btsl_mem() argument
76 : "r" ((Int)bitno)); in btsl_mem()
[all …]
/external/valgrind/main/none/tests/x86/
Dbt_everything.c7 unsigned int btsl_mem ( char* base, int bitno ) in btsl_mem() argument
14 : "r" (bitno)); in btsl_mem()
21 unsigned int btrl_mem ( char* base, int bitno ) in btrl_mem() argument
28 : "r" (bitno)); in btrl_mem()
32 unsigned int btcl_mem ( char* base, int bitno ) in btcl_mem() argument
39 : "r" (bitno)); in btcl_mem()
43 unsigned int btl_mem ( char* base, int bitno ) in btl_mem() argument
50 : "r" (bitno) in btl_mem()
58 unsigned int btsl_reg ( unsigned int reg_in, int bitno, in btsl_reg() argument
69 : "r" (bitno), "r" (reg_in) in btsl_reg()
[all …]
Dx86locked.c466 unsigned int btsl_mem ( UChar* base, int bitno )
473 : "r" (bitno));
479 unsigned int btsw_mem ( UChar* base, int bitno ) in btsw_mem() argument
486 : "r" (bitno)); in btsw_mem()
490 unsigned int btrl_mem ( UChar* base, int bitno ) in btrl_mem() argument
497 : "r" (bitno)); in btrl_mem()
500 unsigned int btrw_mem ( UChar* base, int bitno ) in btrw_mem() argument
507 : "r" (bitno)); in btrw_mem()
511 unsigned int btcl_mem ( UChar* base, int bitno ) in btcl_mem() argument
518 : "r" (bitno)); in btcl_mem()
[all …]
/external/bison/lib/
Dabitset.c52 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 …]
Debitset.c512 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 …]
Dlbitset.c517 lbitset_set (bitset dst, bitset_bindex bitno) in lbitset_set() argument
519 bitset_windex windex = bitno / BITSET_WORD_BITS; in lbitset_set()
524 (bitset_word) 1 << (bitno % BITSET_WORD_BITS); in lbitset_set()
530 lbitset_reset (bitset dst, bitset_bindex bitno) in lbitset_reset() argument
532 bitset_windex windex = bitno / BITSET_WORD_BITS; in lbitset_reset()
538 ~((bitset_word) 1 << (bitno % BITSET_WORD_BITS)); in lbitset_reset()
546 lbitset_test (bitset src, bitset_bindex bitno) in lbitset_test() argument
548 bitset_windex windex = bitno / BITSET_WORD_BITS; in lbitset_test()
552 >> (bitno % BITSET_WORD_BITS)) in lbitset_test()
572 bitset_bindex bitno; in lbitset_list_reverse() local
[all …]
Dbitset.h135 bitset_set (bitset bset, bitset_bindex bitno) in bitset_set() argument
137 bitset_windex windex = bitno / BITSET_WORD_BITS; in bitset_set()
141 bset->b.cdata[offset] |= ((bitset_word) 1 << (bitno % BITSET_WORD_BITS)); in bitset_set()
143 BITSET_SET_ (bset, bitno); in bitset_set()
149 bitset_reset (bitset bset, bitset_bindex bitno) in bitset_reset() argument
151 bitset_windex windex = bitno / BITSET_WORD_BITS; in bitset_reset()
155 bset->b.cdata[offset] &= ~((bitset_word) 1 << (bitno % BITSET_WORD_BITS)); in bitset_reset()
157 BITSET_RESET_ (bset, bitno); in bitset_reset()
163 bitset_test (bitset bset, bitset_bindex bitno) in bitset_test() argument
165 bitset_windex windex = bitno / BITSET_WORD_BITS; in bitset_test()
[all …]
Dvbitset.c117 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 …]
Dbitset.c227 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_()
Dbitset_stats.c313 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/
Dgen_bitmap.c161 blk_t bitno) in ext2fs_test_generic_bitmap() argument
163 if ((bitno < bitmap->start) || (bitno > bitmap->end)) { in ext2fs_test_generic_bitmap()
164 ext2fs_warn_bitmap2(bitmap, EXT2FS_TEST_ERROR, bitno); in ext2fs_test_generic_bitmap()
167 return ext2fs_test_bit(bitno - bitmap->start, bitmap->bitmap); in ext2fs_test_generic_bitmap()
171 __u32 bitno) in ext2fs_mark_generic_bitmap() argument
173 if ((bitno < bitmap->start) || (bitno > bitmap->end)) { in ext2fs_mark_generic_bitmap()
174 ext2fs_warn_bitmap2(bitmap, EXT2FS_MARK_ERROR, bitno); in ext2fs_mark_generic_bitmap()
177 return ext2fs_set_bit(bitno - bitmap->start, bitmap->bitmap); in ext2fs_mark_generic_bitmap()
181 blk_t bitno) in ext2fs_unmark_generic_bitmap() argument
183 if ((bitno < bitmap->start) || (bitno > bitmap->end)) { in ext2fs_unmark_generic_bitmap()
[all …]
Dbitops.h107 __u32 bitno);
109 blk_t bitno);
111 blk_t bitno);
/external/valgrind/main/none/tests/amd64/
Damd64locked.c506 ULong btsq_mem ( UChar* base, int bitno )
514 : "r" ((ULong)bitno) : "rdx","cc","memory" );
520 ULong btsl_mem ( UChar* base, int bitno ) in btsl_mem() argument
528 : "r" ((UInt)bitno)); in btsl_mem()
531 ULong btsw_mem ( UChar* base, int bitno ) in btsw_mem() argument
539 : "r" ((ULong)bitno)); in btsw_mem()
543 ULong btrq_mem ( UChar* base, int bitno ) in btrq_mem() argument
551 : "r" ((ULong)bitno)); in btrq_mem()
554 ULong btrl_mem ( UChar* base, int bitno ) in btrl_mem() argument
562 : "r" ((UInt)bitno)); in btrl_mem()
[all …]
/external/llvm/test/Transforms/FunctionAttrs/
Dnocapture.ll21 ; CHECK: define i1 @c4(i32* %q, i32 %bitno)
22 define i1 @c4(i32* %q, i32 %bitno) {
24 %tmp2 = lshr i32 %tmp, %bitno
35 ; CHECK: define i1 @c5(i32* %q, i32 %bitno)
36 define i1 @c5(i32* %q, i32 %bitno) {
38 %tmp2 = lshr i32 %tmp, %bitno
62 define i1* @lookup_bit(i32* %q, i32 %bitno) readnone nounwind {
64 %tmp2 = lshr i32 %tmp, %bitno
70 ; CHECK: define i1 @c7(i32* %q, i32 %bitno)
71 define i1 @c7(i32* %q, i32 %bitno) {
[all …]
/external/bzip2/
Dunzcrash.c67 int bitno = bit % 8; in flip_bit() local
68 uchar mask = 1 << bitno; in flip_bit()
/external/valgrind/main/VEX/switchback/
Dtest_bzip2.c5964 int bitno = bit % 8; in flip_bit() local
5965 uchar mask = 1 << bitno; in flip_bit()
/external/valgrind/main/memcheck/tests/
Dorigin5-bz2.c5983 int bitno = bit % 8; in flip_bit() local
5984 UChar mask = 1 << bitno; in flip_bit()
Dvarinfo6.c6020 int bitno = bit % 8; in flip_bit() local
6021 UChar mask = 1 << bitno; in flip_bit()
/external/valgrind/main/exp-sgcheck/tests/
Dhackedbz2.c5991 int bitno = bit % 8; in flip_bit() local
5992 UChar mask = 1 << bitno; in flip_bit()
/external/valgrind/main/perf/
Dbz2.c5982 int bitno = bit % 8; in flip_bit() local
5983 UChar mask = 1 << bitno; in flip_bit()
Dtest_input_for_tinycc.c4444 int bitno = bit % 8; in flip_bit() local
4445 uchar mask = 1 << bitno; in flip_bit()