Home
last modified time | relevance | path

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

12

/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/rbbi/
DBuildDictionaryFile.java124 numCols = p; in buildColumnMap()
125 numColGroups = (numCols >> 5) + 1; in buildColumnMap()
156 tempTable.addElement(new int[numCols + 1]); in buildStateTable()
170 ++row[numCols]; in buildStateTable()
172 tempTable.addElement(new int[numCols + 1]); in buildStateTable()
180 ++row[numCols]; in buildStateTable()
203 table = new short[numCols * tempTable.size()]; in buildStateTable()
206 for (int j = 0; j < numCols; j++) in buildStateTable()
207 table[i * numCols + j] = (short)row[j]; in buildStateTable()
214 System.out.println(" Number of columns = " + numCols); in compress()
[all …]
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tiledmappacker/
DTileSetLayout.java36 private int numCols; field in TileSetLayout
59 numCols = 0; in TileSetLayout()
66 if (y == margin) numCols++; in TileSetLayout()
73 numTiles = numRows * numCols; in TileSetLayout()
81 return numCols; in getNumCols()
/external/deqp/modules/gles3/functional/
Des3fPrimitiveRestartTests.cpp300 const int numCols = 4; in init() local
306 for (int col = 0; col < numCols; col++) in init()
308 float centerX = -1.0f + 2.0f * ((float)col + 0.5f) / (float)numCols; in init()
309 int numVertices = row*numCols + col + 1; in init()
313 … float fx = centerX + 0.9f * deFloatCos((float)i*2.0f*DE_PI / (float)numVertices) / (float)numCols; in init()
322 if (col < numCols - 1 || row < numRows - 1) // Add a restart after all but last polygon. in init()
367 const int numCols = 4; in init() local
373 for (int col = 0; col < numCols; col++) in init()
375 float centerX = -1.0f + 2.0f * ((float)col + 0.5f) / (float)numCols; in init()
376 int numArcVertices = row*numCols + col; in init()
[all …]
Des3fShaderIndexingTests.cpp808 int numCols = getDataTypeMatrixNumColumns(varType); in createMatrixSubscriptCase() local
810 const char* matSizeName = getIntUniformName(numCols); in createMatrixSubscriptCase()
834 if (numCols >= 2) op << ", ui_one"; in createMatrixSubscriptCase()
835 if (numCols >= 3) op << ", ui_two"; in createMatrixSubscriptCase()
836 if (numCols >= 4) op << ", ui_three"; in createMatrixSubscriptCase()
862 if (numCols >= 2) op << " tmp[1] = ${VEC_TYPE}(coords.yzwx) * 0.5;\n"; in createMatrixSubscriptCase()
863 if (numCols >= 3) op << " tmp[2] = ${VEC_TYPE}(coords.zwxy) * 0.25;\n"; in createMatrixSubscriptCase()
864 if (numCols >= 4) op << " tmp[3] = ${VEC_TYPE}(coords.wxyz) * 0.125;\n"; in createMatrixSubscriptCase()
869 if (numCols >= 2) op << " tmp[ui_one] = ${VEC_TYPE}(coords.yzwx) * 0.5;\n"; in createMatrixSubscriptCase()
870 if (numCols >= 3) op << " tmp[ui_two] = ${VEC_TYPE}(coords.zwxy) * 0.25;\n"; in createMatrixSubscriptCase()
[all …]
Des3fInstancedRenderingTests.cpp496 int numCols = glu::getDataTypeMatrixNumColumns(m_rgbAttrType); in setupVarAttribPointer() local
498 …glVertexAttribPointer(curLoc, numRows, GL_FLOAT, GL_FALSE, numCols*numRows*(int)sizeof(float), att… in setupVarAttribPointer()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderIndexingTests.cpp888 int numCols = getDataTypeMatrixNumColumns(varType); in createMatrixSubscriptCase() local
890 const char* matSizeName = getIntUniformName(numCols); in createMatrixSubscriptCase()
914 …if (numCols >= 2) op << "layout(std140, binding = 1) uniform something1 { mediump int ui_one; };\n… in createMatrixSubscriptCase()
915 …if (numCols >= 3) op << "layout(std140, binding = 2) uniform something2 { mediump int ui_two; };\n… in createMatrixSubscriptCase()
916 …if (numCols >= 4) op << "layout(std140, binding = 3) uniform something3 { mediump int ui_three; };… in createMatrixSubscriptCase()
920 …op << "layout(std140, binding = " << numCols << ") uniform something" << numCols << " { mediump in… in createMatrixSubscriptCase()
941 if (numCols >= 2) op << " tmp[1] = ${VEC_TYPE}(coords.yzwx) * 0.5;\n"; in createMatrixSubscriptCase()
942 if (numCols >= 3) op << " tmp[2] = ${VEC_TYPE}(coords.zwxy) * 0.25;\n"; in createMatrixSubscriptCase()
943 if (numCols >= 4) op << " tmp[3] = ${VEC_TYPE}(coords.wxyz) * 0.125;\n"; in createMatrixSubscriptCase()
948 if (numCols >= 2) op << " tmp[ui_one] = ${VEC_TYPE}(coords.yzwx) * 0.5;\n"; in createMatrixSubscriptCase()
[all …]
DvktShaderRenderMatrixTests.cpp2074 int numCols = getDataTypeMatrixNumColumns(matType); in init() local
2096 DataType colVecType = getDataTypeFloatVec(numCols); in init()
2116 …PE_DYNAMIC ? INPUTTYPE_UNIFORM : inputType, getDataTypeMatrix(otherCols, numCols /* rows */), prec… in init()
2132 …= INPUTTYPE_DYNAMIC) ? (INPUTTYPE_UNIFORM) : (inputType), getDataTypeFloatVec(numCols), precision); in init()
2139 (isOperationUnarySymmetricMatrix(op) && numCols == numRows)) in init()
2147 (isOperationAssignmentSymmetricMatrix(op) && numCols == numRows)) in init()
/external/skia/gm/
Dbeziereffects.cpp147 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumCubics*3))); in onDraw() local
148 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumCubics*3) / numCols); in onDraw()
149 SkScalar w = SkIntToScalar(rt->width()) / numCols; in onDraw()
232 if (numCols == col) { in onDraw()
290 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumConics*3))); in onDraw() local
291 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumConics*3) / numCols); in onDraw()
292 SkScalar w = SkIntToScalar(rt->width()) / numCols; in onDraw()
373 if (numCols == col) { in onDraw()
528 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumQuads*3))); in onDraw() local
529 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumQuads*3) / numCols); in onDraw()
[all …]
/external/deqp/modules/gles2/scripts/
Dgenutil.py574 def __init__ (self, numCols, numRows, scalars): argument
575 assert len(scalars) == numRows*numCols
576 self.numCols = numCols
581 def identity (numCols, numRows): argument
583 for col in range(0, numCols):
586 return Mat(numCols, numRows, scalars)
589 assert 0 <= colNdx and colNdx < self.numCols
594 assert 0 <= colNdx and colNdx < self.numCols
598 def toMatrix (self, numCols, numRows): argument
599 res = Mat.identity(numCols, numRows)
[all …]
Dgen-conversions.py99 def combineMat(numCols, numRows, comps): argument
103 res.append(Mat(numCols, numRows, scalars))
/external/deqp/modules/gles31/scripts/
Dgenutil.py719 def __init__ (self, numCols, numRows, scalars): argument
720 assert len(scalars) == numRows*numCols
721 self.numCols = numCols
726 def fromScalar (numCols, numRows, scalar): argument
728 for col in range(0, numCols):
731 return Mat(numCols, numRows, scalars)
734 def identity (numCols, numRows): argument
735 return Mat.fromScalar(numCols, numRows, 1.0)
738 assert 0 <= colNdx and colNdx < self.numCols
743 assert 0 <= colNdx and colNdx < self.numCols
[all …]
/external/deqp/modules/gles3/scripts/
Dgenutil.py717 def __init__ (self, numCols, numRows, scalars): argument
718 assert len(scalars) == numRows*numCols
719 self.numCols = numCols
724 def fromScalar (numCols, numRows, scalar): argument
726 for col in range(0, numCols):
729 return Mat(numCols, numRows, scalars)
732 def identity (numCols, numRows): argument
733 return Mat.fromScalar(numCols, numRows, 1.0)
736 assert 0 <= colNdx and colNdx < self.numCols
741 assert 0 <= colNdx and colNdx < self.numCols
[all …]
Dgen-conversions.py102 def combineMat(numCols, numRows, comps): argument
106 res.append(Mat(numCols, numRows, scalars))
/external/deqp/framework/opengl/
DgluShaderUtil.cpp564 DataType getDataTypeMatrix (int numCols, int numRows) in getDataTypeMatrix() argument
566 DE_ASSERT(de::inRange(numCols, 2, 4) && de::inRange(numRows, 2, 4)); in getDataTypeMatrix()
567 return (DataType)((int)TYPE_FLOAT_MAT2 + (numCols-2)*3 + (numRows-2)); in getDataTypeMatrix()
DgluShaderUtil.hpp205 DataType getDataTypeMatrix (int numCols, int numRows);
/external/llvm/test/CodeGen/Thumb2/
D2010-02-24-BigStack.ll7 define void @FindMin(double* %panelTDEL, i8* %dclOfRow, i32 %numRows, i32 %numCols, double* %retMin…
/external/eigen/Eigen/src/plugins/
DBlockMethods.h623 inline ColsBlockXpr middleCols(Index startCol, Index numCols) in middleCols() argument
625 return ColsBlockXpr(derived(), 0, startCol, rows(), numCols); in middleCols()
629 inline ConstColsBlockXpr middleCols(Index startCol, Index numCols) const in middleCols() argument
631 return ConstColsBlockXpr(derived(), 0, startCol, rows(), numCols); in middleCols()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
DbtMatrixX.h431 int numCols = colend+1-colstart; in setSubMatrix() local
435 for (int col=0;col<numCols;col++) in setSubMatrix()
/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()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRBBITableBuilder.java824 int numCols; in getTableSize() local
834 numCols = fRB.fSetBuilder.getNumCharCategories(); in getTableSize()
840 rowSize = 8 + 2*numCols; in getTableSize()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRBBITableBuilder.java823 int numCols; in getTableSize() local
833 numCols = fRB.fSetBuilder.getNumCharCategories(); in getTableSize()
839 rowSize = 8 + 2*numCols; in getTableSize()
/external/deqp/modules/glshared/
DglsShaderRenderCase.cpp560 int numCols; in getDefaultVertexArrays() member
583 int numCols = matrices[matNdx].numCols; in getDefaultVertexArrays() local
585 for (int colNdx = 0; colNdx < numCols; colNdx++) in getDefaultVertexArrays()
DglsBufferTestUtil.cpp621 int numCols = de::min(maxQuadsX, numQuads); in verify() local
634 renderQuadGridReference(reference, numQuads, numCols, refPtr + offset + curOffset); in verify()
636 rendered.setSize(numCols*VERIFY_QUAD_SIZE, numRows*VERIFY_QUAD_SIZE); in verify()
/external/icu/icu4c/source/common/
Drbbitblb.cpp1063 int32_t numCols; in getTableSize() local
1073 numCols = fRB->fSetBuilder->getNumCharCategories(); in getTableSize()
1078 rowSize = sizeof(RBBIStateTableRow) + sizeof(uint16_t)*(numCols-2); in getTableSize()
/external/autotest/frontend/client/src/autotest/common/spreadsheet/
DSpreadsheet.java485 int numCols = table.getCellCount(row); in getRowHeight() local
486 return table.getCellFormatter().getElement(row, numCols - 1).getOffsetHeight() - in getRowHeight()

12