Searched refs:iSlot (Results 1 – 6 of 6) sorted by relevance
127 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 1132 lset L($idx) $iSlot n136 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 …]
709 int iSlot, /* Db handle slot to store text in */ in execsql_text_x() argument714 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()
945 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() local1599 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 …]
448 int iSlot; in fts5HashEntrySort() local456 for(iSlot=0; iSlot<pHash->nSlot; iSlot++){ in fts5HashEntrySort()458 for(pIter=pHash->aSlot[iSlot]; pIter; pIter=pIter->pHashNext){ in fts5HashEntrySort()
1511 int iSlot; in idxRemFunc() local1514 iSlot = sqlite3_value_int(argv[0]); in idxRemFunc()1515 assert( iSlot<=p->nSlot ); in idxRemFunc()1516 pSlot = &p->aSlot[iSlot]; in idxRemFunc()
1641 int iSlot = 0; in test_vfs_set_readmark() local1655 || Tcl_GetIntFromObj(interp, objv[3], &iSlot) in test_vfs_set_readmark()1675 iOff = 12*2+1+iSlot; in test_vfs_set_readmark()