Home
last modified time | relevance | path

Searched refs:BITSPERBYTE (Results 1 – 20 of 20) sorted by relevance

/titanic_41/usr/src/uts/common/sys/
H A Dvuid_store.h70 #define BITSPERBYTE 8 macro
71 #define VUID_BIT_ARRAY_SIZE (VUID_SEG_SIZE/((sizeof (char))*BITSPERBYTE))
96 (seg)->booleans[(offset)/BITSPERBYTE] |= \
97 (1<<((BITSPERBYTE-1)-((offset)%BITSPERBYTE)))
99 (seg)->booleans[(offset)/BITSPERBYTE] &= \
100 (~(1<<((BITSPERBYTE-1)-((offset)%BITSPERBYTE))))
102 ((seg)->booleans[(offset)/BITSPERBYTE] & \
103 (1<<((BITSPERBYTE-1)-((offset)%BITSPERBYTE))))
106 (seg)->ints[(offset)/BITSPERBYTE] |= \
107 (1<<((BITSPERBYTE-1)-((offset)%BITSPERBYTE)))
[all …]
/titanic_41/usr/src/lib/libcurses/screen/
H A Dwclrtoeol.c100 BITSPERBYTE + (COLS %BITSPERBYTE ? 1 : 0); in wclrtoeol()
101 int m = x / BITSPERBYTE + 1; in wclrtoeol()
105 mkp += x / BITSPERBYTE; in wclrtoeol()
106 if ((m = x % BITSPERBYTE) == 0) in wclrtoeol()
109 for (; m < BITSPERBYTE; ++m) in wclrtoeol()
117 m = x / BITSPERBYTE + 1; in wclrtoeol()
120 mkp += x / BITSPERBYTE; in wclrtoeol()
121 if ((m = x % BITSPERBYTE) == 0) in wclrtoeol()
124 for (; m < BITSPERBYTE; ++m) in wclrtoeol()
H A Dstart_col.c114 nc = (COLS / BITSPERBYTE) + (COLS % BITSPERBYTE ? 1 : 0); in start_color()
H A Dwrefresh.c71 #define _ISMARK1(y, x) (marks[y][x / BITSPERBYTE] & (1 << (x % BITSPERBYTE)))
72 #define _ISMARK2(y, x) (color_marks ? (color_marks[y][x / BITSPERBYTE] & \
73 (1 << (x % BITSPERBYTE))) : FALSE)
173 nc = scrco / BITSPERBYTE - (scrco % in wrefresh()
174 BITSPERBYTE ? 0 : 1); in wrefresh()
987 marks[y][x / BITSPERBYTE] |= (1 << (x % BITSPERBYTE)); in _setmark1()
1014 color_marks[y][x / BITSPERBYTE] |= (1 << (x % BITSPERBYTE)); in _setmark2()
H A Dnewscreen.c237 nc = (COLS / BITSPERBYTE) + (COLS % BITSPERBYTE ? 1 : 0); in newscreen()
H A Dmvcur.c77 #define _ISMARK2(x) (mks[(x) / BITSPERBYTE] & (1<<((x) % BITSPERBYTE)))
H A Dcurshdr.h201 #define BITSPERBYTE 8 macro
/titanic_41/usr/src/lib/libbc/inc/include/
H A Dvalues.h40 #define BITSPERBYTE 9 macro
42 #define BITSPERBYTE 8 macro
44 #define BITS(type) (BITSPERBYTE * (int)sizeof(type))
/titanic_41/usr/src/lib/libbc/libc/gen/sys5/
H A Dsgetl.c43 register int i = BITSPERBYTE * sizeof(long);
45 while ((i -= BITSPERBYTE) >= 0)
H A Dsputl.c43 register int i = BITSPERBYTE * sizeof(long);
45 while ((i -= BITSPERBYTE) >= 0)
/titanic_41/usr/src/head/
H A Dvalues.h48 #define BITSPERBYTE 8 macro
50 #define BITS(type) (BITSPERBYTE * (long)sizeof (type))
/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dl64a.c38 #define BITSPERLONG (BITSPERBYTE * sizeof(long))
H A Dldexp.c51 #define MAXSHIFT (BITSPERBYTE * sizeof(long) - 2)
/titanic_41/usr/src/lib/libc/port/gen/
H A Dl64a.c51 #define BITSUSED (BITSPERBYTE * sizeof (int))
/titanic_41/usr/src/cmd/sf880drd/
H A Dsf880drd.c245 assert(fdi <= sizeof (fault_leds[side]) * BITSPERBYTE); in fault_led_event()
286 assert(fdi <= sizeof (ok2rem_leds[side]) * BITSPERBYTE); in removable_led_event()
/titanic_41/usr/src/cmd/make/bin/
H A Dar.cc65 #undef BITSPERBYTE
66 #define BITSPERBYTE 8 macro
800 register int i = BITSPERBYTE * AR_PORT_WORD; in sgetl()
802 while ((i -= BITSPERBYTE) >= 0) { in sgetl()
/titanic_41/usr/src/lib/libbc/libc/stdio/common/
H A Ddoscan.c41 #define NCHARS (1 << BITSPERBYTE)
/titanic_41/usr/src/lib/libnsl/nss/
H A Dnetdir_inet_sundry.c514 bestcount = BITSPERBYTE * sizeof (uint32_t); /* worst match */ in get_best_match()
/titanic_41/usr/src/lib/libc/port/stdio/
H A Ddoscan.c55 #define NCHARS (1 << BITSPERBYTE)
/titanic_41/usr/src/cmd/format/
H A Dctlr_scsi.c1944 (nbfi == (obfi + BITSPERBYTE))) {
1952 new_defect->nbits += (8*BITSPERBYTE);