Searched refs:NBBY (Results 1 - 25 of 47) sorted by relevance

12

/macosx-10.9.5/xnu-2422.115.4/bsd/sys/
H A Dparam.h175 #define CBQSIZE (CBLOCK/NBBY) /* Quote bytes/cblock - can do better. */
210 #define setbit(a,i) (((char *)(a))[(i)/NBBY] |= 1<<((i)%NBBY))
211 #define clrbit(a,i) (((char *)(a))[(i)/NBBY] &= ~(1<<((i)%NBBY)))
212 #define isset(a,i) (((char *)(a))[(i)/NBBY] & (1<<((i)%NBBY)))
213 #define isclr(a,i) ((((char *)(a))[(i)/NBBY] & (1<<((i)%NBBY))) == 0)
H A Dtypes.h182 #define NBBY __DARWIN_NBBY /* bits in a byte */ macro
/macosx-10.9.5/xnu-2422.115.4/osfmk/sys/
H A Dtypes.h54 * paranoid bit masking, 64bit cleanup, add NBBY
144 #define NBBY 8 macro
/macosx-10.9.5/Heimdal-323.92.1/appl/ftp/ftpd/
H A Dextern.h59 #ifndef NBBY
60 #define NBBY CHAR_BIT macro
H A Dftpcmd.y221 #if NBBY == 8
228 #else /* NBBY == 8 */
229 UNIMPLEMENTED for NBBY != 8
230 #endif /* NBBY == 8 */
581 reply(215, "UNIX Type: L%d", NBBY);
583 reply(215, "UNKNOWN Type: L%d", NBBY);
787 cmd_bytesz = NBBY;
/macosx-10.9.5/apache-786.1/httpd/os/tpf/
H A Dos.h46 #define NBBY 8 /* number of bits in a byte */ macro
47 #define NFDBITS (sizeof(fd_mask) * NBBY)
/macosx-10.9.5/tcl-102/tk/tk/macosx/
H A DtkMacOSXPort.h108 # define NFDBITS NBBY*sizeof(fd_mask)
113 * Define "NBBY" (number of bits per byte) if it's not already defined.
116 #ifndef NBBY
117 # define NBBY 8 macro
/macosx-10.9.5/tcl-102/tk84/tk/macosx/
H A DtkMacOSXPort.h105 # define NFDBITS NBBY*sizeof(fd_mask)
110 * Define "NBBY" (number of bits per byte) if it's not already defined.
113 #ifndef NBBY
114 # define NBBY 8 macro
/macosx-10.9.5/tcl-102/tk/tk/unix/
H A DtkUnixPort.h121 # define NFDBITS NBBY*sizeof(fd_mask)
126 * Define "NBBY" (number of bits per byte) if it's not already defined.
129 #ifndef NBBY
130 # define NBBY 8 macro
H A DtkUnixEvent.c530 index = fd/(NBBY*sizeof(fd_mask));
531 bit = ((fd_mask)1) << (fd%(NBBY*sizeof(fd_mask)));
556 index = fd/(NBBY*sizeof(fd_mask));
557 bit = ((fd_mask)1) << (fd%(NBBY*sizeof(fd_mask)));
/macosx-10.9.5/tcl-102/tk84/tk/unix/
H A DtkUnixPort.h118 # define NFDBITS NBBY*sizeof(fd_mask)
123 * Define "NBBY" (number of bits per byte) if it's not already defined.
126 #ifndef NBBY
127 # define NBBY 8 macro
H A DtkUnixEvent.c559 index = fd/(NBBY*sizeof(fd_mask));
560 bit = ((fd_mask)1) << (fd%(NBBY*sizeof(fd_mask)));
585 index = fd/(NBBY*sizeof(fd_mask));
586 bit = ((fd_mask)1) << (fd%(NBBY*sizeof(fd_mask)));
/macosx-10.9.5/tcpdump-56/tcpdump/
H A Dtcpdump-stdinc.h58 #ifndef NBBY
59 #define NBBY 8 macro
/macosx-10.9.5/tcl-102/tcl_ext/expect/expect/
H A Dexp_simple.c85 index = fd/(NBBY*sizeof(fd_mask));
86 bit = 1 << (fd%(NBBY*sizeof(fd_mask)));
139 index = fd/(NBBY*sizeof(fd_mask));
140 bit = 1 << (fd%(NBBY*sizeof(fd_mask)));
/macosx-10.9.5/xnu-2422.115.4/osfmk/default_pager/
H A Ddefault_pager_internal.h253 #define NBBY 8 /* bits per byte XXX */
255 #define setbit(a,i) (*(((char *)(a)) + ((i)/NBBY)) |= 1<<((i)%NBBY))
256 #define clrbit(a,i) (*(((char *)(a)) + ((i)/NBBY)) &= ~(1<<((i)%NBBY)))
257 #define isset(a,i) (*(((char *)(a)) + ((i)/NBBY)) & (1<<((i)%NBBY)))
258 #define isclr(a,i) ((*(((char *)(a)) + ((i)/NBBY)) & (1<<((i)%NBBY))) == 0)
483 #define RMAPSIZE(blocks) (howmany(blocks,NBBY))
[all...]
/macosx-10.9.5/xnu-2422.115.4/bsd/dev/vn/
H A Dshadow.c139 b.byte = where / NBBY;
140 b.bit = where % NBBY;
165 map[start.byte] |= byte_set_bits(start.bit, NBBY - 1);
231 for (i = start.bit; i < NBBY; i++) {
253 count += sizeof(*valPtr) * NBBY;
267 count += sizeof(*valPtr) * NBBY;
277 count += NBBY;
283 for (i = 0; i < NBBY; i++) {
426 return (howmany(blocks, NBBY));
/macosx-10.9.5/xnu-2422.115.4/osfmk/vm/
H A Dvm_shared_region.h104 #define NBBY 8 macro
105 #define NUM_SLIDING_BITMAPS_PER_PAGE (PAGE_SIZE/sizeof(int)/NBBY) /*128*/
/macosx-10.9.5/tcl-102/tk/tk/win/
H A DtkWinPort.h80 #define NBBY 8 macro
/macosx-10.9.5/tcl-102/tk84/tk/win/
H A DtkWinPort.h60 #define NBBY 8 macro
/macosx-10.9.5/postfix-252/postfix/src/global/
H A Drecord.c150 #ifndef NBBY
151 #define NBBY 8 /* XXX should be in sys_defs.h */ macro
258 if (shift >= (int) (NBBY * sizeof(int))) {
/macosx-10.9.5/tcl-102/tcl/tcl/unix/
H A DtclUnixPort.h403 * Define "NBBY" (number of bits per byte) if it's not already defined.
406 #ifndef NBBY
407 # define NBBY 8 macro
425 # define NFDBITS NBBY*sizeof(fd_mask)
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/
H A Dtty_subr.c85 #define QMEM(n) ((((n)-1)/NBBY)+1)
331 sby = off / NBBY;
332 sbi = off % NBBY;
333 eby = (off+len) / NBBY;
334 ebi = (off+len) % NBBY;
/macosx-10.9.5/dtrace-118.1/libdtrace/
H A Ddt_cg.c177 size = clp2(P2ROUNDUP(e.cte_bits, NBBY) / NBBY);
272 * ctm_offset % NBBY itself is the amount we want to shift right to
275 * must subtract (ctm_offset % NBBY + cte_bits) from the size in bits
283 shift = clp2(P2ROUNDUP(e.cte_bits, NBBY) / NBBY) * NBBY -
284 mp->ctm_offset % NBBY;
286 shift = mp->ctm_offset % NBBY + e.cte_bits;
297 shift = clp2(P2ROUNDUP(e.cte_bits, NBBY) / NBB
[all...]
/macosx-10.9.5/tcl-102/tcl84/tcl/unix/
H A DtclUnixPort.h441 * Define "NBBY" (number of bits per byte) if it's not already defined.
444 #ifndef NBBY
445 # define NBBY 8 macro
463 # define NFDBITS NBBY*sizeof(fd_mask)
/macosx-10.9.5/xnu-2422.115.4/bsd/netinet6/
H A Dip6_mroute.h108 #define NIFBITS (sizeof(if_mask) * NBBY) /* bits per mask */

Completed in 423 milliseconds

12