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

12

/freebsd-11-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-11-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-11-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-11-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);
/freebsd-11-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-11-stable/contrib/libdivsufsort/lib/
H A Dsssort.c216 if(Td[PA[SA[m / 2]]] < Td[PA[SA[m]]]) { SWAP(SA[m], SA[m / 2]); }
220 if((size % 2) == 0) { SWAP(SA[0], SA[m]); ss_fixdown(Td, PA, SA, 0, m); }
237 if(Td[PA[*v1]] > Td[PA[*v2]]) { SWAP(v1, v2); }
251 if(Td[PA[*v2]] > Td[PA[*v3]]) { SWAP(v2, v3); }
252 if(Td[PA[*v4]] > Td[PA[*v5]]) { SWAP(v4, v5); }
253 if(Td[PA[*v2]] > Td[PA[*v4]]) { SWAP(v2, v4); SWAP(v3, v5); }
254 if(Td[PA[*v1]] > Td[PA[*v3]]) { SWAP(v1, v3); }
255 if(Td[PA[*v1]] > Td[PA[*v4]]) { SWAP(v1, v4); SWAP(v
[all...]
H A Dtrsort.c121 if(ISAd[SA[m / 2]] < ISAd[SA[m]]) { SWAP(SA[m], SA[m / 2]); }
125 if((size % 2) == 0) { SWAP(SA[0], SA[m]); tr_fixdown(ISAd, SA, 0, m); }
141 if(ISAd[*v1] > ISAd[*v2]) { SWAP(v1, v2); }
155 if(ISAd[*v2] > ISAd[*v3]) { SWAP(v2, v3); }
156 if(ISAd[*v4] > ISAd[*v5]) { SWAP(v4, v5); }
157 if(ISAd[*v2] > ISAd[*v4]) { SWAP(v2, v4); SWAP(v3, v5); }
158 if(ISAd[*v1] > ISAd[*v3]) { SWAP(v1, v3); }
159 if(ISAd[*v1] > ISAd[*v4]) { SWAP(v1, v4); SWAP(v
[all...]
/freebsd-11-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-11-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-11-stable/lib/libc/stdlib/
H A Dheapsort.c57 * isn't worth optimizing; the SWAP's get sped up by the cache, and pointer
60 #define SWAP(a, b, count, size, tmp) { \ macro
97 SWAP(par, child, count, size, tmp); \
/freebsd-11-stable/contrib/libdivsufsort/include/
H A Ddivsufsort_private.h145 #ifndef SWAP
146 # define SWAP(_a, _b) do { t = (_a); (_a) = (_b); (_b) = t; } while(0) macro
147 #endif /* SWAP */
/freebsd-11-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-11-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-11-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-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/hexagon/
H A Ddffma.S61 #define SWAP p1 define
197 SWAP = cmp.gt(EXPC,EXPA) // If C >> PP define
198 if (SWAP.new) EXPCA = combine(EXPA,EXPC)
213 if (SWAP) PP_LL = CTMP2
214 if (SWAP) CTMP2 = PP_LL
224 if (SWAP) PP_HH = CTMP // Swap C and PP
225 if (SWAP) CTMP = PP_HH
/freebsd-11-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" ;;
/freebsd-11-stable/stand/ficl/
H A Dvm.c180 SWAP,
225 case SWAP:
/freebsd-11-stable/usr.sbin/inetd/
H A Dinetd.c1034 #define SWAP(t,a, b) { t c = a; a = b; b = c; } macro
1064 SWAP(char *, sep->se_user, new->se_user);
1065 SWAP(char *, sep->se_group, new->se_group);
1067 SWAP(char *, sep->se_class, new->se_class);
1069 SWAP(char *, sep->se_server, new->se_server);
1070 SWAP(char *, sep->se_server_name, new->se_server_name);
1072 SWAP(char *, sep->se_argv[i], new->se_argv[i]);
1074 SWAP(char *, sep->se_policy, new->se_policy);
/freebsd-11-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

Completed in 333 milliseconds

12