Home
last modified time | relevance | path

Searched refs:numRows (Results 1 – 25 of 54) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLTableSectionElement.cpp66 int numRows = children ? static_cast<int>(children->length()) : 0; in insertRow() local
67 if (index < -1 || index > numRows) { in insertRow()
68 …index (" + String::number(index) + " is outside the range [-1, " + String::number(numRows) + "]."); in insertRow()
73 if (numRows == index || index == -1) in insertRow()
83 int numRows = children ? (int)children->length() : 0; in deleteRow() local
85 index = numRows - 1; in deleteRow()
86 if (index >= 0 && index < numRows) { in deleteRow()
90 …index (" + String::number(index) + " is outside the range [-1, " + String::number(numRows) + "]."); in deleteRow()
94 int HTMLTableSectionElement::numRows() const in numRows() function in WebCore::HTMLTableSectionElement
DHTMLTableSectionElement.h43 int numRows() const;
/external/chromium_org/third_party/angle/src/compiler/translator/
DVariablePacker.cpp149 void VariablePacker::fillColumns(int topRow, int numRows, int column, int numComponentsPerRow) in fillColumns() argument
152 for (int r = 0; r < numRows; ++r) { in fillColumns()
159 bool VariablePacker::searchColumn(int column, int numRows, int* destRow, int* destSize) in searchColumn() argument
171 if (bottomNonFullRow_ - topNonFullRow_ + 1 < numRows) { in searchColumn()
191 if (size >= numRows && size < smallestGoodSize) { in searchColumn()
272 int numRows = GetNumRows(variable.type) * variable.size; in CheckVariablesWithinPackingLimits() local
273 if (numRows <= rowsAvailableInColumns01) { in CheckVariablesWithinPackingLimits()
274 rowsAvailableInColumns01 -= numRows; in CheckVariablesWithinPackingLimits()
275 } else if (numRows <= rowsAvailableInColumns23) { in CheckVariablesWithinPackingLimits()
276 rowsAvailableInColumns23 -= numRows; in CheckVariablesWithinPackingLimits()
[all …]
DVariablePacker.h32 void fillColumns(int topRow, int numRows, int column, int numComponentsPerRow);
33 bool searchColumn(int column, int numRows, int* destRow, int* destSize);
/external/deqp/modules/gles3/functional/
Des3fPrimitiveRestartTests.cpp271 const int numRows = 20; in init() local
273 for (int row = 0; row < numRows; row++) in init()
277 float fx = -1.0f + 2.0f * ((float)col + 0.5f) / (float)numRows; in init()
278 float fy = -1.0f + 2.0f * ((float)row + 0.5f) / (float)numRows; in init()
286 if (row < numRows - 1) // Add a restart after all but last row. in init()
299 const int numRows = 4; in init() local
302 for (int row = 0; row < numRows; row++) in init()
304 float centerY = -1.0f + 2.0f * ((float)row + 0.5f) / (float)numRows; in init()
314 … float fy = centerY + 0.9f * deFloatSin((float)i*2.0f*DE_PI / (float)numVertices) / (float)numRows; in init()
322 if (col < numCols - 1 || row < numRows - 1) // Add a restart after all but last polygon. in init()
[all …]
Des3fRasterizationTests.cpp1393 const int numRows = 4; in generateTriangles() local
1398 outData.resize(6 * numRows * numColumns); in generateTriangles()
1401 for (int row = 0; row < numRows; ++row) in generateTriangles()
1403 …const tcu::Vec2 center = tcu::Vec2((row + 0.5f) / numRows * 2.0f - 1.0f, (col + 0.5f) / numColumn… in generateTriangles()
1404 …otation = (iteration * numColumns * numRows + col * numRows + row) / (float)(m_iterationCount * nu… in generateTriangles()
1417 outData[6 * (col * numRows + row) + 0] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1418 outData[6 * (col * numRows + row) + 1] = tcu::Vec4(quad[1].x(), quad[1].y(), 0.0f, 1.0f); in generateTriangles()
1419 outData[6 * (col * numRows + row) + 2] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1420 outData[6 * (col * numRows + row) + 3] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1421 outData[6 * (col * numRows + row) + 4] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
[all …]
Des3fInstancedRenderingTests.cpp495 int numRows = glu::getDataTypeMatrixNumRows(m_rgbAttrType); in setupVarAttribPointer() local
498 …glVertexAttribPointer(curLoc, numRows, GL_FLOAT, GL_FALSE, numCols*numRows*sizeof(float), attrPtr); in setupVarAttribPointer()
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
DAXTable.cpp177 int numRows = firstBody->numRows(); in isDataTable() local
180 if (numRows == 1 && numCols == 1) in isDataTable()
184 if (numRows >= 20) in isDataTable()
210 for (int row = 0; row < numRows; ++row) { in isDataTable()
296 if (headersInFirstColumnCount == numRows && numRows > 1) in isDataTable()
389 unsigned numRows = tableSection->numRows(); in addChildren() local
390 for (unsigned rowIndex = 0; rowIndex < numRows; ++rowIndex) { in addChildren()
481 int numRows = m_rows.size(); in cells() local
482 for (int row = 0; row < numRows; ++row) { in cells()
DAXTableColumn.cpp120 if (!section->numRows()) in headerObjectForSection()
168 int numRows = parentTable->rowCount(); in addChildren() local
170 for (int i = 0; i < numRows; i++) { in addChildren()
DAXTableCell.cpp122 rowOffset += tableSection->numRows(); in rowIndexRange()
/external/deqp/modules/gles2/scripts/
Dgenutil.py574 def __init__ (self, numCols, numRows, scalars): argument
575 assert len(scalars) == numRows*numCols
577 self.numRows = numRows
581 def identity (numCols, numRows): argument
584 for row in range(0, numRows):
586 return Mat(numCols, numRows, scalars)
590 assert 0 <= rowNdx and rowNdx < self.numRows
591 return self.scalars[colNdx*self.numRows + rowNdx]
595 assert 0 <= rowNdx and rowNdx < self.numRows
596 self.scalars[colNdx*self.numRows + rowNdx] = scalar
[all …]
Dgen-conversions.py77 def combineMat(numCols, numRows, comps): argument
81 res.append(Mat(numCols, numRows, scalars))
/external/chromium_org/chrome/browser/resources/net_internals/
Dtable_printer.js162 var numRows = this.rows_.length;
164 for (var r = 0; r < numRows; ++r) {
187 for (var r = 0; r < numRows; ++r) {
226 var numRows = this.rows_.length;
244 for (var r = 0; r < numRows; ++r) {
/external/deqp/modules/gles31/scripts/
Dgenutil.py713 def __init__ (self, numCols, numRows, scalars): argument
714 assert len(scalars) == numRows*numCols
716 self.numRows = numRows
720 def fromScalar (numCols, numRows, scalar): argument
723 for row in range(0, numRows):
725 return Mat(numCols, numRows, scalars)
728 def identity (numCols, numRows): argument
729 return Mat.fromScalar(numCols, numRows, 1.0)
733 assert 0 <= rowNdx and rowNdx < self.numRows
734 return self.scalars[colNdx*self.numRows + rowNdx]
[all …]
/external/deqp/modules/gles3/scripts/
Dgenutil.py711 def __init__ (self, numCols, numRows, scalars): argument
712 assert len(scalars) == numRows*numCols
714 self.numRows = numRows
718 def fromScalar (numCols, numRows, scalar): argument
721 for row in range(0, numRows):
723 return Mat(numCols, numRows, scalars)
726 def identity (numCols, numRows): argument
727 return Mat.fromScalar(numCols, numRows, 1.0)
731 assert 0 <= rowNdx and rowNdx < self.numRows
732 return self.scalars[colNdx*self.numRows + rowNdx]
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/bmp/
DBMPImageReader.h182 inline bool pastEndOfImage(int numRows) in pastEndOfImage() argument
184 …return m_isTopDown ? ((m_coord.y() + numRows) >= m_parent->size().height()) : ((m_coord.y() - numR… in pastEndOfImage()
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
Dtraverse_table.js331 var numRows = this.shadowTable_.length;
332 if (numRows == 0) {
338 this.shadowTable_[numRows - 1][currentCursor[1]];
340 this.currentCellCursor = [(numRows - 1), currentCursor[1]];
1250 var numRows = this.shadowTable_.length;
1251 if (numRows == 0) {
1254 var lastRow = this.shadowTable_[numRows - 1];
1255 var lastIndex = [(numRows - 1), (lastRow.length - 1)];
/external/deqp/modules/gles2/functional/
Des2fRasterizationTests.cpp1116 const int numRows = 4; in generateTriangles() local
1121 outData.resize(6 * numRows * numColumns); in generateTriangles()
1124 for (int row = 0; row < numRows; ++row) in generateTriangles()
1126 …const tcu::Vec2 center = tcu::Vec2((row + 0.5f) / numRows * 2.0f - 1.0f, (col + 0.5f) / numColumn… in generateTriangles()
1127 …otation = (iteration * numColumns * numRows + col * numRows + row) / (float)(m_iterationCount * nu… in generateTriangles()
1140 outData[6 * (col * numRows + row) + 0] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
1141 outData[6 * (col * numRows + row) + 1] = tcu::Vec4(quad[1].x(), quad[1].y(), 0.0f, 1.0f); in generateTriangles()
1142 outData[6 * (col * numRows + row) + 2] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1143 outData[6 * (col * numRows + row) + 3] = tcu::Vec4(quad[2].x(), quad[2].y(), 0.0f, 1.0f); in generateTriangles()
1144 outData[6 * (col * numRows + row) + 4] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f); in generateTriangles()
[all …]
/external/chromium_org/third_party/skia/gm/
Dbeziereffects.cpp82 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumCubics*3) / numCols); in onDraw() local
84 SkScalar h = SkIntToScalar(rt->height()) / numRows; in onDraw()
240 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumConics*3) / numCols); in onDraw() local
242 SkScalar h = SkIntToScalar(rt->height()) / numRows; in onDraw()
430 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumQuads*3) / numCols); in onDraw() local
432 SkScalar h = SkIntToScalar(rt->height()) / numRows; in onDraw()
/external/skia/gm/
Dbeziereffects.cpp82 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumCubics*3) / numCols); in onDraw() local
84 SkScalar h = SkIntToScalar(rt->height()) / numRows; in onDraw()
240 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumConics*3) / numCols); in onDraw() local
242 SkScalar h = SkIntToScalar(rt->height()) / numRows; in onDraw()
430 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumQuads*3) / numCols); in onDraw() local
432 SkScalar h = SkIntToScalar(rt->height()) / numRows; in onDraw()
/external/deqp/framework/opengl/
DgluShaderUtil.cpp519 DataType getDataTypeMatrix (int numCols, int numRows) in getDataTypeMatrix() argument
521 DE_ASSERT(de::inRange(numCols, 2, 4) && de::inRange(numRows, 2, 4)); in getDataTypeMatrix()
522 return (DataType)((int)TYPE_FLOAT_MAT2 + (numCols-2)*3 + (numRows-2)); in getDataTypeMatrix()
/external/llvm/utils/Misc/
Dzkill84 numRows = len(header)
101 fields = ln.split(None, numRows - 1)
102 if len(fields) != 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/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderTable.cpp793 if (section && !section->numRows()) in topNonEmptySection()
1201 …t && (skipEmptySections == DoNotSkipEmptySections || toRenderTableSection(prevSection)->numRows())) in sectionAbove()
1205 … if (!prevSection && m_head && (skipEmptySections == DoNotSkipEmptySections || m_head->numRows())) in sectionAbove()
1219 … && (skipEmptySections == DoNotSkipEmptySections || toRenderTableSection(nextSection)->numRows())) in sectionBelow()
1223 … if (!nextSection && m_foot && (skipEmptySections == DoNotSkipEmptySections || m_foot->numRows())) in sectionBelow()
1258 ASSERT(section->numRows()); in cellAbove()
1259 rAbove = section->numRows() - 1; in cellAbove()
1280 if (r < cell->section()->numRows() - 1) { in cellBelow()
/external/deqp/modules/glshared/
DglsShaderExecUtil.cpp491 int numRows = glu::getDataTypeMatrixNumRows(basicType); in execute() local
493 int stride = numRows * numCols * sizeof(float); in execute()
496 …h_back(glu::va::Float(symbol.name, colNdx, numRows, numValues, stride, ((const float*)ptr) + colNd… in execute()
736 int numRows = glu::getDataTypeMatrixNumRows(basicType); in execute() local
738 int stride = numRows * numCols * sizeof(float); in execute()
741 …sh_back(glu::va::Float(attribName, colNdx, numRows, numValues, stride, ((const float*)ptr) + colNd… in execute()

123