/third_party/vk-gl-cts/framework/common/ |
H A D | tcuMatrix.hpp | 34 template <typename T, int Rows, int Cols> 43 SIZE = Cols, 45 COLS = Cols, 50 explicit Matrix (const T src[Rows*Cols]); 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); 58 void setRow (int rowNdx, const Vector<T, Cols> [all...] |
H A 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() 63 Matrix<T, Cols, Rows> res; in transpose() 65 for (int col = 0; col < Cols; col++) in transpose()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/PBQP/ |
H A D | Math.h | 127 Matrix(unsigned Rows, unsigned Cols) : 128 Rows(Rows), Cols(Cols), Data(std::make_unique<PBQPNum []>(Rows * Cols)) { 133 Matrix(unsigned Rows, unsigned Cols, PBQPNum InitVal) 134 : Rows(Rows), Cols(Cols), 135 Data(std::make_unique<PBQPNum []>(Rows * Cols)) { 136 std::fill(Data.get(), Data.get() + (Rows * Cols), InitVal); 141 : Rows(M.Rows), Cols( [all...] |
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_matrix.cpp | 114 Cols () != m.Cols ()) in operator ==() 122 for (uint32 k = 0; k < Cols (); k++) in operator ==() 148 if (Rows () != Cols ()) in IsDiagonal() 154 for (uint32 k = 0; k < Cols (); k++) in IsDiagonal() 188 for (uint32 k = 0; k < Cols (); k++) in MaxEntry() 214 for (uint32 k = 0; k < Cols (); k++) in MinEntry() 231 for (uint32 k = 0; k < Cols (); k++) in Scale() 248 for (uint32 k = 0; k < Cols (); k++) in Round() 273 for (uint32 k = 0; k < Cols (); in SafeRound() [all...] |
H A D | dng_camera_profile.cpp | 228 cameraOne.SetIdentity (m.Cols ()); in NormalizeForwardMatrix() 297 return fColorMatrix1.Cols () == 3 && in HasColorMatrix1() 307 return fColorMatrix2.Cols () == 3 && in HasColorMatrix2() 421 if (fForwardMatrix1.Rows () == fColorMatrix1.Cols () && in CalculateFingerprint() 422 fForwardMatrix1.Cols () == fColorMatrix1.Rows ()) in CalculateFingerprint() 430 fReductionMatrix1.Cols () == colorChannels * 3) in CalculateFingerprint() 444 if (fForwardMatrix2.Rows () == fColorMatrix2.Cols () && in CalculateFingerprint() 445 fForwardMatrix2.Cols () == fColorMatrix2.Rows ()) in CalculateFingerprint() 453 fReductionMatrix2.Cols () == colorChannels * 3) in CalculateFingerprint() 568 cameraOne.SetIdentity (m.Cols ()); in ValidForwardMatrix() [all...] |
H A D | dng_color_spec.cpp | 130 negative.CameraCalibration1 ().Cols () == fChannels) in dng_color_spec() 138 negative.CameraCalibration2 ().Cols () == fChannels) in dng_color_spec()
|
H A D | dng_shared.cpp | 3021 fCameraCalibration1.Cols () == fCameraProfile.fColorPlanes && in PostParse() 3023 fCameraCalibration2.Cols () == fCameraProfile.fColorPlanes && in PostParse() 3174 if (fCameraCalibration1.Cols () != 0 || in IsValidDNG() 3178 if (fCameraCalibration1.Cols () != fCameraProfile.fColorPlanes || in IsValidDNG() 3218 if (fCameraCalibration2.Cols () != 0 || in IsValidDNG() 3222 if (fCameraCalibration2.Cols () != fCameraProfile.fColorPlanes || in IsValidDNG()
|
H A D | dng_color_space.h | 117 return fMatrixToPCS.Cols () == 1; in IsMonochrome()
|
H A D | dng_matrix.h | 66 uint32 Cols () const in Cols() function in dng_matrix
|
/third_party/typescript/tests/baselines/reference/ |
H A D | keyofInferenceLowerPriorityThanReturn.js | 21 declare class ConflictTarget<Cols> { 22 public static tableColumns<Cols>(cols: (keyof Cols)[]): ConflictTarget<Cols>; 23 protected dummy: [ConflictTarget<Cols>, Cols];
|
/third_party/mesa3d/src/imgui/ |
H A D | imgui_memory_editor.h | 89 int Cols; // = 16 // number of columns to display. member 120 Cols = 16; in MemoryEditor() 179 s.PosHexEnd = s.PosHexStart + (s.HexCellWidth * Cols); in CalcSizes() 185 s.PosAsciiStart += (float)((Cols + OptMidColsCount - 1) / OptMidColsCount) * s.SpacingBetweenMidCols; in CalcSizes() 186 s.PosAsciiEnd = s.PosAsciiStart + Cols * s.GlyphWidth; in CalcSizes() 235 const int line_total_count = (int)((mem_size + Cols - 1) / Cols); in DrawContents() 237 const size_t visible_start_addr = clipper.DisplayStart * Cols; in DrawContents() 238 const size_t visible_end_addr = clipper.DisplayEnd * Cols; in DrawContents() 254 if (ImGui::IsKeyPressed(ImGui::GetKeyIndex(ImGuiKey_UpArrow)) && DataEditingAddr >= (size_t)Cols) { data_editing_addr_nex in DrawContents() [all...] |
/third_party/skia/experimental/graphite/src/ |
H A D | UniformManager.cpp | 65 template<typename BaseType, int RowsOrVecLength = 1, int Cols = 1> 75 static_assert(Cols >= 1 && Cols <= 4); in Stride() 76 if (Cols != 1) { in Stride() 105 template<typename BaseType, int RowsOrVecLength = 1, int Cols = 1> 110 static_assert(Cols >= 1 && Cols <= 4); in Stride() 112 if (Cols != 1) { in Stride() 129 template<typename BaseType, int RowsOrVecLength = 1, int Cols = 1> 134 static_assert(Cols > in Stride() [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsBuiltinPrecisionTests.cpp | 504 template <typename T, int Rows, int Cols> 505 struct Traits<Matrix<T, Rows, Cols> > : 506 ContainerTraits<Matrix<T, Rows, Cols>, Matrix<typename Traits<T>::IVal, Rows, Cols> > 934 template <typename T, int Rows, int Cols> 935 class ExprP<Matrix<T, Rows, Cols> > : public ContainerExprPBase<Matrix<T, Rows, Cols> > {}; 1008 template<int Rows, int Cols> 1009 ExprP<Vector<float, Rows> > operator* (const ExprP<Vector<float, Cols> >& left, 1010 const ExprP<Matrix<float, Rows, Cols> > [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderBuiltinPrecisionTests.cpp | 939 template <typename T, int Rows, int Cols> 940 struct Traits<Matrix<T, Rows, Cols> > : 941 ContainerTraits<Matrix<T, Rows, Cols>, Matrix<typename Traits<T>::IVal, Rows, Cols> > 1434 template <typename T, int Rows, int Cols> 1435 class ExprP<Matrix<T, Rows, Cols> > : public ContainerExprPBase<Matrix<T, Rows, Cols> > {}; 1519 template<int Rows, int Cols, typename T> 1520 ExprP<Vector<T, Rows> > operator* (const ExprP<Vector<T, Cols> >& left, 1521 const ExprP<Matrix<T, Rows, Cols> > [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
H A D | vktShaderBuiltinPrecisionTests.cpp | 940 template <typename T, int Rows, int Cols> 941 struct Traits<Matrix<T, Rows, Cols> > : 942 ContainerTraits<Matrix<T, Rows, Cols>, Matrix<typename Traits<T>::IVal, Rows, Cols> > 1435 template <typename T, int Rows, int Cols> 1436 class ExprP<Matrix<T, Rows, Cols> > : public ContainerExprPBase<Matrix<T, Rows, Cols> > {}; 1520 template<int Rows, int Cols, typename T> 1521 ExprP<Vector<T, Rows> > operator* (const ExprP<Vector<T, Cols> >& left, 1522 const ExprP<Matrix<T, Rows, Cols> > [all...] |
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A 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, Rows, Cols>& b) in matrixCompMult() 395 tcu::Matrix<T, Rows, Cols> retVal; in matrixCompMult() 398 for (int c = 0; c < Cols; ++c) 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() 409 tcu::Matrix<T, Rows, Cols> retVa in negate() 718 str << "mat" << Cols; writeMatrixConstructor() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A 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, Rows, Cols>& b) in matrixCompMult() 621 tcu::Matrix<T, Rows, Cols> retVal; in matrixCompMult() 624 for (int c = 0; c < Cols; ++c) in matrixCompMult() 632 template <typename T, int Rows, int Cols> 633 tcu::Matrix<T, Cols, Rows> outerProduct (const tcu::Vector<T, Cols>& a, const tcu::Vector<T, Rows>& b) in outerProduct() 635 tcu::Matrix<T, Rows, Cols> retVa in outerProduct() 1318 str << "mat" << Cols; writeMatrixConstructor() local [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fShaderMatrixTests.cpp | 624 template <typename T, int Rows, int Cols> 625 tcu::Matrix<T, Rows, Cols> matrixCompMult (const tcu::Matrix<T, Rows, Cols>& a, const tcu::Matrix<T, Rows, Cols>& b) in matrixCompMult() 627 tcu::Matrix<T, Rows, Cols> retVal; in matrixCompMult() 630 for (int c = 0; c < Cols; ++c) in matrixCompMult() 638 template <typename T, int Rows, int Cols> 639 tcu::Matrix<T, Cols, Rows> outerProduct (const tcu::Vector<T, Cols>& a, const tcu::Vector<T, Rows>& b) in outerProduct() 641 tcu::Matrix<T, Rows, Cols> retVa in outerProduct() 1324 str << "mat" << Cols; writeMatrixConstructor() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A 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, Rows, Cols>& b) in matrixCompMult() 621 tcu::Matrix<T, Rows, Cols> retVal; in matrixCompMult() 624 for (int c = 0; c < Cols; ++c) in matrixCompMult() 632 template <typename T, int Rows, int Cols> 633 tcu::Matrix<T, Cols, Rows> outerProduct (const tcu::Vector<T, Cols>& a, const tcu::Vector<T, Rows>& b) in outerProduct() 635 tcu::Matrix<T, Rows, Cols> retVa in outerProduct() 1318 str << "mat" << Cols; writeMatrixConstructor() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
H A D | LowerMatrixIntrinsics.cpp | 145 ColumnMatrixTy(ArrayRef<Value *> Cols) in ColumnMatrixTy() argument 146 : Columns(Cols.begin(), Cols.end()) {} in ColumnMatrixTy()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cGPUShaderFP64Tests.cpp | 12231 template <int Cols, int Rows> 12232 static tcu::Matrix<glw::GLdouble, Rows, Cols> outerProduct(const tcu::Vector<glw::GLdouble, Rows>& left, 12233 const tcu::Vector<glw::GLdouble, Cols>& right); 12252 template <typename T, int Rows, int Cols> 12253 static tcu::Matrix<T, Cols, Rows> transpose(const tcu::Matrix<T, Rows, Cols>& matrix); 12551 template <int Cols, int Rows> 12552 static tcu::Matrix<glw::GLdouble, Rows, Cols> outerProduct(const tcu::Vector<glw::GLdouble, Rows>& left, in outerProduct() 12553 const tcu::Vector<glw::GLdouble, Cols>& right) in outerProduct() 12556 tcu::Matrix<glw::GLdouble, 1, Cols> right_ma in outerProduct() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
H A D | MCAsmStreamer.cpp | 956 const size_t Cols = 4; in EmitBinaryData() local 957 for (size_t I = 0, EI = alignTo(Data.size(), Cols); I < EI; I += Cols) { in EmitBinaryData() 958 size_t J = I, EJ = std::min(I + Cols, Data.size()); in EmitBinaryData()
|
/third_party/skia/src/core/ |
H A D | SkM44.cpp | 354 if (!SkM44::Cols(v4(s, 0), v4(s.cross(f), 0), v4(-f, 0), v4(eye, 1)).invert(&m)) { in LookAt()
|
/third_party/skia/tests/ |
H A D | M44Test.cpp | 123 REPORTER_ASSERT(reporter, SkM44::Cols(c0, c1, c2, c3) == m); in DEF_TEST()
|
/third_party/skia/include/core/ |
H A D | SkM44.h | 187 static SkM44 Cols(const SkV4& c0, const SkV4& c1, const SkV4& c2, const SkV4& c3) { in Cols() function in SkM44
|