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

12

/freebsd-10-stable/crypto/openssl/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)); }
/freebsd-10-stable/crypto/heimdal/appl/gssmask/
H A Dcommon.c70 #define SWAP(s,i,j) { char *t = str[i]; str[i] = str[j]; str[j] = t; } macro
74 SWAP(str,i,j);
76 SWAP(str,i,j);
/freebsd-10-stable/lib/libc/sparc64/fpu/
H A Dfpu_emu.h128 SWAP(x, y); \
130 #define SWAP(x, y) { \ macro
H A Dfpu_add.c127 SWAP(x, y);
/freebsd-10-stable/contrib/libreadline/
H A Drldefs.h153 #if !defined (SWAP)
154 # define SWAP(s, e) do { int t; t = s; s = e; e = t; } while (0) macro
H A Dundo.c275 SWAP (start, end);
H A Dutil.c148 SWAP (from, to);
H A Dtext.c126 SWAP (from, to);
1258 SWAP (start, end);
1643 SWAP (rl_point, rl_mark);
/freebsd-10-stable/sys/powerpc/fpu/
H A Dfpu_emu.h130 SWAP(x, y); \
132 #define SWAP(x, y) { \ macro
H A Dfpu_add.c138 SWAP(x, y);
/freebsd-10-stable/contrib/binutils/libiberty/
H A Dmd5.c50 # define SWAP(n) \ macro
53 # define SWAP(n) (n) macro
84 ((md5_uint32 *) resbuf)[0] = SWAP (ctx->A);
85 ((md5_uint32 *) resbuf)[1] = SWAP (ctx->B);
86 ((md5_uint32 *) resbuf)[2] = SWAP (ctx->C);
87 ((md5_uint32 *) resbuf)[3] = SWAP (ctx->D);
113 *(md5_uint32 *) &ctx->buffer[bytes + pad] = SWAP (ctx->total[0] << 3);
114 *(md5_uint32 *) &ctx->buffer[bytes + pad + 4] = SWAP ((ctx->total[1] << 3) |
308 a += FF (b, c, d) + (*cwp++ = SWAP (*words)) + T; \
/freebsd-10-stable/contrib/gcclibs/libiberty/
H A Dmd5.c50 # define SWAP(n) \ macro
53 # define SWAP(n) (n) macro
84 ((md5_uint32 *) resbuf)[0] = SWAP (ctx->A);
85 ((md5_uint32 *) resbuf)[1] = SWAP (ctx->B);
86 ((md5_uint32 *) resbuf)[2] = SWAP (ctx->C);
87 ((md5_uint32 *) resbuf)[3] = SWAP (ctx->D);
113 *(md5_uint32 *) &ctx->buffer[bytes + pad] = SWAP (ctx->total[0] << 3);
114 *(md5_uint32 *) &ctx->buffer[bytes + pad + 4] = SWAP ((ctx->total[1] << 3) |
308 a += FF (b, c, d) + (*cwp++ = SWAP (*words)) + T; \
/freebsd-10-stable/lib/libc/stdlib/
H A Dheapsort.c47 * isn't worth optimizing; the SWAP's get sped up by the cache, and pointer
50 #define SWAP(a, b, count, size, tmp) { \ macro
87 SWAP(par, child, count, size, tmp); \
/freebsd-10-stable/contrib/pf/libevent/
H A Dbuffer.c83 #define SWAP(x,y) do { \ macro
102 SWAP(&tmp, outbuf);
103 SWAP(outbuf, inbuf);
104 SWAP(inbuf, &tmp);
/freebsd-10-stable/contrib/wpa/src/crypto/
H A Daes_i.h109 #define SWAP(x) (_lrotl(x, 8) & 0x00ff00ff | _lrotr(x, 8) & 0xff00ff00) macro
110 #define GETU32(p) SWAP(*((u32 *)(p)))
111 #define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); }
/freebsd-10-stable/contrib/ntp/ntpd/
H A Drefclock_gpsvme.c60 #define SWAP(val) ( ((val) >> 24) | (((val) & 0x00ff0000) >> 8) | \ macro
185 tlo = SWAP(tlo); /* little to big endian swap on */
186 thi = SWAP(thi); /* copy of data */
/freebsd-10-stable/usr.sbin/pc-sysinstall/backend/
H A Dfunctions-mountdisk.sh215 SWAP)
H A Dfunctions-newfs.sh148 if [ "${PARTENC}" = "ON" -a "${PARTFS}" != "SWAP" ]
246 SWAP)
H A Dfunctions-bsdlabel.sh147 if [ "${TYPE}" = "SWAP" ]
274 UFS|UFS+S|UFS+J|UFS+SUJ|ZFS|SWAP) ;;
373 SWAP) PARTYPE="freebsd-swap" ;;
H A Dfunctions-cleanup.sh171 SWAP) MNTOPTS="sw" ;;
223 if [ "${PARTFS}" = "SWAP" ]
/freebsd-10-stable/usr.sbin/inetd/
H A Dinetd.c1027 #define SWAP(t,a, b) { t c = a; a = b; b = c; } macro
1043 SWAP(pid_t *, sep->se_pids, new->se_pids);
1062 SWAP(char *, sep->se_user, new->se_user);
1063 SWAP(char *, sep->se_group, new->se_group);
1065 SWAP(char *, sep->se_class, new->se_class);
1067 SWAP(char *, sep->se_server, new->se_server);
1068 SWAP(char *, sep->se_server_name, new->se_server_name);
1070 SWAP(char *, sep->se_argv[i], new->se_argv[i]);
1072 SWAP(char *, sep->se_policy, new->se_policy);
/freebsd-10-stable/sys/boot/ficl/
H A Dvm.c180 SWAP,
225 case SWAP:
/freebsd-10-stable/contrib/gcc/
H A Dunwind-dw2-fde.c474 #define SWAP(x,y) do { const fde * tmp = x; x = y; y = tmp; } while (0)
494 SWAP (a[i], a[j]);
530 SWAP (a[0], a[m]);
533 #undef SWAP
472 #define SWAP macro
531 #undef SWAP macro
/freebsd-10-stable/crypto/openssl/crypto/camellia/
H A Dcamellia.c96 # define SWAP(x) _byteswap_ulong(x) macro
98 # define SWAP(x) (_lrotl(x, 8) & 0x00ff00ff | _lrotr(x, 8) & 0xff00ff00) macro
100 # define GETU32(p) SWAP(*((u32 *)(p)))
101 # define PUTU32(p,v) (*((u32 *)(p)) = SWAP((v)))
/freebsd-10-stable/sys/netpfil/pf/
H A Dpf_table.c73 #define SWAP(type, a1, a2) \ macro
1617 SWAP(struct radix_node_head *, kt->pfrkt_ip4,
1619 SWAP(struct radix_node_head *, kt->pfrkt_ip6,
1621 SWAP(int, kt->pfrkt_cnt, shadow->pfrkt_cnt);

Completed in 232 milliseconds

12