| /sqlite-3.40.0/test/ |
| H A D | threadtest3.c | 1202 i64 iRow = 1; in walthread4_writer_thread() local 1210 iRow++; in walthread4_writer_thread() 1211 if( iRow==10 ) iRow = 0; in walthread4_writer_thread() 1317 i64 iRow; in cgt_pager_1_populate() local 1319 for(iRow=1; iRow<=CALLGRINDTEST1_NROW; iRow++){ in cgt_pager_1_populate() 1320 i64 iBlob = 600 + (iRow%300); in cgt_pager_1_populate() 1327 i64 iRow; in cgt_pager_1_update() local 1329 for(iRow=1; iRow<=CALLGRINDTEST1_NROW; iRow++){ in cgt_pager_1_update() 1330 i64 iBlob = 600 + ((iRow+100)%300); in cgt_pager_1_update() 1336 i64 iRow; in cgt_pager_1_read() local [all …]
|
| H A D | fuzzinvariants.c | 68 int iRow, /* Current row number */ in fuzz_invariant() argument 200 reportInvariantFailed(pStmt, pTestStmt, iRow); in fuzz_invariant() 397 static void printRow(sqlite3_stmt *pStmt, int iRow){ in printRow() argument 402 printf("row%d.col%d = ", iRow, i); in printRow() 469 int iRow /* Row number in pOrig */ in reportInvariantFailed() argument 472 printf("Invariant check failed on row %d.\n", iRow); in reportInvariantFailed() 478 printRow(pOrig, iRow); in reportInvariantFailed()
|
| H A D | e_blobopen.test | 74 # located in row iRow, column zColumn, table zTable in database zDb; in 76 # FROM zDb.zTable WHERE rowid = iRow; 78 proc read_blob {zDb zTab zCol iRow} { 79 sqlite3_blob_open db $zDb $zTab $zCol $iRow 0 B 133 foreach {tn iRow flags} { 141 sqlite3_blob_open db main x1 c $iRow $flags B 144 } [binary format ccc 0 1 $iRow] 153 SELECT c FROM x1 WHERE a=$iRow; 154 } [binary format ccc 0 1 $iRow] 162 SELECT c FROM x1 WHERE a=$iRow; [all …]
|
| H A D | fts3matchinfo.test | 145 for {set iRow 0} {$iRow<$nRow} {incr iRow} { 148 set rowres [concat $rowres [lindex $resarray($c) $iRow]] 170 for {set iRow 0} {$iRow<$nRow} {incr iRow} { 172 lappend allres [lindex $res $iRow]
|
| H A D | fuzzcheck.c | 978 int iRow, /* The row number for pStmt */ 1100 int iRow = 0; in runDbSql() local 1104 iRow++; in runDbSql() 1106 rc = fuzz_invariant(db, pStmt, iCnt, iRow, nRow, in runDbSql()
|
| /sqlite-3.40.0/src/ |
| H A D | vdbeblob.c | 54 static int blobSeekToRow(Incrblob *p, sqlite3_int64 iRow, char **pzErr){ in blobSeekToRow() argument 63 v->aMem[1].u.i = iRow; in blobSeekToRow() 105 zErr = sqlite3MPrintf(p->db, "no such rowid: %lld", iRow); in blobSeekToRow() 127 sqlite_int64 iRow, /* The row containing the glob */ in sqlite3_blob_open() argument 333 rc = blobSeekToRow(pBlob, iRow, &zErr); in sqlite3_blob_open() 485 int sqlite3_blob_reopen(sqlite3_blob *pBlob, sqlite3_int64 iRow){ in sqlite3_blob_reopen() argument 502 rc = blobSeekToRow(p, iRow, &zErr); in sqlite3_blob_reopen()
|
| H A D | window.c | 413 i64 iRow; /* Current row */ member 451 p->iRow++; in ntileInvFunc() 459 sqlite3_result_int64(pCtx, p->iRow+1); in ntileValueFunc() 463 i64 iRow = p->iRow; in ntileValueFunc() local 467 if( iRow<iSmall ){ in ntileValueFunc() 468 sqlite3_result_int64(pCtx, 1 + iRow/(nSize+1)); in ntileValueFunc() 470 sqlite3_result_int64(pCtx, 1 + nLarge + (iRow-iSmall)/nSize); in ntileValueFunc()
|
| H A D | tclsqlite.c | 397 sqlite_int64 iRow, in createIncrblobChannel() argument 410 rc = sqlite3_blob_open(db, zDb, zTable, zColumn, iRow, !isReadonly, &pBlob); in createIncrblobChannel() 2955 Tcl_WideInt iRow; in DbObjCmd() 2972 rc = Tcl_GetWideIntFromObj(interp, objv[objc-1], &iRow); in DbObjCmd() 2976 interp, pDb, zDb, zTable, zColumn, (sqlite3_int64)iRow, isReadonly in DbObjCmd()
|
| H A D | btree.c | 546 i64 iRow, /* The rowid that might be changing */ in invalidateIncrblobCursors() argument 556 if( p->pgnoRoot==pgnoRoot && (isClearTable || p->info.nKey==iRow) ){ in invalidateIncrblobCursors()
|
| H A D | sqlite.h.in | 7438 ** in row iRow, column zColumn, table zTable in database zDb; 7442 ** SELECT zColumn FROM zDb.zTable WHERE [rowid] = iRow; 7467 ** <li> ^(Row iRow is not present in the table)^, 7468 ** <li> ^(The specified column of row iRow contains a value that is not 7520 sqlite3_int64 iRow,
|
| /sqlite-3.40.0/tool/ |
| H A D | showstat4.c | 44 int iRow = 0; in main() local 70 iRow = 0; in main() 72 printf("%s sample %d ------------------------------------\n", zIdx, ++iRow); in main()
|
| /sqlite-3.40.0/ext/misc/ |
| H A D | spellfix.c | 2161 pCur->iRow = 0; in spellfix1ResetCursor() 2664 pCur->nRow = pCur->iRow = 0; in spellfix1FilterForFullScan() 2670 pCur->iRow = 0; in spellfix1FilterForFullScan() 2704 if( pCur->iRow < pCur->nRow ){ in spellfix1Next() 2707 if( rc!=SQLITE_ROW ) pCur->iRow = pCur->nRow; in spellfix1Next() 2710 pCur->iRow++; in spellfix1Next() 2721 return pCur->iRow>=pCur->nRow; in spellfix1Eof() 2747 sqlite3_result_int(ctx, pCur->a[pCur->iRow].iRank); in spellfix1Column() 2763 int iMatchlen = pCur->a[pCur->iRow].iMatchlen; in spellfix1Column() 2766 char *zWord = pCur->a[pCur->iRow].zWord; in spellfix1Column() [all …]
|
| /sqlite-3.40.0/ext/fts5/test/ |
| H A D | fts5matchinfo.test | 113 for {set iRow 0} {$iRow<$nRow} {incr iRow} { 116 set rowres [concat $rowres [lindex $resarray($c) $iRow]] 138 for {set iRow 0} {$iRow<$nRow} {incr iRow} { 140 lappend allres [lindex $res $iRow]
|
| /sqlite-3.40.0/ext/fts1/ |
| H A D | fulltext.c | 681 static int content_select(fulltext_vtab *v, sqlite_int64 iRow, in content_select() argument 687 rc = sqlite3_bind_int64(s, 1, iRow); in content_select() 705 static int content_delete(fulltext_vtab *v, sqlite_int64 iRow){ in content_delete() argument 710 rc = sqlite3_bind_int64(s, 1, iRow); in content_delete() 1439 static int index_delete(fulltext_vtab *v, sqlite_int64 iRow){ in index_delete() argument 1444 int rc = content_select(v, iRow, &zText); in index_delete() 1447 rc = build_terms(&terms, v->pTokenizer, zText, iRow); in index_delete() 1452 rc = index_delete_term(v, HashKey(e), HashKeysize(e), iRow); in index_delete() 1461 return content_delete(v, iRow); in index_delete()
|
| H A D | fts1.c | 1298 static int content_select(fulltext_vtab *v, sqlite_int64 iRow, in content_select() argument 1310 rc = sqlite3_bind_int64(s, 1, iRow); in content_select() 1338 static int content_delete(fulltext_vtab *v, sqlite_int64 iRow){ in content_delete() argument 1343 rc = sqlite3_bind_int64(s, 1, iRow); in content_delete() 3127 static int index_delete(fulltext_vtab *v, sqlite_int64 iRow, fts1Hash *pTerms){ in index_delete() argument 3128 int rc = deleteTerms(v, pTerms, iRow); in index_delete() 3130 return content_delete(v, iRow); /* execute an SQL DELETE */ in index_delete() 3135 static int index_update(fulltext_vtab *v, sqlite_int64 iRow, in index_update() argument 3139 int rc = deleteTerms(v, pTerms, iRow); in index_update() 3142 rc = content_update(v, pValues, iRow); /* execute an SQL UPDATE */ in index_update() [all …]
|
| /sqlite-3.40.0/ext/fts2/ |
| H A D | fts2.c | 2061 static int content_select(fulltext_vtab *v, sqlite_int64 iRow, in content_select() argument 2073 rc = sqlite3_bind_int64(s, 1, iRow); in content_select() 2106 rc = sqlite3_bind_int64(s, 1, iRow); in content_delete() 4005 static int index_delete(fulltext_vtab *v, sqlite_int64 iRow){ in index_delete() argument 4006 int rc = initPendingTerms(v, iRow); in index_delete() 4009 rc = deleteTerms(v, iRow); in index_delete() 4012 return content_delete(v, iRow); /* execute an SQL DELETE */ in index_delete() 4019 static int index_update(fulltext_vtab *v, sqlite_int64 iRow, in index_update() argument 4021 int rc = initPendingTerms(v, iRow); in index_update() 4026 rc = deleteTerms(v, iRow); in index_update() [all …]
|
| /sqlite-3.40.0/ext/fts5/ |
| H A D | fts5_index.c | 6101 i64 iRow; /* Rowid for this leaf */ in fts5IndexIntegrityCheckSegment() local 6112 iRow = FTS5_SEGMENT_ROWID(pSeg->iSegid, iIdxLeaf); in fts5IndexIntegrityCheckSegment() 6113 pLeaf = fts5LeafRead(p, iRow); in fts5IndexIntegrityCheckSegment()
|