/external/clang/test/CodeGen/ |
arm_function_epilog.cpp | 4 struct Vec2 { 10 // CHECK: define arm_aapcs_vfpcc %struct.Vec2 @_Z7getVec2v() 11 // CHECK: ret %struct.Vec2 12 Vec2 getVec2() { 13 Vec2 out; 14 union { Vec2* v; unsigned char* u; } x;
|
/development/ndk/sources/android/ndk_helper/ |
tapCamera.h | 38 Vec2 vec_ball_center_; 42 Vec2 vec_ball_now_; 43 Vec2 vec_ball_down_; 50 Vec2 vec_pinch_start_; 51 Vec2 vec_pinch_start_center_; 65 Vec2 vec_drag_delta_; 66 Vec2 vec_last_input_; 71 Vec2 vec_flip_; 79 Vec3 PointOnSphere( Vec2& point ); 85 void BeginDrag( const Vec2& vec ) [all...] |
tapCamera.cpp | 54 vec_flip_ = Vec2( 1.f, -1.f ); 58 vec_ball_center_ = Vec2( 0, 0 ); 59 vec_ball_now_ = Vec2( 0, 0 ); 60 vec_ball_down_ = Vec2( 0, 0 ); 62 vec_pinch_start_ = Vec2( 0, 0 ); 63 vec_pinch_start_center_ = Vec2( 0, 0 ); 65 vec_flip_ = Vec2( 0, 0 ); 80 vec_drag_delta_ = Vec2(); 101 Vec2 v = vec_drag_delta_; 102 BeginDrag( Vec2() ); //NOTE:This call reset _VDragDelt [all...] |
gestureDetector.h | 140 bool GetPointers( Vec2& v1, Vec2& v2 ); 162 bool GetPointer( Vec2& v );
|
vecmath.h | 34 class Vec2; 43 class Vec2 55 Vec2() 60 Vec2( const float fX, const float fY ) 66 Vec2( const Vec2& vec ) 72 Vec2( const float* pVec ) 79 Vec2 operator*( const Vec2& rhs ) const 81 Vec2 ret [all...] |
/cts/apps/CtsVerifier/include/colorchecker/ |
vec2.h | 24 class Vec2{ 26 Vec2(T inputX, T inputY) { 31 Vec2() {} 33 inline Vec2<T> operator+ (const Vec2<T> ¶m) const { 34 Vec2<T> temp(mX + param.x(), mY + param.y()); 38 inline Vec2<T> operator- (const Vec2<T> ¶m) const { 39 Vec2<T> temp(mX - param.x(), mY - param.y()); 43 inline Vec2<float> operator/ (const int param) const [all...] |
/external/llvm/unittests/ADT/ |
PackedVectorTest.cpp | 34 PackedVector<unsigned, 2> Vec2(3); 35 EXPECT_EQ(3U, Vec2.size()); 36 EXPECT_FALSE(Vec2.empty()); 52 EXPECT_FALSE(Vec == Vec2); 53 EXPECT_TRUE(Vec != Vec2); 55 Vec = Vec2; 56 EXPECT_TRUE(Vec == Vec2); 57 EXPECT_FALSE(Vec != Vec2); 60 Vec2[1] = 2; 61 Vec |= Vec2; [all...] |
/external/opencv3/3rdparty/openexr/Imath/ |
ImathVec.cpp | 39 // Specializations of the Vec2<T> and Vec3<T> templates. 58 normalizeOrThrow(Vec2<T> &v) 127 // Vec2<short> 131 Vec2<short>::length () const 139 const Vec2<short> & 140 Vec2<short>::normalize () 147 const Vec2<short> & 148 Vec2<short>::normalizeExc () throw (Iex::MathExc) 158 const Vec2<short> & 159 Vec2<short>::normalizeNonNull ( [all...] |
ImathVec.h | 61 template <class T> class Vec2; 68 template <class T> class Vec2 86 Vec2 (); // no initialization 87 explicit Vec2 (T a); // (a a) 88 Vec2 (T a, T b); // (a b) 95 Vec2 (const Vec2 &v); 96 template <class S> Vec2 (const Vec2<S> &v); 98 const Vec2 & operator = (const Vec2 &v) [all...] |
ImathBox.h | 335 // Partial class specializations for Imath::Vec2<T> and Imath::Vec3<T> 342 class Box<Vec2<T> > 350 Vec2<T> min; 351 Vec2<T> max; 358 Box (const Vec2<T> &point); 359 Box (const Vec2<T> &minT, const Vec2<T> &maxT); 365 bool operator == (const Box<Vec2<T> > &src) const; 366 bool operator != (const Box<Vec2<T> > &src) const; 373 void extendBy (const Vec2<T> &point) [all...] |
/external/deqp/framework/common/ |
tcuTexLookupVerifier.hpp | 101 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dudy, const LodPrecision& prec); 102 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dudy, const float dvdy, const LodPrecision& prec); 103 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const float dudy, const float dvdy, const float dwdy, const LodPrecision& prec); 104 Vec2 computeCubeLodBoundsFromDerivates (const Vec3& coord, const Vec3& coordDx, const Vec3& coordDy, const int faceSize, const LodPrecision& prec); 106 Vec2 clampLodBounds (const Vec2& lodBounds, const Vec2& lodMinMax, const LodPrecision& prec); 108 bool isLookupResultValid (const Texture1DView& texture, const Sampler& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const Vec4& result); 109 bool isLookupResultValid (const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result) [all...] |
tcuTexCompareVerifier.hpp | 55 bool isTexCompareResultValid (const Texture2DView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const Vec2& lodBounds, const float cmpReference, const float result); 56 bool isTexCompareResultValid (const TextureCubeView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmpReference, const float result); 57 bool isTexCompareResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmpReference, const float result); 59 bool isGatherOffsetsCompareResultValid (const Texture2DView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const IVec2 (&offsets)[4], float cmpReference, const Vec4& result);
|
tcuTexLookupVerifier.cpp | 251 const Vec2& fBounds, 289 const Vec2& xBounds, 290 const Vec2& yBounds, 318 const Vec2& xBounds, 319 const Vec2& yBounds, 320 const Vec2& zBounds, 355 const Vec2& xBounds0, 356 const Vec2& xBounds1, 357 const Vec2& zBounds, 392 const Vec2& xBounds0 [all...] |
tcuVectorType.hpp | 39 typedef Vector<float, 2> Vec2;
|
/external/deqp/modules/gles31/functional/ |
es31fTextureFilteringTests.cpp | 138 tcu::Vec2 bottomLeft; 139 tcu::Vec2 topRight; 140 tcu::Vec2 layerRange; 147 FilterCase (const glu::TextureCubeArray* tex_, const tcu::Vec2& bottomLeft_, const tcu::Vec2& topRight_, const tcu::Vec2& layerRange_) 270 m_cases.push_back(FilterCase(tex0, tcu::Vec2(-0.8f, -0.8f), tcu::Vec2(0.8f, 0.8f), tcu::Vec2(-0.5f, float(numLayers)+0.5f))); // minification 271 m_cases.push_back(FilterCase(tex0, tcu::Vec2(0.5f, 0.65f), tcu::Vec2(0.8f, 0.8f), tcu::Vec2(-0.5f, float(numLayers)+0.5f))); // magnificatio [all...] |
es31fMultisampleTests.cpp | 45 using tcu::Vec2; 141 tcu::Vec2 samplePos = tcu::Vec2(-1, -1); 178 void renderTriangle (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec4& c0, const Vec4& c1, const Vec4& c2) const; 179 void renderTriangle (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec4& color) const; 180 void renderQuad (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec2& p3, const Vec4& c0, const Vec4& c1, const Vec4& c (…) [all...] |
/external/deqp/modules/gles2/functional/ |
es2fMultisampleTests.cpp | 50 using tcu::Vec2; 65 Vec2 p0; 66 Vec2 p1; 67 Vec2 p2; 68 Vec2 p3; 70 QuadCorners(const Vec2& p0_, const Vec2& p1_, const Vec2& p2_, const Vec2& p3_) : p0(p0_), p1(p1_), p2(p2_), p3(p3_) {} 189 void renderTriangle (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec4& c0, const Vec4& c1, const Vec4& c2) const [all...] |
es2fVertexTextureTests.cpp | 44 using tcu::Vec2; 106 static inline Vec2 safe2DTexCoords (const Vec2& raw, const IVec2& textureSize) 108 return safeCoords(raw, textureSize, Vec2(0.5f)); 146 Vec2 scale; 147 Vec2 bias; 149 TexTypeCoordParams (const Vec2& scale_, const Vec2& bias_) : scale(scale_), bias(bias_) {} 155 Vec2 scale; 156 Vec2 bias [all...] |
/external/deqp/modules/gles3/functional/ |
es3fMultisampleTests.cpp | 51 using tcu::Vec2; 67 Vec2 p0; 68 Vec2 p1; 69 Vec2 p2; 70 Vec2 p3; 72 QuadCorners(const Vec2& p0_, const Vec2& p1_, const Vec2& p2_, const Vec2& p3_) : p0(p0_), p1(p1_), p2(p2_), p3(p3_) {} 213 void renderTriangle (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec4& c0, const Vec4& c1, const Vec4& c2) const [all...] |
/external/deqp/modules/gles2/accuracy/ |
es2aTextureMipmapTests.cpp | 52 using tcu::Vec2; 186 Vec2 bottomLeft; 187 Vec2 topRight; 190 { Vec2(-0.1f, 0.1f), Vec2( 0.8f, 1.0f) }, 191 { Vec2(-0.3f, -0.6f), Vec2( 0.7f, 0.4f) }, 192 { Vec2(-0.3f, 0.6f), Vec2( 0.7f, -0.9f) }, 193 { Vec2(-0.8f, 0.6f), Vec2( 0.7f, -0.9f) } [all...] |
/external/deqp/modules/gles3/accuracy/ |
es3aTextureMipmapTests.cpp | 50 using tcu::Vec2; 178 Vec2 bottomLeft; 179 Vec2 topRight; 182 { Vec2(-0.1f, 0.1f), Vec2( 0.8f, 1.0f) }, 183 { Vec2(-0.3f, -0.6f), Vec2( 0.7f, 0.4f) }, 184 { Vec2(-0.3f, 0.6f), Vec2( 0.7f, -0.9f) }, 185 { Vec2(-0.8f, 0.6f), Vec2( 0.7f, -0.9f) } [all...] |
/external/deqp/modules/glshared/ |
glsRasterizationTestUtil.cpp | 86 const tcu::Vec2 u (p1.x() / p1.w() - p0.x() / p0.w(), p1.y() / p1.w() - p0.y() / p0.w()); 87 const tcu::Vec2 v (p2.x() / p2.w() - p0.x() / p0.w(), p2.y() / p2.w() - p0.y() / p0.w()); 104 bool pixelNearLineSegment (const tcu::IVec2& pixel, const tcu::Vec2& p0, const tcu::Vec2& p1) 106 const tcu::Vec2 pixelCenterPosition = tcu::Vec2((float)pixel.x() + 0.5f, (float)pixel.y() + 0.5f); 114 const tcu::Vec2 line = p1 - p0; 115 const tcu::Vec2 v = pixelCenterPosition - p0; 145 const tcu::Vec2 triangleNormalizedDeviceSpace[3] = 147 tcu::Vec2(triangle.positions[0].x() / triangle.positions[0].w(), triangle.positions[0].y() / triangle.positi (…) [all...] |
/development/ndk/platforms/android-17/samples/Teapot/jni/ |
TeapotNativeActivity.cpp | 64 void TransformPosition( ndk_helper::Vec2& vec ); 234 ndk_helper::Vec2 v; 241 ndk_helper::Vec2 v; 255 ndk_helper::Vec2 v1; 256 ndk_helper::Vec2 v2; 266 ndk_helper::Vec2 v1; 267 ndk_helper::Vec2 v2; 391 void Engine::TransformPosition( ndk_helper::Vec2& vec ) 393 vec = ndk_helper::Vec2( 2.0f, 2.0f ) * vec 394 / ndk_helper::Vec2( gl_context_->GetScreenWidth(), gl_context_->GetScreenHeight() [all...] |
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/ |
MoreTeapotsNativeActivity.cpp | 74 void TransformPosition( ndk_helper::Vec2& vec ); 245 ndk_helper::Vec2 v; 252 ndk_helper::Vec2 v; 266 ndk_helper::Vec2 v1; 267 ndk_helper::Vec2 v2; 277 ndk_helper::Vec2 v1; 278 ndk_helper::Vec2 v2; 402 void Engine::TransformPosition( ndk_helper::Vec2& vec ) 404 vec = ndk_helper::Vec2( 2.0f, 2.0f ) * vec 405 / ndk_helper::Vec2( gl_context_->GetScreenWidth(), gl_context_->GetScreenHeight() [all...] |
/external/ceres-solver/examples/ |
libmv_homography.cc | 71 typedef Eigen::Matrix<double, 2, 1> Vec2; 136 const Vec2 &x1, 137 const Vec2 &x2) { 138 Vec2 forward_error, backward_error; 247 HomographySymmetricGeometricCostFunctor(const Vec2 &x, 248 const Vec2 &y) 254 typedef Eigen::Matrix<T, 2, 1> Vec2; 257 Vec2 x(T(x_(0)), T(x_(1))); 258 Vec2 y(T(y_(0)), T(y_(1))); 268 const Vec2 x_ [all...] |