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

123

/external/tensorflow/tensorflow/core/lib/hash/
H A Dcrc32c.h47 uint32 rot = masked_crc - kMaskDelta; local
48 return ((rot >> 17) | (rot << 15));
/external/autotest/client/site_tests/graphics_SanAngeles/src/
H A Dmatrixop.c84 Matrix4x4 rot; local
105 rot[0*4 + 0] = xx + (1.f - xx) * c;
106 rot[1*4 + 0] = xy * one_c - zs;
107 rot[2*4 + 0] = xz * one_c + ys;
108 rot[3*4 + 0] = 0.f;
110 rot[0*4 + 1] = xy * one_c + zs;
111 rot[1*4 + 1] = yy + (1.f - yy) * c;
112 rot[2*4 + 1] = yz * one_c - xs;
113 rot[3*4 + 1] = 0.f;
115 rot[
[all...]
/external/toybox/toys/lsb/
H A Dmd5sum.c174 unsigned *rot[5], *temp; local
179 rot[i] = TT.state + i;
186 work = *rot[2] ^ *rot[3];
187 if (!i) work = (work & *rot[1]) ^ *rot[3];
189 if (i==2) work = ((*rot[1]|*rot[2])&*rot[3])|(*rot[
[all...]
/external/pdfium/third_party/base/allocator/partition_allocator/
H A Daddress_space_randomization.cc39 #define rot(x, k) (((x) << (k)) | ((x) >> (32 - (k)))) macro
42 uint32_t e = x->a - rot(x->b, 27);
43 x->a = x->b ^ rot(x->c, 17);
50 #undef rot macro
/external/eigen/test/
H A Dgeo_hyperplane.cpp57 MatrixType rot = MatrixType::Random(dim,dim).householderQr().householderQ(); local
64 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot).absDistance(rot * p1), Scalar(1) );
66 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot,Isometry).absDistance(rot * p1), Scalar(1) );
68 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot*scaling).absDistance((rot*scaling) * p1), Scalar(1) );
71 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot*scaling*translation)
72 .absDistance((rot*scaling*translation) * p1), Scalar(1) );
75 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/eigen/unsupported/Eigen/src/EulerAngles/
H A DEulerAngles.h181 /** Constructs and initialize Euler angles from a rotation \p rot.
183 * \note All angles will be in the range [-PI, PI], unless \p rot is an EulerAngles.
184 * If rot is an EulerAngles, expected EulerAngles range is __undefined__.
188 EulerAngles(const RotationBase<Derived, 3>& rot) { *this = rot; } argument
190 /** Constructs and initialize Euler angles from a rotation \p rot,
196 * \param rot The 3x3 rotation matrix to convert
203 const RotationBase<Derived, 3>& rot,
208 System::CalcEulerAngles(*this, rot.toRotationMatrix(), positiveRangeAlpha, positiveRangeBeta, positiveRangeGamma);
275 /** Constructs and initialize Euler angles from a rotation \p rot,
202 EulerAngles( const RotationBase<Derived, 3>& rot, bool positiveRangeAlpha, bool positiveRangeBeta, bool positiveRangeGamma) argument
291 FromRotation(const RotationBase<Derived, 3>& rot) argument
323 operator =(const RotationBase<Derived, 3>& rot) argument
[all...]
/external/libnl/lib/
H A Dhash.c55 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) macro
78 Some k values for my "a-=c; a^=rot(c,k); c+=b;" arrangement that
103 a -= c; a ^= rot(c, 4); c += b; \
104 b -= a; b ^= rot(a, 6); a += c; \
105 c -= b; c ^= rot(b, 8); b += a; \
106 a -= c; a ^= rot(c,16); c += b; \
107 b -= a; b ^= rot(a,19); a += c; \
108 c -= b; c ^= rot(b, 4); b += a; \
138 c ^= b; c -= rot(b,14); \
139 a ^= c; a -= rot(
[all...]
/external/skia/gm/
H A Ddstreadshuffle.cpp69 SkMatrix rot; local
70 rot.setRotate(360.f / 5, 50.f, 70.f);
72 rot.mapPoints(points + i, points + i - 1, 1);
113 SkMatrix rot; local
114 rot.setRotate(360.f / kNumHairlines, 15.5f, 12.f);
115 rot.postTranslate(3.f, 0);
119 rot.mapPoints(pts, 2);
/external/skqp/gm/
H A Ddstreadshuffle.cpp69 SkMatrix rot; local
70 rot.setRotate(360.f / 5, 50.f, 70.f);
72 rot.mapPoints(points + i, points + i - 1, 1);
113 SkMatrix rot; local
114 rot.setRotate(360.f / kNumHairlines, 15.5f, 12.f);
115 rot.postTranslate(3.f, 0);
119 rot.mapPoints(pts, 2);
/external/eigen/Eigen/src/Eigenvalues/
H A DComplexSchur.h432 JacobiRotation<ComplexScalar> rot; local
433 rot.makeGivens(m_matT.coeff(il,il) - shift, m_matT.coeff(il+1,il));
434 m_matT.rightCols(m_matT.cols()-il).applyOnTheLeft(il, il+1, rot.adjoint());
435 m_matT.topRows((std::min)(il+2,iu)+1).applyOnTheRight(il, il+1, rot);
436 if(computeU) m_matU.applyOnTheRight(il, il+1, rot);
440 rot.makeGivens(m_matT.coeffRef(i,i-1), m_matT.coeffRef(i+1,i-1), &m_matT.coeffRef(i,i-1));
442 m_matT.rightCols(m_matT.cols()-i).applyOnTheLeft(i, i+1, rot.adjoint());
443 m_matT.topRows((std::min)(i+2,iu)+1).applyOnTheRight(i, i+1, rot);
444 if(computeU) m_matU.applyOnTheRight(i, i+1, rot);
H A DSelfAdjointEigenSolver.h833 JacobiRotation<RealScalar> rot; local
834 rot.makeGivens(x, z);
837 RealScalar sdk = rot.s() * diag[k] + rot.c() * subdiag[k];
838 RealScalar dkp1 = rot.s() * subdiag[k] + rot.c() * diag[k+1];
840 diag[k] = rot.c() * (rot.c() * diag[k] - rot.s() * subdiag[k]) - rot
[all...]
H A DRealSchur.h399 JacobiRotation<Scalar> rot; local
401 rot.makeGivens(p + z, m_matT.coeff(iu, iu-1));
403 rot.makeGivens(p - z, m_matT.coeff(iu, iu-1));
405 m_matT.rightCols(size-iu+1).applyOnTheLeft(iu-1, iu, rot.adjoint());
406 m_matT.topRows(iu+1).applyOnTheRight(iu-1, iu, rot);
409 m_matU.applyOnTheRight(iu-1, iu, rot);
/external/mesa3d/src/gallium/state_trackers/nine/
H A Dswapchain9ex.c73 D3DDISPLAYROTATION rot; local
76 if (!pRotation) { pRotation = &rot; }
/external/vixl/src/aarch32/
H A Dinstructions-aarch32.cc680 // Deal with rot = 0 first to avoid undefined shift by 32.
685 for (int rot = 2; rot < 32; rot += 2) {
686 uint32_t imm8 = (imm << rot) | (imm >> (32 - rot));
688 SetEncodingValue((rot << 7) | imm8);
/external/skia/samplecode/
H A DSampleFlutterAnimate.cpp61 double rot = SkScalarInterp(fChars[i].fStartRotation, fChars[i].fEndRotation, variable
64 canvas->rotate(SkRadiansToDegrees(rot));
/external/skqp/samplecode/
H A DSampleFlutterAnimate.cpp61 double rot = SkScalarInterp(fChars[i].fStartRotation, fChars[i].fEndRotation, variable
64 canvas->rotate(SkRadiansToDegrees(rot));
/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/lisa/tools/analysis/
H A Drun_binder_throughput_analysis.py98 self._dfg_latency_df().plot(rot=0)
102 self._dfg_throughput_df().plot(rot=0)
/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/skia/example/
H A DSkiaSDLExample.cpp90 SkMatrix rot; local
91 rot.setRotate(SkIntToScalar(360) / kNumPoints);
93 rot.mapPoints(points + i, points + i - 1, 1);
/external/skqp/example/
H A DSkiaSDLExample.cpp90 SkMatrix rot; local
91 rot.setRotate(SkIntToScalar(360) / kNumPoints);
93 rot.mapPoints(points + i, points + i - 1, 1);
/external/boringssl/src/crypto/fipsmodule/sha/asm/
H A Dsha1-armv8.pl75 add $e,$e,$t2 // e+=rot(a,5)
92 add $e,$e,$t2 // e+=rot(a,5)
117 add $e,$e,$t2 // e+=rot(a,5)
142 add $e,$e,$t2 // e+=rot(a,5)
155 add $e,$e,$t2 // e+=rot(a,5)
165 add $e,$e,$t2 // e+=rot(a,5)

Completed in 669 milliseconds

123