/external/deqp/framework/common/ |
D | tcuMatrix.hpp | 34 template <typename T, int Rows, int Cols> 38 typedef Vector<T, Rows> Element; 44 ROWS = Rows, 50 explicit Matrix (const T src[Rows*Cols]); 51 Matrix (const Vector<T, Rows>& src); 52 Matrix (const Matrix<T, Rows, Cols>& src); 55 Matrix<T, Rows, Cols>& operator= (const Matrix<T, Rows, Cols>& src); 56 Matrix<T, Rows, Cols>& operator*= (const Matrix<T, Rows, Cols>& src); 59 void setColumn (int colNdx, const Vector<T, Rows>& vec); 62 Vector<T, Rows>& getColumn (int ndx); [all …]
|
D | tcuMatrixUtil.hpp | 36 template <typename T, int Rows, int Cols> 37 Matrix<T, Cols, Rows> transpose (const Matrix<T, Rows, Cols>& mat); 60 template <typename T, int Rows, int Cols> 61 inline Matrix<T, Cols, Rows> transpose (const Matrix<T, Rows, Cols>& mat) in transpose() argument 63 Matrix<T, Cols, Rows> res; in transpose() 64 for (int row = 0; row < Rows; row++) in transpose()
|
/external/llvm/include/llvm/CodeGen/PBQP/ |
D | Math.h | 169 Matrix(unsigned Rows, unsigned Cols) : in Matrix() argument 170 Rows(Rows), Cols(Cols), Data(new PBQPNum[Rows * Cols]) { in Matrix() 175 Matrix(unsigned Rows, unsigned Cols, PBQPNum InitVal) in Matrix() argument 176 : Rows(Rows), Cols(Cols), Data(new PBQPNum[Rows * Cols]) { in Matrix() 177 std::fill(Data, Data + (Rows * Cols), InitVal); in Matrix() 182 : Rows(M.Rows), Cols(M.Cols), Data(new PBQPNum[Rows * Cols]) { in Matrix() 183 std::copy(M.Data, M.Data + (Rows * Cols), Data); in Matrix() 188 : Rows(M.Rows), Cols(M.Cols), Data(M.Data) { in Matrix() 189 M.Rows = M.Cols = 0; in Matrix() 199 Rows = M.Rows; Cols = M.Cols; [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/PBQP/ |
D | Math.h | 128 Matrix(unsigned Rows, unsigned Cols) : in Matrix() argument 129 Rows(Rows), Cols(Cols), Data(llvm::make_unique<PBQPNum []>(Rows * Cols)) { in Matrix() 134 Matrix(unsigned Rows, unsigned Cols, PBQPNum InitVal) in Matrix() argument 135 : Rows(Rows), Cols(Cols), in Matrix() 136 Data(llvm::make_unique<PBQPNum []>(Rows * Cols)) { in Matrix() 137 std::fill(Data.get(), Data.get() + (Rows * Cols), InitVal); in Matrix() 142 : Rows(M.Rows), Cols(M.Cols), in Matrix() 143 Data(llvm::make_unique<PBQPNum []>(Rows * Cols)) { in Matrix() 144 std::copy(M.Data.get(), M.Data.get() + (Rows * Cols), Data.get()); in Matrix() 149 : Rows(M.Rows), Cols(M.Cols), Data(std::move(M.Data)) { in Matrix() [all …]
|
/external/eigen/test/ |
D | dense_storage.cpp | 14 template <typename T, int Rows, int Cols> 17 static const int Size = ((Rows==Dynamic || Cols==Dynamic) ? Dynamic : Rows*Cols); in dense_storage_copy() 18 typedef DenseStorage<T,Size, Rows,Cols, 0> DenseStorageType; in dense_storage_copy() 20 const int rows = (Rows==Dynamic) ? 4 : Rows; in dense_storage_copy() 34 template <typename T, int Rows, int Cols> 37 static const int Size = ((Rows==Dynamic || Cols==Dynamic) ? Dynamic : Rows*Cols); in dense_storage_assignment() 38 typedef DenseStorage<T,Size, Rows,Cols, 0> DenseStorageType; in dense_storage_assignment() 40 const int rows = (Rows==Dynamic) ? 4 : Rows; in dense_storage_assignment()
|
D | product_small.cpp | 43 template<typename T, int Rows, int Cols, int Depth, int OC, int OA, int OB> 44 typename internal::enable_if<! ( (Rows ==1&&Depth!=1&&OA==ColMajor) 45 || (Depth==1&&Rows !=1&&OA==RowMajor) 48 || (Rows ==1&&Cols !=1&&OC==ColMajor) 49 || (Cols ==1&&Rows !=1&&OC==RowMajor)),void>::type 52 Matrix<T,Rows,Depth,OA> A(rows,depth); A.setRandom(); in test_lazy_single() 54 Matrix<T,Rows,Cols,OC> C(rows,cols); C.setRandom(); in test_lazy_single() 55 Matrix<T,Rows,Cols,OC> D(C); in test_lazy_single() 59 template<typename T, int Rows, int Cols, int Depth, int OC, int OA, int OB> 60 typename internal::enable_if< ( (Rows ==1&&Depth!=1&&OA==ColMajor) [all …]
|
D | qr_colpivoting.cpp | 68 Rows = MatrixType::RowsAtCompileTime, in cod_fixedsize() enumerator 72 int rank = internal::random<int>(1, (std::min)(int(Rows), int(Cols)) - 1); in cod_fixedsize() 73 Matrix<Scalar, Rows, Cols> matrix; in cod_fixedsize() 74 createRandomPIMatrixOfRank(rank, Rows, Cols, matrix); in cod_fixedsize() 75 CompleteOrthogonalDecomposition<Matrix<Scalar, Rows, Cols> > cod(matrix); in cod_fixedsize() 78 VERIFY(cod.isInjective() == (rank == Rows)); in cod_fixedsize() 84 Matrix<Scalar, Rows, Cols2> rhs = matrix * exact_solution; in cod_fixedsize() 162 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime }; in qr_fixedsize() enumerator 165 int rank = internal::random<int>(1, (std::min)(int(Rows), int(Cols))-1); in qr_fixedsize() 166 Matrix<Scalar,Rows,Cols> m1; in qr_fixedsize() [all …]
|
D | qr.cpp | 35 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime }; in qr_fixedsize() enumerator 37 Matrix<Scalar,Rows,Cols> m1 = Matrix<Scalar,Rows,Cols>::Random(); in qr_fixedsize() 38 HouseholderQR<Matrix<Scalar,Rows,Cols> > qr(m1); in qr_fixedsize() 40 Matrix<Scalar,Rows,Cols> r = qr.matrixQR(); in qr_fixedsize() 42 for(int i = 0; i < Rows; i++) for(int j = 0; j < Cols; j++) if(i>j) r(i,j) = Scalar(0); in qr_fixedsize() 47 Matrix<Scalar,Rows,Cols2> m3 = m1*m2; in qr_fixedsize()
|
D | permutationmatrices.cpp | 19 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime, in permutationmatrices() enumerator 21 typedef PermutationMatrix<Rows> LeftPermutationType; in permutationmatrices() 22 typedef Matrix<int, Rows, 1> LeftPermutationVectorType; in permutationmatrices() 46 Matrix<Scalar,Rows,Rows> lm(lp); in permutationmatrices() 66 Matrix<Scalar,Rows,Rows> lm2(lp2); in permutationmatrices()
|
/external/gemmlowp/internal/ |
D | simd_wrappers.h | 151 static constexpr int Rows = ResultBlockType::kRows; 158 static_assert(LhsRows == Rows || LhsRows == 1, ""); 159 static_assert(RhsRows == Rows || RhsRows == 1, ""); 172 for (int r = 0; r < Rows; r++) { 173 const int lhs_r = LhsRows == Rows ? r : 0; 174 const int rhs_r = RhsRows == Rows ? r : 0; 175 result.buf.reg[r + c * Rows] = 200 static constexpr int Rows = ResultBlockType::kRows; 213 static_assert(LhsRows == Rows || LhsRows == 1, ""); 214 static_assert(RhsRows == Rows || RhsRows == 1, ""); [all …]
|
D | simd_wrappers_common_neon_sse.h | 489 template <int Rows> 490 struct BroadcastMulAddImpl<RegBlockInt32<Rows, 1>, RegBlockInt32<1, 1>, 491 RegBlockInt32<Rows, 1>> { 492 static void Run(const RegBlockInt32<Rows, 1>& lhs, 493 const RegBlockInt32<1, 1>& rhs, RegBlockInt32<Rows, 1>* acc) { 495 for (int i = 0; i < RegBlockInt32<Rows, 1>::kRegisterCount; i++) { 502 template <int Rows, int Cols> 503 struct BroadcastMulAddImpl<RegBlockInt32<Rows, 1>, RegBlockInt32<1, 1>, 504 RegBlockInt32<Rows, Cols>> { 505 static void Run(const RegBlockInt32<Rows, 1>& lhs, [all …]
|
D | output.h | 91 template <int Rows, int Cols, VectorShape Shape> 93 RegisterBlock<std::int32_t, Rows, Cols>> { 94 typedef RegisterBlock<std::int32_t, Rows, Cols> InputType; 95 typedef RegisterBlock<std::int32_t, Rows, Cols> OutputType; 228 template <int Rows, int Cols, typename VectorType> 230 RegisterBlock<std::int32_t, Rows, Cols>> { 231 typedef RegisterBlock<std::int32_t, Rows, Cols> InputType; 232 typedef RegisterBlock<std::int32_t, Rows, Cols> OutputType; 428 template <typename ScalarType, int Rows, int Cols, typename DstType> 429 struct StoreFinalOutputImpl<RegisterBlock<ScalarType, Rows, Cols>, DstType> { [all …]
|
/external/webrtc/webrtc/modules/desktop_capture/ |
D | desktop_region.cc | 50 for (Rows::iterator it = rows_.begin(); it != rows_.end(); ++it) { in operator =() 60 Rows::const_iterator it1 = rows_.begin(); in Equals() 61 Rows::const_iterator it2 = region.rows_.begin(); in Equals() 77 for (Rows::iterator row = rows_.begin(); row != rows_.end(); ++row) { in Clear() 98 Rows::iterator row = rows_.upper_bound(top); in AddRect() 107 row, Rows::value_type(bottom, new Row(top, bottom))); in AddRect() 113 Rows::iterator new_row = rows_.insert( in AddRect() 114 row, Rows::value_type(top, new Row(row->second->top, top))); in AddRect() 123 Rows::iterator new_row = rows_.insert( in AddRect() 124 row, Rows::value_type(rect.bottom(), new Row(top, rect.bottom()))); in AddRect() [all …]
|
D | desktop_region.h | 62 typedef std::map<int, Row*> Rows; typedef 85 Rows::const_iterator row_; 86 Rows::const_iterator previous_row_; 159 void MergeWithPrecedingRow(Rows::iterator row); 161 Rows rows_;
|
/external/dng_sdk/source/ |
D | dng_matrix.cpp | 113 if (Rows () != m.Rows () || in operator ==() 121 for (uint32 j = 0; j < Rows (); j++) in operator ==() 148 if (Rows () != Cols ()) in IsDiagonal() 153 for (uint32 j = 0; j < Rows (); j++) in IsDiagonal() 187 for (uint32 j = 0; j < Rows (); j++) in MaxEntry() 213 for (uint32 j = 0; j < Rows (); j++) in MinEntry() 230 for (uint32 j = 0; j < Rows (); j++) in Scale() 247 for (uint32 j = 0; j < Rows (); j++) in Round() 264 for (uint32 j = 0; j < Rows (); j++) in SafeRound() 307 if (Rows () != 3 || in dng_matrix_3by3() [all …]
|
D | dng_camera_profile.cpp | 298 fColorMatrix1.Rows () > 1; in HasColorMatrix1() 308 fColorMatrix2.Rows () == fColorMatrix1.Rows (); in HasColorMatrix2() 415 uint32 colorChannels = ColorMatrix1 ().Rows (); in CalculateFingerprint() 421 if (fForwardMatrix1.Rows () == fColorMatrix1.Cols () && in CalculateFingerprint() 422 fForwardMatrix1.Cols () == fColorMatrix1.Rows ()) in CalculateFingerprint() 429 if (colorChannels > 3 && fReductionMatrix1.Rows () * in CalculateFingerprint() 444 if (fForwardMatrix2.Rows () == fColorMatrix2.Cols () && in CalculateFingerprint() 445 fForwardMatrix2.Cols () == fColorMatrix2.Rows ()) in CalculateFingerprint() 452 if (colorChannels > 3 && fReductionMatrix2.Rows () * in CalculateFingerprint() 606 fColorMatrix1.Rows () != channels) in IsValid() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/ |
D | DWARFUnitIndex.cpp | 43 Rows.reset(); in parse() 58 Rows = llvm::make_unique<Entry[]>(Header.NumBuckets); in parseImpl() 65 Rows[i].Signature = IndexData.getU64(&Offset); in parseImpl() 72 Rows[i].Index = this; in parseImpl() 73 Rows[i].Contributions = in parseImpl() 75 Contribs[Index - 1] = Rows[i].Contributions.get(); in parseImpl() 138 auto &Row = Rows[i]; in dump() 168 if (const auto &Contribs = Rows[i].Contributions) { in getFromOffset() 172 return &Rows[i]; in getFromOffset() 182 while (Rows[H].getSignature() != S && Rows[H].getSignature() != 0) in getFromHash() [all …]
|
/external/llvm/lib/DebugInfo/DWARF/ |
D | DWARFUnitIndex.cpp | 39 Rows.reset(); in parse() 54 Rows = llvm::make_unique<Entry[]>(Header.NumBuckets); in parseImpl() 61 Rows[i].Signature = IndexData.getU64(&Offset); in parseImpl() 68 Rows[i].Index = this; in parseImpl() 69 Rows[i].Contributions = in parseImpl() 71 Contribs[Index - 1] = Rows[i].Contributions.get(); in parseImpl() 134 auto &Row = Rows[i]; in dump() 163 if (const auto &Contribs = Rows[i].Contributions) in getFromOffset() 165 return &Rows[i]; in getFromOffset()
|
/external/deqp/modules/glshared/ |
D | glsBuiltinPrecisionTests.cpp | 503 template <typename T, int Rows, int Cols> 504 struct Traits<Matrix<T, Rows, Cols> > : 505 ContainerTraits<Matrix<T, Rows, Cols>, Matrix<typename Traits<T>::IVal, Rows, Cols> > 933 template <typename T, int Rows, int Cols> 934 class ExprP<Matrix<T, Rows, Cols> > : public ContainerExprPBase<Matrix<T, Rows, Cols> > {}; 1007 template<int Rows, int Cols> 1008 ExprP<Vector<float, Rows> > operator* (const ExprP<Vector<float, Cols> >& left, 1009 const ExprP<Matrix<float, Rows, Cols> >& right); 1010 template<int Rows, int Cols> 1011 ExprP<Vector<float, Cols> > operator* (const ExprP<Matrix<float, Rows, Cols> >& left, [all …]
|
/external/ImageMagick/Magick++/demo/ |
D | smile_anim.miff | 3 Columns=48 Rows=48 Depth=8 12 Columns=48 Rows=48 Depth=8 20 Columns=48 Rows=48 Depth=8 28 Columns=48 Rows=48 Depth=8 36 Columns=48 Rows=48 Depth=8 44 Columns=48 Rows=48 Depth=8
|
/external/clang/tools/scan-build-py/libscanbuild/resources/ |
D | selectable.js | 3 var Rows = document.getElementsByTagName("tr"); 4 for ( var i = 0 ; i < Rows.length; ++i ) { 5 if (Rows[i].className == RowClass) { 6 Rows[i].style.display = DisplayVal;
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorImagePatch.h | 30 template<DenseIndex Rows, DenseIndex Cols, typename XprType> 31 struct traits<TensorImagePatchOp<Rows, Cols, XprType> > : public traits<XprType> 43 template<DenseIndex Rows, DenseIndex Cols, typename XprType> 44 struct eval<TensorImagePatchOp<Rows, Cols, XprType>, Eigen::Dense> 46 typedef const TensorImagePatchOp<Rows, Cols, XprType>& type; 49 template<DenseIndex Rows, DenseIndex Cols, typename XprType> 50 struct nested<TensorImagePatchOp<Rows, Cols, XprType>, 1, typename eval<TensorImagePatchOp<Rows, Co… 52 typedef TensorImagePatchOp<Rows, Cols, XprType> type; 57 template<DenseIndex Rows, DenseIndex Cols, typename XprType> 58 class TensorImagePatchOp : public TensorBase<TensorImagePatchOp<Rows, Cols, XprType>, ReadOnlyAcces… [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderBuiltinPrecisionTests.cpp | 756 template <typename T, int Rows, int Cols> 757 struct Traits<Matrix<T, Rows, Cols> > : 758 ContainerTraits<Matrix<T, Rows, Cols>, Matrix<typename Traits<T>::IVal, Rows, Cols> > 1247 template <typename T, int Rows, int Cols> 1248 class ExprP<Matrix<T, Rows, Cols> > : public ContainerExprPBase<Matrix<T, Rows, Cols> > {}; 1328 template<int Rows, int Cols, typename T> 1329 ExprP<Vector<T, Rows> > operator* (const ExprP<Vector<T, Cols> >& left, 1330 const ExprP<Matrix<T, Rows, Cols> >& right); 1331 template<int Rows, int Cols, typename T> 1332 ExprP<Vector<T, Cols> > operator* (const ExprP<Matrix<T, Rows, Cols> >& left, [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderMatrixTests.cpp | 392 template <typename T, int Rows, int Cols> 393 tcu::Matrix<T, Rows, Cols> matrixCompMult (const tcu::Matrix<T, Rows, Cols>& a, const tcu::Matrix<T… in matrixCompMult() argument 395 tcu::Matrix<T, Rows, Cols> retVal; in matrixCompMult() 397 for (int r = 0; r < Rows; ++r) in matrixCompMult() 406 template <typename T, int Rows, int Cols> 407 tcu::Matrix<T, Rows, Cols> negate (const tcu::Matrix<T, Rows, Cols>& mat) in negate() argument 409 tcu::Matrix<T, Rows, Cols> retVal; in negate() 411 for (int r = 0; r < Rows; ++r) in negate() 420 template <typename T, int Rows, int Cols> 421 tcu::Matrix<T, Rows, Cols> increment (const tcu::Matrix<T, Rows, Cols>& mat) in increment() argument [all …]
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_NearestNeighbors.pbtxt | 7 Matrix of shape (n, d). Rows are assumed to be input points. 13 Matrix of shape (m, d). Rows are assumed to be centers. 39 Rows of points are assumed to be input points. Rows of centers are assumed to be
|