Searched refs:bit (Results 1 - 25 of 120) sorted by relevance

12345

/barrelfish-2018-10-04/lib/libc/string/
H A Dffs.c39 * Find First Set bit
44 int bit; local
48 for (bit = 1; !(mask & 1); bit++)
50 return (bit);
H A Dffsl.c36 * Find First Set bit
41 int bit; local
45 for (bit = 1; !(mask & 1); bit++)
47 return (bit);
H A Dffsll.c36 * Find First Set bit
41 int bit; local
45 for (bit = 1; !(mask & 1); bit++)
47 return (bit);
H A Dfls.c36 * Find Last Set bit
41 int bit; local
45 for (bit = 1; mask != 1; bit++)
47 return (bit);
H A Dflsl.c36 * Find Last Set bit
41 int bit; local
45 for (bit = 1; mask != 1; bit++)
47 return (bit);
H A Dflsll.c36 * Find Last Set bit
41 int bit; local
45 for (bit = 1; mask != 1; bit++)
47 return (bit);
H A Dstrcspn.c41 * NB: idx and bit are temporaries whose use causes gcc 3.4.2 to
45 u_long bit; local
52 #if LONG_BIT == 64 /* always better to unroll on 64-bit architectures */
61 bit = BIT(*charset);
62 tbl[idx] |= bit;
67 bit = BIT(*s1);
68 if ((tbl[idx] & bit) != 0)
H A Dstrspn.c41 * NB: idx and bit are temporaries whose use causes gcc 3.4.2 to
45 u_long bit; local
52 #if LONG_BIT == 64 /* always better to unroll on 64-bit architectures */
60 bit = BIT(*charset);
61 tbl[idx] |= bit;
66 bit = BIT(*s1);
67 if ((tbl[idx] & bit) == 0)
/barrelfish-2018-10-04/tools/usbboot/arch/omap4/
H A Dgpio.c50 unsigned bit = 1 << (gpio % 32); local
56 writel(readl(base + GPIO_OE) & (~bit), base + GPIO_OE);
58 /* set or clear the bit */
59 writel(bit, base + (set ? GPIO_SET : GPIO_CLEAR));
65 unsigned bit = 1 << (gpio % 32); local
70 if(readl(base + GPIO_OE) & bit) {
71 return (readl(base + GPIO_DATAIN) & bit) != 0;
73 return (readl(base + GPIO_DATAOUT) & bit) != 0;
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/include/linux/
H A Dbitops.h61 // int bit;
65 // for (bit = 1; !(mask & 1); bit++)
67 // return (bit);
95 int bit; local
97 for (bit = 0; size >= BITS_PER_LONG; size -= BITS_PER_LONG, bit +=
101 return (bit + __ffsl(*addr));
106 bit += __ffsl(mask);
108 bit
116 int bit; local
164 int bit; local
202 int bit; local
[all...]
/barrelfish-2018-10-04/lib/openssl-1.0.0d/demos/prime/
H A DMakefile15 @echo Test creating a 128-bit prime
17 @echo Test creating a 256-bit prime
19 @echo Test creating a 512-bit prime
/barrelfish-2018-10-04/usr/drivers/solarflare/
H A Dhelper.c90 BMALLOCATOR_TYPE bit; local
95 bit = 1 << (i % BMALLOCATOR_BITS);
98 if (!(alloc->bitmap[idx] & bit)) {
99 alloc->bitmap[idx] |= bit;
111 BMALLOCATOR_TYPE bit; local
118 bit = (1 << (n % BMALLOCATOR_BITS));
121 result = alloc->bitmap[idx] & bit;
122 alloc->bitmap[idx] &= ~bit;
/barrelfish-2018-10-04/lib/openssl-1.0.0d/util/
H A Dmkcerts.sh19 echo creating $CAbits bit PCA cert request
29 Test PCA (1024 bit)
55 echo creating $CAbits bit CA cert request
65 Test CA (1024 bit)
92 echo creating 512 bit server cert request
102 Server test cert (512 bit)
109 echo problems generating 512 bit server cert request
115 echo signing 512 bit server cert
123 echo problems signing 512 bit server cert
128 # create 1024 bit serve
[all...]
H A Dsrc-dep.pl32 foreach $bit (split(/\s+/,$we_need{$file}))
33 { push(@final,&walk($bit)); }
/barrelfish-2018-10-04/usr/drivers/e10k/
H A Dhelper.c101 BMALLOCATOR_TYPE bit; local
106 bit = 1 << (i % BMALLOCATOR_BITS);
109 if (!(alloc->bitmap[idx] & bit)) {
110 alloc->bitmap[idx] |= bit;
122 BMALLOCATOR_TYPE bit; local
129 bit = (1 << (n % BMALLOCATOR_BITS));
132 result = alloc->bitmap[idx] & bit;
133 alloc->bitmap[idx] &= ~bit;
/barrelfish-2018-10-04/lib/devif/backends/net/e10k/
H A Dhelper.c101 BMALLOCATOR_TYPE bit; local
106 bit = 1 << (i % BMALLOCATOR_BITS);
109 if (!(alloc->bitmap[idx] & bit)) {
110 alloc->bitmap[idx] |= bit;
122 BMALLOCATOR_TYPE bit; local
129 bit = (1 << (n % BMALLOCATOR_BITS));
132 result = alloc->bitmap[idx] & bit;
133 alloc->bitmap[idx] &= ~bit;
/barrelfish-2018-10-04/usr/drivers/usb/usb_manager/controller/ohci/
H A Dusb_ohci_pipe.c212 uint16_t bit; local
221 bit = USB_OHCI_NO_EP_DESCRIPTORS / 2;
227 while (bit) {
228 if (xfer->interval >= bit) {
229 x = bit;
230 best = bit;
231 while (x & bit) {
239 bit >>= 1;
H A Dusb_ohci.c196 // TODO: Why does 32-bit expect mackerel_io_t?
218 uint16_t bit = USB_OHCI_NO_EP_DESCRIPTORS / 2; local
221 while (bit) {
222 current = bit;
223 while (current & bit) {
224 next = (current ^ bit) | (bit / 2);
233 bit >>= 1;
318 * Master Interrupt Enable bit is always set on, so clear it
346 * This bit i
[all...]
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/bn/
H A Dbn_rand.c121 int ret=0,bit,bytes,mask; local
131 bit=(bits-1)%8;
132 mask=0xff<<(bit+1);
181 if (bit == 0)
188 buf[0]|=(3<<(bit-1));
193 buf[0]|=(1<<bit);
197 if (bottom) /* set bottom bit if requested */
251 * so 3*range (= 11..._2) is exactly one bit longer than range */
/barrelfish-2018-10-04/lib/x86emu/
H A Dops2.c341 int bit,disp; local
356 bit = *shiftreg & 0x1F;
359 CONDITIONAL_SET_FLAG(srcval & (0x1 << bit),F_CF);
368 bit = *shiftreg & 0xF;
371 CONDITIONAL_SET_FLAG(srcval & (0x1 << bit),F_CF);
383 bit = *shiftreg & 0x1F;
386 CONDITIONAL_SET_FLAG(srcval & (0x1 << bit),F_CF);
395 bit = *shiftreg & 0xF;
398 CONDITIONAL_SET_FLAG(srcval & (0x1 << bit),F_CF);
410 bit
747 int bit,disp; local
1369 int bit,disp; local
1778 int bit; local
2028 int bit,disp; local
[all...]
/barrelfish-2018-10-04/lib/cxx/unwind/
H A DAddressSpace.hpp152 /// Read a ULEB128 into a 64-bit word.
157 int bit = 0; local
166 if (bit >= 64 || b << bit >> bit != b) {
169 result |= b << bit;
170 bit += 7;
177 /// Read a SLEB128 into a 64-bit word.
182 int bit = 0; local
188 result |= ((byte & 0x7f) << bit);
[all...]
/barrelfish-2018-10-04/usr/drivers/usb/usb_manager/controller/ehci/
H A Dusb_ehci.c38 /* write the reset bit */
47 * the host controller sets this bit to 0 if the rest is complete
107 /* write the reset bit */
136 * XXX: 64 bit data structures are not supported at the moment
139 debug_printf("NYI: Host controller uses 64-bit memory addresses!\n");
210 * R/W���Host controller has port power control switches. This bit
435 uint16_t bit = USB_EHCI_VFRAMELIST_COUNT / 2; local
438 while (bit) {
439 curr = bit;
440 while (curr & bit) {
[all...]
/barrelfish-2018-10-04/lib/libc/db/hash/
H A Dhash_page.c655 int bit, first_page, free_bit, free_page, i, in_use_bits, j; local
677 bit = hashp->LAST_FREED &
679 j = bit / BITS_PER_MAP;
680 bit = rounddown2(bit, BITS_PER_MAP);
682 bit = 0;
685 for (; bit <= in_use_bits; j++, bit += BITS_PER_MAP)
719 * allocated with 1 clear bit. Actually, you are going to
723 * the first bit o
[all...]
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/ts/
H A Dts_rsp_print.c68 int bit; member in struct:status_map_st
170 for (; a->bit >= 0; ++a)
172 if (ASN1_BIT_STRING_get_bit(v, a->bit))
/barrelfish-2018-10-04/lib/compiler-rt/builtins/
H A Dfp_extend_impl.inc16 // (for example) the Intel 80-bit format or PowerPC double-double format.
25 // to add support for quad on some 32-bit systems, for example. You also may
34 // 2. quiet NaNs, if supported, are indicated by the leading bit of the
82 // bit (if needed) and right-aligning the rest of the trailing NaN
91 // renormalize the significand and clear the leading bit, then insert

Completed in 213 milliseconds

12345