/external/autotest/client/deps/webgl_mpd/src/resources/ |
D | J3DIMath.js | 31 J3DIMatrix4 - A 4x4 Matrix 37 This class implements a 4x4 matrix. It has functions which duplicate the 38 functionality of the OpenGL matrix stack and glut functions. On browsers 44 … Constructor(in J3DIMatrix4 matrix), // copy passed matrix into new J3DIMatrix4 46 … Constructor() // create new J3DIMatrix4 with identity matrix 49 … void load(in J3DIMatrix4 matrix); // copy the values from the passed matrix 50 void load(in sequence<float> array); // copy 16 floats into the matrix 51 … sequence<float> getAsArray(); // return the matrix as an array of 16 floats 52 …Float32Array getAsFloat32Array(); // return the matrix as a Float32Array with 16 values 53 …void setUniform(in WebGLRenderingContext ctx, // Send the matrix to the passed uniform locat… [all …]
|
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowMatrixTest.java | 5 import android.graphics.Matrix; 22 Matrix m = new Matrix(); in preOperationsAreStacked() 33 Matrix m = new Matrix(); in postOperationsAreQueued() 44 Matrix m = new Matrix(); in setOperationsOverride() 59 final Matrix matrix = new Matrix(); in set_shouldAddOpsToMatrix() local 60 matrix.setScale(1, 1); in set_shouldAddOpsToMatrix() 61 matrix.preScale(2, 2, 2, 2); in set_shouldAddOpsToMatrix() 62 matrix.postScale(3, 3, 3, 3); in set_shouldAddOpsToMatrix() 64 final ShadowMatrix shadow = Shadow.extract(matrix); in set_shouldAddOpsToMatrix() 72 final Matrix matrix = new Matrix(); in setScale_shouldAddOpsToMatrix() local [all …]
|
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/shadows/ |
D | ShadowNativeMatrixTest.java | 7 import android.graphics.Matrix; 23 final Matrix matrix = new Matrix(); in testIsIdentity() local 24 assertThat(matrix.isIdentity()).isTrue(); in testIsIdentity() 26 matrix.postScale(2.0f, 2.0f); in testIsIdentity() 27 assertThat(matrix.isIdentity()).isFalse(); in testIsIdentity() 32 final Matrix matrix = new Matrix(); in testIsAffine() local 33 assertThat(matrix.isAffine()).isTrue(); in testIsAffine() 35 matrix.postScale(2.0f, 2.0f); in testIsAffine() 36 assertThat(matrix.isAffine()).isTrue(); in testIsAffine() 37 matrix.postTranslate(1.0f, 2.0f); in testIsAffine() [all …]
|
/external/zxing/core/src/test/java/com/google/zxing/qrcode/encoder/ |
D | MaskUtilTestCase.java | 30 ByteMatrix matrix = new ByteMatrix(4, 1); in testApplyMaskPenaltyRule1() local 31 matrix.set(0, 0, 0); in testApplyMaskPenaltyRule1() 32 matrix.set(1, 0, 0); in testApplyMaskPenaltyRule1() 33 matrix.set(2, 0, 0); in testApplyMaskPenaltyRule1() 34 matrix.set(3, 0, 0); in testApplyMaskPenaltyRule1() 35 assertEquals(0, MaskUtil.applyMaskPenaltyRule1(matrix)); in testApplyMaskPenaltyRule1() 37 matrix = new ByteMatrix(6, 1); in testApplyMaskPenaltyRule1() 38 matrix.set(0, 0, 0); in testApplyMaskPenaltyRule1() 39 matrix.set(1, 0, 0); in testApplyMaskPenaltyRule1() 40 matrix.set(2, 0, 0); in testApplyMaskPenaltyRule1() [all …]
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | hlsl.matType.int.frag.out | 9 0:25 move second child to first child ( temp 1X1 matrix of int) 10 0:25 'r00' ( temp 1X1 matrix of int) 11 0:25 transpose ( temp 1X1 matrix of int) 12 0:25 'i1x1' ( temp 1X1 matrix of int) 14 0:26 move second child to first child ( temp 1X2 matrix of int) 15 0:26 'r01' ( temp 1X2 matrix of int) 16 0:26 transpose ( temp 1X2 matrix of int) 17 0:26 'i2x1' ( temp 2X1 matrix of int) 19 0:27 move second child to first child ( temp 1X3 matrix of int) 20 0:27 'r02' ( temp 1X3 matrix of int) [all …]
|
D | hlsl.mul-truncate.frag.out | 2 WARNING: 0:24: '' : mul() matrix size mismatch 3 WARNING: 0:25: '' : mul() matrix size mismatch 4 WARNING: 0:28: '' : mul() matrix size mismatch 5 WARNING: 0:29: '' : mul() matrix size mismatch 6 WARNING: 0:32: '' : mul() matrix size mismatch 7 WARNING: 0:33: '' : mul() matrix size mismatch 8 WARNING: 0:34: '' : mul() matrix size mismatch 9 WARNING: 0:35: '' : mul() matrix size mismatch 22 …matrix of float m44, layout( row_major std140) uniform 4X3 matrix of float m43, layout( row_major … 27 …matrix of float m44, layout( row_major std140) uniform 4X3 matrix of float m43, layout( row_major … [all …]
|
D | matrix2.frag.out | 12 0:21 move second child to first child ( temp 3X4 matrix of float) 13 0:21 'm34' ( temp 3X4 matrix of float) 14 0:21 outer product ( global 3X4 matrix of float) 17 0:23 add second child into first child ( temp 3X4 matrix of float) 18 0:23 'm34' ( temp 3X4 matrix of float) 41 0:26 vector-times-matrix ( temp 3-component vector of float) 43 0:26 'm34' ( temp 3X4 matrix of float) 46 0:28 matrix scale second child into first child ( temp 3X4 matrix of float) 47 0:28 'm34' ( temp 3X4 matrix of float) 53 0:30 move second child to first child ( temp 4X4 matrix of float) [all …]
|
D | hlsl.type.type.conversion.all.frag.out | 2 ERROR: 0:88: '=' : cannot convert from ' const 2X2 matrix of float' to ' temp 2-component vector o… 3 ERROR: 0:89: '=' : cannot convert from ' const 2X3 matrix of float' to ' temp 2-component vector o… 4 ERROR: 0:90: '=' : cannot convert from ' const 2X4 matrix of float' to ' temp 2-component vector o… 5 ERROR: 0:91: '=' : cannot convert from ' const 3X2 matrix of float' to ' temp 2-component vector o… 6 ERROR: 0:92: '=' : cannot convert from ' const 3X3 matrix of float' to ' temp 2-component vector o… 7 ERROR: 0:93: '=' : cannot convert from ' const 3X4 matrix of float' to ' temp 2-component vector o… 8 ERROR: 0:94: '=' : cannot convert from ' const 4X2 matrix of float' to ' temp 2-component vector o… 9 ERROR: 0:95: '=' : cannot convert from ' const 4X3 matrix of float' to ' temp 2-component vector o… 10 ERROR: 0:96: '=' : cannot convert from ' const 4X4 matrix of float' to ' temp 2-component vector o… 12 ERROR: 0:98: '=' : cannot convert from ' const 2X2 matrix of float' to ' temp 3-component vector o… [all …]
|
D | hlsl.matpack-pragma.frag.out | 17 0:31 mat1: direct index for structure (layout( row_major) temp 4X4 matrix of flo… 18 …row_major) temp 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, lay… 19 …matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( column_major) t… 27 0:31 mat2: direct index for structure (layout( column_major) temp 4X4 matrix of … 28 …row_major) temp 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, lay… 29 …matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( column_major) t… 37 0:31 mat3: direct index for structure (layout( column_major) temp 4X4 matrix of fl… 38 …row_major) temp 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, lay… 39 …matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( column_major) t… 47 0:32 mat1: direct index for structure (layout( row_major) temp 4X4 matrix of float) [all …]
|
D | hlsl.matType.bool.frag.out | 9 0:25 move second child to first child ( temp 1X1 matrix of bool) 10 0:25 'r00' ( temp 1X1 matrix of bool) 11 0:25 transpose ( temp 1X1 matrix of bool) 12 0:25 'b1x1' ( temp 1X1 matrix of bool) 14 0:26 move second child to first child ( temp 1X2 matrix of bool) 15 0:26 'r01' ( temp 1X2 matrix of bool) 16 0:26 transpose ( temp 1X2 matrix of bool) 17 0:26 'b2x1' ( temp 2X1 matrix of bool) 19 0:27 move second child to first child ( temp 1X3 matrix of bool) 20 0:27 'r02' ( temp 1X3 matrix of bool) [all …]
|
/external/angle/third_party/glslang/src/Test/baseResults/ |
D | hlsl.matType.int.frag.out | 9 0:25 move second child to first child ( temp 1X1 matrix of int) 10 0:25 'r00' ( temp 1X1 matrix of int) 11 0:25 transpose ( temp 1X1 matrix of int) 12 0:25 'i1x1' ( temp 1X1 matrix of int) 14 0:26 move second child to first child ( temp 1X2 matrix of int) 15 0:26 'r01' ( temp 1X2 matrix of int) 16 0:26 transpose ( temp 1X2 matrix of int) 17 0:26 'i2x1' ( temp 2X1 matrix of int) 19 0:27 move second child to first child ( temp 1X3 matrix of int) 20 0:27 'r02' ( temp 1X3 matrix of int) [all …]
|
D | hlsl.mul-truncate.frag.out | 2 WARNING: 0:24: '' : mul() matrix size mismatch 3 WARNING: 0:25: '' : mul() matrix size mismatch 4 WARNING: 0:28: '' : mul() matrix size mismatch 5 WARNING: 0:29: '' : mul() matrix size mismatch 6 WARNING: 0:32: '' : mul() matrix size mismatch 7 WARNING: 0:33: '' : mul() matrix size mismatch 8 WARNING: 0:34: '' : mul() matrix size mismatch 9 WARNING: 0:35: '' : mul() matrix size mismatch 22 …matrix of float m44, layout( row_major std140) uniform 4X3 matrix of float m43, layout( row_major … 27 …matrix of float m44, layout( row_major std140) uniform 4X3 matrix of float m43, layout( row_major … [all …]
|
D | matrix2.frag.out | 12 0:21 move second child to first child ( temp 3X4 matrix of float) 13 0:21 'm34' ( temp 3X4 matrix of float) 14 0:21 outer product ( global 3X4 matrix of float) 17 0:23 add second child into first child ( temp 3X4 matrix of float) 18 0:23 'm34' ( temp 3X4 matrix of float) 41 0:26 vector-times-matrix ( temp 3-component vector of float) 43 0:26 'm34' ( temp 3X4 matrix of float) 46 0:28 matrix scale second child into first child ( temp 3X4 matrix of float) 47 0:28 'm34' ( temp 3X4 matrix of float) 53 0:30 move second child to first child ( temp 4X4 matrix of float) [all …]
|
D | hlsl.type.type.conversion.all.frag.out | 2 ERROR: 0:88: '=' : cannot convert from ' const 2X2 matrix of float' to ' temp 2-component vector o… 3 ERROR: 0:89: '=' : cannot convert from ' const 2X3 matrix of float' to ' temp 2-component vector o… 4 ERROR: 0:90: '=' : cannot convert from ' const 2X4 matrix of float' to ' temp 2-component vector o… 5 ERROR: 0:91: '=' : cannot convert from ' const 3X2 matrix of float' to ' temp 2-component vector o… 6 ERROR: 0:92: '=' : cannot convert from ' const 3X3 matrix of float' to ' temp 2-component vector o… 7 ERROR: 0:93: '=' : cannot convert from ' const 3X4 matrix of float' to ' temp 2-component vector o… 8 ERROR: 0:94: '=' : cannot convert from ' const 4X2 matrix of float' to ' temp 2-component vector o… 9 ERROR: 0:95: '=' : cannot convert from ' const 4X3 matrix of float' to ' temp 2-component vector o… 10 ERROR: 0:96: '=' : cannot convert from ' const 4X4 matrix of float' to ' temp 2-component vector o… 12 ERROR: 0:98: '=' : cannot convert from ' const 2X2 matrix of float' to ' temp 3-component vector o… [all …]
|
D | hlsl.matpack-pragma.frag.out | 17 0:31 mat1: direct index for structure (layout( row_major) temp 4X4 matrix of flo… 18 …row_major) temp 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, lay… 19 …matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( column_major) t… 27 0:31 mat2: direct index for structure (layout( column_major) temp 4X4 matrix of … 28 …row_major) temp 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, lay… 29 …matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( column_major) t… 37 0:31 mat3: direct index for structure (layout( column_major) temp 4X4 matrix of fl… 38 …row_major) temp 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, lay… 39 …matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( column_major) t… 47 0:32 mat1: direct index for structure (layout( row_major) temp 4X4 matrix of float) [all …]
|
D | hlsl.matType.bool.frag.out | 9 0:25 move second child to first child ( temp 1X1 matrix of bool) 10 0:25 'r00' ( temp 1X1 matrix of bool) 11 0:25 transpose ( temp 1X1 matrix of bool) 12 0:25 'b1x1' ( temp 1X1 matrix of bool) 14 0:26 move second child to first child ( temp 1X2 matrix of bool) 15 0:26 'r01' ( temp 1X2 matrix of bool) 16 0:26 transpose ( temp 1X2 matrix of bool) 17 0:26 'b2x1' ( temp 2X1 matrix of bool) 19 0:27 move second child to first child ( temp 1X3 matrix of bool) 20 0:27 'r02' ( temp 1X3 matrix of bool) [all …]
|
/external/sdv/vsomeip/third_party/boost/numeric/ublas/include/boost/numeric/ublas/ |
D | matrix_vector.hpp | 23 /** \brief Iterator used in the represention of a matrix as a vector of rows or columns 25 * Iterator used in the represention of a matrix as a vector of rows/columns. It refers 26 * to the i-th element of the matrix, a column or a row depending of Reference type. 28 * The type of Reference should provide a constructor Reference(matrix, i) 30 * This iterator is invalidated when the underlying matrix is resized. 32 * \tparameter Matrix type of matrix that is represented as a vector of row/column 33 * \tparameter Reference Matrix row or matrix column type. 35 template<class Matrix, class Reference> 37 matrix_vector_iterator<Matrix,Reference>, 47 matrix_vector_iterator(Matrix& matrix, std::size_t position) in matrix_vector_iterator() argument [all …]
|
/external/bazelbuild-rules_rust/examples/ffi/rust_calling_c/c/ |
D | matrix.c | 15 #include "ffi/rust_calling_c/c/matrix.h" 20 Matrix* matrix_new(size_t rows, size_t cols, const uint64_t* data) { in matrix_new() 24 Matrix* matrix = (Matrix*)malloc(sizeof(*matrix)); in matrix_new() local 25 if (matrix == NULL) { in matrix_new() 28 matrix->rows = rows; in matrix_new() 29 matrix->cols = cols; in matrix_new() 30 matrix->data = (uint64_t*)malloc(rows * cols * sizeof(*(matrix->data))); in matrix_new() 31 memcpy(matrix->data, data, rows * cols * sizeof(*data)); in matrix_new() 32 return matrix; in matrix_new() 35 int matrix_at(const Matrix* matrix, size_t row, size_t col, uint64_t* n) { in matrix_at() argument [all …]
|
/external/deqp/framework/common/ |
D | tcuMatrix.hpp | 23 * \brief Templatized matrix class. 33 // Templated matrix class. 35 class Matrix class 48 Matrix(void); 49 explicit Matrix(const T &src); 50 explicit Matrix(const T src[Rows * Cols]); 51 Matrix(const Vector<T, Rows> &src); 52 Matrix(const Matrix<T, Rows, Cols> &src); 53 ~Matrix(void); 55 Matrix<T, Rows, Cols> &operator=(const Matrix<T, Rows, Cols> &src); [all …]
|
/external/zxing/core/src/test/java/com/google/zxing/common/ |
D | BitMatrixTestCase.java | 34 BitMatrix matrix = new BitMatrix(33); in testGetSet() local 35 assertEquals(33, matrix.getHeight()); in testGetSet() 39 matrix.set(x, y); in testGetSet() 45 assertEquals(y * x % 3 == 0, matrix.get(x, y)); in testGetSet() 52 BitMatrix matrix = new BitMatrix(5); in testSetRegion() local 53 matrix.setRegion(1, 1, 3, 3); in testSetRegion() 56 assertEquals(y >= 1 && y <= 3 && x >= 1 && x <= 3, matrix.get(x, y)); in testSetRegion() 63 BitMatrix matrix = new BitMatrix(5); in testEnclosing() local 64 assertNull(matrix.getEnclosingRectangle()); in testEnclosing() 65 matrix.setRegion(1, 1, 1, 1); in testEnclosing() [all …]
|
/external/skia/platform_tools/android/apps/jetski/src/main/java/org/skia/jetski/ |
D | Matrix.java | 11 * 4x4 matrix backed by SkM44 13 public class Matrix { class 17 * Returns identity Matrix 19 public Matrix() { in Matrix() method in Matrix 27 * Returns Matrix populated with values passed in (row-major order). 29 public Matrix(float m0, float m4, float m8, float m12, in Matrix() method in Matrix 39 Matrix(long nativeInstance) { in Matrix() method in Matrix 43 public static Matrix makeLookAt(float eyeX, float eyeY, float eyeZ, in makeLookAt() 46 return new Matrix(nCreateLookAt(eyeX, eyeY, eyeZ, in makeLookAt() 51 public static Matrix makePerspective(float near, float far, float angle) { in makePerspective() [all …]
|
/external/oboe/samples/RhythmGame/third_party/glm/gtc/ |
D | matrix_integer.hpp | 34 /// High-precision signed integer 2x2 matrix. 38 /// High-precision signed integer 3x3 matrix. 42 /// High-precision signed integer 4x4 matrix. 46 /// High-precision signed integer 2x2 matrix. 50 /// High-precision signed integer 2x3 matrix. 54 /// High-precision signed integer 2x4 matrix. 58 /// High-precision signed integer 3x2 matrix. 62 /// High-precision signed integer 3x3 matrix. 66 /// High-precision signed integer 3x4 matrix. 70 /// High-precision signed integer 4x2 matrix. [all …]
|
/external/webrtc/audio/utility/ |
D | channel_mixing_matrix_unittest.cc | 25 // Also ensure that the channel matrix fulfill certain conditions when remapping 56 std::vector<std::vector<float>> matrix; in TEST() local 57 bool remapping = matrix_builder.CreateTransformationMatrix(&matrix); in TEST() 67 EXPECT_EQ(static_cast<size_t>(input_channels), matrix[i].size()); in TEST() 70 float scale = matrix[i][j]; in TEST() 92 std::vector<std::vector<float>> matrix; in TEST() local 93 bool remapping = matrix_builder.CreateTransformationMatrix(&matrix); in TEST() 100 EXPECT_EQ(1u, matrix.size()); in TEST() 101 EXPECT_EQ(2u, matrix[0].size()); in TEST() 102 EXPECT_EQ(0.5f, matrix[0][0]); in TEST() [all …]
|
/external/bazelbuild-rules_rust/examples/ffi/rust_calling_c/src/ |
D | matrix.rs | 22 /// Wrapper around pointer to FFI Matrix struct. 23 pub struct Matrix { struct 24 matrix: *mut ffi::Matrix, argument 27 /// Wrapper around low-level FFI Matrix API. 28 impl Matrix { implementation 29 /// Constructs a new Matrix from the given data. Matrix returned contains a copy of the data 34 /// If rows * cols does not equal data.len() or if matrix could not be allocated. 35 pub fn new(rows: usize, cols: usize, data: &[u64]) -> Matrix { in new() argument 47 let matrix: *mut ffi::Matrix = ffi::matrix_new(rows, cols, data_copy.as_ptr()); in new() localVariable 48 if matrix.is_null() { in new() [all …]
|
/external/OpenCL-CLHPP/.github/workflows/ |
D | windows.yml | 9 matrix: 17 …_URL: https://github.com/Kitware/CMake/releases/download/v${{matrix.CMAKE}}/cmake-${{matrix.CMAKE}… 18 CMAKE_EXE: C:\Tools\Kitware\CMake\${{matrix.CMAKE}}\bin\cmake.exe 19 CTEST_EXE: C:\Tools\Kitware\CMake\${{matrix.CMAKE}}\bin\ctest.exe 44 … Invoke-WebRequest ${env:CMAKE_URL} -OutFile ~\Downloads\cmake-${{matrix.CMAKE}}-windows-x86_64.zip 45 …Expand-Archive ~\Downloads\cmake-${{matrix.CMAKE}}-windows-x86_64.zip -DestinationPath C:\Tools\Ki… 46 Rename-Item C:\Tools\Kitware\CMake\* ${{matrix.CMAKE}} 54 if: matrix.GEN == 'Visual Studio 17 2022' 58 if /I "${{matrix.BIN}}"=="x86" (set BIN=Win32) else (set BIN=x64) 59 … -G "${{matrix.GEN}}" -A %BIN% -T ${{matrix.VER}} -D CMAKE_C_FLAGS=%C_FLAGS% -D CMAKE_C_STANDARD=$… [all …]
|