Home
last modified time | relevance | path

Searched refs:numCols (Results 1 – 25 of 76) sorted by relevance

1234

/external/deqp/modules/gles3/functional/
Des3fPrimitiveRestartTests.cpp315 const int numCols = 4; in init() local
321 for (int col = 0; col < numCols; col++) in init()
323 float centerX = -1.0f + 2.0f * ((float)col + 0.5f) / (float)numCols; in init()
324 int numVertices = row*numCols + col + 1; in init()
328 … float fx = centerX + 0.9f * deFloatCos((float)i*2.0f*DE_PI / (float)numVertices) / (float)numCols; in init()
337 if (col < numCols - 1 || row < numRows - 1) // Add a restart after all but last polygon. in init()
382 const int numCols = 4; in init() local
388 for (int col = 0; col < numCols; col++) in init()
390 float centerX = -1.0f + 2.0f * ((float)col + 0.5f) / (float)numCols; in init()
391 int numArcVertices = row*numCols + col; in init()
[all …]
Des3fShaderIndexingTests.cpp809 int numCols = getDataTypeMatrixNumColumns(varType); in createMatrixSubscriptCase() local
811 const char* matSizeName = getIntUniformName(numCols); in createMatrixSubscriptCase()
835 if (numCols >= 2) op << ", ui_one"; in createMatrixSubscriptCase()
836 if (numCols >= 3) op << ", ui_two"; in createMatrixSubscriptCase()
837 if (numCols >= 4) op << ", ui_three"; in createMatrixSubscriptCase()
863 if (numCols >= 2) op << " tmp[1] = ${VEC_TYPE}(coords.yzwx) * 0.5;\n"; in createMatrixSubscriptCase()
864 if (numCols >= 3) op << " tmp[2] = ${VEC_TYPE}(coords.zwxy) * 0.25;\n"; in createMatrixSubscriptCase()
865 if (numCols >= 4) op << " tmp[3] = ${VEC_TYPE}(coords.wxyz) * 0.125;\n"; in createMatrixSubscriptCase()
870 if (numCols >= 2) op << " tmp[ui_one] = ${VEC_TYPE}(coords.yzwx) * 0.5;\n"; in createMatrixSubscriptCase()
871 if (numCols >= 3) op << " tmp[ui_two] = ${VEC_TYPE}(coords.zwxy) * 0.25;\n"; in createMatrixSubscriptCase()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderIndexingTests.cpp930 int numCols = getDataTypeMatrixNumColumns(varType); in createMatrixSubscriptCase() local
932 const char* matSizeName = getIntUniformName(numCols); in createMatrixSubscriptCase()
956 …if (numCols >= 2) op << "layout(std140, binding = 1) uniform something1 { mediump int ui_one; };\n… in createMatrixSubscriptCase()
957 …if (numCols >= 3) op << "layout(std140, binding = 2) uniform something2 { mediump int ui_two; };\n… in createMatrixSubscriptCase()
958 …if (numCols >= 4) op << "layout(std140, binding = 3) uniform something3 { mediump int ui_three; };… in createMatrixSubscriptCase()
962 …op << "layout(std140, binding = " << numCols << ") uniform something" << numCols << " { mediump in… in createMatrixSubscriptCase()
983 if (numCols >= 2) op << " tmp[1] = ${VEC_TYPE}(coords.yzwx) * 0.5;\n"; in createMatrixSubscriptCase()
984 if (numCols >= 3) op << " tmp[2] = ${VEC_TYPE}(coords.zwxy) * 0.25;\n"; in createMatrixSubscriptCase()
985 if (numCols >= 4) op << " tmp[3] = ${VEC_TYPE}(coords.wxyz) * 0.125;\n"; in createMatrixSubscriptCase()
990 if (numCols >= 2) op << " tmp[ui_one] = ${VEC_TYPE}(coords.yzwx) * 0.5;\n"; in createMatrixSubscriptCase()
[all …]
/external/deqp/external/openglcts/modules/common/
DglcShaderIndexingTests.cpp929 int numCols = getDataTypeMatrixNumColumns(varType); in createMatrixSubscriptCase() local
931 const char* matSizeName = getIntUniformName(numCols); in createMatrixSubscriptCase()
955 if (numCols >= 2) in createMatrixSubscriptCase()
957 if (numCols >= 3) in createMatrixSubscriptCase()
959 if (numCols >= 4) in createMatrixSubscriptCase()
986 if (numCols >= 2) in createMatrixSubscriptCase()
988 if (numCols >= 3) in createMatrixSubscriptCase()
990 if (numCols >= 4) in createMatrixSubscriptCase()
996 if (numCols >= 2) in createMatrixSubscriptCase()
998 if (numCols >= 3) in createMatrixSubscriptCase()
[all …]
/external/deqp/modules/gles2/scripts/
Dgenutil.py596 def __init__ (self, numCols, numRows, scalars): argument
597 assert len(scalars) == numRows*numCols
598 self.numCols = numCols
603 def identity (numCols, numRows): argument
605 for col in range(0, numCols):
608 return Mat(numCols, numRows, scalars)
611 assert 0 <= colNdx and colNdx < self.numCols
616 assert 0 <= colNdx and colNdx < self.numCols
620 def toMatrix (self, numCols, numRows): argument
621 res = Mat.identity(numCols, numRows)
[all …]
/external/oss-fuzz/projects/dlplibs/
Dicu4c-ubsan.patch33 numCols = fRB->fSetBuilder->getNumCharCategories();
36 - // Therefore we subtract two from numCols when determining
38 + // Therefore we subtract one from numCols when determining
40 - rowSize = sizeof(RBBIStateTableRow) + sizeof(uint16_t)*(numCols-2);
41 + rowSize = sizeof(RBBIStateTableRow) + sizeof(uint16_t)*(numCols-1);
/external/skqp/gm/
Dbeziereffects.cpp169 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumConics*3))); in onDraw() local
170 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumConics*3) / numCols); in onDraw()
171 SkScalar w = SkIntToScalar(renderTargetContext->width()) / numCols; in onDraw()
242 if (numCols == col) { in onDraw()
385 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumQuads*3))); in onDraw() local
386 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumQuads*3) / numCols); in onDraw()
387 SkScalar w = SkIntToScalar(renderTargetContext->width()) / numCols; in onDraw()
459 if (numCols == col) { in onDraw()
Dsharedcorners.cpp38 constexpr int numCols = (1 + SK_ARRAY_COUNT(kJitters)) * 2; in onISize() local
39 return SkISize::Make(numCols * (kBoxSize + kPadSize) + kPadSize, in onISize()
/external/deqp/modules/gles3/scripts/
Dgenutil.py739 def __init__ (self, numCols, numRows, scalars): argument
740 assert len(scalars) == numRows*numCols
741 self.numCols = numCols
746 def fromScalar (numCols, numRows, scalar): argument
748 for col in range(0, numCols):
751 return Mat(numCols, numRows, scalars)
754 def identity (numCols, numRows): argument
755 return Mat.fromScalar(numCols, numRows, 1.0)
758 assert 0 <= colNdx and colNdx < self.numCols
763 assert 0 <= colNdx and colNdx < self.numCols
[all …]
/external/deqp/modules/gles31/scripts/
Dgenutil.py741 def __init__ (self, numCols, numRows, scalars): argument
742 assert len(scalars) == numRows*numCols
743 self.numCols = numCols
748 def fromScalar (numCols, numRows, scalar): argument
750 for col in range(0, numCols):
753 return Mat(numCols, numRows, scalars)
756 def identity (numCols, numRows): argument
757 return Mat.fromScalar(numCols, numRows, 1.0)
760 assert 0 <= colNdx and colNdx < self.numCols
765 assert 0 <= colNdx and colNdx < self.numCols
[all …]
/external/icu/icu4c/source/common/
Drbbitblb.cpp1149 int32_t numCols = fRB->fSetBuilder->getNumCharCategories(); in findDuplCharClassFrom() local
1151 for (; categories->first < numCols-1; categories->first++) { in findDuplCharClassFrom()
1157 fRB->fSetBuilder->getDictCategoriesStart() : numCols; in findDuplCharClassFrom()
1196 int32_t numCols = fRB->fSetBuilder->getNumCharCategories(); in findDuplicateState() local
1208 for (int32_t col=0; col < numCols; ++col) { in findDuplicateState()
1235 int32_t numCols = firstRow->length(); in findDuplicateSafeState() local
1236 for (int32_t col=0; col < numCols; ++col) { in findDuplicateSafeState()
1266 int32_t numCols = fRB->fSetBuilder->getNumCharCategories(); in removeState() local
1269 for (int32_t col=0; col<numCols; col++) { in removeState()
1293 int32_t numCols = sd->length(); in removeSafeState() local
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRBBITableBuilder.java903 int numCols = fRB.fSetBuilder.getNumCharCategories(); in findDuplCharClassFrom() local
907 for (; categories.first < numCols-1; ++categories.first) { in findDuplCharClassFrom()
913 fRB.fSetBuilder.getDictCategoriesStart() : numCols; in findDuplCharClassFrom()
958 int numCols = fRB.fSetBuilder.getNumCharCategories();
970 for (int col=0; col < numCols; ++col) {
1003 int numCols = firstRow.length;
1004 for (int col=0; col < numCols; ++col) {
1037 int numCols = fRB.fSetBuilder.getNumCharCategories();
1040 for (int col=0; col<numCols; col++) {
1114 int numCols = fRB.fSetBuilder.getNumCharCategories();
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRBBITableBuilder.java904 int numCols = fRB.fSetBuilder.getNumCharCategories(); in findDuplCharClassFrom() local
908 for (; categories.first < numCols-1; ++categories.first) { in findDuplCharClassFrom()
914 fRB.fSetBuilder.getDictCategoriesStart() : numCols; in findDuplCharClassFrom()
959 int numCols = fRB.fSetBuilder.getNumCharCategories();
971 for (int col=0; col < numCols; ++col) {
1004 int numCols = firstRow.length;
1005 for (int col=0; col < numCols; ++col) {
1038 int numCols = fRB.fSetBuilder.getNumCharCategories();
1041 for (int col=0; col<numCols; col++) {
1115 int numCols = fRB.fSetBuilder.getNumCharCategories();
[all …]
/external/llvm-project/llvm/test/Transforms/LoopVectorize/ARM/
Dmve-vldn.ll12 define void @vld2(half* nocapture readonly %pIn, half* nocapture %pOut, i32 %numRows, i32 %numCols,…
16 %mul = mul i32 %numCols, %numRows
46 define void @vld4(half* nocapture readonly %pIn, half* nocapture %pOut, i32 %numRows, i32 %numCols,…
50 %mul = mul i32 %numCols, %numRows
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationPrimitiveDiscardTests.cpp116 const int numCols = intPow(numChoices, 6/2); // sqrt(numChoices**6) == sqrt(number of primitives) in genAttributes() local
117 const int numRows = numCols; in genAttributes()
132 const int col = index % numCols; in genAttributes()
133 const int row = index / numCols; in genAttributes()
135 result.push_back((float)2.0f / (float)numCols); in genAttributes()
138 result.push_back((float)col / (float)numCols * 2.0f - 1.0f); in genAttributes()
/external/autotest/client/site_tests/audio_WebRtcAudioLoopback/
Daudio_loopback_test.js19 this.numCols = 5;
26 if (this.col == this.numCols) {
/external/skia/gm/
Dsharedcorners.cpp45 constexpr int numCols = (1 + SK_ARRAY_COUNT(kJitters)) * 2; in onISize() local
46 return SkISize::Make(numCols * (kBoxSize + kPadSize) + kPadSize, in onISize()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsScissorMultiViewportTests.cpp143 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numScissors))); in generateScissors() local
144 …t int numRows = deCeilFloatToInt32(static_cast<float>(numScissors) / static_cast<float>(numCols)); in generateScissors()
145 const int rectWidth = renderSize.x() / numCols; in generateScissors()
156 const bool nextRow = (scissorNdx != 0) && (scissorNdx % numCols == 0); in generateScissors()
/external/llvm-project/mlir/lib/Analysis/
DAffineStructures.cpp308 int numCols = static_cast<int>(getNumCols()); in addId() local
310 for (int c = numCols - 2; c >= 0; c--) { in addId()
320 for (int c = numCols - 2; c >= 0; c--) { in addId()
797 unsigned numCols = getNumCols(); in hasInvalidConstraint() local
801 for (j = 0; j < numCols - 1; ++j) { in hasInvalidConstraint()
807 if (j < numCols - 1) { in hasInvalidConstraint()
812 int64_t v = isEq ? atEq(i, numCols - 1) : atIneq(i, numCols - 1); in hasInvalidConstraint()
847 unsigned numCols = constraints->getNumCols(); in eliminateFromConstraint() local
848 for (unsigned j = 0; j < numCols; ++j) { in eliminateFromConstraint()
869 unsigned numCols = constraints->getNumCols(); in shiftColumnsToLeft() local
[all …]
DAffineAnalysis.cpp318 unsigned numCols = numIds + 1; in initDependenceConstraints() local
321 dependenceConstraints->reset(numIneq, numEq, numCols, numDims, numSymbols, in initDependenceConstraints()
682 unsigned numCols = dependenceDomain->getNumCols(); in addOrderingConstraints() local
683 SmallVector<int64_t, 4> eq(numCols); in addOrderingConstraints()
692 eq[numCols - 1] = -1; in addOrderingConstraints()
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/CMSIS/Include/
Darm_math.h1372 uint16_t numCols; /**< number of columns of the matrix. */ member
1383 uint16_t numCols; /**< number of columns of the matrix. */ member
1393 uint16_t numCols; /**< number of columns of the matrix. */ member
1403 uint16_t numCols; /**< number of columns of the matrix. */ member
1854 uint16_t numCols; /**< number of columns in the data table. */ member
1864 uint16_t numCols; /**< number of columns in the data table. */ member
1874 uint16_t numCols; /**< number of columns in the data table. */ member
1884 uint16_t numCols; /**< number of columns in the data table. */ member
6769 if(xIndex < 0 || xIndex > (S->numRows - 1) || yIndex < 0 || yIndex > (S->numCols - 1)) in arm_bilinear_interp_f32()
6775 index = (xIndex - 1) + (yIndex - 1) * S->numCols; in arm_bilinear_interp_f32()
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/CMSIS/Include/
Darm_math.h1372 uint16_t numCols; /**< number of columns of the matrix. */ member
1383 uint16_t numCols; /**< number of columns of the matrix. */ member
1393 uint16_t numCols; /**< number of columns of the matrix. */ member
1403 uint16_t numCols; /**< number of columns of the matrix. */ member
1854 uint16_t numCols; /**< number of columns in the data table. */ member
1864 uint16_t numCols; /**< number of columns in the data table. */ member
1874 uint16_t numCols; /**< number of columns in the data table. */ member
1884 uint16_t numCols; /**< number of columns in the data table. */ member
6769 if(xIndex < 0 || xIndex > (S->numRows - 1) || yIndex < 0 || yIndex > (S->numCols - 1)) in arm_bilinear_interp_f32()
6775 index = (xIndex - 1) + (yIndex - 1) * S->numCols; in arm_bilinear_interp_f32()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemUtils.cpp897 const int numCols = dst.getWidth() >= 7 ? 7 : dst.getWidth(); in fillWithRandomColorTiles() local
903 for (int col = 0; col < numCols; col++) in fillWithRandomColorTiles()
907 const int xBegin = (col + 0)*dst.getWidth() / numCols; in fillWithRandomColorTiles()
908 const int xEnd = (col + 1)*dst.getWidth() / numCols; in fillWithRandomColorTiles()
930 const int numCols = dst.getWidth(); in fillWithUniqueColors() local
936 for (int x = 0; x < numCols; x++) in fillWithUniqueColors()
/external/llvm/test/CodeGen/Thumb2/
D2010-02-24-BigStack.ll7 define void @FindMin(double* %panelTDEL, i8* %dclOfRow, i32 %numRows, i32 %numCols, double* %retMin…
/external/llvm-project/llvm/test/CodeGen/Thumb2/
D2010-02-24-BigStack.ll7 define void @FindMin(double* %panelTDEL, i8* %dclOfRow, i32 %numRows, i32 %numCols, double* %retMin…

1234