/third_party/vixl/examples/aarch64/ |
H A D | neon-matrix-multiply.cc | 64 // mat2 -> x2 in GenerateNEONMatrixMultiply() 117 float mat1[kLength], mat2[kLength], output[kLength]; in main() local 144 mat2[0] = 1.0f; in main() 145 mat2[4] = 11.24f; in main() 146 mat2[8] = 21.00f; in main() 147 mat2[12] = 21.31f; in main() 148 mat2[1] = 2.0f; in main() 149 mat2[5] = 2.24f; in main() 150 mat2[9] = 8.56f; in main() 151 mat2[1 in main() [all...] |
/third_party/vixl/test/aarch64/examples/ |
H A D | test-examples.cc | 250 float mat1[kLength], mat2[kLength], expected[kLength], output[kLength]; in TEST() local 271 mat2[0] = 1.0f; in TEST() 272 mat2[4] = 11.24f; in TEST() 273 mat2[8] = 21.00f; in TEST() 274 mat2[12] = 21.31f; in TEST() 275 mat2[1] = 2.0f; in TEST() 276 mat2[5] = 2.24f; in TEST() 277 mat2[9] = 8.56f; in TEST() 278 mat2[13] = 52.03f; in TEST() 279 mat2[ in TEST() [all...] |
/foundation/window/window_manager/utils/test/unittest/ |
H A D | window_helper_test.cpp | 251 TransformHelper::Matrix4 mat2 = TransformHelper::CreateTranslation(-pivotPos2); in HWTEST_F() local 252 mat2 *= WindowHelper::ComputeWorldTransformMat4(transform2); in HWTEST_F() 253 mat2 *= TransformHelper::CreateTranslation(pivotPos2); in HWTEST_F() 256 ASSERT_EQ(true, MathHelper::NearZero(mat1.mat_[i][j] - mat2.mat_[i][j])); in HWTEST_F()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
H A D | Initialize.cpp | 148 TType *mat2 = new TType(EbtFloat, 2, 2); in InsertBuiltInFunctions() local 161 symbolTable.insertBuiltIn(COMMON_BUILTINS, EOpMul, mat2, "matrixCompMult", mat2, mat2); in InsertBuiltInFunctions() 171 symbolTable.insertBuiltIn(ESSL3_BUILTINS, EOpOuterProduct, mat2, "outerProduct", float2, float2); in InsertBuiltInFunctions() 181 symbolTable.insertBuiltIn(ESSL3_BUILTINS, EOpTranspose, mat2, "transpose", mat2); in InsertBuiltInFunctions() 191 symbolTable.insertBuiltIn(ESSL3_BUILTINS, EOpDeterminant, float1, "determinant", mat2); in InsertBuiltInFunctions() 195 symbolTable.insertBuiltIn(ESSL3_BUILTINS, EOpInverse, mat2, "inverse", mat2); in InsertBuiltInFunctions() [all...] |
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/ |
H A D | scalar_multiplication.hpp | 58 GLM_IMPLEMENT_SCAL_MULT(mat2)
|
H A D | type_aligned.hpp | 738 GLM_ALIGNED_TYPEDEF(mat2, aligned_mat2, 16);
|
/third_party/libphonenumber/cpp/test/phonenumbers/ |
H A D | regexp_adapter_test.cc | 178 string mat1, mat2, res3, res4, res5, res6; in TEST_F() local 180 input_with_six_digit_groups.get(), false, &mat1, &mat2, &res3, &res4, in TEST_F() 188 ASSERT_EQ("222", mat2) << ErrorMessage(context); in TEST_F()
|
/third_party/skia/tests/ |
H A D | MatrixTest.cpp | 947 SkMatrix mat2; in DEF_TEST() local 948 mat2.reset(); in DEF_TEST() 952 REPORTER_ASSERT(reporter, are_equal(reporter, mat, mat2)); in DEF_TEST() 954 mat2.reset(); in DEF_TEST() 957 mat2.set(SkMatrix::kMSkewX, SK_ScalarNaN); in DEF_TEST() 958 REPORTER_ASSERT(reporter, !are_equal(reporter, mat, mat2)); in DEF_TEST() 970 mat2.setScale(2, 3).postTranslate(1, 4); in DEF_TEST() 971 REPORTER_ASSERT(reporter, mat == mat2); in DEF_TEST()
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/ |
H A D | type_mat.hpp | 406 typedef mat2x2 mat2; typedef
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderBuiltinPrecisionTests.cpp | 3534 ExprP<Matrix<T, Rows, 2> > mat2 (const ExprP<Vector<T, Rows> >& arg0, in mat2() function 5022 return mat2(vec2(mat[1][1] / det, -mat[0][1] / det), in doExpand() 5041 inverse(mat2(vec2(mat[0][0], mat[0][1]), in doExpand() 5081 inverse(mat2(vec2(mat[0][0], mat[0][1]), in doExpand() 5084 mat2(vec2(mat[2][0], mat[2][1]), in doExpand() 5087 mat2(vec2(mat[0][2], mat[0][3]), in doExpand() 5090 mat2(vec2(mat[2][2], mat[2][3]), in doExpand() 5123 return mat2(vec2((mat[1][1] / det), (-mat[0][1] / det)), in doExpand() 5142 inverse(mat2(vec2(mat[0][0], mat[0][1]), in doExpand() 5182 inverse(mat2(vec in doExpand() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
H A D | vktShaderBuiltinPrecisionTests.cpp | 3523 ExprP<Matrix<T, Rows, 2> > mat2 (const ExprP<Vector<T, Rows> >& arg0, in mat2() function 5011 return mat2(vec2(mat[1][1] / det, -mat[0][1] / det), in doExpand() 5030 inverse(mat2(vec2(mat[0][0], mat[0][1]), in doExpand() 5070 inverse(mat2(vec2(mat[0][0], mat[0][1]), in doExpand() 5073 mat2(vec2(mat[2][0], mat[2][1]), in doExpand() 5076 mat2(vec2(mat[0][2], mat[0][3]), in doExpand() 5079 mat2(vec2(mat[2][2], mat[2][3]), in doExpand() 5112 return mat2(vec2((mat[1][1] / det), (-mat[0][1] / det)), in doExpand() 5131 inverse(mat2(vec2(mat[0][0], mat[0][1]), in doExpand() 5171 inverse(mat2(vec in doExpand() [all...] |
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/pipeline/ |
H A D | rs_base_render_util_unit_test.cpp | 35 void CompareMatrix(float mat1[], float mat2[]); 114 void RsBaseRenderUtilTest::CompareMatrix(float mat1[], float mat2[]) in CompareMatrix() argument 117 ASSERT_EQ(mat1[i], mat2[i]); in CompareMatrix()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_base_render_util_test.cpp | 35 void CompareMatrix(float mat1[], float mat2[]); 115 void RSBaseRenderUtilTest::CompareMatrix(float mat1[], float mat2[]) in CompareMatrix() argument 118 ASSERT_EQ(mat1[i], mat2[i]); in CompareMatrix()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsBuiltinPrecisionTests.cpp | 2738 ExprP<Matrix<T, Rows, 2> > mat2 (const ExprP<Vector<T, Rows> >& arg0, in mat2() function 3834 return mat2(vec2(mat[1][1] / det, -mat[0][1] / det), in doExpand() 3853 inverse(mat2(vec2(mat[0][0], mat[0][1]), in doExpand() 3893 inverse(mat2(vec2(mat[0][0], mat[0][1]), in doExpand() 3896 mat2(vec2(mat[2][0], mat[2][1]), in doExpand() 3899 mat2(vec2(mat[0][2], mat[0][3]), in doExpand() 3902 mat2(vec2(mat[2][2], mat[2][3]), in doExpand() 4942 const Matrix<T, Rows, Cols>& mat2) const in operator ()() 4946 if (inputLess(mat1[col], mat2[col])) in operator ()() 4948 if (inputLess(mat2[co in operator ()() [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | builtin_types.cpp | 151 T(mat2, 110, 100)
|
/third_party/mesa3d/src/compiler/ |
H A D | builtin_type_macros.h | 56 DECL_TYPE(mat2, GL_FLOAT_MAT2, GLSL_TYPE_FLOAT, 2, 2)
|
/third_party/astc-encoder/Source/ |
H A D | astcenc_ideal_endpoints_and_weights.cpp | 1193 vfloat4 mat2(RYP, RQX, (S * Y - QQ) * X - Y * PP, mRYX); 1199 dot_s(mat2, vect),
|
/third_party/skia/src/ports/ |
H A D | SkFontHost_win.cpp | 173 static const MAT2 mat2 = {{0, 1}, {0, 0}, {0, 0}, {0, 1}}; in calculateGlyphCount() local 180 nullptr, &mat2) == GDI_ERROR) { in calculateGlyphCount()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cEnhancedLayoutsTests.hpp | 116 static const Type mat2; member
|
H A D | gl4cEnhancedLayoutsTests.cpp | 157 const Type Type::mat2 = Type::GetType(Type::Float, 2, 2); member in gl4cts::EnhancedLayouts::Utils::Type 459 { 0, "mat2", "mat2x3", "mat2x4" }, in GetGLSLTypeName() 5463 type = Utils::Type::mat2; in getType() 23100 Note: the type can be float, double, mat2, mat3x2, dmat2, dmat3x2..., so to make the each variable of "captured_varyings" has the same xfb_offset with the above shaders, in test()
|