Home
last modified time | relevance | path

Searched refs:Cols (Results 1 – 25 of 34) sorted by relevance

12

/third_party/vk-gl-cts/framework/common/
DtcuMatrix.hpp34 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>& vec);
61 Vector<T, Cols> getRow (int ndx) const;
71 Array<T, Rows*Cols> getRowMajorData (void) const;
[all …]
DtcuMatrixUtil.hpp36 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/
DMath.h127 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 …]
/third_party/typescript/tests/baselines/reference/
DkeyofInferenceLowerPriorityThanReturn.types32 declare class ConflictTarget<Cols> {
33 >ConflictTarget : ConflictTarget<Cols>
35 public static tableColumns<Cols>(cols: (keyof Cols)[]): ConflictTarget<Cols>;
36 >tableColumns : <Cols>(cols: (keyof Cols)[]) => ConflictTarget<Cols>
37 >cols : (keyof Cols)[]
39 protected dummy: [ConflictTarget<Cols>, Cols];
40 >dummy : [ConflictTarget<Cols>, Cols]
86 >ConflictTarget.tableColumns : <Cols>(cols: (keyof Cols)[]) => ConflictTarget<Cols>
88 >tableColumns : <Cols>(cols: (keyof Cols)[]) => ConflictTarget<Cols>
DkeyofInferenceLowerPriorityThanReturn.symbols63 declare class ConflictTarget<Cols> {
65 >Cols : Symbol(Cols, Decl(keyofInferenceLowerPriorityThanReturn.ts, 19, 29))
67 public static tableColumns<Cols>(cols: (keyof Cols)[]): ConflictTarget<Cols>;
69 >Cols : Symbol(Cols, Decl(keyofInferenceLowerPriorityThanReturn.ts, 20, 31))
71 >Cols : Symbol(Cols, Decl(keyofInferenceLowerPriorityThanReturn.ts, 20, 31))
73 >Cols : Symbol(Cols, Decl(keyofInferenceLowerPriorityThanReturn.ts, 20, 31))
75 protected dummy: [ConflictTarget<Cols>, Cols];
78 >Cols : Symbol(Cols, Decl(keyofInferenceLowerPriorityThanReturn.ts, 19, 29))
79 >Cols : Symbol(Cols, Decl(keyofInferenceLowerPriorityThanReturn.ts, 19, 29))
DkeyofInferenceLowerPriorityThanReturn.js21 declare class ConflictTarget<Cols> {
22 public static tableColumns<Cols>(cols: (keyof Cols)[]): ConflictTarget<Cols>;
23 protected dummy: [ConflictTarget<Cols>, Cols];
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/vert/
Dno-contraction.vert26 template<typename T, int Cols, int Rows>
27 vec<T, Cols> spvFMulVectorMatrix(vec<T, Rows> v, matrix<T, Cols, Rows> m)
29 vec<T, Cols> res = vec<T, Cols>(0);
32 vec<T, Cols> tmp(0);
33 for (uint j = 0; j < Cols; ++j)
37 res = fma(tmp, vec<T, Cols>(v[i - 1]), res);
42 template<typename T, int Cols, int Rows>
43 vec<T, Rows> spvFMulMatrixVector(matrix<T, Cols, Rows> m, vec<T, Cols> v)
46 for (uint i = Cols; i > 0; --i)
Dfloat-math.invariant-float-math.vert77 template<typename T, int Cols, int Rows>
78 vec<T, Cols> spvFMulVectorMatrix(vec<T, Rows> v, matrix<T, Cols, Rows> m)
80 vec<T, Cols> res = vec<T, Cols>(0);
83 vec<T, Cols> tmp(0);
84 for (uint j = 0; j < Cols; ++j)
88 res = fma(tmp, vec<T, Cols>(v[i - 1]), res);
93 template<typename T, int Cols, int Rows>
94 vec<T, Rows> spvFMulMatrixVector(matrix<T, Cols, Rows> m, vec<T, Cols> v)
97 for (uint i = Cols; i > 0; --i)
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_matrix.cpp114 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 (); k++) in SafeRound()
308 Cols () != 3) in dng_matrix_3by3()
[all …]
Ddng_camera_profile.cpp228 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 …]
Ddng_shared.cpp3021 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()
Ddng_color_spec.cpp130 negative.CameraCalibration1 ().Cols () == fChannels) in dng_color_spec()
138 negative.CameraCalibration2 ().Cols () == fChannels) in dng_color_spec()
Ddng_color_space.h117 return fMatrixToPCS.Cols () == 1; in IsMonochrome()
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/vert/
Dno-contraction.vert26 template<typename T, int Cols, int Rows>
27 vec<T, Cols> spvFMulVectorMatrix(vec<T, Rows> v, matrix<T, Cols, Rows> m)
29 vec<T, Cols> res = vec<T, Cols>(0);
32 vec<T, Cols> tmp(0);
33 for (uint j = 0; j < Cols; ++j)
37 res = fma(tmp, vec<T, Cols>(v[i - 1]), res);
42 template<typename T, int Cols, int Rows>
43 vec<T, Rows> spvFMulMatrixVector(matrix<T, Cols, Rows> m, vec<T, Cols> v)
46 for (uint i = Cols; i > 0; --i)
Dfloat-math.invariant-float-math.vert77 template<typename T, int Cols, int Rows>
78 vec<T, Cols> spvFMulVectorMatrix(vec<T, Rows> v, matrix<T, Cols, Rows> m)
80 vec<T, Cols> res = vec<T, Cols>(0);
83 vec<T, Cols> tmp(0);
84 for (uint j = 0; j < Cols; ++j)
88 res = fma(tmp, vec<T, Cols>(v[i - 1]), res);
93 template<typename T, int Cols, int Rows>
94 vec<T, Rows> spvFMulMatrixVector(matrix<T, Cols, Rows> m, vec<T, Cols> v)
97 for (uint i = Cols; i > 0; --i)
/third_party/mesa3d/src/imgui/
Dimgui_memory_editor.h89 …int Cols; // = 16 // number of columns to displa… 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.SpacingBetweenMidCo… in CalcSizes()
186 s.PosAsciiEnd = s.PosAsciiStart + Cols * s.GlyphWidth; in CalcSizes()
235 const int line_total_count = (int)((mem_size + Cols - 1) / Cols);
237 const size_t visible_start_addr = clipper.DisplayStart * Cols;
238 const size_t visible_end_addr = clipper.DisplayEnd * Cols;
254 …Key_UpArrow)) && DataEditingAddr >= (size_t)Cols) { data_editing_addr_next = DataEditingA…
255 …iKey_DownArrow)) && DataEditingAddr < mem_size - Cols) { data_editing_addr_next = DataEditingAddr …
[all …]
/third_party/typescript/tests/cases/conformance/types/typeRelationships/typeInference/
DkeyofInferenceLowerPriorityThanReturn.ts20 declare class ConflictTarget<Cols> {
21 public static tableColumns<Cols>(cols: (keyof Cols)[]): ConflictTarget<Cols>;
22 protected dummy: [ConflictTarget<Cols>, Cols];
/third_party/skia/experimental/graphite/src/
DUniformManager.cpp65 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 >= 1 && Cols <= 4); in Stride()
135 if (Cols != 1) { in Stride()
148 template<template<typename BaseType, int RowsOrVecLength, int Cols> class Rules>
[all …]
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fShaderMatrixTests.cpp392 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()
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> retVal; in negate()
412 for (int c = 0; c < Cols; ++c) 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()
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsBuiltinPrecisionTests.cpp504 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> >& right);
1011 template<int Rows, int Cols>
1012 ExprP<Vector<float, Cols> > operator* (const ExprP<Matrix<float, Rows, Cols> >& left,
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
DvktShaderRenderMatrixTests.cpp618 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()
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>&… in outerProduct()
635 tcu::Matrix<T, Rows, Cols> retVal; in outerProduct()
638 for (int c = 0; c < Cols; ++c) in outerProduct()
825 template <typename T, int Rows, int Cols>
826 tcu::Matrix<T, Rows, Cols> negate (const tcu::Matrix<T, Rows, Cols>& mat) in negate()
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderMatrixTests.cpp624 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… 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>&… in outerProduct()
641 tcu::Matrix<T, Rows, Cols> retVal; in outerProduct()
644 for (int c = 0; c < Cols; ++c) in outerProduct()
831 template <typename T, int Rows, int Cols>
832 tcu::Matrix<T, Rows, Cols> negate (const tcu::Matrix<T, Rows, Cols>& mat) in negate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderMatrixTests.cpp618 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()
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>&… in outerProduct()
635 tcu::Matrix<T, Rows, Cols> retVal; in outerProduct()
638 for (int c = 0; c < Cols; ++c) in outerProduct()
825 template <typename T, int Rows, int Cols>
826 tcu::Matrix<T, Rows, Cols> negate (const tcu::Matrix<T, Rows, Cols>& mat) in negate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp940 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> >& right);
1523 template<int Rows, int Cols, typename T>
1524 ExprP<Vector<T, Cols> > operator* (const ExprP<Matrix<T, Rows, Cols> >& left,
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp940 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> >& right);
1523 template<int Rows, int Cols, typename T>
1524 ExprP<Vector<T, Cols> > operator* (const ExprP<Matrix<T, Rows, Cols> >& left,
[all …]

12