Searched refs:rot (Results 1 - 25 of 73) sorted by relevance

123

/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/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/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/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/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/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...]
H A Djacobi.cpp32 JacobiRotation<JacobiScalar> rot(c, s);
42 b.applyOnTheLeft(p, q, rot);
55 b.applyOnTheRight(p, q, rot);
/external/qemu/android/skin/
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...]
H A Drect.h29 extern void skin_pos_rotate( SkinPos* dst, SkinPos* src, SkinRotation rot );
35 extern void skin_size_rotate( SkinSize* dst, SkinSize* src, SkinRotation rot );
H A Drect.c56 skin_size_rotate( SkinSize* dst, SkinSize* src, SkinRotation rot )
61 if ((rot & 1) != 0) {
96 skin_rect_rotate( SkinRect* dst, SkinRect* src, SkinRotation rot )
100 switch (rot & 3) {
/external/eigen/Eigen/src/Eigenvalues/
H A DSelfAdjointEigenSolver.h765 JacobiRotation<RealScalar> rot; local
766 rot.makeGivens(x, z);
769 RealScalar sdk = rot.s() * diag[k] + rot.c() * subdiag[k];
770 RealScalar dkp1 = rot.s() * subdiag[k] + rot.c() * diag[k+1];
772 diag[k] = rot.c() * (rot.c() * diag[k] - rot.s() * subdiag[k]) - rot
[all...]
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);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Darc.h60 VGfloat rot);
H A Darc.c128 /* Given: Ellipse parameters rh, rv, rot (in degrees),
134 find_ellipses(double rh, double rv, double rot, argument
140 rot *= M_PI/180.0;
142 COS = cos(rot); SIN = sin(rot);
167 double COS, SIN, rot, x0p, y0p, x1p, y1p; local
171 rot = DEGREES_TO_RADIANS(arc->theta);
174 COS = cos(rot); SIN = sin(rot);
351 VGfloat rot)
346 arc_init(struct arc *arc, VGPathSegment type, VGfloat x1, VGfloat y1, VGfloat x2, VGfloat y2, VGfloat rh, VGfloat rv, VGfloat rot) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/vega/
H A Darc.h60 VGfloat rot);
H A Darc.c128 /* Given: Ellipse parameters rh, rv, rot (in degrees),
134 find_ellipses(double rh, double rv, double rot, argument
140 rot *= M_PI/180.0;
142 COS = cos(rot); SIN = sin(rot);
167 double COS, SIN, rot, x0p, y0p, x1p, y1p; local
171 rot = DEGREES_TO_RADIANS(arc->theta);
174 COS = cos(rot); SIN = sin(rot);
351 VGfloat rot)
346 arc_init(struct arc *arc, VGPathSegment type, VGfloat x1, VGfloat y1, VGfloat x2, VGfloat y2, VGfloat rh, VGfloat rv, VGfloat rot) argument
[all...]
/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);
/external/chromium_org/ui/gfx/
H A Dtransform.cc107 SkMatrix44 rot(SkMatrix44::kUninitialized_Constructor);
108 rot.set3x3(1, 0, 0,
111 matrix_.preConcat(rot);
126 SkMatrix44 rot(SkMatrix44::kUninitialized_Constructor);
127 rot.set3x3(cosTheta, 0, -sinTheta,
130 matrix_.preConcat(rot);
143 SkMatrix44 rot(SkMatrix44::kUninitialized_Constructor);
144 rot.set3x3(cosTheta, sinTheta, 0,
147 matrix_.preConcat(rot);
158 SkMatrix44 rot(SkMatrix4
[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/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/eigen/bench/btl/actions/
H A Daction_rot.hh80 BTL_ASM_COMMENT("#begin rot");
81 Interface::rot(A,B,0.5,0.6,_size);
82 BTL_ASM_COMMENT("end rot");
89 // STL_interface<typename Interface::real_type>::rot(A_stl,B_stl,X_stl,_size);
/external/eigen/bench/btl/data/
H A Dgo_mean51 source mk_mean_script.sh rot $1 11 2500 100000 250000 $mode $prefix
/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)

Completed in 900 milliseconds

123