/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-10.0/llvm/include/llvm/CodeGen/PBQP/ |
D | Math.h | 127 Matrix(unsigned Rows, unsigned Cols) : in Matrix() argument 128 Rows(Rows), Cols(Cols), Data(std::make_unique<PBQPNum []>(Rows * Cols)) { in Matrix() 133 Matrix(unsigned Rows, unsigned Cols, PBQPNum InitVal) in Matrix() argument 134 : Rows(Rows), Cols(Cols), in Matrix() 135 Data(std::make_unique<PBQPNum []>(Rows * Cols)) { in Matrix() 136 std::fill(Data.get(), Data.get() + (Rows * Cols), InitVal); in Matrix() 141 : Rows(M.Rows), Cols(M.Cols), in Matrix() 142 Data(std::make_unique<PBQPNum []>(Rows * Cols)) { in Matrix() 143 std::copy(M.Data.get(), M.Data.get() + (Rows * Cols), Data.get()); in Matrix() 148 : Rows(M.Rows), Cols(M.Cols), Data(std::move(M.Data)) { in Matrix() [all …]
|
/external/llvm-project/llvm/include/llvm/CodeGen/PBQP/ |
D | Math.h | 127 Matrix(unsigned Rows, unsigned Cols) : in Matrix() argument 128 Rows(Rows), Cols(Cols), Data(std::make_unique<PBQPNum []>(Rows * Cols)) { in Matrix() 133 Matrix(unsigned Rows, unsigned Cols, PBQPNum InitVal) in Matrix() argument 134 : Rows(Rows), Cols(Cols), in Matrix() 135 Data(std::make_unique<PBQPNum []>(Rows * Cols)) { in Matrix() 136 std::fill(Data.get(), Data.get() + (Rows * Cols), InitVal); in Matrix() 141 : Rows(M.Rows), Cols(M.Cols), in Matrix() 142 Data(std::make_unique<PBQPNum []>(Rows * Cols)) { in Matrix() 143 std::copy(M.Data.get(), M.Data.get() + (Rows * Cols), Data.get()); in Matrix() 148 : 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()
|
/external/gemmlowp/internal/ |
D | simd_wrappers.h | 155 static constexpr int Rows = ResultBlockType::kRows; 162 static_assert(LhsRows == Rows || LhsRows == 1, ""); 163 static_assert(RhsRows == Rows || RhsRows == 1, ""); 176 for (int r = 0; r < Rows; r++) { 177 const int lhs_r = LhsRows == Rows ? r : 0; 178 const int rhs_r = RhsRows == Rows ? r : 0; 179 result.buf.reg[r + c * Rows] = 204 static constexpr int Rows = ResultBlockType::kRows; 211 static_assert(LhsRows == Rows || LhsRows == 1, ""); 212 static_assert(RhsRows == Rows || RhsRows == 1, ""); [all …]
|
D | output.h | 92 template <int Rows, int Cols, VectorShape Shape> 94 RegisterBlock<std::int32_t, Rows, Cols>> { 95 typedef RegisterBlock<std::int32_t, Rows, Cols> InputType; 96 typedef RegisterBlock<std::int32_t, Rows, Cols> OutputType; 183 template <int Rows, int Cols, VectorShape Shape> 186 RegisterBlock<std::int32_t, Rows, Cols>> { 187 typedef RegisterBlock<std::int32_t, Rows, Cols> InputType; 188 typedef RegisterBlock<std::int32_t, Rows, Cols> OutputType; 314 template <int Rows, int Cols, typename VectorType> 316 RegisterBlock<std::int32_t, Rows, Cols>> { [all …]
|
/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-10.0/llvm/lib/DebugInfo/DWARF/ |
D | DWARFUnitIndex.cpp | 42 Rows.reset(); in parse() 57 Rows = std::make_unique<Entry[]>(Header.NumBuckets); in parseImpl() 64 Rows[i].Signature = IndexData.getU64(&Offset); in parseImpl() 71 Rows[i].Index = this; in parseImpl() 72 Rows[i].Contributions = in parseImpl() 74 Contribs[Index - 1] = Rows[i].Contributions.get(); in parseImpl() 137 auto &Row = Rows[i]; in dump() 168 if (Rows[i].Contributions) in getFromOffset() 169 OffsetLookup.push_back(&Rows[i]); in getFromOffset() 193 while (Rows[H].getSignature() != S && Rows[H].getSignature() != 0) in getFromHash() [all …]
|
/external/webrtc/modules/desktop_capture/ |
D | desktop_region.cc | 52 for (Rows::iterator it = rows_.begin(); it != rows_.end(); ++it) { in operator =() 62 Rows::const_iterator it1 = rows_.begin(); in Equals() 63 Rows::const_iterator it2 = region.rows_.begin(); in Equals() 78 for (Rows::iterator row = rows_.begin(); row != rows_.end(); ++row) { in Clear() 99 Rows::iterator row = rows_.upper_bound(top); in AddRect() 107 row = rows_.insert(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 | 65 typedef std::map<int, Row*> Rows; typedef 88 Rows::const_iterator row_; 89 Rows::const_iterator previous_row_; 162 void MergeWithPrecedingRow(Rows::iterator row); 164 Rows rows_;
|
/external/llvm-project/llvm/lib/DebugInfo/DWARF/ |
D | DWARFUnitIndex.cpp | 125 Rows.reset(); in parse() 144 Rows = std::make_unique<Entry[]>(Header.NumBuckets); in parseImpl() 152 Rows[i].Signature = IndexData.getU64(&Offset); in parseImpl() 159 Rows[i].Index = this; in parseImpl() 160 Rows[i].Contributions = in parseImpl() 162 Contribs[Index - 1] = Rows[i].Contributions.get(); in parseImpl() 233 auto &Row = Rows[i]; in dump() 264 if (Rows[i].Contributions) in getFromOffset() 265 OffsetLookup.push_back(&Rows[i]); in getFromOffset() 291 while (Rows[H].getSignature() != S && Rows[H].Index != nullptr) 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/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 | 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/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/llvm-project/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/rust/crates/rusqlite/src/ |
D | row.rs | 10 pub struct Rows<'stmt> { struct 15 impl<'stmt> Rows<'stmt> { impl 77 impl<'stmt> Rows<'stmt> { implementation 78 pub(crate) fn new(stmt: &'stmt Statement<'stmt>) -> Rows<'stmt> { in new() 79 Rows { in new() 93 impl Drop for Rows<'_> { implementation 102 rows: Rows<'stmt>, 126 rows: Rows<'stmt>, 134 pub(crate) fn new(rows: Rows<'stmt>, f: F) -> MappedRows<'stmt, F> { in new() 158 rows: Rows<'stmt>, [all …]
|
/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/llvm-project/clang/test/CodeGenCXX/ |
D | matrix-type-operators.cpp | 6 template <typename EltTy, unsigned Rows, unsigned Columns> 8 using matrix_t = EltTy __attribute__((matrix_type(Rows, Columns))); 199 template <typename EltTy, unsigned Rows, unsigned Columns> 200 void insert(MyMatrix<EltTy, Rows, Columns> &Mat, EltTy e, unsigned i, unsigned j) { in insert() argument 254 template <typename EltTy, unsigned Rows, unsigned Columns> 255 EltTy extract(MyMatrix<EltTy, Rows, Columns> &Mat) { in extract() argument
|