/netbsd/sys/arch/sun3/dev/ |
H A D | i82586.h | 100 #define IE_RU_NOP SWAP(0) /* for completeness */ 114 #define IE_ACK_CX SWAP(0x8000) /* ack IE_ST_DONE */ 115 #define IE_ACK_FR SWAP(0x4000) /* ack IE_ST_RECV */ 117 #define IE_ACK_RNR SWAP(0x1000) /* ack IE_ST_RNR */ 125 #define IE_ST_RECV SWAP(0x4000) /* frame received */ 156 #define IE_FD_BUSY SWAP(0x4000) /* frame is busy */ 171 #define IE_RBD_LAST SWAP(0x8000) /* last buffer */ 187 #define IE_CMD_NOP SWAP(0x0000) /* NOP */ 193 #define IE_CMD_DUMP SWAP(0x0006) /* dump command */ 215 #define IE_XS_SQE SWAP(0x0040) /* SQE positive */ [all …]
|
H A D | if_ie.c | 241 return SWAP(pa); in vtop16sw() 405 scb->ie_command_list = SWAP(0xffff); in ie_setupram() 546 SWAP(scb->ie_err_crc) + in ierint() 547 SWAP(scb->ie_err_align) + in ierint() 548 SWAP(scb->ie_err_resource) + in ierint() 549 SWAP(scb->ie_err_overrun)); in ierint() 1103 cmd->com.ie_cmd_status = SWAP(0); in run_tdr() 1108 cmd->ie_tdr_time = SWAP(0); in run_tdr() 1266 cmd->com.ie_cmd_status = SWAP(0); in mc_setup() 1332 cmd->com.ie_cmd_status = SWAP(0); in ieinit() [all …]
|
/netbsd/usr.sbin/paxctl/ |
H A D | paxctl.c | 183 #define SWAP(a) (swap == 0 ? (a) : \ in process_one() macro 188 #define EH(field) (size == 32 ? SWAP(e.h32.field) : SWAP(e.h64.field)) in process_one() 189 #define SH(field) (size == 32 ? SWAP(s.h32.field) : SWAP(s.h64.field)) in process_one() 190 #define NH(field) (size == 32 ? SWAP(n.h32.field) : SWAP(n.h64.field)) in process_one() 267 if (!pax_haveflags(SWAP(pax_tag.flags))) in process_one() 270 if (!pax_flags_sane(SWAP(pax_tag.flags))) in process_one() 272 (uint32_t)SWAP(pax_tag.flags)); in process_one() 286 pax_tag.flags |= SWAP(add_flags); in process_one() 287 pax_tag.flags &= SWAP(~del_flags); in process_one() 290 if (!pax_flags_sane(SWAP(pax_tag.flags))) { in process_one() [all …]
|
/netbsd/external/ibm-public/postfix/dist/src/master/ |
H A D | master_conf.c | 101 #define SWAP(type,a,b) { type temp = a; a = b; b = temp; } in master_config() macro 145 SWAP(char *, serv->ext_name, entry->ext_name); in master_config() 146 SWAP(char *, serv->path, entry->path); in master_config() 147 SWAP(ARGV *, serv->args, entry->args); in master_config() 148 SWAP(char *, serv->stress_param_val, entry->stress_param_val); in master_config()
|
/netbsd/sys/arch/amiga/dev/ |
H A D | if_es.c | 70 #define SWAP(x) (((x & 0xff) << 8) | ((x >> 8) & 0xff)) macro 210 SWAP(smc->b0.tcr), SWAP(smc->b0.ephsr), SWAP(smc->b0.rcr), in es_dump_smcregs() 211 SWAP(smc->b0.ecr), SWAP(smc->b0.mir), SWAP(smc->b0.mcr)); in es_dump_smcregs() 214 SWAP(smc->b1.cr), SWAP(smc->b1.bar), smc->b1.iar[0], smc->b1.iar[1], in es_dump_smcregs() 215 smc->b1.iar[2], smc->b1.gpr, SWAP(smc->b1.ctr)); in es_dump_smcregs() 219 SWAP(smc->b2.ptr)); in es_dump_smcregs() 589 pktctlw = SWAP(pktctlw); in esrint() 590 pktlen = SWAP(pktlen) - 6; in esrint() 821 *data = SWAP(pktctlw); in esstart() 822 *data = SWAP(pktlen); in esstart() [all …]
|
/netbsd/external/gpl3/gdb/dist/libctf/ |
H A D | ctf-qsort_r.c | 39 #define SWAP(a, b, size) \ macro 133 SWAP (mid, lo, size); in _quicksort() 135 SWAP (mid, hi, size); in _quicksort() 139 SWAP (mid, lo, size); in _quicksort() 158 SWAP (left_ptr, right_ptr, size); in _quicksort() 230 SWAP (tmp_ptr, base_ptr, size); in _quicksort()
|
/netbsd/external/gpl3/binutils.old/dist/libctf/ |
H A D | ctf-qsort_r.c | 39 #define SWAP(a, b, size) \ macro 133 SWAP (mid, lo, size); in _quicksort() 135 SWAP (mid, hi, size); in _quicksort() 139 SWAP (mid, lo, size); in _quicksort() 158 SWAP (left_ptr, right_ptr, size); in _quicksort() 230 SWAP (tmp_ptr, base_ptr, size); in _quicksort()
|
/netbsd/external/gpl3/binutils/dist/libctf/ |
H A D | ctf-qsort_r.c | 39 #define SWAP(a, b, size) \ macro 133 SWAP (mid, lo, size); in _quicksort() 135 SWAP (mid, hi, size); in _quicksort() 139 SWAP (mid, lo, size); in _quicksort() 158 SWAP (left_ptr, right_ptr, size); in _quicksort() 230 SWAP (tmp_ptr, base_ptr, size); in _quicksort()
|
/netbsd/external/gpl3/gdb.old/dist/libctf/ |
H A D | ctf-qsort_r.c | 39 #define SWAP(a, b, size) \ macro 133 SWAP (mid, lo, size); in _quicksort() 135 SWAP (mid, hi, size); in _quicksort() 139 SWAP (mid, lo, size); in _quicksort() 158 SWAP (left_ptr, right_ptr, size); in _quicksort() 230 SWAP (tmp_ptr, base_ptr, size); in _quicksort()
|
/netbsd/usr.bin/vmstat/ |
H A D | drvstats.c | 80 #define SWAP(fld) do { \ in drvswap() macro 126 SWAP(rxfer[i]); in drvswap() 127 SWAP(wxfer[i]); in drvswap() 128 SWAP(seek[i]); in drvswap() 129 SWAP(rbytes[i]); in drvswap() 130 SWAP(wbytes[i]); in drvswap() 145 SWAP(tk_nin); in tkswap() 146 SWAP(tk_nout); in tkswap() 157 SWAP(cp_time[i]); in cpuswap() 171 #undef SWAP
|
/netbsd/usr.sbin/pwd_mkdb/ |
H A D | pwd_mkdb.c | 192 #define SWAP(sw) \ macro 197 #define SWAP(sw) sw macro 837 tmp = SWAP(tmp); \ in putdbents() 844 tmp = SWAP(tmp); \ in putdbents() 849 pwvar = SWAP(pwvar); \ in putdbents() 871 x = SWAP(x); in putdbents() 888 x = SWAP(x); in putdbents() 923 x = SWAP(x); in deldbent() 959 x = SWAP(x); in getdbent() 992 pwvar = SWAP(tmp); \ in getdbent() [all …]
|
/netbsd/external/gpl3/gdb/dist/gas/testsuite/gas/metag/ |
H A D | metacore21-invalid.s | 9 SWAP PC,PCX 10 SWAP CT.0,PCX 11 SWAP D0.1,D0.2 define
|
/netbsd/external/gpl3/gdb.old/dist/gas/testsuite/gas/metag/ |
H A D | metacore21-invalid.s | 9 SWAP PC,PCX 10 SWAP CT.0,PCX 11 SWAP D0.1,D0.2 define
|
/netbsd/external/ibm-public/postfix/dist/src/global/ |
H A D | recipient_list.c | 174 #define SWAP(t, x) do { t x = b->x; b->x = a->x ; a->x = x; } while (0) in recipient_list_swap() macro 176 SWAP(RECIPIENT *, info); in recipient_list_swap() 177 SWAP(int, len); in recipient_list_swap() 178 SWAP(int, avail); in recipient_list_swap()
|
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/aes/ |
H A D | aes_local.h | 19 # define SWAP(x) (_lrotl(x, 8) & 0x00ff00ff | _lrotr(x, 8) & 0xff00ff00) macro 20 # define GETU32(p) SWAP(*((u32 *)(p))) 21 # define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); }
|
/netbsd/crypto/external/bsd/openssl/dist/crypto/aes/ |
H A D | aes_local.h | 19 # define SWAP(x) (_lrotl(x, 8) & 0x00ff00ff | _lrotr(x, 8) & 0xff00ff00) macro 20 # define GETU32(p) SWAP(*((u32 *)(p))) 21 # define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); }
|
/netbsd/external/gpl2/xcvs/dist/lib/ |
H A D | md5.c | 56 # define SWAP(n) \ macro 59 # define SWAP(n) (n) macro 94 ((md5_uint32 *) resbuf)[0] = SWAP (ctx->A); in md5_read_ctx() 95 ((md5_uint32 *) resbuf)[1] = SWAP (ctx->B); in md5_read_ctx() 96 ((md5_uint32 *) resbuf)[2] = SWAP (ctx->C); in md5_read_ctx() 97 ((md5_uint32 *) resbuf)[3] = SWAP (ctx->D); in md5_read_ctx() 123 *(md5_uint32 *) &ctx->buffer[bytes + pad] = SWAP (ctx->total[0] << 3); in md5_finish_ctx() 124 *(md5_uint32 *) &ctx->buffer[bytes + pad + 4] = SWAP ((ctx->total[1] << 3) | in md5_finish_ctx() 337 a += FF (b, c, d) + (*cwp++ = SWAP (*words)) + T; \ in md5_process_block()
|
/netbsd/external/gpl3/gdb/dist/libiberty/ |
H A D | md5.c | 50 # define SWAP(n) \ macro 53 # define SWAP(n) (n) macro 86 buffer[0] = SWAP (ctx->A); in md5_read_ctx() 87 buffer[1] = SWAP (ctx->B); in md5_read_ctx() 88 buffer[2] = SWAP (ctx->C); in md5_read_ctx() 89 buffer[3] = SWAP (ctx->D); in md5_read_ctx() 120 swap_bytes = SWAP (ctx->total[0] << 3); in md5_finish_ctx() 122 swap_bytes = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29)); in md5_finish_ctx() 318 a += FF (b, c, d) + (*cwp++ = SWAP (*words)) + T; \ in md5_process_block()
|
/netbsd/external/gpl3/binutils.old/dist/libiberty/ |
H A D | md5.c | 50 # define SWAP(n) \ macro 53 # define SWAP(n) (n) macro 86 buffer[0] = SWAP (ctx->A); in md5_read_ctx() 87 buffer[1] = SWAP (ctx->B); in md5_read_ctx() 88 buffer[2] = SWAP (ctx->C); in md5_read_ctx() 89 buffer[3] = SWAP (ctx->D); in md5_read_ctx() 120 swap_bytes = SWAP (ctx->total[0] << 3); in md5_finish_ctx() 122 swap_bytes = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29)); in md5_finish_ctx() 318 a += FF (b, c, d) + (*cwp++ = SWAP (*words)) + T; \ in md5_process_block()
|
/netbsd/external/gpl3/binutils/dist/libiberty/ |
H A D | md5.c | 50 # define SWAP(n) \ macro 53 # define SWAP(n) (n) macro 86 buffer[0] = SWAP (ctx->A); in md5_read_ctx() 87 buffer[1] = SWAP (ctx->B); in md5_read_ctx() 88 buffer[2] = SWAP (ctx->C); in md5_read_ctx() 89 buffer[3] = SWAP (ctx->D); in md5_read_ctx() 120 swap_bytes = SWAP (ctx->total[0] << 3); in md5_finish_ctx() 122 swap_bytes = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29)); in md5_finish_ctx() 318 a += FF (b, c, d) + (*cwp++ = SWAP (*words)) + T; \ in md5_process_block()
|
/netbsd/external/gpl3/gcc.old/dist/libiberty/ |
H A D | md5.c | 50 # define SWAP(n) \ macro 53 # define SWAP(n) (n) macro 86 buffer[0] = SWAP (ctx->A); in md5_read_ctx() 87 buffer[1] = SWAP (ctx->B); in md5_read_ctx() 88 buffer[2] = SWAP (ctx->C); in md5_read_ctx() 89 buffer[3] = SWAP (ctx->D); in md5_read_ctx() 120 swap_bytes = SWAP (ctx->total[0] << 3); in md5_finish_ctx() 122 swap_bytes = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29)); in md5_finish_ctx() 318 a += FF (b, c, d) + (*cwp++ = SWAP (*words)) + T; \ in md5_process_block()
|
/netbsd/external/gpl3/gdb.old/dist/libiberty/ |
H A D | md5.c | 50 # define SWAP(n) \ macro 53 # define SWAP(n) (n) macro 86 buffer[0] = SWAP (ctx->A); in md5_read_ctx() 87 buffer[1] = SWAP (ctx->B); in md5_read_ctx() 88 buffer[2] = SWAP (ctx->C); in md5_read_ctx() 89 buffer[3] = SWAP (ctx->D); in md5_read_ctx() 120 swap_bytes = SWAP (ctx->total[0] << 3); in md5_finish_ctx() 122 swap_bytes = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29)); in md5_finish_ctx() 318 a += FF (b, c, d) + (*cwp++ = SWAP (*words)) + T; \ in md5_process_block()
|
/netbsd/external/gpl3/gcc/dist/libiberty/ |
H A D | md5.c | 50 # define SWAP(n) \ macro 53 # define SWAP(n) (n) macro 86 buffer[0] = SWAP (ctx->A); in md5_read_ctx() 87 buffer[1] = SWAP (ctx->B); in md5_read_ctx() 88 buffer[2] = SWAP (ctx->C); in md5_read_ctx() 89 buffer[3] = SWAP (ctx->D); in md5_read_ctx() 120 swap_bytes = SWAP (ctx->total[0] << 3); in md5_finish_ctx() 122 swap_bytes = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29)); in md5_finish_ctx() 318 a += FF (b, c, d) + (*cwp++ = SWAP (*words)) + T; \ in md5_process_block()
|
H A D | sha1.c | 37 # define SWAP(n) (n) macro 39 # define SWAP(n) \ macro 77 ((sha1_uint32 *) resbuf)[0] = SWAP (ctx->A); in sha1_read_ctx() 78 ((sha1_uint32 *) resbuf)[1] = SWAP (ctx->B); in sha1_read_ctx() 79 ((sha1_uint32 *) resbuf)[2] = SWAP (ctx->C); in sha1_read_ctx() 80 ((sha1_uint32 *) resbuf)[3] = SWAP (ctx->D); in sha1_read_ctx() 81 ((sha1_uint32 *) resbuf)[4] = SWAP (ctx->E); in sha1_read_ctx() 104 ctx->buffer[size - 2] = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29)); in sha1_finish_ctx() 105 ctx->buffer[size - 1] = SWAP (ctx->total[0] << 3); in sha1_finish_ctx() 327 x[t] = SWAP (*words); in sha1_process_block()
|
/netbsd/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
H A D | rc4.c | 43 #define SWAP(k,x,y) \ macro 59 SWAP(key, i, j); in RC4_set_key() 75 SWAP(key, x, y); in RC4()
|