Lines Matching refs:ncolumns

141 	int ncolumns;  member
703 base = i * res->ncolumns; in real_result_dtor()
704 for (j = 0; j < res->ncolumns; j++) { in real_result_dtor()
713 for (j = 0; j < res->ncolumns; j++) { in real_result_dtor()
1787 ret = sqlite_step(rres->vm, &rres->ncolumns, &rowdata, &colnames); in php_sqlite_fetch()
1790 rres->col_names = safe_emalloc(rres->ncolumns, sizeof(char *), 0); in php_sqlite_fetch()
1791 for (i = 0; i < rres->ncolumns; i++) { in php_sqlite_fetch()
1802 rres->table = safe_emalloc(rres->ncolumns, sizeof(char *), 0); in php_sqlite_fetch()
1812 rres->table = safe_erealloc(rres->table, rres->alloc_rows, rres->ncolumns*sizeof(char *), 0); in php_sqlite_fetch()
1814 base = rres->nrows * rres->ncolumns; in php_sqlite_fetch()
1815 for (i = 0; i < rres->ncolumns; i++) { in php_sqlite_fetch()
1827 for (i = 0; i < rres->ncolumns; i++) { in php_sqlite_fetch()
1833 for (i = 0; i < rres->ncolumns; i++) { in php_sqlite_fetch()
2167 int j, n = res->ncolumns, buffered = res->buffered; in php_sqlite_fetch_array()
2177 rowdata = (const char**)&res->table[res->curr_row * res->ncolumns]; in php_sqlite_fetch_array()
2248 for (j = 0; j < res->ncolumns; j++) { in php_sqlite_fetch_column()
2254 if (j < 0 || j >= res->ncolumns) { in php_sqlite_fetch_column()
2260 rowdata = (const char**)&res->table[res->curr_row * res->ncolumns]; in php_sqlite_fetch_column()
2558 rowdata = (const char**)&res->table[res->curr_row * res->ncolumns]; in php_sqlite_fetch_single()
2951 RETURN_LONG(res->ncolumns); in PHP_FUNCTION()
2976 if (field < 0 || field >= res->ncolumns) { in PHP_FUNCTION()