Home
last modified time | relevance | path

Searched refs:numCols (Results 1 - 25 of 71) sorted by relevance

123

/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/
H A DDataDisplayTable.java21 private int numCols; field in DataDisplayTable
46 numCols = header.size(); in DataDisplayTable()
50 maxColLengths = new ArrayList<Integer>(numCols); in DataDisplayTable()
51 for (int i = 0; i < numCols; i++) { in DataDisplayTable()
56 displayAlignment = new ArrayList<Align>(numCols); in DataDisplayTable()
57 for (int i = 0; i < numCols; i++) { in DataDisplayTable()
71 if (alignment.size() != numCols) { in setAlignment()
87 if (row.size() != numCols) { in add()
95 for (int i = 0; i < numCols; i++) { in add()
124 return numCols; in getNumColumns()
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fPrimitiveRestartTests.cpp311 // Generate a numRows x numCols arrangement of line polygons of different vertex counts. in init()
315 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()
378 // Generate a numRows x numCols arrangement of triangle fan polygons of different vertex counts. in init()
382 const int numCols = 4; in init() local
388 for (int col = 0; col < numCols; co in init()
[all...]
H A 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 > in createMatrixSubscriptCase()
876 op << " for (int i = 0; i < " << numCols << "; i++)\\n"; createMatrixSubscriptCase() local
910 op << " for (int i = 0; i < " << numCols << "; i++)\\n"; createMatrixSubscriptCase() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderIndexingTests.cpp923 int numCols = getDataTypeMatrixNumColumns(varType); in createMatrixSubscriptCase() local
925 const char* matSizeName = getIntUniformName(numCols); in createMatrixSubscriptCase()
949 if (numCols >= 2) op << "layout(std140, binding = 1) uniform something1 { mediump int ui_one; };\n"; in createMatrixSubscriptCase()
950 if (numCols >= 3) op << "layout(std140, binding = 2) uniform something2 { mediump int ui_two; };\n"; in createMatrixSubscriptCase()
951 if (numCols >= 4) op << "layout(std140, binding = 3) uniform something3 { mediump int ui_three; };\n"; in createMatrixSubscriptCase()
955 op << "layout(std140, binding = " << numCols << ") uniform something" << numCols << " { mediump int " << matSizeName << "; };\n"; in createMatrixSubscriptCase()
976 if (numCols >= 2) op << " tmp[1] = ${VEC_TYPE}(coords.yzwx) * 0.5;\n"; in createMatrixSubscriptCase()
977 if (numCols >= 3) op << " tmp[2] = ${VEC_TYPE}(coords.zwxy) * 0.25;\n"; in createMatrixSubscriptCase()
978 if (numCols > in createMatrixSubscriptCase()
989 op << " for (int i = 0; i < " << numCols << "; i++)\\n"; createMatrixSubscriptCase() local
1023 op << " for (int i = 0; i < " << numCols << "; i++)\\n"; createMatrixSubscriptCase() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
H A 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; };\n"; in createMatrixSubscriptCase()
962 op << "layout(std140, binding = " << numCols << ") uniform something" << numCols << " { mediump int " << matSizeName << "; };\n"; 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 > in createMatrixSubscriptCase()
996 op << " for (int i = 0; i < " << numCols << "; i++)\\n"; createMatrixSubscriptCase() local
1030 op << " for (int i = 0; i < " << numCols << "; i++)\\n"; createMatrixSubscriptCase() local
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A 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 > in createMatrixSubscriptCase()
1048 op << " for (int i = 0; i < " << numCols << "; i++)\\n"; createMatrixSubscriptCase() local
1088 op << " for (int i = 0; i < " << numCols << "; i++)\\n"; createMatrixSubscriptCase() local
[all...]
H A 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()
/third_party/vk-gl-cts/modules/gles2/scripts/
H A Dgenutil.py596 def __init__ (self, numCols, numRows, scalars):
597 assert len(scalars) == numRows*numCols
598 self.numCols = numCols
603 def identity (numCols, numRows):
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, numRow
[all...]
/third_party/vk-gl-cts/modules/gles3/scripts/
H A Dgenutil.py739 def __init__ (self, numCols, numRows, scalars):
740 assert len(scalars) == numRows*numCols
741 self.numCols = numCols
746 def fromScalar (numCols, numRows, scalar):
748 for col in range(0, numCols):
751 return Mat(numCols, numRows, scalars)
754 def identity (numCols, numRows):
755 return Mat.fromScalar(numCols, numRows, 1.0)
758 assert 0 <= colNdx and colNdx < self.numCols
[all...]
/third_party/vk-gl-cts/modules/gles31/scripts/
H A Dgenutil.py741 def __init__ (self, numCols, numRows, scalars):
742 assert len(scalars) == numRows*numCols
743 self.numCols = numCols
748 def fromScalar (numCols, numRows, scalar):
750 for col in range(0, numCols):
753 return Mat(numCols, numRows, scalars)
756 def identity (numCols, numRows):
757 return Mat.fromScalar(numCols, numRows, 1.0)
760 assert 0 <= colNdx and colNdx < self.numCols
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DRBBITableBuilder.java903 int numCols = fRB.fSetBuilder.getNumCharCategories(); in findDuplCharClassFrom()
907 for (; categories.first < numCols-1; ++categories.first) { in findDuplCharClassFrom()
913 fRB.fSetBuilder.getDictCategoriesStart() : numCols; in findDuplCharClassFrom()
958 int numCols = fRB.fSetBuilder.getNumCharCategories(); in findDuplicateState()
970 for (int col=0; col < numCols; ++col) { in findDuplicateState()
1003 int numCols = firstRow.length; in findDuplicateSafeState()
1004 for (int col=0; col < numCols; ++col) { in findDuplicateSafeState()
1037 int numCols = fRB.fSetBuilder.getNumCharCategories(); in removeState()
1040 for (int col=0; col<numCols; col++) { in removeState()
1114 int numCols in getTableSize()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DRBBITableBuilder.java898 int numCols = fRB.fSetBuilder.getNumCharCategories(); in findDuplCharClassFrom()
902 for (; categories.first < numCols-1; ++categories.first) { in findDuplCharClassFrom()
903 for (categories.second=categories.first+1; categories.second < numCols; ++categories.second) { in findDuplCharClassFrom()
947 int numCols = fRB.fSetBuilder.getNumCharCategories(); in findDuplicateState()
959 for (int col=0; col < numCols; ++col) { in findDuplicateState()
992 int numCols = firstRow.length; in findDuplicateSafeState()
993 for (int col=0; col < numCols; ++col) { in findDuplicateSafeState()
1026 int numCols = fRB.fSetBuilder.getNumCharCategories(); in removeState()
1029 for (int col=0; col<numCols; col++) { in removeState()
1103 int numCols in getTableSize()
[all...]
/third_party/icu/icu4c/source/common/
H A 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 in removeSafeState() local
1339 int32_t numCols; getTableSize() local
1561 int32_t numCols; getSafeTableSize() local
[all...]
/third_party/node/deps/icu-small/source/common/
H A Drbbitblb.cpp1140 int32_t numCols = fRB->fSetBuilder->getNumCharCategories(); in findDuplCharClassFrom() local
1142 for (; categories->first < numCols-1; categories->first++) { in findDuplCharClassFrom()
1148 fRB->fSetBuilder->getDictCategoriesStart() : numCols; in findDuplCharClassFrom()
1187 int32_t numCols = fRB->fSetBuilder->getNumCharCategories(); in findDuplicateState() local
1199 for (int32_t col=0; col < numCols; ++col) { in findDuplicateState()
1226 int32_t numCols = firstRow->length(); in findDuplicateSafeState() local
1227 for (int32_t col=0; col < numCols; ++col) { in findDuplicateSafeState()
1257 int32_t numCols = fRB->fSetBuilder->getNumCharCategories(); in removeState() local
1260 for (int32_t col=0; col<numCols; col++) { in removeState()
1284 int32_t numCols in removeSafeState() local
1324 int32_t numCols; getTableSize() local
1546 int32_t numCols; getSafeTableSize() local
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A 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 in removeSafeState() local
1333 int32_t numCols; getTableSize() local
1546 int32_t numCols; getSafeTableSize() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
H A 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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
H A 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()
/third_party/skia/gm/
H A Dsharedcorners.cpp45 constexpr int numCols = (1 + SK_ARRAY_COUNT(kJitters)) * 2; variable
46 return SkISize::Make(numCols * (kBoxSize + kPadSize) + kPadSize,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/
H A DvktFragmentOperationsScissorMultiViewportTests.cpp142 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numScissors))); in generateScissors() local
143 const 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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/
H A DvktFragmentOperationsScissorMultiViewportTests.cpp142 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numScissors))); in generateScissors() local
143 const 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()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
H A DConvertUnsupportedConstructorsToFunctionCalls.cpp127 const int numCols = type.getNominalSize(); in AppendMatrixFromScalarArgument() local
129 for (int col = 0; col < numCols; ++col) in AppendMatrixFromScalarArgument()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
H A 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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/
H A 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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawShaderLayerTests.cpp502 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numCells))); in generateGrid() local
503 const int numRows = deCeilFloatToInt32(static_cast<float>(numCells) / static_cast<float>(numCols)); in generateGrid()
504 const int rectWidth = renderSize.x() / numCols; in generateGrid()
515 const bool nextRow = (cellNdx != 0) && (cellNdx % numCols == 0); in generateGrid()
/third_party/vk-gl-cts/framework/opengl/
H A 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()

Completed in 33 milliseconds

123