/illumos-gate/usr/src/uts/common/zmod/ |
H A D | adler32.c | 11 #define BASE 65521UL /* largest prime smaller than 65536 */ macro 13 /* NMAX is the largest n such that 255n(n+1)/2 + (n+1)(BASE-1) <= 2^32-1 */ 25 if (a >= (BASE << 16)) a -= (BASE << 16); \ 26 if (a >= (BASE << 15)) a -= (BASE << 15); \ 27 if (a >= (BASE << 14)) a -= (BASE << 14); \ 28 if (a >= (BASE << 13)) a -= (BASE << 1 [all...] |
/illumos-gate/usr/src/boot/lib/libz/ |
H A D | adler32.c | 14 #define BASE 65521 /* largest prime smaller than 65536 */ macro 16 /* NMAX is the largest n such that 255n(n+1)/2 + (n+1)(BASE-1) <= 2^32-1 */ 27 /* note that this assumes BASE is 65521, where 65536 % 65521 == 15 38 if (a >= BASE) a -= BASE; \ 56 if (a >= BASE) a -= BASE; \ 59 # define MOD(a) a %= BASE 60 # define MOD28(a) a %= BASE 61 # define MOD63(a) a %= BASE [all...] |
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | 3c595.c | 73 outw(RX_DISABLE, BASE + VX_COMMAND); 74 outw(RX_DISCARD_TOP_PACK, BASE + VX_COMMAND); 76 outw(TX_DISABLE, BASE + VX_COMMAND); 77 outw(STOP_TRANSCEIVER, BASE + VX_COMMAND); 79 outw(RX_RESET, BASE + VX_COMMAND); 81 outw(TX_RESET, BASE + VX_COMMAND); 83 outw(C_INTR_LATCH, BASE + VX_COMMAND); 84 outw(SET_RD_0_MASK, BASE + VX_COMMAND); 85 outw(SET_INTR_MASK, BASE + VX_COMMAND); 86 outw(SET_RX_FILTER, BASE [all...] |
H A D | tlan.c | 255 u32 BASE; variable 344 data = inl(BASE + TLAN_HOST_CMD); 346 outl(data, BASE + TLAN_HOST_CMD); 352 data = inl(BASE + TLAN_HOST_CMD); 354 outl(data, BASE + TLAN_HOST_CMD); 358 TLan_DioWrite32(BASE, (u16) i, 0); 365 TLan_DioWrite16(BASE, TLAN_NET_CONFIG, (u16) data); 369 outl(TLAN_HC_LD_TMR | 0x3f, BASE + TLAN_HOST_CMD); 370 outl(TLAN_HC_LD_THR | 0x0, BASE + TLAN_HOST_CMD); 374 outw(TLAN_NET_SIO, BASE [all...] |
H A D | sundance.c | 267 /* FIXME: Move BASE to the private structure */ 268 static u32 BASE; variable 324 outw(inw(BASE + MACCtrl0) | EnbFullDuplex, 325 BASE + MACCtrl0); 337 outw(inw(BASE + MACCtrl0) | duplex ? 0x20 : 0, 338 BASE + MACCtrl0); 394 outl(virt_to_le32desc(&rx_ring[0]), BASE + RxListPtr); 403 outw(addr16, BASE + StationAddr); 405 outw(addr16, BASE + StationAddr + 2); 407 outw(addr16, BASE [all...] |
H A D | forcedeth.c | 74 unsigned long BASE; variable 351 u8 *base = (u8 *) BASE; 395 u8 *base = (u8 *) BASE; 453 u8 *base = (u8 *) BASE; 469 u8 *base = (u8 *) BASE; 483 u8 *base = (u8 *) BASE; 492 u8 *base = (u8 *) BASE; 507 u8 *base = (u8 *) BASE; 603 u8 *base = (u8 *) BASE; 638 u8 *base = (u8 *) BASE; [all...] |
H A D | 3c595.h | 67 #define BASE (eth_nic_base) macro 117 #define VX_COMMAND 0x0e /* Write. BASE+0x0e is always a 119 #define VX_STATUS 0x0e /* Read. BASE+0x0e is always status 121 #define VX_WINDOW 0x0f /* Read. BASE+0x0f is always window 296 #define VX_BUSY_WAIT while (inw(BASE + VX_STATUS) & S_COMMAND_IN_PROGRESS) 416 #define GO_WINDOW(x) outw(WINDOW_SELECT|(x),BASE+VX_COMMAND)
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | invlib.h | 36 #define BASE 95 /* 127 - ' ' */ macro
|
H A D | crossref.c | 46 while (n >= BASE) { \ 49 n /= BASE; \ 50 *--s = i - n * BASE + '!'; \
|
H A D | invlib.c | 221 num = BASE * num + *++s - '!'; 233 num = BASE * num + *s - '!';
|
/illumos-gate/usr/src/cmd/bc/ |
H A D | bc.y | 69 %token <cc> _RETURN _BREAK _DEFINE BASE OBASE SCALE 146 | BASE '=' e 148 | BASE EQOP e 289 | BASE INCR 291 | INCR BASE 293 | BASE DECR 295 | DECR BASE 352 | BASE '=' e 354 | BASE EQOP e %prec '=' 362 | BASE [all...] |
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | nl_langinfo.c | 42 #define _REL(BASE) ((int)item-BASE)
|
/illumos-gate/usr/src/lib/libmp/common/ |
H A D | mult.c | 83 #define BASE (1 << BASEBITS) macro 84 #define LOWBITS (BASE - 1)
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh_common/ |
H A D | generic_key.c | 47 #define BASE (1 << BASEBITS) macro 113 MINT *base = mp_itom(BASE); /* We shift by BASEBITS */
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/ |
H A D | fsdb_lex.l | 46 ;{WS}*:{WS}*base{WS}* { return BASE; } 47 ^{WS}*:{WS}*base{WS}* { return BASE; }
|
H A D | fsdb_yacc.y | 82 %token BASE BLOCK CD DIRECTORY TFILE FIND FILL 174 base : BASE '=' expr 185 | BASE
|
/illumos-gate/usr/src/lib/libnsl/key/ |
H A D | gen_dhkeys.c | 120 #define BASE (1 << BASEBITS) macro 125 MINT *base = mp_itom(BASE/2); /* BASE won't fit in a short */ 132 /* multiply base by 2 to get BASE */ 139 r = seed[i] % ((unsigned short)BASE);
|
/illumos-gate/usr/src/cmd/boot/scripts/ |
H A D | root_archive.ksh | 310 BASE="`pwd`" 320 MR="$BASE/$MR" 323 UNPACKED_ROOT="$BASE/$UNPACKED_ROOT"
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_bmap.c | 187 #define BASE(count) ((count) & ~lbmask) macro 232 end_req = BASE(off) + size; 412 /* By this point the end of last extent is >= BASE(off) + size */ 462 BASE(iext->ib_offset)) { 464 ip, i, BASE(iext->ib_offset) - 491 * from PCEIL(end_req) - BASE(end_ext) 798 end_req = BASE(off) + size; 1248 #undef BASE macro
|
/illumos-gate/usr/src/lib/efcode/include/fcode/ |
H A D | engine.h | 245 #define BASE (env->base) macro
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | interface_check.pl | 268 # The use of 'pvs -v' is to identify the BASE version 271 next if ($Line =~ /\[BASE\]/); 284 # The above test for BASE should have caught the 286 # bug that prevents them from printing [BASE] on
|
H A D | webrev.sh | 2068 svn cat -r BASE $CWS/$DIR/$F > $olddir/$PDIR/$PF
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | zlib.c | 4578 #define BASE 65521L /* largest prime smaller than 65536 */ macro 4580 /* NMAX is the largest n such that 255n(n+1)/2 + (n+1)(BASE-1) <= 2^32-1 */ 4610 s1 %= BASE; 4611 s2 %= BASE;
|
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | zlib.c | 6072 #define BASE 65521L /* largest prime smaller than 65536 */ macro 6074 /* NMAX is the largest n such that 255n(n+1)/2 + (n+1)(BASE-1) <= 2^32-1 */ 6108 s1 %= BASE; 6109 s2 %= BASE;
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/ |
H A D | fsdb.c | 229 static char BASE[] = "o u x"; variable 4496 char mode = BASE[base - OCTAL];
|