/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 …]
|
/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/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()
|
D | diagonalmatrices.cpp | 16 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime }; in diagonalmatrices() enumerator 17 typedef Matrix<Scalar, Rows, 1> VectorType; in diagonalmatrices() 19 typedef Matrix<Scalar, Rows, Rows> SquareMatrixType; in diagonalmatrices() 21 typedef DiagonalMatrix<Scalar, Rows> LeftDiagonalMatrix; in diagonalmatrices() 23 typedef Matrix<Scalar, Rows==Dynamic?Dynamic:2*Rows, Cols==Dynamic?Dynamic:2*Cols> BigMatrix; in diagonalmatrices()
|
/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/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/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/deqp/modules/glshared/ |
D | glsBuiltinPrecisionTests.cpp | 482 template <typename T, int Rows, int Cols> 483 struct Traits<Matrix<T, Rows, Cols> > : 484 ContainerTraits<Matrix<T, Rows, Cols>, Matrix<typename Traits<T>::IVal, Rows, Cols> > 911 template <typename T, int Rows, int Cols> 912 class ExprP<Matrix<T, Rows, Cols> > : public ContainerExprPBase<Matrix<T, Rows, Cols> > {}; 985 template<int Rows, int Cols> 986 ExprP<Vector<float, Rows> > operator* (const ExprP<Vector<float, Cols> >& left, 987 const ExprP<Matrix<float, Rows, Cols> >& right); 988 template<int Rows, int Cols> 989 ExprP<Vector<float, Cols> > operator* (const ExprP<Matrix<float, Rows, Cols> >& left, [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderBuiltinPrecisionTests.cpp | 461 template <typename T, int Rows, int Cols> 462 struct Traits<Matrix<T, Rows, Cols> > : 463 ContainerTraits<Matrix<T, Rows, Cols>, Matrix<typename Traits<T>::IVal, Rows, Cols> > 890 template <typename T, int Rows, int Cols> 891 class ExprP<Matrix<T, Rows, Cols> > : public ContainerExprPBase<Matrix<T, Rows, Cols> > {}; 964 template<int Rows, int Cols> 965 ExprP<Vector<float, Rows> > operator* (const ExprP<Vector<float, Cols> >& left, 966 const ExprP<Matrix<float, Rows, Cols> >& right); 967 template<int Rows, int Cols> 968 ExprP<Vector<float, Cols> > operator* (const ExprP<Matrix<float, Rows, Cols> >& left, [all …]
|
/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 …]
|
D | TensorVolumePatch.h | 25 template<DenseIndex Planes, DenseIndex Rows, DenseIndex Cols, typename XprType> 26 struct traits<TensorVolumePatchOp<Planes, Rows, Cols, XprType> > : public traits<XprType> 38 template<DenseIndex Planes, DenseIndex Rows, DenseIndex Cols, typename XprType> 39 struct eval<TensorVolumePatchOp<Planes, Rows, Cols, XprType>, Eigen::Dense> 41 typedef const TensorVolumePatchOp<Planes, Rows, Cols, XprType>& type; 44 template<DenseIndex Planes, DenseIndex Rows, DenseIndex Cols, typename XprType> 45 …truct nested<TensorVolumePatchOp<Planes, Rows, Cols, XprType>, 1, typename eval<TensorVolumePatchO… 47 typedef TensorVolumePatchOp<Planes, Rows, Cols, XprType> type; 52 template<DenseIndex Planes, DenseIndex Rows, DenseIndex Cols, typename XprType> 53 class TensorVolumePatchOp : public TensorBase<TensorVolumePatchOp<Planes, Rows, Cols, XprType>, Rea… [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/eigen/Eigen/src/Core/ |
D | NumTraits.h | 193 template<typename Scalar, int Rows, int Cols, int Options, int MaxRows, int MaxCols> 194 struct NumTraits<Array<Scalar, Rows, Cols, Options, MaxRows, MaxCols> > 196 typedef Array<Scalar, Rows, Cols, Options, MaxRows, MaxCols> ArrayType; 198 typedef Array<RealScalar, Rows, Cols, Options, MaxRows, MaxCols> Real; 200 typedef Array<NonIntegerScalar, Rows, Cols, Options, MaxRows, MaxCols> NonInteger;
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderMatrixTests.cpp | 623 template <typename T, int Rows, int Cols> 624 tcu::Matrix<T, Rows, Cols> matrixCompMult (const tcu::Matrix<T, Rows, Cols>& a, const tcu::Matrix<T… in matrixCompMult() argument 626 tcu::Matrix<T, Rows, Cols> retVal; in matrixCompMult() 628 for (int r = 0; r < Rows; ++r) in matrixCompMult() 637 template <typename T, int Rows, int Cols> 638 tcu::Matrix<T, Cols, Rows> transpose (const tcu::Matrix<T, Rows, Cols>& mat) in transpose() argument 640 tcu::Matrix<T, Cols, Rows> retVal; in transpose() 642 for (int r = 0; r < Rows; ++r) in transpose() 651 template <typename T, int Rows, int Cols> 652 tcu::Matrix<T, Cols, Rows> outerProduct (const tcu::Vector<T, Cols>& a, const tcu::Vector<T, Rows>&… in outerProduct() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderMatrixTests.cpp | 618 template <typename T, int Rows, int Cols> 619 tcu::Matrix<T, Rows, Cols> matrixCompMult (const tcu::Matrix<T, Rows, Cols>& a, const tcu::Matrix<T… in matrixCompMult() argument 621 tcu::Matrix<T, Rows, Cols> retVal; in matrixCompMult() 623 for (int r = 0; r < Rows; ++r) in matrixCompMult() 632 template <typename T, int Rows, int Cols> 633 tcu::Matrix<T, Cols, Rows> transpose (const tcu::Matrix<T, Rows, Cols>& mat) in transpose() argument 635 tcu::Matrix<T, Cols, Rows> retVal; in transpose() 637 for (int r = 0; r < Rows; ++r) in transpose() 646 template <typename T, int Rows, int Cols> 647 tcu::Matrix<T, Cols, Rows> outerProduct (const tcu::Vector<T, Cols>& a, const tcu::Vector<T, Rows>&… in outerProduct() [all …]
|
/external/swiftshader/third_party/LLVM/lib/DebugInfo/ |
D | DWARFDebugLine.cpp | 85 if (!Rows.empty()) { in dump() 88 for (std::vector<Row>::const_iterator pos = Rows.begin(), in dump() 89 end = Rows.end(); pos != end; ++pos) in dump() 446 if (!Rows.empty()) { in lookupAddress() 452 iterator begin_pos = Rows.begin(); in lookupAddress() 453 iterator end_pos = Rows.end(); in lookupAddress() 458 return Rows.size()-1; in lookupAddress()
|
/external/pdfium/testing/libfuzzer/ |
D | pdf_codec_fax_fuzzer.cc | 24 int Rows = GetInteger(data + 16); in LLVMFuzzerTestOneInput() local 34 ByteAlign, BlackIs1, Columns, Rows)); in LLVMFuzzerTestOneInput()
|