Searched refs:numRows (Results 1 - 25 of 58) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLTableSectionElement.cpp60 int numRows = children ? static_cast<int>(children->length()) : 0; local
61 if (index < -1 || index > numRows) {
62 exceptionState.throwDOMException(IndexSizeError, "The provided index (" + String::number(index) + " is outside the range [-1, " + String::number(numRows) + "].");
67 if (numRows == index || index == -1)
77 int numRows = children ? (int)children->length() : 0; local
79 index = numRows - 1;
80 if (index >= 0 && index < numRows) {
84 exceptionState.throwDOMException(IndexSizeError, "The provided index (" + String::number(index) + " is outside the range [-1, " + String::number(numRows) + "].");
88 int HTMLTableSectionElement::numRows() const function in class:blink::HTMLTableSectionElement
H A DHTMLTableSectionElement.h43 int numRows() const;
/external/chromium_org/third_party/angle/src/compiler/translator/
H A DVariablePacker.h32 void fillColumns(int topRow, int numRows, int column, int numComponentsPerRow);
33 bool searchColumn(int column, int numRows, int* destRow, int* destSize);
H A DVariablePacker.cpp90 void VariablePacker::fillColumns(int topRow, int numRows, int column, int numComponentsPerRow) argument
93 for (int r = 0; r < numRows; ++r) {
100 bool VariablePacker::searchColumn(int column, int numRows, int* destRow, int* destSize) argument
112 if (bottomNonFullRow_ - topNonFullRow_ + 1 < numRows) {
132 if (size >= numRows && size < smallestGoodSize) {
215 int numRows = GetNumRows(variable.type) * variable.elementCount();
216 if (numRows <= rowsAvailableInColumns01) {
217 rowsAvailableInColumns01 -= numRows;
218 } else if (numRows <= rowsAvailableInColumns23) {
219 rowsAvailableInColumns23 -= numRows;
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fPrimitiveRestartTests.cpp271 const int numRows = 20; local
273 for (int row = 0; row < numRows; row++)
277 float fx = -1.0f + 2.0f * ((float)col + 0.5f) / (float)numRows;
278 float fy = -1.0f + 2.0f * ((float)row + 0.5f) / (float)numRows;
286 if (row < numRows - 1) // Add a restart after all but last row.
296 // Generate a numRows x numCols arrangement of line polygons of different vertex counts.
299 const int numRows = 4; local
302 for (int row = 0; row < numRows; row++)
304 float centerY = -1.0f + 2.0f * ((float)row + 0.5f) / (float)numRows;
314 float fy = centerY + 0.9f * deFloatSin((float)i*2.0f*DE_PI / (float)numVertices) / (float)numRows;
366 const int numRows = 4; local
408 const int numRows = 3*7; local
[all...]
H A Des3fRasterizationTests.cpp1393 const int numRows = 4;
1398 outData.resize(6 * numRows * numColumns);
1401 for (int row = 0; row < numRows; ++row)
1403 const tcu::Vec2 center = tcu::Vec2((row + 0.5f) / numRows * 2.0f - 1.0f, (col + 0.5f) / numColumns * 2.0f - 1.0f);
1404 const float rotation = (iteration * numColumns * numRows + col * numRows + row) / (float)(m_iterationCount * numColumns * numRows) * DE_PI / 2.0f;
1417 outData[6 * (col * numRows + row) + 0] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f);
1418 outData[6 * (col * numRows + row) + 1] = tcu::Vec4(quad[1].x(), quad[1].y(), 0.0f, 1.0f);
1419 outData[6 * (col * numRows
[all...]
H A Des3fInstancedRenderingTests.cpp495 int numRows = glu::getDataTypeMatrixNumRows(m_rgbAttrType); local
498 glVertexAttribPointer(curLoc, numRows, GL_FLOAT, GL_FALSE, numCols*numRows*sizeof(float), attrPtr);
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
H A DAXTable.cpp174 int numRows = firstBody->numRows(); local
177 if (numRows == 1 && numCols == 1)
181 if (numRows >= 20)
207 for (int row = 0; row < numRows; ++row) {
293 if (headersInFirstColumnCount == numRows && numRows > 1)
386 unsigned numRows = tableSection->numRows(); local
387 for (unsigned rowIndex = 0; rowIndex < numRows;
478 int numRows = m_rows.size(); local
[all...]
H A DAXTableColumn.cpp120 if (!section->numRows())
168 int numRows = parentTable->rowCount(); local
170 for (int i = 0; i < numRows; i++) {
H A DAXTableCell.cpp122 rowOffset += tableSection->numRows();
/external/chromium_org/chrome/browser/resources/net_internals/
H A 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/chromium_org/third_party/WebKit/Source/platform/image-decoders/bmp/
H A DBMPImageReader.h179 // Returns true if the current y-coordinate plus |numRows| would be past
182 inline bool pastEndOfImage(int numRows) argument
184 return m_isTopDown ? ((m_coord.y() + numRows) >= m_parent->size().height()) : ((m_coord.y() - numRows) < 0);
/external/deqp/modules/gles2/scripts/
H A Dgenutil.py574 def __init__ (self, numCols, numRows, scalars):
575 assert len(scalars) == numRows*numCols
577 self.numRows = numRows
581 def identity (numCols, numRows):
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
[all...]
H A Dgen-conversions.py77 def combineMat(numCols, numRows, comps):
81 res.append(Mat(numCols, numRows, scalars))
/external/deqp/modules/gles3/scripts/
H A Dgenutil.py711 def __init__ (self, numCols, numRows, scalars):
712 assert len(scalars) == numRows*numCols
714 self.numRows = numRows
718 def fromScalar (numCols, numRows, scalar):
721 for row in range(0, numRows):
723 return Mat(numCols, numRows, scalars)
726 def identity (numCols, numRows):
727 return Mat.fromScalar(numCols, numRows, 1.0)
731 assert 0 <= rowNdx and rowNdx < self.numRows
[all...]
/external/deqp/modules/gles31/scripts/
H A Dgenutil.py713 def __init__ (self, numCols, numRows, scalars):
714 assert len(scalars) == numRows*numCols
716 self.numRows = numRows
720 def fromScalar (numCols, numRows, scalar):
723 for row in range(0, numRows):
725 return Mat(numCols, numRows, scalars)
728 def identity (numCols, numRows):
729 return Mat.fromScalar(numCols, numRows, 1.0)
733 assert 0 <= rowNdx and rowNdx < self.numRows
[all...]
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
H A 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/
H A Des2fRasterizationTests.cpp1116 const int numRows = 4;
1121 outData.resize(6 * numRows * numColumns);
1124 for (int row = 0; row < numRows; ++row)
1126 const tcu::Vec2 center = tcu::Vec2((row + 0.5f) / numRows * 2.0f - 1.0f, (col + 0.5f) / numColumns * 2.0f - 1.0f);
1127 const float rotation = (iteration * numColumns * numRows + col * numRows + row) / (float)(m_iterationCount * numColumns * numRows) * DE_PI / 2.0f;
1140 outData[6 * (col * numRows + row) + 0] = tcu::Vec4(quad[0].x(), quad[0].y(), 0.0f, 1.0f);
1141 outData[6 * (col * numRows + row) + 1] = tcu::Vec4(quad[1].x(), quad[1].y(), 0.0f, 1.0f);
1142 outData[6 * (col * numRows
[all...]
/external/chromium_org/third_party/skia/gm/
H A Dbeziereffects.cpp82 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumCubics*3) / numCols); variable
84 SkScalar h = SkIntToScalar(rt->height()) / numRows;
240 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumConics*3) / numCols); variable
242 SkScalar h = SkIntToScalar(rt->height()) / numRows;
430 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumQuads*3) / numCols); variable
432 SkScalar h = SkIntToScalar(rt->height()) / numRows;
/external/skia/gm/
H A Dbeziereffects.cpp82 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumCubics*3) / numCols); variable
84 SkScalar h = SkIntToScalar(rt->height()) / numRows;
240 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumConics*3) / numCols); variable
242 SkScalar h = SkIntToScalar(rt->height()) / numRows;
430 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumQuads*3) / numCols); variable
432 SkScalar h = SkIntToScalar(rt->height()) / numRows;
/external/deqp/framework/opengl/
H A DgluShaderUtil.cpp519 DataType getDataTypeMatrix (int numCols, int numRows) argument
521 DE_ASSERT(de::inRange(numCols, 2, 4) && de::inRange(numRows, 2, 4));
522 return (DataType)((int)TYPE_FLOAT_MAT2 + (numCols-2)*3 + (numRows-2));
/external/llvm/utils/Misc/
H A Dzkill84 numRows = len(header)
101 fields = ln.split(None, numRows - 1)
102 if len(fields) != numRows:
/external/chromium_org/third_party/WebKit/Source/core/paint/
H A DTableSectionPainter.cpp27 unsigned totalRows = m_renderTableSection.numRows();
106 unsigned totalRows = m_renderTableSection.numRows();
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderTable.cpp703 if (section && !section->numRows())
1111 if (prevSection->isTableSection() && prevSection != m_head && prevSection != m_foot && (skipEmptySections == DoNotSkipEmptySections || toRenderTableSection(prevSection)->numRows()))
1115 if (!prevSection && m_head && (skipEmptySections == DoNotSkipEmptySections || m_head->numRows()))
1129 if (nextSection->isTableSection() && nextSection != m_head && nextSection != m_foot && (skipEmptySections == DoNotSkipEmptySections || toRenderTableSection(nextSection)->numRows()))
1133 if (!nextSection && m_foot && (skipEmptySections == DoNotSkipEmptySections || m_foot->numRows()))
1168 ASSERT(section->numRows());
1169 rAbove = section->numRows() - 1;
1190 if (r < cell->section()->numRows() - 1) {
/external/deqp/modules/glshared/
H A DglsShaderExecUtil.cpp491 int numRows = glu::getDataTypeMatrixNumRows(basicType); local
493 int stride = numRows * numCols * sizeof(float);
496 vertexArrays.push_back(glu::va::Float(symbol.name, colNdx, numRows, numValues, stride, ((const float*)ptr) + colNdx * numRows));
736 int numRows = glu::getDataTypeMatrixNumRows(basicType); local
738 int stride = numRows * numCols * sizeof(float);
741 vertexArrays.push_back(glu::va::Float(attribName, colNdx, numRows, numValues, stride, ((const float*)ptr) + colNdx * numRows));

Completed in 564 milliseconds

123