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

12

/freebsd-9.3-release/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-9.3-release/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-9.3-release/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-9.3-release/crypto/openssl/crypto/camellia/
H A Dcmll_locl.h84 # define SWAP(x) ( _lrotl(x, 8) & 0x00ff00ff | _lrotr(x, 8) & 0xff00ff00 ) macro
85 # define GETU32(p) SWAP(*((u32 *)(p)))
86 # define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); }
/freebsd-9.3-release/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-9.3-release/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-9.3-release/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-9.3-release/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-9.3-release/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-9.3-release/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-9.3-release/contrib/wpa/src/crypto/
H A Daes_i.h107 #define SWAP(x) (_lrotl(x, 8) & 0x00ff00ff | _lrotr(x, 8) & 0xff00ff00) macro
108 #define GETU32(p) SWAP(*((u32 *)(p)))
109 #define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); }
/freebsd-9.3-release/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-9.3-release/usr.sbin/pc-sysinstall/backend/
H A Dfunctions-mountdisk.sh215 SWAP)
H A Dfunctions-newfs.sh110 if [ "${PARTENC}" = "ON" -a "${PARTFS}" != "SWAP" ]
208 SWAP)
H A Dfunctions-bsdlabel.sh136 if [ "${TYPE}" = "SWAP" ]
263 UFS|UFS+S|UFS+J|UFS+SUJ|ZFS|SWAP) ;;
362 SWAP) PARTYPE="freebsd-swap" ;;
H A Dfunctions-cleanup.sh171 SWAP) MNTOPTS="sw" ;;
223 if [ "${PARTFS}" = "SWAP" ]
/freebsd-9.3-release/usr.sbin/inetd/
H A Dinetd.c1033 #define SWAP(t,a, b) { t c = a; a = b; b = c; } macro
1049 SWAP(pid_t *, sep->se_pids, new->se_pids);
1068 SWAP(char *, sep->se_user, new->se_user);
1069 SWAP(char *, sep->se_group, new->se_group);
1071 SWAP(char *, sep->se_class, new->se_class);
1073 SWAP(char *, sep->se_server, new->se_server);
1074 SWAP(char *, sep->se_server_name, new->se_server_name);
1076 SWAP(char *, sep->se_argv[i], new->se_argv[i]);
1078 SWAP(char *, sep->se_policy, new->se_policy);
/freebsd-9.3-release/sys/boot/ficl/
H A Dvm.c180 SWAP,
225 case SWAP:
/freebsd-9.3-release/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-9.3-release/sys/contrib/pf/net/
H A Dpf_table.c128 #define SWAP(type, a1, a2) \ macro
1893 SWAP(struct radix_node_head *, kt->pfrkt_ip4,
1895 SWAP(struct radix_node_head *, kt->pfrkt_ip6,
1897 SWAP(int, kt->pfrkt_cnt, shadow->pfrkt_cnt);

Completed in 637 milliseconds

12