Home
last modified time | relevance | path

Searched refs:iTest (Results 1 – 25 of 25) sorted by relevance

/sqlite-3.40.0/ext/fts3/
H A Dfts3_unicode2.c140 iRes = iTest; in sqlite3FtsUnicodeIsalnum()
141 iLo = iTest+1; in sqlite3FtsUnicodeIsalnum()
143 iHi = iTest-1; in sqlite3FtsUnicodeIsalnum()
211 int iTest = (iHi + iLo) / 2; in remove_diacritic() local
212 if( key >= aDia[iTest] ){ in remove_diacritic()
213 iRes = iTest; in remove_diacritic()
214 iLo = iTest+1; in remove_diacritic()
216 iHi = iTest-1; in remove_diacritic()
357 iRes = iTest; in sqlite3FtsUnicodeFold()
358 iLo = iTest+1; in sqlite3FtsUnicodeFold()
[all …]
H A Dfts3_unicode.c192 int iTest = (iHi + iLo) / 2; in unicodeIsException() local
193 if( iCode==a[iTest] ){ in unicodeIsException()
195 }else if( iCode>a[iTest] ){ in unicodeIsException()
196 iLo = iTest+1; in unicodeIsException()
198 iHi = iTest-1; in unicodeIsException()
/sqlite-3.40.0/ext/fts5/
H A Dfts5_unicode2.c81 if( key >= aDia[iTest] ){ in fts5_remove_diacritic()
82 iRes = iTest; in fts5_remove_diacritic()
83 iLo = iTest+1; in fts5_remove_diacritic()
85 iHi = iTest-1; in fts5_remove_diacritic()
226 iRes = iTest; in sqlite3Fts5UnicodeFold()
227 iLo = iTest+1; in sqlite3Fts5UnicodeFold()
229 iHi = iTest-1; in sqlite3Fts5UnicodeFold()
749 assert( iTest>=iLo && iTest<iHi ); in sqlite3Fts5UnicodeCategory()
751 iRes = iTest; in sqlite3Fts5UnicodeCategory()
752 iLo = iTest+1; in sqlite3Fts5UnicodeCategory()
[all …]
H A Dfts5_tokenize.c306 int iTest = (iHi + iLo) / 2; in fts5UnicodeIsException() local
307 if( iCode==a[iTest] ){ in fts5UnicodeIsException()
309 }else if( iCode>a[iTest] ){ in fts5UnicodeIsException()
310 iLo = iTest+1; in fts5UnicodeIsException()
312 iHi = iTest-1; in fts5UnicodeIsException()
/sqlite-3.40.0/test/
H A Dbackup_ioerr.test145 set iTest 1
150 incr iTest
184 do_test backup_ioerr-$iTest.$iError.1 {
187 do_test backup_ioerr-$iTest.$iError.2 {
192 do_test backup_ioerr-$iTest.$iError.3 {
196 do_test backup_ioerr-$iTest.$iError.4 {
209 do_test backup_ioerr-$iTest.$iError.6 {
246 do_test backup_ioerr-$iTest.$iError.12 {
249 do_test backup_ioerr-$iTest.$iError.13 {
254 do_test backup_ioerr-$iTest.$iError.14 {
[all …]
H A Dbackup.test146 set iTest 1
223 do_test backup-2.$iTest.1 {
240 incr iTest
277 set iTest 1
308 do_test backup-3.$iTest.1 {
315 do_test backup-3.$iTest.2 {
323 incr iTest
329 do_test backup-3.$iTest.1 {
352 do_test backup-3.$iTest.2 {
493 set iTest 0
[all …]
H A Dround1.test20 unset -nocomplain iTest
21 for {set iTest 1} {$iTest<=50000} {incr iTest} {
29 do_test $iTest/$n/${r}4=>$ans {
37 do_test $iTest/$n/${r}5=>$ans {
H A Dincrvacuum_ioerr.test137 for {set iTest 1} {$::rc && $iTest<2000} {incr iTest} {
147 # The iTest'th I/O call is set to fail.
149 set ::sqlite_io_error_pending $iTest
151 do_test incrvacuum-ioerr-4.$iTest.1 {
164 do_test incrvacuum-ioerr-4.$iTest.2 {
169 do_test incrvacuum-ioerr-4.$iTest.3 {
H A Dfts3expr2.test151 for {set iTest 1} {$iTest<500} {incr iTest} {
159 do_exprparse_test fts3expr2-$iTest.1 $e1 $t
160 do_exprparse_test fts3expr2-$iTest.2 $e2 $t
161 do_exprparse_test fts3expr2-$iTest.3 $e3 $t
162 do_exprparse_test fts3expr2-$iTest.4 $e4 $t
H A Dcount.test35 set iTest 0
41 incr iTest
42 do_test count-1.$iTest.1 {
51 do_test count-1.$iTest.2 {
59 do_test count-1.$iTest.3 {
72 do_test count-1.$iTest.4 {
82 do_test count-1.$iTest.5 {
H A Dwalslow.test45 for {set iTest 1} {$iTest < 100} {incr iTest} {
47 do_test walslow-1.seed=$seed.$iTest.1 {
54 do_test walslow-1.seed=$seed.$iTest.2 {
59 do_test walslow-1.seed=$seed.$iTest.3 {
69 do_test walslow-1.seed=$seed.$iTest.4 {
H A Dmultiplex3.test118 for {set iTest 1} {$iTest<=100} {incr iTest} {
119 do_test 2.$iTest {
121 UPDATE t1 SET a=randomblob(12), b=randomblob(1400) WHERE rowid=5*$iTest
H A Dfts3rnd.test297 for {set iTest 1} {$iTest <= $NUM_TRIALS} {incr iTest} {
302 if {$iTest==100 && $nodesize==50} {
307 set ::testprefix fts3rnd-1.$testname.$iTest
326 if {0==($iTest%2)} { execsql COMMIT }
328 if {0==($iTest%2)} {
H A Dnotify2.test170 foreach {iTest xStep xPrepare} {
183 do_test notify2-$iTest.1.1 {
196 do_test notify2-$iTest.1.2 {
209 do_test notify2-$iTest.2.$ii {
218 do_test notify2-$iTest.3.1 {
H A Dfuzz3.test139 set iTest 0
150 do_test fuzz3-$ii.$iNew.[incr iTest] {
169 do_test fuzz3-$ii.$iNew.[incr iTest] {
H A Dmalloc_common.tcl615 for {set iTest 0} {$iTest<$nBackup && ($iFail-$iTest)>0} {incr iTest} {
H A Dvtab_shared.test91 foreach {iTest dbSelect dbClose} {
96 do_test vtab_shared-1.9.$iTest {
H A Dpagerfault.test1047 for {set iTest 1} {$iTest<50} {incr iTest} {
1048 do_test pagerfault-21.crash.$iTest.1 {
1049 crashsql -delay 1 -file test.db -seed $iTest {
1056 do_test pagerfault-22.$iTest.2 {
/sqlite-3.40.0/ext/fts5/test/
H A Dfts5aj.test51 for {set iTest 0} {$iTest < 50000} {incr iTest} {
52 if {$iTest > 1000} { execsql { DELETE FROM t1 WHERE rowid=($iTest-1000) } }
55 if {$iTest==10000} { set sz1 [db one {SELECT count(*) FROM t1_data}] }
56 if {0==($iTest % 1000)} {
59 do_execsql_test 1.$iTest.$sz.{$s} {
/sqlite-3.40.0/ext/fts3/unicode/
H A Dmkunicode.tcl90 int iTest = (iHi + iLo) / 2;
91 if( key >= aDia[iTest] ){
248 int iTest = (iHi + iLo) / 2;
249 if( key >= aEntry[iTest] ){
513 int iTest = (iHi + iLo) / 2;
514 int cmp = (c - aEntry[iTest].iCode);
717 int iTest = (iHi + iLo) / 2;
719 if( iKey>=aFts5UnicodeMap[iTest] ){
/sqlite-3.40.0/ext/lsm1/
H A Dlsm_tree.c1997 int iTest; /* Index of second key to test (0 or 2) */ in lsmTreeCursorSeek() local
2022 iTest = (res>0 ? 0 : 2); in lsmTreeCursorSeek()
2023 iTreeKey = pNode->aiKeyPtr[iTest]; in lsmTreeCursorSeek()
2032 pCsr->aiCell[iNode] = (u8)iTest; in lsmTreeCursorSeek()
2036 iTest = 1; in lsmTreeCursorSeek()
2040 iNodePtr = getChildPtr(pNode, pRoot->iTransId, iTest + (res<0)); in lsmTreeCursorSeek()
2044 pCsr->aiCell[iNode] = (u8)(iTest + (iNodePtr && (res<0))); in lsmTreeCursorSeek()
/sqlite-3.40.0/src/
H A Dwal.c3218 u32 iTest; in sqlite3WalFindFrame() local
3220 for(iTest=iLast; iTest>=pWal->minFrame && iTest>0; iTest--){ in sqlite3WalFindFrame()
3221 if( walFramePgno(pWal, iTest)==pgno ){ in sqlite3WalFindFrame()
3222 iRead2 = iTest; in sqlite3WalFindFrame()
H A Dutil.c44 int sqlite3FaultSim(int iTest){ in sqlite3FaultSim() argument
46 return xCallback ? xCallback(iTest) : SQLITE_OK; in sqlite3FaultSim()
H A Dwhere.c1445 int iTest; /* Next sample to test */ in whereKeyStats() local
1508 iTest = (iMin+iSample)/2; in whereKeyStats()
1509 iSamp = iTest / nField; in whereKeyStats()
1514 for(n=(iTest % nField) + 1; n<nField; n++){ in whereKeyStats()
1518 n = iTest + 1; in whereKeyStats()
1525 iMin = iTest+1; in whereKeyStats()
1528 iMin = iTest+1; in whereKeyStats()
1531 iSample = iTest; in whereKeyStats()
H A Dvdbesort.c1720 int iTest = (pSorter->iPrev + i + 1) % nWorker; in vdbeSorterFlushPMA()
1721 pTask = &pSorter->aTask[iTest]; in vdbeSorterFlushPMA()