Searched defs:rot (Results 1 - 24 of 24) sorted by relevance

/external/regex-re2/util/
H A Dhash.cc43 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) macro
66 Some k values for my "a-=c; a^=rot(c,k); c+=b;" arrangement that
91 a -= c; a ^= rot(c, 4); c += b; \
92 b -= a; b ^= rot(a, 6); a += c; \
93 c -= b; c ^= rot(b, 8); b += a; \
94 a -= c; a ^= rot(c,16); c += b; \
95 b -= a; b ^= rot(a,19); a += c; \
96 c -= b; c ^= rot(b, 4); b += a; \
126 c ^= b; c -= rot(b,14); \
127 a ^= c; a -= rot(
[all...]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/animations/
H A DCalculationBone.java98 public Spatial rotate(Quaternion rot, int frame) { argument
99 Spatial spatial = super.rotate(rot);
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/
H A DRagdollUtils.java240 * @param rot the rotation
242 public static void setTransform(Bone bone, Vector3f pos, Quaternion rot, boolean restoreBoneControl, Set<String> boneList) { argument
248 bone.setUserTransformsWorld(pos, rot);
252 Transform t = childBone.getCombinedTransform(pos, rot);
/external/jmonkeyengine/engine/src/core/com/jme3/math/
H A DTransform.java51 private Quaternion rot = new Quaternion(); field in class:Transform
55 public Transform(Vector3f translation, Quaternion rot){ argument
57 this.rot.set(rot);
60 public Transform(Vector3f translation, Quaternion rot, Vector3f scale){ argument
61 this(translation, rot);
69 public Transform(Quaternion rot){ argument
70 this(Vector3f.ZERO, rot);
79 * @param rot The new rotation for this matrix.
82 public Transform setRotation(Quaternion rot) { argument
[all...]
/external/skia/tests/
H A DMatrix44Test.cpp68 SkMatrix44 rot; local
72 rot.setRotateDegreesAbout(0, 0, -1, common_angles[i]);
74 SkMatrix rot3x3 = rot;
81 SkMatrix44 mat, inverse, iden1, iden2, rot; local
100 rot.setRotateDegreesAbout(
105 mat.postConcat(rot);
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/
H A DPhysicsGhostObject.java152 public Quaternion getPhysicsRotation(Quaternion rot) { argument
153 if (rot == null) {
154 rot = new Quaternion();
156 getPhysicsRotation(objectId, rot);
157 return rot;
160 private native void getPhysicsRotation(long objectId, Quaternion rot); argument
165 public Matrix3f getPhysicsRotationMatrix(Matrix3f rot) { argument
166 if (rot == null) {
167 rot = new Matrix3f();
169 getPhysicsRotationMatrix(objectId, rot);
173 getPhysicsRotationMatrix(long objectId, Matrix3f rot) argument
[all...]
H A DPhysicsRigidBody.java186 public Quaternion getPhysicsRotation(Quaternion rot) { argument
187 if (rot == null) {
188 rot = new Quaternion();
190 getPhysicsRotation(objectId, rot);
191 return rot;
194 private native void getPhysicsRotation(long objectId, Quaternion rot); argument
199 public Matrix3f getPhysicsRotationMatrix(Matrix3f rot) { argument
200 if (rot == null) {
201 rot = new Matrix3f();
203 getPhysicsRotationMatrix(objectId, rot);
207 getPhysicsRotationMatrix(long objectId, Matrix3f rot) argument
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/animation/
H A DAnimationFactory.java92 void set(Quaternion rot) { argument
93 rotation.set(rot);
433 Quaternion rot = new Quaternion();
434 rotations[j] = rot.slerp(((Rotation) keyFrames[i]).rotation, ((Rotation) keyFrames[key]).rotation, val);
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/
H A DPhysicsGhostObject.java155 public Quaternion getPhysicsRotation(Quaternion rot) { argument
156 if (rot == null) {
157 rot = new Quaternion();
161 return rot.set(physicsLocation.getRotation());
167 public Matrix3f getPhysicsRotationMatrix(Matrix3f rot) { argument
168 if (rot == null) {
169 rot = new Matrix3f();
173 return rot.set(physicsLocation.getRotation());
/external/ppp/pppd/
H A Dmd4.c70 ** Note: The "rot" operator uses the variable "tmp".
77 #define rot(X,S) (tmp=X,(tmp<<S) | (tmp>>(32-S))) macro
78 #define ff(A,B,C,D,i,s) A = rot((A + f(B,C,D) + X[i]),s)
79 #define gg(A,B,C,D,i,s) A = rot((A + g(B,C,D) + X[i] + C2),s)
80 #define hh(A,B,C,D,i,s) A = rot((A + h(B,C,D) + X[i] + C3),s)
/external/qemu/android/skin/
H A Dfile.c286 SkinRotation rot = aconfig_int(node, "rotation", SKIN_ROTATION_0); local
308 location->rotation = rot;
H A Dtrackball.c110 rotator_reset( Rotator rot, int dx, int dy ) argument
122 rot->d[0] = zx;
123 rot->d[1] = zy;
124 rot->d[2] = 0.;
126 rot->n[0] = -rot->d[1];
127 rot->n[1] = rot->d[0];
128 rot->n[2] = 0;
130 rot
134 rotator_apply( Rotator rot, double* vec ) argument
415 RotatorRec rot[1]; local
[all...]
/external/zlib/examples/
H A Dgzappend.c120 /* rotate list[0..len-1] left by rot positions, in place */
121 local void rotate(unsigned char *list, unsigned len, unsigned rot) argument
127 /* normalize rot and handle degenerate cases */
129 if (rot >= len) rot %= len;
130 if (rot == 0) return;
136 if (rot == 1) {
144 if (rot == len - 1) {
152 cycles = gcd(len, rot); /* number of cycles */
158 from += rot; /* g
[all...]
/external/quake/quake/src/QW/client/
H A Dmathlib.c99 float rot[3][3]; local
140 R_ConcatRotations( tmpmat, im, rot );
144 dst[i] = rot[i][0] * point[0] + rot[i][1] * point[1] + rot[i][2] * point[2];
/external/quake/quake/src/WinQuake/
H A Dmathlib.cpp99 float rot[3][3]; local
140 R_ConcatRotations( tmpmat, im, rot );
144 dst[i] = rot[i][0] * point[0] + rot[i][1] * point[1] + rot[i][2] * point[2];
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
H A DSpatial.java373 Quaternion rot = localTransform.getRotation();
374 rot.multLocal(upY);
384 q.mult(rot, rot);
978 public Spatial rotate(Quaternion rot) { argument
979 this.localTransform.getRotation().multLocal(rot);
/external/llvm/lib/Target/ARM/Disassembler/
H A DARMDisassembler.cpp1072 uint32_t rot = (Val & 0xF00) >> 7; local
1073 uint32_t rot_imm = (imm >> rot) | (imm << ((32-rot) & 0x1F));
3400 unsigned rot = fieldFromInstruction32(Val, 7, 5); local
3401 unsigned imm = (unrot >> rot) | (unrot << ((32-rot)&31));
/external/opencv/cxcore/src/
H A Dcxmatmul.cpp1606 CvMat rotstub, *rot = (CvMat*)transmat; local
1688 if( !CV_IS_MAT( rot ))
1689 CV_CALL( rot = cvGetMat( rot, &rotstub, &coi ));
1691 if( rot->rows != dst_cn )
1695 if( rot->cols == cn + 1 || rot->cols == cn )
1697 if( CV_MAT_TYPE( rot->type ) == CV_64FC1 )
1702 for( j = 0; j < rot->cols; j++ )
1703 buffer[i*(cn+1) + j] = ((double*)(rot
[all...]
/external/qemu/
H A Darm-dis.c3667 unsigned int rot = (given & 0x00000030) >> 4; local
3668 if (rot)
3669 func (stream, ", ror #%u", rot * 8);
/external/qemu/tcg/arm/
H A Dtcg-target.c439 int i, rot; local
442 rot = ((32 - i) << 7) & 0xf00;
443 tcg_out_dat_imm(s, cond, opc, rd, rn, ((arg >> i) & 0xff) | rot);
1120 int rot; local
1124 rot = ((32 - i) << 7) & 0xf00;
1127 ((offset >> i) & 0xff) | rot);
1360 int rot; local
1364 rot = ((32 - i) << 7) & 0xf00;
1367 ((offset >> i) & 0xff) | rot);
1529 int rot; local
1596 int rot; local
1623 int rot; local
[all...]
/external/valgrind/main/VEX/priv/
H A Dhost_arm_defs.c2667 UInt imm, rot; local
2672 rot = 0;
2673 instr = XXXXXXXX(0xE, 0x3, op, rN, rD, rot, imm >> 4, imm & 0xF);
2680 rot = 4;
2681 instr = XXXXXXXX(0xE, 0x3, op, rN, rD, rot, imm >> 4, imm & 0xF);
2688 rot = 8;
2689 instr = XXXXXXXX(0xE, 0x3, op, rN, rD, rot, imm >> 4, imm & 0xF);
2696 rot = 12;
2697 instr = XXXXXXXX(0xE, 0x3, op, rN, rD, rot, imm >> 4, imm & 0xF);
H A Dguest_arm_toIR.c346 static IRExpr* genROR32( IRTemp src, Int rot )
348 vassert(rot >= 0 && rot < 32);
349 if (rot == 0)
353 binop(Iop_Shl32, mkexpr(src), mkU8(32 - rot)),
354 binop(Iop_Shr32, mkexpr(src), mkU8(rot)));
2294 UInt rot = 2 * ((insn_11_0 >> 8) & 0xF); local
2295 vassert(rot <= 30);
2296 imm = ROR32(imm, rot);
2298 if (rot
13314 UInt rot = 2 * ((INSN(11,0) >> 8) & 0xF); local
13589 Int rot = (INSN(11,8) >> 2) & 3; local
13914 UInt rot = (insn >> 10) & 3; local
13944 UInt rot = (insn >> 10) & 3; local
17513 UInt rot = INSN1(5,4); local
17757 UInt rot = INSN1(5,4); local
17786 UInt rot = INSN1(5,4); local
[all...]
H A Dguest_ppc_toIR.c1360 IRExpr *mask, *rot; local
1364 // rot = (src << rot_amt) | (src >> (64-rot_amt))
1366 rot = binop(Iop_Or64,
1370 // rot = (src << rot_amt) | (src >> (32-rot_amt))
1372 rot = binop(Iop_Or32,
1381 /* non-zero rotate */ rot );
4155 IRTemp rot = newTemp(ty); local
4174 assign( rot, binop(Iop_Or64, r,
4178 binop(Iop_And64, mkexpr(rot), mkU64(mask64)),
4210 assign( rot, bino
[all...]
H A Dguest_s390_toIR.c6678 UChar rot; local
6687 rot = i5 & 63;
6689 assign(op2, rot == 0 ? get_gpr_dw0(r2) : binop(Iop_Or64, binop(Iop_Shl64,
6690 get_gpr_dw0(r2), mkU8(rot)), binop(Iop_Shr64, get_gpr_dw0(r2),
6691 mkU8(64 - rot))));
6717 UChar rot; local
6726 rot = i5 & 63;
6728 assign(op2, rot == 0 ? get_gpr_dw0(r2) : binop(Iop_Or64, binop(Iop_Shl64,
6729 get_gpr_dw0(r2), mkU8(rot)), binop(Iop_Shr64, get_gpr_dw0(r2),
6730 mkU8(64 - rot))));
6756 UChar rot; local
6795 UChar rot; local
[all...]

Completed in 512 milliseconds