Home
last modified time | relevance | path

Searched refs:iSlot (Results 1 – 6 of 6) sorted by relevance

/sqlite-3.40.0/test/
H A Dshmlock.test127 set iSlot [expr int(rand()*8)]
130 if {[lindex $L($idx) $iSlot]!="n"} {
131 vfs_shmlock db$idx main [lindex $L($idx) $iSlot] unlock $iSlot 1
132 lset L($idx) $iSlot n
136 if {[lindex $L($idx) $iSlot]=="n"} {
141 set n [expr int(rand()*($l-$iSlot))+1]
146 # puts "iSlot=$iSlot l=$l L=$L($idx)"
147 # puts "$iSlot $n"
149 set res [vfs_shmlock db$idx main $locktype lock $iSlot $n]
152 for {set i $iSlot} {$i<($iSlot+$n)} {incr i} {
[all …]
H A Dthreadtest3.c709 int iSlot, /* Db handle slot to store text in */ in execsql_text_x() argument
714 if( iSlot>=pDb->nText ){ in execsql_text_x()
715 int nByte = sizeof(char *)*(iSlot+1); in execsql_text_x()
717 memset(&pDb->aText[pDb->nText], 0, sizeof(char*)*(iSlot+1-pDb->nText)); in execsql_text_x()
718 pDb->nText = iSlot+1; in execsql_text_x()
724 va_start(ap, iSlot); in execsql_text_x()
731 sqlite3_free(pDb->aText[iSlot]); in execsql_text_x()
732 pDb->aText[iSlot] = zRet; in execsql_text_x()
/sqlite-3.40.0/ext/lsm1/
H A Dlsm_tree.c945 switch( iSlot ){ in treeInsert()
983 for(i=0; i<iSlot; i++){ in treeInsert()
994 for(i=iSlot; i<3; i++){ in treeInsert()
1027 assert( iSlot>=0 && iSlot<=4 ); in treeInsertLeaf()
1044 switch( iSlot ){ in treeInsertLeaf()
1594 int iSlot = pCsr->aiCell[pCsr->iNode]; in treeDeleteEntry() local
1599 assert( pNode->aiKeyPtr[iSlot] ); in treeDeleteEntry()
1600 assert( iSlot==0 || iSlot==1 || iSlot==2 ); in treeDeleteEntry()
1622 if( i==iSlot ){ in treeDeleteEntry()
1647 assert( iSlot==1 ); in treeDeleteEntry()
[all …]
/sqlite-3.40.0/ext/fts5/
H A Dfts5_hash.c448 int iSlot; in fts5HashEntrySort() local
456 for(iSlot=0; iSlot<pHash->nSlot; iSlot++){ in fts5HashEntrySort()
458 for(pIter=pHash->aSlot[iSlot]; pIter; pIter=pIter->pHashNext){ in fts5HashEntrySort()
/sqlite-3.40.0/ext/expert/
H A Dsqlite3expert.c1511 int iSlot; in idxRemFunc() local
1514 iSlot = sqlite3_value_int(argv[0]); in idxRemFunc()
1515 assert( iSlot<=p->nSlot ); in idxRemFunc()
1516 pSlot = &p->aSlot[iSlot]; in idxRemFunc()
/sqlite-3.40.0/src/
H A Dtest_vfs.c1641 int iSlot = 0; in test_vfs_set_readmark() local
1655 || Tcl_GetIntFromObj(interp, objv[3], &iSlot) in test_vfs_set_readmark()
1675 iOff = 12*2+1+iSlot; in test_vfs_set_readmark()