Lines Matching refs:nrows

142 	int nrows;  member
699 if (!res->buffered && res->nrows) { in real_result_dtor()
700 res->nrows = 1; /* only one row is stored */ in real_result_dtor()
702 for (i = 0; i < res->nrows; i++) { in real_result_dtor()
1272 if (res && res->curr_row < res->nrows && res->nrows) { /* curr_row may be -1 */ in sqlite_iterator_valid()
1313 if (res->curr_row >= res->nrows) { in sqlite_iterator_move_forward()
1788 if (!rres->nrows) { in php_sqlite_fetch()
1810 if (rres->nrows + 1 >= rres->alloc_rows) { in php_sqlite_fetch()
1814 base = rres->nrows * rres->ncolumns; in php_sqlite_fetch()
1822 rres->nrows++; in php_sqlite_fetch()
1826 if (rres->nrows++) { in php_sqlite_fetch()
2171 if (res->curr_row >= res->nrows) { in php_sqlite_fetch_array()
2238 if (res->curr_row >= res->nrows) { in php_sqlite_fetch_column()
2314 if (res->curr_row >= res->nrows && res->nrows) { in PHP_FUNCTION()
2324 while (res->curr_row < res->nrows) { in PHP_FUNCTION()
2414 if (res->curr_row < res->nrows) { in PHP_FUNCTION()
2535 while (rres->curr_row < rres->nrows) { in PHP_FUNCTION()
2552 if (res->curr_row >= res->nrows) { in php_sqlite_fetch_single()
2653 while (rres->curr_row < rres->nrows) { in PHP_FUNCTION()
2659 if (rres->curr_row == 1 && rres->curr_row >= rres->nrows) { in PHP_FUNCTION()
2841 * count = obj->u.res->nrows; in sqlite_count_elements()
2870 RETURN_LONG(res->nrows); in PHP_FUNCTION()
2898 RETURN_BOOL(res->curr_row < res->nrows && res->nrows); /* curr_row may be -1 */ in PHP_FUNCTION()
3011 if (row < 0 || row >= res->nrows) { in PHP_FUNCTION()
3046 if (!res->nrows) { in PHP_FUNCTION()
3080 if (res->curr_row >= res->nrows) { in PHP_FUNCTION()