| /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/games/tetris/ |
| tetris.h | 128 int rot; /* index of rotated version of this shape */ member in struct:shape
|
| /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/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...] |
| aarch64-sve-builtins-base.cc | 75 /* Return the UNSPEC_CMLA* unspec for rotation amount ROT. */ 77 unspec_cmla (int rot) 79 switch (rot) 89 /* Return the UNSPEC_FCMLA* unspec for rotation amount ROT. */ 91 unspec_fcmla (int rot) 93 switch (rot) 103 /* Return the UNSPEC_COND_FCMLA* unspec for rotation amount ROT. */ 105 unspec_cond_fcmla (int rot) 107 switch (rot) 319 int rot = INTVAL (e.args.pop ()) variable 361 int rot = INTVAL (e.args.pop ()); variable 384 int rot = INTVAL (e.args.pop ()); variable [all...] |
| /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...] |
| aarch64-sve-builtins-base.cc | 52 /* Return the UNSPEC_CMLA* unspec for rotation amount ROT. */ 54 unspec_cmla (int rot) 56 switch (rot) 66 /* Return the UNSPEC_FCMLA* unspec for rotation amount ROT. */ 68 unspec_fcmla (int rot) 70 switch (rot) 80 /* Return the UNSPEC_COND_FCMLA* unspec for rotation amount ROT. */ 82 unspec_cond_fcmla (int rot) 84 switch (rot) 296 int rot = INTVAL (e.args.pop ()) variable 338 int rot = INTVAL (e.args.pop ()); variable 361 int rot = INTVAL (e.args.pop ()); variable [all...] |
| /src/external/gpl3/gdb/dist/sim/testsuite/common/ |
| bits-tst.c | 234 long long rot = calc (roted, mask, -1, shift); local 235 long long urot = calc (roted, rot, -1, -shift); 237 || (shift == 0 && rot != mask) 238 || (shift != 0 && rot == mask && abs(row - col) != (nr_bits - 1))) 391 printf ("Checking ROT*\n");
|
| /src/external/gpl3/gdb.old/dist/sim/testsuite/common/ |
| bits-tst.c | 234 long long rot = calc (roted, mask, -1, shift); local 235 long long urot = calc (roted, rot, -1, -shift); 237 || (shift == 0 && rot != mask) 238 || (shift != 0 && rot == mask && abs(row - col) != (nr_bits - 1))) 391 printf ("Checking ROT*\n");
|
| /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/ppp/dist/pppd/ |
| ppp-md4.c | 164 ** Note: The "rot" operator uses the variable "tmp". 171 #define rot(X,S) (tmp=X,(tmp<<S) | (tmp>>(32-S))) macro 172 #define ff(A,B,C,D,i,s) A = rot((A + f(B,C,D) + X[i]),s) 173 #define gg(A,B,C,D,i,s) A = rot((A + g(B,C,D) + X[i] + C2),s) 174 #define hh(A,B,C,D,i,s) A = rot((A + h(B,C,D) + X[i] + C3),s)
|
| /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/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/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/external/gpl3/binutils/dist/opcodes/ |
| aarch64-asm.c | 526 uint64_t rot = (info->imm.value - 90) / 180; local 527 assert (rot < 2U); 528 insert_field (self->fields[0], code, rot, inst->opcode->mask); 539 uint64_t rot = info->imm.value / 90; local 540 assert (rot < 4U); 541 insert_field (self->fields[0], code, rot, inst->opcode->mask);
|
| aarch64-dis.c | 883 uint64_t rot = extract_field (self->fields[0], code, 0); 884 assert (rot < 2U); 885 info->imm.value = rot * 180 + 90; 896 uint64_t rot = extract_field (self->fields[0], code, 0); 897 assert (rot < 4U); 898 info->imm.value = rot * 90; 882 uint64_t rot = extract_field (self->fields[0], code, 0); local 895 uint64_t rot = extract_field (self->fields[0], code, 0); local
|
| /src/external/gpl3/binutils.old/dist/opcodes/ |
| aarch64-asm.c | 528 uint64_t rot = (info->imm.value - 90) / 180; local 529 assert (rot < 2U); 530 insert_field (self->fields[0], code, rot, inst->opcode->mask); 541 uint64_t rot = info->imm.value / 90; local 542 assert (rot < 4U); 543 insert_field (self->fields[0], code, rot, inst->opcode->mask);
|
| aarch64-dis.c | 882 uint64_t rot = extract_field (self->fields[0], code, 0); 883 assert (rot < 2U); 884 info->imm.value = rot * 180 + 90; 895 uint64_t rot = extract_field (self->fields[0], code, 0); 896 assert (rot < 4U); 897 info->imm.value = rot * 90; 880 uint64_t rot = extract_field (self->fields[0], code, 0); local 893 uint64_t rot = extract_field (self->fields[0], code, 0); local
|
| /src/external/gpl3/gcc/dist/gcc/config/rs6000/ |
| rs6000-p8swap.cc | 261 rtx rot = SET_SRC (pat); local 263 if (GET_CODE (rot) == ROTATE && CONST_INT_P (XEXP (rot, 1)) 264 && INTVAL (XEXP (rot, 1)) == 64)
|
| /src/external/gpl3/gcc.old/dist/gcc/config/rs6000/ |
| rs6000-p8swap.cc | 259 rtx rot = SET_SRC (pat); local 261 if (GET_CODE (rot) == ROTATE && CONST_INT_P (XEXP (rot, 1)) 262 && INTVAL (XEXP (rot, 1)) == 64)
|
| /src/external/gpl3/gdb/dist/opcodes/ |
| aarch64-asm.c | 528 uint64_t rot = (info->imm.value - 90) / 180; local 529 assert (rot < 2U); 530 insert_field (self->fields[0], code, rot, inst->opcode->mask); 541 uint64_t rot = info->imm.value / 90; local 542 assert (rot < 4U); 543 insert_field (self->fields[0], code, rot, inst->opcode->mask);
|
| aarch64-dis.c | 882 uint64_t rot = extract_field (self->fields[0], code, 0); 883 assert (rot < 2U); 884 info->imm.value = rot * 180 + 90; 895 uint64_t rot = extract_field (self->fields[0], code, 0); 896 assert (rot < 4U); 897 info->imm.value = rot * 90; 880 uint64_t rot = extract_field (self->fields[0], code, 0); local 893 uint64_t rot = extract_field (self->fields[0], code, 0); local
|
| /src/external/gpl3/gdb.old/dist/opcodes/ |
| aarch64-asm.c | 507 uint64_t rot = (info->imm.value - 90) / 180; local 508 assert (rot < 2U); 509 insert_field (self->fields[0], code, rot, inst->opcode->mask); 520 uint64_t rot = info->imm.value / 90; local 521 assert (rot < 4U); 522 insert_field (self->fields[0], code, rot, inst->opcode->mask);
|
| /src/external/gpl3/gcc/dist/gcc/config/mcore/ |
| mcore.cc | 807 unsigned HOST_WIDE_INT bit, shf, rot; 871 rot = value; 878 c = rot << 31; 879 rot >>= 1; 880 rot &= 0x7FFFFFFF; 881 rot |= c; /* Simulate rotate. */ 883 if (const_ok_for_mcore (rot)) 886 *x = rot; 804 unsigned HOST_WIDE_INT bit, shf, rot; local
|
| /src/external/gpl3/gcc.old/dist/gcc/config/mcore/ |
| mcore.cc | 807 unsigned HOST_WIDE_INT bit, shf, rot; 871 rot = value; 878 c = rot << 31; 879 rot >>= 1; 880 rot &= 0x7FFFFFFF; 881 rot |= c; /* Simulate rotate. */ 883 if (const_ok_for_mcore (rot)) 886 *x = rot; 804 unsigned HOST_WIDE_INT bit, shf, rot; local
|