Searched refs:SWAP (Results 1 - 25 of 81) sorted by relevance

1234

/netbsd-6-1-5-RELEASE/sys/arch/sun3/dev/
H A Di82586.h47 * XXX: the SWAP() macro used here to byte-swap word constants.
99 #define IE_RU_COMMAND SWAP(0x0070) /* mask for RU command */
100 #define IE_RU_NOP SWAP(0) /* for completeness */
101 #define IE_RU_START SWAP(0x0010) /* start receive unit command */
102 #define IE_RU_ENABLE SWAP(0x0020) /* enable receiver command */
103 #define IE_RU_DISABLE SWAP(0x0030) /* disable receiver command */
104 #define IE_RU_ABORT SWAP(0x0040) /* abort current receive operation */
106 #define IE_CU_COMMAND SWAP(0x0700) /* mask for CU command */
107 #define IE_CU_NOP SWAP(0) /* included for completeness */
108 #define IE_CU_START SWAP(
[all...]
H A Dif_ie.c149 #define SWAP(x) ((u_short)(XSWAP((u_short)(x)))) macro
249 return SWAP(pa);
413 scb->ie_command_list = SWAP(0xffff);
414 scb->ie_recv_list = SWAP(0xffff);
554 SWAP(scb->ie_err_crc) +
555 SWAP(scb->ie_err_align) +
556 SWAP(scb->ie_err_resource) +
557 SWAP(scb->ie_err_overrun);
604 SWAP(status & IE_XS_MAXCOLL);
709 len = SWAP(s
[all...]
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/master/
H A Dmaster_conf.c96 #define SWAP(type,a,b) { type temp = a; a = b; b = temp; } macro
136 SWAP(char *, serv->ext_name, entry->ext_name);
137 SWAP(char *, serv->path, entry->path);
138 SWAP(ARGV *, serv->args, entry->args);
139 SWAP(char *, serv->stress_param_val, entry->stress_param_val);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Drc4.c42 #define SWAP(k,x,y) \ macro
58 SWAP(key, i, j);
74 SWAP(key, x, y);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/aes/
H A Daes_locl.h66 # define SWAP(x) (_lrotl(x, 8) & 0x00ff00ff | _lrotr(x, 8) & 0xff00ff00) macro
67 # define GETU32(p) SWAP(*((u32 *)(p)))
68 # define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); }
/netbsd-6-1-5-RELEASE/usr.sbin/paxctl/
H A Dpaxctl.c182 #define SWAP(a) (swap == 0 ? (a) : \ macro
187 #define EH(field) (size == 32 ? SWAP(e.h32.field) : SWAP(e.h64.field))
188 #define SH(field) (size == 32 ? SWAP(s.h32.field) : SWAP(s.h64.field))
189 #define NH(field) (size == 32 ? SWAP(n.h32.field) : SWAP(n.h64.field))
266 if (!pax_haveflags(SWAP(pax_tag.flags)))
269 if (!pax_flags_sane(SWAP(pax_tag.flags)))
271 (uint32_t)SWAP(pax_ta
[all...]
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/global/
H A Drecipient_list.c174 #define SWAP(t, x) do { t x = b->x; b->x = a->x ; a->x = x; } while (0) macro
176 SWAP(RECIPIENT *, info);
177 SWAP(int, len);
178 SWAP(int, avail);
H A Doff_cvt.c63 #define SWAP(type, a, b) { type temp; temp = a; a = b; b = temp; } macro
130 SWAP(int, start[i], last[-i]);
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/intl/
H A DgettextP.h62 # define W(flag, data) ((flag) ? SWAP (data) : (data))
68 # define SWAP(i) bswap_32 (i) macro
71 SWAP (i)
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/intl/
H A DgettextP.h62 # define W(flag, data) ((flag) ? SWAP (data) : (data))
68 # define SWAP(i) bswap_32 (i) macro
71 SWAP (i)
/netbsd-6-1-5-RELEASE/gnu/dist/texinfo/intl/
H A DgettextP.h56 # define W(flag, data) ((flag) ? SWAP (data) : (data))
62 # define SWAP(i) bswap_32 (i) macro
65 SWAP (i)
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/intl/
H A DgettextP.h62 # define W(flag, data) ((flag) ? SWAP (data) : (data))
68 # define SWAP(i) bswap_32 (i) macro
71 SWAP (i)
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-runtime/intl/
H A DgettextP.h54 # define W(flag, data) ((flag) ? SWAP (data) : (data))
60 # define SWAP(i) bswap_32 (i) macro
63 SWAP (i)
/netbsd-6-1-5-RELEASE/sys/arch/vax/vax/
H A Din_cksum.c55 #define SWAP {sum <<= 8;} /* depends on recent REDUCE */ macro
62 #define ADDBYTE {sum += *w; SWAP; byte_swapped ^= 1;}
H A Dyyyin_cksum.c56 #define SWAP {sum <<= 8;} /* depends on recent REDUCE */ macro
63 #define ADDBYTE {sum += *w; SWAP; byte_swapped ^= 1;}
/netbsd-6-1-5-RELEASE/sys/arch/powerpc/fpu/
H A Dfpu_emu.h129 SWAP(x, y); \
131 #define SWAP(x, y) { \ macro
/netbsd-6-1-5-RELEASE/sys/arch/sparc/fpu/
H A Dfpu_emu.h131 SWAP(x, y); \
133 #define SWAP(x, y) { \ macro
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/readline/
H A Drldefs.h153 #if !defined (SWAP)
154 # define SWAP(s, e) do { int t; t = s; s = e; e = t; } while (0) macro
/netbsd-6-1-5-RELEASE/sys/arch/amiga/dev/
H A Dif_es.c74 #define SWAP(x) (((x & 0xff) << 8) | ((x >> 8) & 0xff)) macro
213 SWAP(smc->b0.tcr), SWAP(smc->b0.ephsr), SWAP(smc->b0.rcr),
214 SWAP(smc->b0.ecr), SWAP(smc->b0.mir), SWAP(smc->b0.mcr));
217 SWAP(smc->b1.cr), SWAP(smc->b1.bar), smc->b1.iar[0], smc->b1.iar[1],
218 smc->b1.iar[2], smc->b1.gpr, SWAP(sm
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/vmstat/
H A Ddrvstats.c119 #define SWAP(fld) do { \ macro
132 SWAP(rxfer[i]);
133 SWAP(wxfer[i]);
134 SWAP(seek[i]);
135 SWAP(rbytes[i]);
136 SWAP(wbytes[i]);
152 SWAP(tk_nin);
153 SWAP(tk_nout);
164 SWAP(cp_time[i]);
177 #undef SWAP macro
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/grep/intl/
H A DgettextP.h60 # define W(flag, data) ((flag) ? SWAP (data) : (data))
66 # define SWAP(i) bswap_32 (i) macro
69 SWAP (i)
/netbsd-6-1-5-RELEASE/usr.sbin/tpctl/
H A Dfb.c50 #define SWAP(a, b) do { \ macro
249 SWAP(x, y);
285 SWAP(x0, x1);
286 SWAP(y0, y1);
305 SWAP(x0, x1);
306 SWAP(y0, y1);
/netbsd-6-1-5-RELEASE/usr.sbin/pwd_mkdb/
H A Dpwd_mkdb.c190 #define SWAP(sw) \ macro
195 #define SWAP(sw) sw macro
825 pwd.pw_uid = SWAP(pwd.pw_uid);
826 pwd.pw_gid = SWAP(pwd.pw_gid);
835 tmp = SWAP(tmp); \
842 tmp = SWAP(tmp); \
847 pwvar = SWAP(pwvar); \
869 x = SWAP(x);
886 x = SWAP(x);
921 x = SWAP(
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/libiberty/
H A Dsha1.c38 # define SWAP(n) (n) macro
40 # define SWAP(n) \ macro
78 ((sha1_uint32 *) resbuf)[0] = SWAP (ctx->A);
79 ((sha1_uint32 *) resbuf)[1] = SWAP (ctx->B);
80 ((sha1_uint32 *) resbuf)[2] = SWAP (ctx->C);
81 ((sha1_uint32 *) resbuf)[3] = SWAP (ctx->D);
82 ((sha1_uint32 *) resbuf)[4] = SWAP (ctx->E);
105 ctx->buffer[size - 2] = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29));
106 ctx->buffer[size - 1] = SWAP (ctx->total[0] << 3);
325 x[t] = SWAP (*word
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libiberty/
H A Dsha1.c38 # define SWAP(n) (n) macro
40 # define SWAP(n) \ macro
78 ((sha1_uint32 *) resbuf)[0] = SWAP (ctx->A);
79 ((sha1_uint32 *) resbuf)[1] = SWAP (ctx->B);
80 ((sha1_uint32 *) resbuf)[2] = SWAP (ctx->C);
81 ((sha1_uint32 *) resbuf)[3] = SWAP (ctx->D);
82 ((sha1_uint32 *) resbuf)[4] = SWAP (ctx->E);
105 ctx->buffer[size - 2] = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29));
106 ctx->buffer[size - 1] = SWAP (ctx->total[0] << 3);
325 x[t] = SWAP (*word
[all...]

Completed in 364 milliseconds

1234