/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;
|
/external/swiftshader/third_party/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 Vec2.swap(Vec); 62 EXPECT_EQ(2U, Vec2[0]); 63 EXPECT_EQ(0U, Vec2[1]); 64 EXPECT_EQ(1U, Vec2[2]); 65 EXPECT_EQ(3U, Vec2[3]) [all...] |
/prebuilts/ndk/r11/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...] |
/prebuilts/ndk/r13/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/deqp/framework/common/ |
tcuTexLookupVerifier.hpp | 106 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dudy, const LodPrecision& prec); 107 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dudy, const float dvdy, const LodPrecision& prec); 108 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const float dudy, const float dvdy, const float dwdy, const LodPrecision& prec); 109 Vec2 computeCubeLodBoundsFromDerivates (const Vec3& coord, const Vec3& coordDx, const Vec3& coordDy, const int faceSize, const LodPrecision& prec); 111 Vec2 clampLodBounds (const Vec2& lodBounds, const Vec2& lodMinMax, const LodPrecision& prec); 113 bool isLookupResultValid (const Texture1DView& texture, const Sampler& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const Vec4& result); 114 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);
|
tcuRasterizationVerifier.cpp | 82 const tcu::Vec2 u (p1.x() / p1.w() - p0.x() / p0.w(), p1.y() / p1.w() - p0.y() / p0.w()); 83 const tcu::Vec2 v (p2.x() / p2.w() - p0.x() / p0.w(), p2.y() / p2.w() - p0.y() / p0.w()); 100 bool pixelNearLineSegment (const tcu::IVec2& pixel, const tcu::Vec2& p0, const tcu::Vec2& p1) 102 const tcu::Vec2 pixelCenterPosition = tcu::Vec2((float)pixel.x() + 0.5f, (float)pixel.y() + 0.5f); 110 const tcu::Vec2 line = p1 - p0; 111 const tcu::Vec2 v = pixelCenterPosition - p0; 141 const tcu::Vec2 triangleNormalizedDeviceSpace[3] = 143 tcu::Vec2(triangle.positions[0].x() / triangle.positions[0].w(), triangle.positions[0].y() / triangle.positi (…) [all...] |
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 | 139 tcu::Vec2 bottomLeft; 140 tcu::Vec2 topRight; 141 tcu::Vec2 layerRange; 148 FilterCase (const glu::TextureCubeArray* tex_, const tcu::Vec2& bottomLeft_, const tcu::Vec2& topRight_, const tcu::Vec2& layerRange_) 271 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 272 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); 177 void renderTriangle (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec4& c0, const Vec4& c1, const Vec4& c2) const; 178 void renderTriangle (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec4& color) const; 179 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 | 46 using tcu::Vec2; 109 static inline Vec2 safe2DTexCoords (const Vec2& raw, const IVec2& textureSize) 111 return safeCoords(raw, textureSize, Vec2(0.5f)); 149 Vec2 scale; 150 Vec2 bias; 152 TexTypeCoordParams (const Vec2& scale_, const Vec2& bias_) : scale(scale_), bias(bias_) {} 158 Vec2 scale; 159 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 | 53 using tcu::Vec2; 188 Vec2 bottomLeft; 189 Vec2 topRight; 192 { Vec2(-0.1f, 0.1f), Vec2( 0.8f, 1.0f) }, 193 { Vec2(-0.3f, -0.6f), Vec2( 0.7f, 0.4f) }, 194 { Vec2(-0.3f, 0.6f), Vec2( 0.7f, -0.9f) }, 195 { Vec2(-0.8f, 0.6f), Vec2( 0.7f, -0.9f) } [all...] |
/external/deqp/modules/gles3/accuracy/ |
es3aTextureMipmapTests.cpp | 50 using tcu::Vec2; 179 Vec2 bottomLeft; 180 Vec2 topRight; 183 { Vec2(-0.1f, 0.1f), Vec2( 0.8f, 1.0f) }, 184 { Vec2(-0.3f, -0.6f), Vec2( 0.7f, 0.4f) }, 185 { Vec2(-0.3f, 0.6f), Vec2( 0.7f, -0.9f) }, 186 { Vec2(-0.8f, 0.6f), Vec2( 0.7f, -0.9f) } [all...] |
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
vktSampleVerifierUtil.hpp | 47 tcu::Vec2 calcLodBounds (const tcu::Vec3& dPdx, 53 tcu::UVec2 calcLevelBounds (const tcu::Vec2& lodBounds, 56 tcu::Vec2 calcLevelLodBounds (const tcu::Vec2& lodBounds, 81 tcu::Vec2& coordFace, 82 tcu::Vec2& dPdxFace, 83 tcu::Vec2& dPdyFace);
|