| /src/games/caesar/ |
| caesar.c | 75 init_rottbl(unsigned int rot) 78 rot %= LETTERS; /* prevent integer overflow */ 84 rottbl[upper[i]] = upper[(i + rot) % LETTERS]; 87 rottbl[lower[i]] = lower[(i + rot) % LETTERS]; 112 long rot; local 116 rot = strtol(arg, &endp, 10); 119 if (errno == 0 && (rot < 0 || rot > INT_MAX)) 123 return (unsigned int)rot;
|
| /src/external/lgpl2/userspace-rcu/dist/doc/examples/rculfhash/ |
| jhash.h | 22 #define rot(x, k) (((x) << (k)) | ((x) >> (32 - (k)))) macro 26 a -= c; a ^= rot(c, 4); c += b; \ 27 b -= a; b ^= rot(a, 6); a += c; \ 28 c -= b; c ^= rot(b, 8); b += a; \ 29 a -= c; a ^= rot(c, 16); c += b; \ 30 b -= a; b ^= rot(a, 19); a += c; \ 31 c -= b; c ^= rot(b, 4); b += a; \ 36 c ^= b; c -= rot(b, 14); \ 37 a ^= c; a -= rot(c, 11); \ 38 b ^= a; b -= rot(a, 25); [all...] |
| /src/external/lgpl2/userspace-rcu/dist/tests/benchmark/ |
| test_urcu_hash.h | 176 #define rot(x, k) (((x) << (k)) | ((x) >> (32 - (k)))) macro 180 a -= c; a ^= rot(c, 4); c += b; \ 181 b -= a; b ^= rot(a, 6); a += c; \ 182 c -= b; c ^= rot(b, 8); b += a; \ 183 a -= c; a ^= rot(c, 16); c += b; \ 184 b -= a; b ^= rot(a, 19); a += c; \ 185 c -= b; c ^= rot(b, 4); b += a; \ 190 c ^= b; c -= rot(b, 14); \ 191 a ^= c; a -= rot(c, 11); \ 192 b ^= a; b -= rot(a, 25); [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/md5/asm/ |
| md5-sparcv9.pl | 68 my $rot = (7,12,17,22)[$i%4]; 83 sll $a,$rot,$t3 85 srl $a,32-$rot,$a 99 sll $a,$rot,$t3 101 srl $a,32-$rot,$a 111 my $rot = (7,12,17,22)[$i%4]; 121 sll $a,$rot,$t3 123 srl $a,32-$rot,$a 132 my $rot = (5,9,14,20)[$i%4]; 146 sll $a,$rot,$t [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/md5/asm/ |
| md5-sparcv9.pl | 68 my $rot = (7,12,17,22)[$i%4]; 83 sll $a,$rot,$t3 85 srl $a,32-$rot,$a 99 sll $a,$rot,$t3 101 srl $a,32-$rot,$a 111 my $rot = (7,12,17,22)[$i%4]; 121 sll $a,$rot,$t3 123 srl $a,32-$rot,$a 132 my $rot = (5,9,14,20)[$i%4]; 146 sll $a,$rot,$t [all...] |
| /src/crypto/external/bsd/openssl.old/dist/crypto/md5/asm/ |
| md5-sparcv9.pl | 66 my $rot = (7,12,17,22)[$i%4]; 81 sll $a,$rot,$t3 83 srl $a,32-$rot,$a 97 sll $a,$rot,$t3 99 srl $a,32-$rot,$a 109 my $rot = (7,12,17,22)[$i%4]; 119 sll $a,$rot,$t3 121 srl $a,32-$rot,$a 130 my $rot = (5,9,14,20)[$i%4]; 144 sll $a,$rot,$t [all...] |
| /src/games/tetris/ |
| tetris.h | 128 int rot; /* index of rotated version of this shape */ member in struct:shape
|
| /src/external/gpl3/gcc.old/dist/gcc/config/aarch64/ |
| aarch64-sve-builtins-sve2.cc | 53 /* Return the UNSPEC_CDOT* unspec for rotation amount ROT. */ 55 unspec_cdot (int rot) 57 switch (rot) 67 /* Return the UNSPEC_SQRDCMLAH* unspec for rotation amount ROT. */ 69 unspec_sqrdcmlah (int rot) 71 switch (rot) 100 int rot = INTVAL (e.args.pop ()); variable 101 return e.use_exact_insn (code_for_aarch64_sve (unspec_cdot (rot), 113 int rot = INTVAL (e.args.pop ()); variable 114 return e.use_exact_insn (code_for_aarch64_lane (unspec_cdot (rot), 203 int rot = INTVAL (e.args.pop ()); variable 219 int rot = INTVAL (e.args.pop ()); variable 232 int rot = INTVAL (e.args.pop ()); variable [all...] |
| /src/common/dist/zlib/examples/ |
| gzappend.c | 122 /* rotate list[0..len-1] left by rot positions, in place */ 123 local void rotate(unsigned char *list, unsigned len, unsigned rot) 129 /* normalize rot and handle degenerate cases */ 131 if (rot >= len) rot %= len; 132 if (rot == 0) return; 138 if (rot == 1) { 146 if (rot == len - 1) { 154 cycles = gcd(len, rot); /* number of cycles */ 160 from += rot; /* go right rot positions * [all...] |
| /src/external/gpl3/binutils/dist/zlib/examples/ |
| gzappend.c | 122 /* rotate list[0..len-1] left by rot positions, in place */ 123 local void rotate(unsigned char *list, unsigned len, unsigned rot) 129 /* normalize rot and handle degenerate cases */ 131 if (rot >= len) rot %= len; 132 if (rot == 0) return; 138 if (rot == 1) { 146 if (rot == len - 1) { 154 cycles = gcd(len, rot); /* number of cycles */ 160 from += rot; /* go right rot positions * [all...] |
| /src/external/gpl3/binutils.old/dist/zlib/examples/ |
| gzappend.c | 122 /* rotate list[0..len-1] left by rot positions, in place */ 123 local void rotate(unsigned char *list, unsigned len, unsigned rot) 129 /* normalize rot and handle degenerate cases */ 131 if (rot >= len) rot %= len; 132 if (rot == 0) return; 138 if (rot == 1) { 146 if (rot == len - 1) { 154 cycles = gcd(len, rot); /* number of cycles */ 160 from += rot; /* go right rot positions * [all...] |
| /src/external/gpl3/gdb.old/dist/zlib/examples/ |
| gzappend.c | 122 /* rotate list[0..len-1] left by rot positions, in place */ 123 local void rotate(unsigned char *list, unsigned len, unsigned rot) 129 /* normalize rot and handle degenerate cases */ 131 if (rot >= len) rot %= len; 132 if (rot == 0) return; 138 if (rot == 1) { 146 if (rot == len - 1) { 154 cycles = gcd(len, rot); /* number of cycles */ 160 from += rot; /* go right rot positions * [all...] |
| /src/external/gpl3/gdb/dist/zlib/examples/ |
| gzappend.c | 122 /* rotate list[0..len-1] left by rot positions, in place */ 123 local void rotate(unsigned char *list, unsigned len, unsigned rot) 129 /* normalize rot and handle degenerate cases */ 131 if (rot >= len) rot %= len; 132 if (rot == 0) return; 138 if (rot == 1) { 146 if (rot == len - 1) { 154 cycles = gcd(len, rot); /* number of cycles */ 160 from += rot; /* go right rot positions * [all...] |
| /src/external/gpl3/gcc/dist/gcc/config/aarch64/ |
| aarch64-sve-builtins-sve2.cc | 53 /* Return the UNSPEC_CDOT* unspec for rotation amount ROT. */ 55 unspec_cdot (int rot) 57 switch (rot) 67 /* Return the UNSPEC_SQRDCMLAH* unspec for rotation amount ROT. */ 69 unspec_sqrdcmlah (int rot) 71 switch (rot) 100 int rot = INTVAL (e.args.pop ()); variable 101 return e.use_exact_insn (code_for_aarch64_sve (unspec_cdot (rot), 113 int rot = INTVAL (e.args.pop ()); variable 114 return e.use_exact_insn (code_for_aarch64_lane (unspec_cdot (rot), 255 int rot = INTVAL (e.args.pop ()); variable 271 int rot = INTVAL (e.args.pop ()); variable 284 int rot = INTVAL (e.args.pop ()); variable [all...] |
| /src/external/bsd/nsd/dist/ |
| lookup3.c | 109 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) macro 132 Some k values for my "a-=c; a^=rot(c,k); c+=b;" arrangement that 157 a -= c; a ^= rot(c, 4); c += b; \ 158 b -= a; b ^= rot(a, 6); a += c; \ 159 c -= b; c ^= rot(b, 8); b += a; \ 160 a -= c; a ^= rot(c,16); c += b; \ 161 b -= a; b ^= rot(a,19); a += c; \ 162 c -= b; c ^= rot(b, 4); b += a; \ 192 c ^= b; c -= rot(b,14); \ 193 a ^= c; a -= rot(c,11); [all...] |
| /src/external/bsd/unbound/dist/util/storage/ |
| lookup3.c | 118 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) macro 150 Some k values for my "a-=c; a^=rot(c,k); c+=b;" arrangement that 175 a -= c; a ^= rot(c, 4); c += b; \ 176 b -= a; b ^= rot(a, 6); a += c; \ 177 c -= b; c ^= rot(b, 8); b += a; \ 178 a -= c; a ^= rot(c,16); c += b; \ 179 b -= a; b ^= rot(a,19); a += c; \ 180 c -= b; c ^= rot(b, 4); b += a; \ 210 c ^= b; c -= rot(b,14); \ 211 a ^= c; a -= rot(c,11); [all...] |
| /src/external/gpl3/gdb.old/dist/gdbsupport/ |
| ax.def | 95 DEFOP (rot, 0, 0, 3, 3, 0x33)
|
| /src/external/gpl3/gdb/dist/gdbsupport/ |
| ax.def | 95 DEFOP (rot, 0, 0, 3, 3, 0x33)
|
| /src/crypto/external/apache2/openssl/dist/crypto/camellia/asm/ |
| cmll-x86.pl | 480 my ($i0,$i1,$i2,$i3,$rot,$rnd,@T)=@_; 483 if ($rot) { 485 &shld ($i0,$i1,$rot); 486 &shld ($i1,$i2,$rot); 487 &shld ($i2,$i3,$rot); 488 &shld ($i3,$idx,$rot); 500 my ($i0,$i1,$i2,$i3,$rot,$rnd,@T)=@_; 503 if ($rot) { 505 &shl ($i0,$rot); 507 &shr ($idx,32-$rot); [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/camellia/asm/ |
| cmll-x86.pl | 480 my ($i0,$i1,$i2,$i3,$rot,$rnd,@T)=@_; 483 if ($rot) { 485 &shld ($i0,$i1,$rot); 486 &shld ($i1,$i2,$rot); 487 &shld ($i2,$i3,$rot); 488 &shld ($i3,$idx,$rot); 500 my ($i0,$i1,$i2,$i3,$rot,$rnd,@T)=@_; 503 if ($rot) { 505 &shl ($i0,$rot); 507 &shr ($idx,32-$rot); [all...] |
| /src/crypto/external/bsd/openssl.old/dist/crypto/camellia/asm/ |
| cmll-x86.pl | 481 my ($i0,$i1,$i2,$i3,$rot,$rnd,@T)=@_; 484 if ($rot) { 486 &shld ($i0,$i1,$rot); 487 &shld ($i1,$i2,$rot); 488 &shld ($i2,$i3,$rot); 489 &shld ($i3,$idx,$rot); 501 my ($i0,$i1,$i2,$i3,$rot,$rnd,@T)=@_; 504 if ($rot) { 506 &shl ($i0,$rot); 508 &shr ($idx,32-$rot); [all...] |
| /src/external/gpl2/groff/dist/src/devices/grolbp/ |
| lbp.h | 217 rot[4], /* rotation */ local 222 vdmnum(perimeter,perim),vdmnum(0,rot), 287 rot[4], /* rotation */ local 292 vdmnum(pattern,patt),vdmnum(0,rot), 294 vdmprintf("}F%s",vdmnum(unionstyle,rot));
|
| /src/crypto/external/apache2/openssl/dist/crypto/sha/asm/ |
| sha1-armv8.pl | 80 add $e,$e,$t2 // e+=rot(a,5) 97 add $e,$e,$t2 // e+=rot(a,5) 122 add $e,$e,$t2 // e+=rot(a,5) 147 add $e,$e,$t2 // e+=rot(a,5) 160 add $e,$e,$t2 // e+=rot(a,5) 170 add $e,$e,$t2 // e+=rot(a,5)
|
| /src/crypto/external/bsd/openssl/dist/crypto/sha/asm/ |
| sha1-armv8.pl | 80 add $e,$e,$t2 // e+=rot(a,5) 97 add $e,$e,$t2 // e+=rot(a,5) 122 add $e,$e,$t2 // e+=rot(a,5) 147 add $e,$e,$t2 // e+=rot(a,5) 160 add $e,$e,$t2 // e+=rot(a,5) 170 add $e,$e,$t2 // e+=rot(a,5)
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/sha/asm/ |
| sha1-armv8.pl | 76 add $e,$e,$t2 // e+=rot(a,5) 93 add $e,$e,$t2 // e+=rot(a,5) 118 add $e,$e,$t2 // e+=rot(a,5) 143 add $e,$e,$t2 // e+=rot(a,5) 156 add $e,$e,$t2 // e+=rot(a,5) 166 add $e,$e,$t2 // e+=rot(a,5)
|