| /sqlite-3.40.0/ext/fts5/test/ |
| H A D | fts5auxdata.test | 33 proc aux_function_1 {cmd tn} { 34 switch [$cmd xRowid] { 36 do_test $tn.1 [list $cmd xGetAuxdata 0 ] {} 37 $cmd xSetAuxdata "one" 42 $cmd xSetAuxdata "two" 54 do_test $tn.5 [list $cmd xGetAuxdata 0 ] {} 65 proc aux_function_2 {cmd tn inst} { 67 switch [$cmd xRowid] { 70 $cmd xSetAuxdata "one $inst" 74 $cmd xSetAuxdata "two $inst" [all …]
|
| H A D | fts5_common.tcl | 33 proc fts5_test_poslist {cmd} { argument 41 proc fts5_test_poslist2 {cmd} { argument 45 $cmd xPhraseForeach $i c o { 54 proc fts5_test_collist {cmd} { argument 64 proc fts5_test_columnsize {cmd} { argument 93 proc fts5_test_tokenize {cmd} { argument 97 $cmd xTokenize [$cmd xColumnText $i] [list test_append_token tokens] 103 proc fts5_test_rowcount {cmd} { argument 104 $cmd xRowCount 129 $cmd xPhraseCount [all …]
|
| H A D | fts5aux.test | 24 proc inst {cmd i} { 25 $cmd xInst $i 29 proc colsize {cmd i} { 30 $cmd xColumnSize $i 34 proc totalsize {cmd i} { 86 set r [$cmd xRowid] 126 set r [$cmd xRowid] 134 $cmd xQueryPhrase 1 [list xCallback [$cmd xRowid] $code] 164 proc my_rowid {cmd} { $cmd xRowid } 213 proc my_phrasesize {cmd iPhrase} { $cmd xPhraseSize $iPhrase } [all …]
|
| H A D | fts5al.test | 104 proc rowidtest {cmd} { $cmd xRowid } 111 proc insttest {cmd} { 114 lappend res [$cmd xInst $i] 136 proc coltest {cmd} { 137 list [$cmd xColumnSize 0] [$cmd xColumnText 0] 169 proc firstinst {cmd} { 170 foreach {p c o} [$cmd xInst 0] {} 220 proc rowidplus {cmd ival} { 221 expr [$cmd xRowid] + $ival 247 proc rowidmod {cmd imod} { [all …]
|
| H A D | fts5fault4.test | 110 proc rowidmod {cmd mod} { 111 set row [$cmd xRowid] 125 proc rowidprefix {cmd prefix} { 126 set row [$cmd xRowid] 160 proc firstinst {cmd} { 161 foreach {p c o} [$cmd xInst 0] {} 172 proc previc {cmd} { 173 set res [$cmd xGetAuxdataInt 0] 174 $cmd xSetAuxdataInt [$cmd xInstCount]
|
| H A D | fts5synonym2.test | 30 proc fts5_test_bothlist {cmd} { 32 for {set i 0} {$i < [$cmd xPhraseCount]} {incr i} { 34 $cmd xPhraseColumnForeach $i c { 36 if {$bFirst} { $cmd xPhraseForeach $i c o { lappend PL $i.$c.$o } } 45 proc fts5_rowid {cmd} { expr [$cmd xColumnText -1] }
|
| /sqlite-3.40.0/contrib/ |
| H A D | sqlitecon.tcl | 219 set cmd $line 221 set cmd $v(prior)\n$line 223 if {[string index $cmd 0]=="." || [$v(db) complete $cmd]} { 226 set rc [catch {DoCommand $w $cmd} res] 236 set v(prior) $cmd 251 proc sqlitecon::DoCommand {w cmd} { argument 276 append cmd { ORDER BY 1} 312 $v(db) eval $cmd x { 331 $v(db) eval $cmd x { 370 set y [$v(db) eval $cmd] [all …]
|
| /sqlite-3.40.0/test/ |
| H A D | conflict.test | 44 foreach {i cmd t0 t1 t2 t3} { 61 $cmd INTO t1 VALUES(1,2,4); 91 foreach {i cmd t0 t1 t2} { 107 $cmd INTO t1 VALUES(1,2,4); 136 foreach {i cmd t0 t1 t2} { 152 $cmd INTO t1 VALUES(1,2,4); 178 foreach {i conf1 cmd t0 t1 t2} { 226 foreach {i conf1 cmd t0 t1 t2} { 328 $cmd t3 SET x=1; 329 $cmd t1 SET b=b*2; [all …]
|
| H A D | conflict2.test | 44 foreach {i cmd t0 t1 t2 t3} { 61 $cmd INTO t1 VALUES(1,2,4); 91 foreach {i cmd t0 t1 t2} { 107 $cmd INTO t1 VALUES(1,2,4); 136 foreach {i cmd t0 t1 t2} { 152 $cmd INTO t1 VALUES(1,2,4); 178 foreach {i conf1 cmd t0 t1 t2} { 226 foreach {i conf1 cmd t0 t1 t2} { 334 $cmd t3 SET x=1; 335 $cmd t1 SET b=b*2; [all …]
|
| H A D | lock_common.tcl | 91 proc testfixture {chan cmd args} { 95 puts $chan $cmd 115 puts $chan $cmd 156 proc testfixture_nb {varname cmd} { argument 160 puts $chan $cmd
|
| H A D | memdb.test | 159 # t0 True if there is an error from $cmd 160 # t1 Content of "c" column of t1 assuming no error in $cmd 163 foreach {i conf cmd t0 t1 t2} { 185 $cmd INTO t1 VALUES(1,2,4); 214 # cmd An UPDATE command to execute against table t1 215 # t0 True if there is an error from $cmd 216 # t1 Content of "b" column of t1 assuming no error in $cmd 219 foreach {i conf1 conf2 cmd t0 t1 t2} { 253 $cmd t3 SET x=1; 254 $cmd t1 SET b=b*2; [all …]
|
| H A D | intarray.test | 79 set cmd sqlite3_intarray_bind 80 lappend cmd $ia1 82 lappend cmd $i 83 lappend cmd [expr {$i+1000}] 84 lappend cmd [expr {$i+2000}] 86 eval $cmd
|
| H A D | trace.test | 30 proc trace_proc cmd { 31 lappend ::stmtlist [string trim $cmd] 115 proc profile_proc {cmd tm} { 116 lappend ::stmtlist [string trim $cmd] 193 proc trace_proc cmd { 194 lappend ::TRACE_OUT [string trim $cmd]
|
| H A D | releasetest_data.tcl | 645 set cmd [lindex $argv 0] 647 if {[string match ${cmd}* configurations] && $n==0} { 649 } elseif {[string match ${cmd}* script]} { 651 } elseif {[string match ${cmd}* platforms] && $n==0} { 653 } elseif {[string match ${cmd}* tests]} {
|
| H A D | notify1.test | 215 set cmd "db$ii" 216 sqlite3 $cmd test.db 217 catchsql { SELECT * FROM t1 } $cmd 220 $cmd unlock_notify "lappend lUnlock $ii" 253 set cmd "db$ii" 254 sqlite3 $cmd test.db 255 catchsql { SELECT * FROM t1 } $cmd 256 $cmd unlock_notify "lappend ::lUnlock $ii"
|
| H A D | testrunner.tcl | 96 set cmd "sysctl -n hw.logicalcpu" 98 set cmd "nproc" 101 set fd [open "|$cmd" r] 631 set cmd "[info nameofexec] $R(info_script) helper $ii 2>@1" 632 puts "Launching helper $ii ($cmd)" 633 set chan [open "|$cmd" r]
|
| H A D | tester.tcl | 762 proc do_test {name cmd expected} { 877 proc catchcmd {db {cmd ""}} { argument 880 puts $out $cmd 887 proc catchcmdex {db {cmd ""}} { argument 891 puts -nonewline $out $cmd 920 proc do_filepath_test {name cmd expected} { 922 subst -nocommands { filepath_normalize [ $cmd ] } 930 proc do_realnum_test {name cmd expected} { 932 subst -nocommands { realnum_normalize [ $cmd ] } 2195 set cmd "eu-addr2line --pid=$pid $addr" [all …]
|
| H A D | collate7.test | 27 set cmd [list incr ::caseless_del] 28 sqlite3_create_collation_v2 db CASELESS caseless_cmp $cmd
|
| H A D | misc1.test | 37 set cmd "CREATE TABLE manycol(x0 text" 39 append cmd ",x$i text" 41 append cmd ")"; 42 execsql $cmd 43 set cmd "INSERT INTO manycol VALUES(0" 45 append cmd ",$i" 47 append cmd ")"; 48 execsql $cmd 58 append cmd ",[expr {$i+$j}]" 60 append cmd ")" [all …]
|
| /sqlite-3.40.0/src/ |
| H A D | parse.y | 173 cmd ::= SAVEPOINT nm(X). { in nm() 176 cmd ::= RELEASE savepoint_opt nm(X). { in nm() 179 cmd ::= ROLLBACK trans_opt TO savepoint_opt nm(X). { in nm() 185 cmd ::= create_table create_table_args. 468 cmd ::= DROP TABLE ifexists(E) fullname(X). { 482 cmd ::= DROP VIEW ifexists(E) fullname(X). { 489 cmd ::= select(X). { 1497 cmd ::= PRAGMA nm(X) dbnm(Z) EQ minus_num(Y). 1499 cmd ::= PRAGMA nm(X) dbnm(Z) LP minus_num(Y) RP. 1645 cmd ::= DETACH database_kw_opt expr(D). { [all …]
|
| H A D | test_syscall.c | 112 static int ts_fcntl(int fd, int cmd, ... ); 302 static int ts_fcntl(int fd, int cmd, ... ){ in ts_fcntl() argument 308 va_start(ap, cmd); in ts_fcntl() 310 return orig_fcntl(fd, cmd, pArg); in ts_fcntl()
|
| /sqlite-3.40.0/tool/ |
| H A D | omittest-msvc.tcl | 91 set cmd "nmake /f Makefile.msc USE_FULLWARN=0 OPTIMIZATIONS=0" 92 append cmd " CCOPTS=-D$opt" 93 puts $cmd 94 set res [catch {eval exec $cmd} outtxt]
|
| /sqlite-3.40.0/ext/rbu/ |
| H A D | rbu5.test | 193 foreach cmd {run step} { 200 do_test 1.$tn.$cmd.1 { 201 ${cmd}_rbu test.db2 rbu.db2 205 do_test 1.$tn.$cmd.2 { 281 foreach cmd {run step} { 288 do_test 2.$tn.$cmd.1 { 289 ${cmd}_rbu test.db2 rbu.db2 293 do_test 2.$tn.$cmd.2 {
|
| H A D | rbu1.test | 144 foreach {tn2 cmd} { 231 $cmd test.db rbu.db 252 if {$cmd=="step_rbu_state"} { 397 $cmd test.db rbu.db 410 if {$cmd=="step_rbu_state"} { 420 foreach {tn2 cmd} {1 run_rbu 2 step_rbu 3 step_rbu_state} { 446 $cmd test.db rbu.db 459 if {$cmd=="step_rbu_state"} { 471 foreach {tn2 cmd} {1 run_rbu 2 step_rbu 3 step_rbu_state} { 517 $cmd test.db rbu.db [all …]
|
| H A D | rbusplit.test | 67 foreach {tn cmd} { 76 $cmd test.db testrbu.db
|