/external/chromium_org/third_party/sqlite/src/src/ |
D | table.c | 33 int nRow; /* Number of rows in the result */ member 53 if( p->nRow==0 && argv!=0 ){ in sqlite3_get_table_cb() 69 if( p->nRow==0 ){ in sqlite3_get_table_cb() 99 p->nRow++; in sqlite3_get_table_cb() 134 res.nRow = 0; in sqlite3_get_table() 177 if( pnRow ) *pnRow = res.nRow; in sqlite3_get_table()
|
D | where.c | 1653 double nRow = 0; in bestOrClauseIndex() local 1676 nRow += sTermCost.plan.nRow; in bestOrClauseIndex() 1685 rTotal, rTotal+nRow*estLog(nRow))); in bestOrClauseIndex() 1686 rTotal += nRow*estLog(nRow); in bestOrClauseIndex() 1692 WHERETRACE(("... multi-index OR cost=%.9g nrow=%.9g\n", rTotal, nRow)); in bestOrClauseIndex() 1696 pCost->plan.nRow = nRow; in bestOrClauseIndex() 1780 pCost->plan.nRow = logN + 1; in bestAutomaticIndex() 2757 double nRow; /* Estimated number of rows in result set */ in bestBtreeIndex() local 2934 nRow = (double)(aiRowEst[nEq] * nInMul); in bestBtreeIndex() 2935 if( bInEst && nRow*2>aiRowEst[0] ){ in bestBtreeIndex() [all …]
|
D | test8.c | 779 int nRow; in echoBestIndex() local 812 nRow = sqlite3_column_int(pStmt, 0); in echoBestIndex() 899 if( nRow & (1<<ii) ){ in echoBestIndex() 904 pIdxInfo->estimatedCost = (double)nRow; in echoBestIndex()
|
D | shell.c | 1232 int nRow = 0; in dump_callback() local 1261 nRow++; in dump_callback() 1264 if( rc!=SQLITE_OK || nRow==0 ){ in dump_callback() 2116 int nRow; in do_meta_command() local 2127 &azResult, &nRow, 0, &zErrMsg in do_meta_command() 2138 &azResult, &nRow, 0, &zErrMsg in do_meta_command() 2153 for(i=1; i<=nRow; i++){ in do_meta_command() 2160 nPrintRow = (nRow + nPrintCol - 1)/nPrintCol; in do_meta_command() 2162 for(j=i+1; j<=nRow; j+=nPrintRow){ in do_meta_command()
|
D | vdbeaux.c | 1127 int nRow; /* Stop when row count reaches this */ in sqlite3VdbeList() local 1160 nRow = p->nOp; in sqlite3VdbeList() 1175 nRow += apSub[i]->nOp; in sqlite3VdbeList() 1181 }while( i<nRow && p->explain==2 && p->aOp[i].opcode!=OP_Explain ); in sqlite3VdbeList() 1182 if( i>=nRow ){ in sqlite3VdbeList()
|
D | test1.c | 584 int nRow, nCol; in test_get_table_printf() local 604 rc = sqlite3_get_table(db, zSql, &aResult, &nRow, &nCol, &zErr); in test_get_table_printf() 605 resCount = (nRow+1)*nCol; in test_get_table_printf() 612 sprintf(zBuf, "%d", nRow); in test_get_table_printf()
|
D | sqliteInt.h | 1886 double nRow; /* Estimated number of rows (for EQP) */ member
|
/external/chromium_org/third_party/sqlite/src/tool/ |
D | speedtest16.c | 82 int nRow = 0; in prepareAndRun() local 84 while( (rc=sqlite3_step(pStmt))==SQLITE_ROW ){ nRow++; } in prepareAndRun() 88 rc, nRow, iElapse); in prepareAndRun()
|
D | speedtest8.c | 74 int nRow = 0; in prepareAndRun() local 76 while( (rc=sqlite3_step(pStmt))==SQLITE_ROW ){ nRow++; } in prepareAndRun() 81 rc, nRow, iElapse); in prepareAndRun()
|
D | speedtest8inst1.c | 55 int nRow = 0; in prepareAndRun() local 60 while( (rc=sqlite3_step(pStmt))==SQLITE_ROW ){ nRow++; } in prepareAndRun()
|
/external/chromium_org/third_party/sqlite/src/ext/rtree/ |
D | rtree_util.tcl | 94 set nRow [$db one "SELECT count(*) FROM ${zTab}"] 101 if {$nRow != $nRowid} {
|
/external/chromium_org/third_party/sqlite/src/test/ |
D | ioerr5.test | 85 set nRow [db one {SELECT count(*) FROM a}] 150 } [expr $nRow+1] 174 set nRow [db one {SELECT count(*) FROM a}]
|
D | walfault.test | 517 set nRow [db eval {SELECT count(*) FROM abc}] 518 if {!(($nRow==2 && $testrc) || $nRow==3)} { error "Bad db content" } 547 set nRow [db eval {SELECT count(*) FROM abc}] 548 if {!(($nRow==2 && $testrc) || $nRow==3)} { error "Bad db content" }
|
D | incrvacuum.test | 396 set ::nRow 0 401 incr ::nRow 403 list [expr {[file size test.db] / 1024}] $nRow 434 set ::nRow 0 436 incr ::nRow 437 if {$::nRow == $::iWrite} { 453 if {$::nRow == $::iWrite} break
|
D | select9.test | 53 set nRow [expr {[llength $result] / $nCol}] 63 if {[info exists ::G(isquick)] && $::G(isquick) && $nRow>=5} { 64 set iOffsetIncr [expr $nRow / 5] 65 set iLimitIncr [expr $nRow / 5] 68 set iLimitEnd [expr $nRow+$iLimitIncr] 69 set iOffsetEnd [expr $nRow+$iOffsetIncr]
|
D | fts3matchinfo.test | 126 set nRow 0 128 if {[llength $res]>$nRow} { set nRow [llength $res] } 137 for {set iRow 0} {$iRow<$nRow} {incr iRow} { 162 for {set iRow 0} {$iRow<$nRow} {incr iRow} {
|
D | tkt2565.test | 53 set nRow [db one {SELECT count(*) FROM a}]
|
D | fts3rnd.test | 293 set nRow [llength $rows] 294 set iUpdate [lindex $rows [expr {int(rand()*$nRow)}]] 297 set iDelete [lindex $rows [expr {int(rand()*$nRow)}]]
|
D | tester.tcl | 431 set nRow 0 432 db eval $sql {incr nRow} 433 uplevel do_test ${prefix}.$tn [list [list set {} $nRow]] [list $res]
|
D | threadtest3.c | 1154 i64 nRow; in walthread5_thread() local 1157 nRow = execsql_i64(&err, &db, "SELECT count(*) FROM t1"); in walthread5_thread() 1160 if( nRow!=65536 ) test_error(&err, "Bad row count: %d", (int)nRow); in walthread5_thread()
|
D | e_select.test | 971 # Set $nRow to the number of rows returned by $select: 973 set nRow 0 974 while {"SQLITE_ROW" == [sqlite3_step $::stmt]} { incr nRow } 977 # Test that $nRow==1 and that statement execution was successful 979 do_test e_select-4.$tn [list list $rc $nRow] {SQLITE_OK 1}
|
/external/sqlite/dist/ |
D | shell.c | 1497 int nRow = 0; in dump_callback() local 1529 nRow++; in dump_callback() 1532 if( rc!=SQLITE_OK || nRow==0 ){ in dump_callback() 3204 int nRow, nAlloc; in do_meta_command() local 3239 nRow = nAlloc = 0; in do_meta_command() 3247 if( nRow>=nAlloc ){ in do_meta_command() 3258 azResult[nRow] = sqlite3_mprintf("%s", sqlite3_column_text(pStmt, 0)); in do_meta_command() 3259 if( azResult[nRow] ) nRow++; in do_meta_command() 3262 if( nRow>0 ){ in do_meta_command() 3266 for(i=0; i<nRow; i++){ in do_meta_command() [all …]
|
D | sqlite3.c | 63557 int nRow; /* Stop when row count reaches this */ 63591 nRow = p->nOp; 63606 nRow += apSub[i]->nOp; 63612 }while( i<nRow && p->explain==2 && p->aOp[i].opcode!=OP_Explain ); 63613 if( i>=nRow ){ 83741 tRowcnt nRow; /* Number of rows in the entire table */ 83893 p->nRow = 0; 84178 if( p->nRow==0 ){ 84198 p->nRow++; 84312 sqlite3_snprintf(24, zRet, "%llu", (u64)p->nRow); [all …]
|
/external/sqlite/dist/orig/ |
D | shell.c | 1492 int nRow = 0; in dump_callback() local 1524 nRow++; in dump_callback() 1527 if( rc!=SQLITE_OK || nRow==0 ){ in dump_callback() 3184 int nRow, nAlloc; in do_meta_command() local 3219 nRow = nAlloc = 0; in do_meta_command() 3227 if( nRow>=nAlloc ){ in do_meta_command() 3238 azResult[nRow] = sqlite3_mprintf("%s", sqlite3_column_text(pStmt, 0)); in do_meta_command() 3239 if( azResult[nRow] ) nRow++; in do_meta_command() 3242 if( nRow>0 ){ in do_meta_command() 3246 for(i=0; i<nRow; i++){ in do_meta_command() [all …]
|
/external/chromium_org/third_party/sqlite/amalgamation/ |
D | sqlite3.c | 10231 double nRow; /* Estimated number of rows (for EQP) */ member 58252 int nRow; /* Stop when row count reaches this */ 58285 nRow = p->nOp; 58300 nRow += apSub[i]->nOp; 58306 }while( i<nRow && p->explain==2 && p->aOp[i].opcode!=OP_Explain ); 58307 if( i>=nRow ){ 94420 int nRow; /* Number of rows in the result */ 94440 if( p->nRow==0 && argv!=0 ){ 94456 if( p->nRow==0 ){ 94486 p->nRow++; [all …]
|