Home
last modified time | relevance | path

Searched refs:bit (Results 1 – 25 of 599) sorted by relevance

12345678910>>...24

/dragonfly/sys/dev/drm/include/linux/
H A Dbitops.h98 int bit; in find_first_bit() local
113 return (bit); in find_first_bit()
120 int bit; in find_first_zero_bit() local
135 return (bit); in find_first_zero_bit()
143 int bit; in find_last_bit() local
169 int bit; in find_next_bit() local
198 return (bit); in find_next_bit()
207 int bit; in find_next_zero_bit() local
322 bit = 1L << bit; in test_and_clear_bit()
351 bit = 1L << bit; in test_and_set_bit()
[all …]
/dragonfly/contrib/file/magic/Magdir/
H A Dispell17 >2 leshort 0x00 8-bit, no capitalization, 26 flags
18 >2 leshort 0x01 7-bit, no capitalization, 26 flags
19 >2 leshort 0x02 8-bit, capitalization, 26 flags
20 >2 leshort 0x03 7-bit, capitalization, 26 flags
23 >2 leshort 0x06 8-bit, capitalization, 52 flags
24 >2 leshort 0x07 7-bit, capitalization, 52 flags
27 >2 leshort 0x0A 8-bit, capitalization, 128 flags
28 >2 leshort 0x0B 7-bit, capitalization, 128 flags
31 >2 leshort 0x0E 8-bit, capitalization, 256 flags
41 >2 beshort 0x02 8-bit, capitalization, 26 flags
[all …]
H A Dmach11 # it's also separate from the "64-bit libraries" bit in the
20 # 32-bit ABIs.
153 # 64-bit ABIs.
155 >>0 belong&0x00ffffff 0 64-bit architecture=%d
156 >>0 belong&0x00ffffff 1 64-bit architecture=%d
157 >>0 belong&0x00ffffff 2 64-bit architecture=%d
158 >>0 belong&0x00ffffff 3 64-bit architecture=%d
159 >>0 belong&0x00ffffff 4 64-bit architecture=%d
209 # 64_32-bit ABIs.
223 >>0 belong&0x00ffffff 12 64_32-bit arm
[all …]
H A Ddyadic21 >>>1 byte 0x01 component file 32-bit non-journaled non-checksummed
27 >>>>7 byte&0x28 0x00 32-bit
28 >>>>7 byte&0x28 0x20 64-bit
36 >>>1 byte 0x08 mapped file 32-bit
37 >>>1 byte 0x09 component file 64-bit non-journaled non-checksummed
38 >>>1 byte 0x0a mapped file 64-bit
41 >>>1 byte 0x0d component file 32-bit level 1 journaled checksummed
42 >>>1 byte 0x0e component file 64-bit level 1 journaled checksummed
43 >>>1 byte 0x0f component file 32-bit level 2 journaled checksummed
47 >>>1 byte 0x13 component file 32-bit non-journaled checksummed
[all …]
H A Dapt10 # old format 64 bit
11 0 name apt-cache-64bit-be
16 # old format 32 bit
17 0 name apt-cache-32bit-be
30 >>10 beshort x \b.%u, 64 bit big-endian
31 >>0 use apt-cache-64bit-be
35 >>10 leshort x \b.%u, 64 bit little-endian
36 >>0 use \^apt-cache-64bit-be
40 >>6 ubeshort x \b.%u, 32 bit big-endian
41 >>0 use apt-cache-32bit-be
[all …]
H A Delf102 # only for 32-bit
105 # only for 64-bit
112 # only for 32-bit
115 # only for 64-bit
121 # only for 32-bit
173 >18 leshort 68 ST7 8 bit,
179 >18 leshort 74 ST19 8 bit,
286 # only for 32-bit
289 # only for 64-bit
344 >4 byte 1 32-bit
[all …]
H A Daout9 # Little-endian 32-bit-int a.out, merged from bsdi (for BSD/OS, from
18 0 lelong 0407 a.out little-endian 32-bit executable
22 0 lelong 0410 a.out little-endian 32-bit pure executable
26 0 lelong 0413 a.out little-endian 32-bit demand paged pure executable
31 # Big-endian 32-bit-int a.out, merged from sun (for old 68010 SunOS a.out),
38 0 belong 0407 a.out big-endian 32-bit executable
41 0 belong 0410 a.out big-endian 32-bit pure executable
44 0 belong 0413 a.out big-endian 32-bit demand paged executable
/dragonfly/lib/libvgl/
H A Dtext.c76 int lin, bit; in VGLBitmapPutChar() local
79 for(bit = 0; bit < VGLTextFont->Width; bit++) { in VGLBitmapPutChar()
83 VGLSetXY(Object, (x+7-bit), (y+lin), fgcol); in VGLBitmapPutChar()
86 VGLSetXY(Object, (x+lin), (y-7+bit), fgcol); in VGLBitmapPutChar()
89 VGLSetXY(Object, (x-7+bit), (y-lin), fgcol); in VGLBitmapPutChar()
92 VGLSetXY(Object, (x-lin), (y+7-bit), fgcol); in VGLBitmapPutChar()
95 VGLSetXY(Object, (x+lin+7-bit), (y+lin+bit), fgcol); in VGLBitmapPutChar()
101 VGLSetXY(Object, (x+7-bit), (y+lin), bgcol); in VGLBitmapPutChar()
104 VGLSetXY(Object, (x+lin), (y-7+bit), bgcol); in VGLBitmapPutChar()
107 VGLSetXY(Object, (x-7+bit), (y-lin), bgcol); in VGLBitmapPutChar()
[all …]
/dragonfly/contrib/wpa_supplicant/src/utils/
H A Dbitfield.c40 void bitfield_set(struct bitfield *bf, size_t bit) in bitfield_set() argument
42 if (bit >= bf->max_bits) in bitfield_set()
44 bf->bits[bit / 8] |= BIT(bit % 8); in bitfield_set()
48 void bitfield_clear(struct bitfield *bf, size_t bit) in bitfield_clear() argument
50 if (bit >= bf->max_bits) in bitfield_clear()
52 bf->bits[bit / 8] &= ~BIT(bit % 8); in bitfield_clear()
56 int bitfield_is_set(struct bitfield *bf, size_t bit) in bitfield_is_set() argument
58 if (bit >= bf->max_bits) in bitfield_is_set()
60 return !!(bf->bits[bit / 8] & BIT(bit % 8)); in bitfield_is_set()
/dragonfly/contrib/lvm2/dist/libdm/datastruct/
H A Dbitset.c60 static inline int _test_word(uint32_t test, int bit) in _test_word() argument
62 while (bit < (int) DM_BITS_PER_INT) { in _test_word()
63 if (test & (0x1 << bit)) in _test_word()
64 return bit; in _test_word()
65 bit++; in _test_word()
73 int bit, word; in dm_bit_get_next() local
84 bit = last_bit & (DM_BITS_PER_INT - 1); in dm_bit_get_next()
86 if ((bit = _test_word(test, bit)) >= 0) in dm_bit_get_next()
87 return (word * DM_BITS_PER_INT) + bit; in dm_bit_get_next()
/dragonfly/sys/vfs/ext2fs/
H A Dext2_subr.c119 int bit, i; in ext2_clusteracct() local
125 bit = 1; in ext2_clusteracct()
138 bit <<= 1; in ext2_clusteracct()
141 bit = 1; in ext2_clusteracct()
161 bit = 1 << (start % NBBY); in ext2_clusteracct()
163 if ((bbp[loc] & bit) != 0) in ext2_clusteracct()
166 bit <<= 1; in ext2_clusteracct()
169 bit = 1; in ext2_clusteracct()
180 bit = 1 << (start % NBBY); in ext2_clusteracct()
185 bit >>= 1; in ext2_clusteracct()
[all …]
/dragonfly/sys/sys/
H A Dbitstring.h42 #define _bit_byte(bit) \ argument
43 ((bit) >> 3)
46 #define _bit_mask(bit) \ argument
47 (1 << ((bit)&0x7))
63 #define bit_test(name, bit) \ argument
64 ((name)[_bit_byte(bit)] & _bit_mask(bit))
67 #define bit_set(name, bit) \ argument
68 ((name)[_bit_byte(bit)] |= _bit_mask(bit))
71 #define bit_clear(name, bit) \ argument
72 ((name)[_bit_byte(bit)] &= ~_bit_mask(bit))
/dragonfly/sys/dev/drm/amd/amdgpu/
H A Damdgpu_gfx.h66 int bit = 0; in amdgpu_gfx_queue_to_bit() local
68 bit += mec * adev->gfx.mec.num_pipe_per_mec in amdgpu_gfx_queue_to_bit()
70 bit += pipe * adev->gfx.mec.num_queue_per_pipe; in amdgpu_gfx_queue_to_bit()
71 bit += queue; in amdgpu_gfx_queue_to_bit()
73 return bit; in amdgpu_gfx_queue_to_bit()
76 static inline void amdgpu_gfx_bit_to_queue(struct amdgpu_device *adev, int bit, in amdgpu_gfx_bit_to_queue() argument
79 *queue = bit % adev->gfx.mec.num_queue_per_pipe; in amdgpu_gfx_bit_to_queue()
80 *pipe = (bit / adev->gfx.mec.num_queue_per_pipe) in amdgpu_gfx_bit_to_queue()
82 *mec = (bit / adev->gfx.mec.num_queue_per_pipe) in amdgpu_gfx_bit_to_queue()
/dragonfly/contrib/binutils-2.34/libctf/
H A Dctf-dump.c153 free (bit); in ctf_dump_format_type()
154 bit = NULL; in ctf_dump_format_type()
174 free (bit); in ctf_dump_format_type()
400 char *bit; in ctf_dump_funcs() local
448 free (bit); in ctf_dump_funcs()
468 free (bit); in ctf_dump_funcs()
543 free (bit); in ctf_dump_member()
556 free (bit); in ctf_dump_member()
558 bit = NULL; in ctf_dump_member()
569 free (bit); in ctf_dump_member()
[all …]
/dragonfly/tools/tools/ath/athdebug/
H A Dathdebug.c80 u_int bit; member
115 return flags[i].bit; in getflag()
125 if (flags[i].bit == flag) in getflagname()
181 u_int bit; in main() local
193 bit = getflag(cp, tp-cp); in main()
195 ndebug &= ~bit; in main()
197 ndebug |= bit; in main()
199 if (bit == 0) { in main()
201 bit = strtoul(cp, NULL, 0); in main()
206 ndebug = bit; in main()
[all …]
/dragonfly/contrib/gcc-4.7/libgcc/
H A Dudivmodsi4.c27 unsigned long bit = 1; in udivmodsi4() local
30 while (den < num && bit && !(den & (1L<<31))) in udivmodsi4()
33 bit <<=1; in udivmodsi4()
35 while (bit) in udivmodsi4()
40 res |= bit; in udivmodsi4()
42 bit >>=1; in udivmodsi4()
/dragonfly/usr.sbin/wlandebug/
H A Dwlandebug.c84 u_int bit; member
126 return flags[i].bit; in getflag()
185 u_int bit; in main() local
197 bit = getflag(cp, tp-cp); in main()
199 ndebug &= ~bit; in main()
201 ndebug |= bit; in main()
203 if (bit == 0) { in main()
206 bit = strtoul(cp, NULL, 0); in main()
211 ndebug = bit; in main()
225 if (debug & flags[i].bit) { in main()
/dragonfly/contrib/xz/src/liblzma/rangecoder/
H A Dprice.h29 rc_bit_price(const probability prob, const uint32_t bit) in rc_bit_price() argument
31 return lzma_rc_prices[(prob ^ ((UINT32_C(0) - bit) in rc_bit_price()
59 const uint32_t bit = symbol & 1; in rc_bittree_price() local
61 price += rc_bit_price(probs[symbol], bit); in rc_bittree_price()
76 const uint32_t bit = symbol & 1; in rc_bittree_reverse_price() local
78 price += rc_bit_price(probs[model_index], bit); in rc_bittree_reverse_price()
79 model_index = (model_index << 1) + bit; in rc_bittree_reverse_price()
H A Drange_encoder.h67 rc_bit(lzma_range_encoder *rc, probability *prob, uint32_t bit) in rc_bit() argument
69 rc->symbols[rc->count] = bit; in rc_bit()
82 const uint32_t bit = (symbol >> --bit_count) & 1; in rc_bittree() local
83 rc_bit(rc, &probs[model_index], bit); in rc_bittree()
84 model_index = (model_index << 1) + bit; in rc_bittree()
96 const uint32_t bit = symbol & 1; in rc_bittree_reverse() local
98 rc_bit(rc, &probs[model_index], bit); in rc_bittree_reverse()
99 model_index = (model_index << 1) + bit; in rc_bittree_reverse()
/dragonfly/contrib/zstd/lib/common/
H A Dcpu.h110 #define X(name, r, bit) \ argument
112 return ((cpuid.r) & (1U << bit)) != 0; \
116 #define C(name, bit) X(name, f1c, bit) argument
147 #define D(name, bit) X(name, f1d, bit) argument
180 #define B(name, bit) X(name, f7b, bit) argument
206 #define C(name, bit) X(name, f7c, bit) argument
/dragonfly/contrib/binutils-2.27/gas/doc/
H A Dc-i386.texi38 * i386-16bit:: Writing 16-bit Code
66 imply AMD x86-64 architecture with 32-bit or 64-bit word-size
71 platform you have to add --enable-64-bit-bfd to configure enable 64-bit
282 encode LIG EVEX instructions with 256bit and 512bit vector length,
597 prefers 8bit or 32bit displacement in encoding.
714 enhancing the 8 32-bit registers to 64-bit: @samp{%rax} (the
939 registers used are 64-bit instead of 32-bit.
980 types are 16-, 32-, and 64- bit integers, and single (32-bit),
1050 16-bit integers, two 32-bit integers, one 64-bit integer, or two 32-bit
1070 LWP can be used in both 64-bit and legacy 32-bit modes.
[all …]
/dragonfly/sys/netgraph7/
H A Dng_sppp.c113 int index, bit; in ng_sppp_get_unit() local
137 for (bit = 0; (mask & 1) != 0; bit++) in ng_sppp_get_unit()
139 KASSERT ((bit >= 0 && bit < NBBY), in ng_sppp_get_unit()
140 ("%s: word=%d bit=%d", __func__, ng_sppp_units[index], bit)); in ng_sppp_get_unit()
141 ng_sppp_units[index] |= (1 << bit); in ng_sppp_get_unit()
142 *unit = (index * NBBY) + bit; in ng_sppp_get_unit()
153 int index, bit; in ng_sppp_free_unit() local
156 bit = unit % NBBY; in ng_sppp_free_unit()
159 KASSERT ((ng_sppp_units[index] & (1 << bit)) != 0, in ng_sppp_free_unit()
161 ng_sppp_units[index] &= ~(1 << bit); in ng_sppp_free_unit()
/dragonfly/sys/net/
H A Dradix.c352 bit--; in rn_match()
355 rn_bit = -1 - bit; in rn_match()
462 unsigned int bit; in rn_insert() local
490 for (bit = (cp - (const u_char *)key) << 3; cmp_res; bit--) in rn_insert()
553 int bit, mlen; in rn_addmask() local
609 bit = 0; in rn_addmask()
623 bit++; in rn_addmask()
706 int bit, bit_leaf; in rn_addroute() local
712 bit = bit_leaf = 0; in rn_addroute()
1052 bit = t->rn_info; in rn_delete()
[all …]
/dragonfly/sys/platform/pc64/x86_64/
H A Dminidump_machdep.c190 int i, j, k, bit; in minidumpsys() local
308 bit = bsfq(bits); in minidumpsys()
316 bits &= ~(1ul << bit); in minidumpsys()
413 bit = bsfq(bits); in minidumpsys()
418 bits &= ~(1ul << bit); in minidumpsys()
454 int idx, bit; in dump_add_page() local
458 bit = pa & 63; in dump_add_page()
459 atomic_set_long(&vm_page_dump[idx], 1ul << bit); in dump_add_page()
465 int idx, bit; in dump_drop_page() local
469 bit = pa & 63; in dump_drop_page()
[all …]
/dragonfly/sys/tools/sound/
H A Dfeeder_rate_mkfilter.awk470 function genscale(bit, s1, s2, scale)
476 s1 = Z_COEFF_SHIFT - (32 - bit);
478 s2 = Z_SHIFT + (32 - bit);
493 bit, (bit < 10) ? "\t" : "", scale);
496 function genlerp(bit, use64, lerp)
498 if ((bit + Z_LINEAR_SHIFT) <= 32) {
511 bit + Z_LINEAR_SHIFT - 64);
512 if ((64 - bit) != 0)
519 bit + Z_LINEAR_SHIFT - 32);
520 if ((32 - bit) != 0)
[all …]

12345678910>>...24