Searched refs:bitno (Results 1 - 5 of 5) sorted by relevance
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | bits.c | 89 setbit(int bitno, int *s) argument 91 for ( ; INT_SIZE <= bitno; bitno -= INT_SIZE, ++s) 93 *s |= 1 << bitno; 100 clrbit(int bitno, int *s) argument 102 for ( ; INT_SIZE <= bitno; bitno -= INT_SIZE, ++s) 104 *s &= ~(1 << bitno); 130 testbit(int bitno, int *s) argument 132 for ( ; INT_SIZE <= bitno; bitn [all...] |
/darwin-on-arm/xnu/osfmk/arm/ |
H A D | loose_ends.c | 303 void setbit(int bitno, int *s) argument 305 s[bitno / INT_SIZE] |= 1 << (bitno % INT_SIZE); 313 void clrbit(int bitno, int *s) argument 315 s[bitno / INT_SIZE] &= ~(1 << (bitno % INT_SIZE)); 323 int testbit(int bitno, int *s) argument 325 return s[bitno / INT_SIZE] & (1 << (bitno % INT_SIZE));
|
/darwin-on-arm/xnu/osfmk/x86_64/ |
H A D | loose_ends.c | 113 setbit(int bitno, int *s) argument 115 s[bitno / INT_SIZE] |= 1 << (bitno % INT_SIZE); 122 clrbit(int bitno, int *s) argument 124 s[bitno / INT_SIZE] &= ~(1 << (bitno % INT_SIZE)); 131 testbit(int bitno, int *s) argument 133 return s[bitno / INT_SIZE] & (1 << (bitno % INT_SIZE));
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | bsd_comp.c | 516 u_int bitno = 32; local 547 bitno -= n_bits; \ 548 accm |= ((ent) << bitno); \ 552 bitno += 8; \ 553 } while (bitno <= 24); \ 671 if (bitno < 32) 681 if (bitno != 32) 682 PUTBYTE((accm | (0xff << (bitno-8))) >> 24); 735 u_int bitno = 7; local 792 bitno 859 u_int bitno = 32; /* 1st valid bit in accm */ local [all...] |
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | loose_ends.c | 747 setbit(int bitno, int *s) argument 749 s[bitno / INT_SIZE] |= 1 << (bitno % INT_SIZE); 756 clrbit(int bitno, int *s) argument 758 s[bitno / INT_SIZE] &= ~(1 << (bitno % INT_SIZE)); 765 testbit(int bitno, int *s) argument 767 return s[bitno / INT_SIZE] & (1 << (bitno % INT_SIZE));
|
Completed in 113 milliseconds