Home
last modified time | relevance | path

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

123

/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.cpp972 int numCols = getDataTypeMatrixNumColumns(varType); in createMatrixSubscriptCase() local
974 const char* matSizeName = getIntUniformName(numCols); in createMatrixSubscriptCase()
998 if (numCols >= 2) in createMatrixSubscriptCase()
1000 if (numCols >= 3) in createMatrixSubscriptCase()
1002 if (numCols >= 4) in createMatrixSubscriptCase()
1029 if (numCols >= 2) in createMatrixSubscriptCase()
1031 if (numCols >= 3) in createMatrixSubscriptCase()
1033 if (numCols >= 4) in createMatrixSubscriptCase()
1039 if (numCols >= 2) in createMatrixSubscriptCase()
1041 if (numCols >= 3) in createMatrixSubscriptCase()
[all …]
DglcShaderLibraryCase.cpp428 int numCols = getDataTypeMatrixNumColumns(dataType); in execute() local
430 DE_ASSERT(scalarSize == numCols * numRows); in execute()
432 for (int i = 0; i < numCols; i++) in execute()
1035 int numCols = getDataTypeMatrixNumColumns(dataType); in dumpValues() local
1039 for (int colNdx = 0; colNdx < numCols; colNdx++) in dumpValues()
1042 float v = val.elements[elemNdx * scalarSize + rowNdx * numCols + colNdx].float32; in dumpValues()
/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/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/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/cronet/third_party/icu/source/common/
Drbbitblb.cpp1155 int32_t numCols = fRB->fSetBuilder->getNumCharCategories(); in findDuplCharClassFrom() local
1157 for (; categories->first < numCols-1; categories->first++) { in findDuplCharClassFrom()
1163 fRB->fSetBuilder->getDictCategoriesStart() : numCols; in findDuplCharClassFrom()
1202 int32_t numCols = fRB->fSetBuilder->getNumCharCategories(); in findDuplicateState() local
1214 for (int32_t col=0; col < numCols; ++col) { in findDuplicateState()
1241 int32_t numCols = firstRow->length(); in findDuplicateSafeState() local
1242 for (int32_t col=0; col < numCols; ++col) { in findDuplicateSafeState()
1272 int32_t numCols = fRB->fSetBuilder->getNumCharCategories(); in removeState() local
1275 for (int32_t col=0; col<numCols; col++) { in removeState()
1299 int32_t numCols = sd->length(); in removeSafeState() local
[all …]
/external/icu/icu4c/source/common/
Drbbitblb.cpp1155 int32_t numCols = fRB->fSetBuilder->getNumCharCategories(); in findDuplCharClassFrom() local
1157 for (; categories->first < numCols-1; categories->first++) { in findDuplCharClassFrom()
1163 fRB->fSetBuilder->getDictCategoriesStart() : numCols; in findDuplCharClassFrom()
1202 int32_t numCols = fRB->fSetBuilder->getNumCharCategories(); in findDuplicateState() local
1214 for (int32_t col=0; col < numCols; ++col) { in findDuplicateState()
1241 int32_t numCols = firstRow->length(); in findDuplicateSafeState() local
1242 for (int32_t col=0; col < numCols; ++col) { in findDuplicateSafeState()
1272 int32_t numCols = fRB->fSetBuilder->getNumCharCategories(); in removeState() local
1275 for (int32_t col=0; col<numCols; col++) { in removeState()
1299 int32_t numCols = sd->length(); in removeSafeState() local
[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/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/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationPrimitiveDiscardTests.cpp118 const int numCols = intPow(numChoices, 6/2); // sqrt(numChoices**6) == sqrt(number of primitives) in genAttributes() local
119 const int numRows = numCols; in genAttributes()
134 const int col = index % numCols; in genAttributes()
135 const int row = index / numCols; in genAttributes()
137 result.push_back((float)2.0f / (float)numCols); in genAttributes()
140 result.push_back((float)col / (float)numCols * 2.0f - 1.0f); in genAttributes()
/external/skia/gm/
Dsharedcorners.cpp45 constexpr int numCols = (1 + std::size(kJitters)) * 2; in onISize() local
46 return SkISize::Make(numCols * (kBoxSize + kPadSize) + kPadSize, in onISize()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsScissorMultiViewportTests.cpp142 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numScissors))); in generateScissors() local
143 …t int numRows = deCeilFloatToInt32(static_cast<float>(numScissors) / static_cast<float>(numCols)); in generateScissors()
144 const int rectWidth = renderSize.x() / numCols; in generateScissors()
155 const bool nextRow = (scissorNdx != 0) && (scissorNdx % numCols == 0); in generateScissors()
/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/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/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemUtils.cpp939 const int numCols = dst.getWidth() >= 7 ? 7 : dst.getWidth(); in fillWithRandomColorTiles() local
945 for (int col = 0; col < numCols; col++) in fillWithRandomColorTiles()
949 const int xBegin = (col + 0)*dst.getWidth() / numCols; in fillWithRandomColorTiles()
950 const int xEnd = (col + 1)*dst.getWidth() / numCols; in fillWithRandomColorTiles()
972 const int numCols = dst.getWidth(); in fillWithUniqueColors() local
978 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/angle/src/compiler/translator/tree_ops/msl/
DConvertUnsupportedConstructorsToFunctionCalls.cpp128 const uint8_t numCols = type.getNominalSize(); in AppendMatrixFromScalarArgument() local
130 for (uint8_t col = 0; col < numCols; ++col) in AppendMatrixFromScalarArgument()
/external/rappor/ui/
Dtable-lib.js131 var numCols = keyFuncs.length;
133 for (var i = 0; i < numCols; ++i) {
/external/deqp/framework/opengl/
DgluShaderUtil.cpp1043 DataType getDataTypeMatrix (int numCols, int numRows) in getDataTypeMatrix() argument
1045 DE_ASSERT(de::inRange(numCols, 2, 4) && de::inRange(numRows, 2, 4)); in getDataTypeMatrix()
1046 return (DataType)((int)TYPE_FLOAT_MAT2 + (numCols-2)*3 + (numRows-2)); in getDataTypeMatrix()
/external/swiftshader/src/Pipeline/
DSpirvShaderArithmetic.cpp108 auto numCols = rhs.componentCount; in EmitOuterProduct() local
110 for(auto col = 0u; col < numCols; col++) in EmitOuterProduct()
125 auto numCols = type.definition.word(3); in EmitTranspose() local
128 for(auto col = 0u; col < numCols; col++) in EmitTranspose()
132 dst.move(col * numRows + row, mat.Float(row * numCols + col)); in EmitTranspose()
/external/deqp/modules/gles2/functional/
Des2fBufferTestUtil.cpp451 int numCols = de::min(maxQuadsX, numQuads); in verify() local
464 renderQuadGridReference(reference, numQuads, numCols, refPtr + offset + curOffset); in verify()
466 rendered.setSize(numCols*VERIFY_QUAD_SIZE, numRows*VERIFY_QUAD_SIZE); in verify()

123