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

12

/external/chromium_org/third_party/leveldatabase/src/util/
H A Dcrc32c.h38 uint32_t rot = masked_crc - kMaskDelta; local
39 return ((rot >> 17) | (rot << 15));
/external/chromium_org/third_party/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/chromium_org/third_party/smhasher/src/
H A Dlookup3.cpp5 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) macro
9 a -= c; a ^= rot(c, 4); c += b; \
10 b -= a; b ^= rot(a, 6); a += c; \
11 c -= b; c ^= rot(b, 8); b += a; \
12 a -= c; a ^= rot(c,16); c += b; \
13 b -= a; b ^= rot(a,19); a += c; \
14 c -= b; c ^= rot(b, 4); b += a; \
19 c ^= b; c -= rot(b,14); \
20 a ^= c; a -= rot(c,11); \
21 b ^= a; b -= rot(
[all...]
/external/eigen/blas/
H A Dlevel1_real_impl.h57 int EIGEN_BLAS_FUNC(rot)(int *n, RealScalar *px, int *incx, RealScalar *py, int *incy, RealScalar *pc, RealScalar *ps) function
/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/chromium_org/third_party/WebKit/Source/wtf/
H A DAddressSpaceRandomization.cpp27 #define rot(x, k) (((x) << (k)) | ((x) >> (32 - (k)))) macro
31 uint32_t e = x->a - rot(x->b, 27);
32 x->a = x->b ^ rot(x->c, 17);
39 #undef rot macro
/external/chromium_org/third_party/skia/gm/
H A Dmixedxfermodes.cpp63 SkMatrix rot; local
64 rot.setRotate(SkIntToScalar(360) / 5);
66 rot.mapPoints(points + i, points + i - 1, 1);
H A Ddashing.cpp450 SkMatrix rot; variable
451 rot.setRotate(90);
452 SkASSERT(rot.rectStaysRect());
454 canvas->concat(rot);
/external/eigen/test/eigen2/
H A Deigen2_hyperplane.cpp52 MatrixType rot = MatrixType::Random(dim,dim).qr().matrixQ(); local
57 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot).absDistance(rot * p1), Scalar(1) );
59 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot,Isometry).absDistance(rot * p1), Scalar(1) );
61 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot*scaling).absDistance((rot*scaling) * p1), Scalar(1) );
63 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot*scaling*translation)
64 .absDistance((rot*scaling*translation) * p1), Scalar(1) );
66 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot*translatio
[all...]
/external/pixman/test/
H A Dprng-test.c37 #define rot(x,k) (((x)<<(k))|((x)>>(32-(k)))) macro
39 u4 e = x->a - rot(x->b, 27);
40 x->a = x->b ^ rot(x->c, 17);
/external/skia/gm/
H A Dmixedxfermodes.cpp63 SkMatrix rot; local
64 rot.setRotate(SkIntToScalar(360) / 5);
66 rot.mapPoints(points + i, points + i - 1, 1);
/external/eigen/Eigen/src/Eigenvalues/
H A DComplexSchur.h429 JacobiRotation<ComplexScalar> rot; local
430 rot.makeGivens(m_matT.coeff(il,il) - shift, m_matT.coeff(il+1,il));
431 m_matT.rightCols(m_matT.cols()-il).applyOnTheLeft(il, il+1, rot.adjoint());
432 m_matT.topRows((std::min)(il+2,iu)+1).applyOnTheRight(il, il+1, rot);
433 if(computeU) m_matU.applyOnTheRight(il, il+1, rot);
437 rot.makeGivens(m_matT.coeffRef(i,i-1), m_matT.coeffRef(i+1,i-1), &m_matT.coeffRef(i,i-1));
439 m_matT.rightCols(m_matT.cols()-i).applyOnTheLeft(i, i+1, rot.adjoint());
440 m_matT.topRows((std::min)(i+2,iu)+1).applyOnTheRight(i, i+1, rot);
441 if(computeU) m_matU.applyOnTheRight(i, i+1, rot);
H A DRealSchur.h380 JacobiRotation<Scalar> rot; local
382 rot.makeGivens(p + z, m_matT.coeff(iu, iu-1));
384 rot.makeGivens(p - z, m_matT.coeff(iu, iu-1));
386 m_matT.rightCols(size-iu+1).applyOnTheLeft(iu-1, iu, rot.adjoint());
387 m_matT.topRows(iu+1).applyOnTheRight(iu-1, iu, rot);
390 m_matU.applyOnTheRight(iu-1, iu, rot);
/external/eigen/bench/btl/libs/BLAS/
H A Dblas_interface_impl.hh33 static inline void rot(gene_vector & A, gene_vector & B, SCALAR c, SCALAR s, int N){ function in class:blas_interface
34 BLAS_FUNC(rot)(&N,A,&intone,B,&intone,&c,&s);
/external/eigen/bench/btl/libs/eigen3/
H A Deigen3_interface.hh169 static EIGEN_DONT_INLINE void rot(gene_vector & A, gene_vector & B, real c, real s, int N){ function in class:eigen3_interface
/external/eigen/test/
H A Dgeo_hyperplane.cpp52 MatrixType rot = MatrixType::Random(dim,dim).householderQr().householderQ(); local
57 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot).absDistance(rot * p1), Scalar(1) );
59 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot,Isometry).absDistance(rot * p1), Scalar(1) );
61 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot*scaling).absDistance((rot*scaling) * p1), Scalar(1) );
63 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot*scaling*translation)
64 .absDistance((rot*scaling*translation) * p1), Scalar(1) );
66 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot*translatio
[all...]
/external/eigen/unsupported/test/
H A Dopenglsupport.cpp130 Matrix3f rot; local
135 glVertex(rot*v3f);
/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;
/external/skia/bench/
H A DRectBench.cpp199 int rot = 0; local
210 rotate.setRotate(SkIntToScalar(rot));
212 rot += 10;
/external/zlib/src/examples/
H A Dgzappend.c122 /* rotate list[0..len-1] left by rot positions, in place */
123 local void rotate(unsigned char *list, unsigned len, unsigned rot) argument
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; /* g
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dsystem-alloc.cc119 #define rot(x,k) (((x)<<(k))|((x)>>(32-(k)))) macro
123 u4 e = x->a - rot(x->b, 27);
124 x->a = x->b ^ rot(x->c, 17);
/external/eigen/unsupported/Eigen/src/SVD/
H A DJacobiSVD.h376 JacobiRotation<Scalar> rot; local
389 rot.c() = conj(work_matrix.coeff(p,p)) / n;
390 rot.s() = work_matrix.coeff(q,p) / n;
391 work_matrix.applyOnTheLeft(p,q,rot);
392 if(svd.computeU()) svd.m_matrixU.applyOnTheRight(p,q,rot.adjoint());
/external/chromium_org/native_client_sdk/src/examples/api/graphics_3d/
H A Dgraphics_3d.cc428 float rot[16]; local
435 rotate_matrix(x_angle_, y_angle_, 0.0f, rot);
436 multiply_matrix(trs, rot, trs);
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/cube/
H A Dcube.cc428 float rot[16]; local
439 rotate_matrix(x_angle_, y_angle_, 0.0f, rot);
440 multiply_matrix(trs, rot, trs);

Completed in 988 milliseconds

12