| /sqlite-3.40.0/test/ |
| H A D | nan.test | 201 db eval "INSERT INTO t1 VALUES([string repeat 9 307].0)" 221 set big -[string repeat 0 10000][string repeat 9 308].[string repeat 0 10000] 227 set big [string repeat 0 10000][string repeat 9 308].[string repeat 0 10000] 234 # convert from floating point value "-inf" to a string. 270 set small [string repeat 0 10000].[string repeat 0 324][string repeat 9 10000] 277 -[string repeat 0 10000].[string repeat 0 324][string repeat 9 10000] 292 [string repeat 0 10000].[string repeat 0 323][string repeat 9 10000] 299 -[string repeat 0 10000].[string repeat 0 323][string repeat 9 10000] 306 set small [string repeat 0 10000].[string repeat 0 323][string repeat 9 10000] 313 -[string repeat 0 10000].[string repeat 0 323][string repeat 9 10000] [all …]
|
| H A D | sqllimits1.test | 264 } {1 {string or blob too big}} 267 } {1 {string or blob too big}} 275 } {1 {string or blob too big}} 283 } {1 {string or blob too big}} 293 } {1 {string or blob too big}} 304 } {1 {string or blob too big}} 310 } {1 {string or blob too big}} 315 } {1 {string or blob too big}} 854 set ::string [string repeat "A" [expr {$max*2}]] 862 set ::string [string repeat "A" [expr {$max*2}]] [all …]
|
| H A D | zipfile2.test | 28 set concat [string map {" " "" "\n" ""} $str] 104 set a [string replace $archive $idx [expr $idx+3] 0000] 115 set a [string replace $archive $idx [expr $idx+3] 1234] 142 # set blob [string range $blob 2 end] 143 # set blob [string range $blob 0 end-1] 144 # while {[string length $blob]>0} { 145 # puts [string range $blob 0 63] 146 # set blob [string range $blob 64 end] 173 set blob [blob [string map {0800 0900} $archive2]] 185 set blob [blob [string map [list 504B0506 $sub] $archive2]] [all …]
|
| H A D | round1.test | 25 set x3 [string range [format %09d $x2] [expr {9-$n}] end] 27 set ans [string trimright $r 0] 28 if {[string match *. $ans]} {set ans ${ans}0} 32 set x4 [string range [format %09d [expr {$x2+1}]] [expr {9-$n}] end] 33 if {[string trim $x3 9]==""} {incr x1} 35 set ans [string trimright $r2 0] 36 if {[string match *. $ans]} {set ans ${ans}0}
|
| H A D | func6.test | 43 # string. 53 # an empty string representing an SQL NULL. This command builds an SQLite 55 # as a hex string. 69 } elseif {[string is integer $x]==0} { 70 set n [string length $x] 85 set res [format %02x [expr 1 + [string length $hdr]/2]] 90 # Argument $off is an offset into the database image encoded as a hex string 95 set n [string length $hexrec] 97 if { [string compare $hexrec [string range $hexdb $off [expr $off+$n-1]]] } { 131 set z100 [string trim [string repeat "0 " 100]]
|
| H A D | fts3corrupt.test | 33 set blob [binary format a7ca* $blob 24 [string range $blob 8 end]] 121 22 120 [string repeat a 120] \ 122 22 120 [string repeat b 120] \ 123 22 120 [string repeat c 120] \ 124 22 120 [string repeat d 120] \ 125 22 120 [string repeat e 120] \ 126 22 120 [string repeat f 120] \ 127 22 120 [string repeat g 120] \ 128 22 120 [string repeat h 120] \ 129 22 120 [string repeat i 120] \ [all …]
|
| H A D | trace3.test | 22 lappend ::stmtlist(error) [string trim $args] 26 lappend ::stmtlist(record) [string trim $args] 152 } "/^[string trim [string repeat {-?\d+ } 16]]\$/" 160 } "/^[string trim [string repeat {-?\d+ } 16]]\$/" 169 } "/^[string trim [string repeat {-?\d+ } 16]] \\\{-?\\d+ -?\\d+\\\}\$/" 177 } "/^\\\{-?\\d+ \\\{SELECT a, b FROM t1 ORDER BY a;\\\}\\\} [string trim \ 178 [string repeat {-?\d+ } 16]] \\\{-?\\d+ -?\\d+\\\}\$/" 197 list [sqlite3_bind_text $STMT 1 "some string" 11] \ 199 } {{} {SELECT a, b FROM t1 WHERE b = 'some string' ORDER BY a;}} 201 list [sqlite3_bind_text $STMT 1 "some 'bad' string" 17] \ [all …]
|
| H A D | instrfault.test | 24 set ::NEEDLE [string repeat "abcdefghijklmnopqrstuvwxyz" 10] 25 set ::HAYSTACK "[string repeat 123 10]$NEEDLE[string repeat 456 10]" 58 sqlite3_bind_text $::stmt 1 $::HAYSTACK [string length $::HAYSTACK] 59 sqlite3_bind_text $::stmt 2 $::NEEDLE [string length $::NEEDLE] 71 sqlite3_bind_blob $::stmt 1 $::HAYSTACK [string length $::HAYSTACK] 72 sqlite3_bind_blob $::stmt 2 $::NEEDLE [string length $::NEEDLE]
|
| H A D | fts4lastrowid.test | 29 INSERT INTO t1 VALUES('one string'); 30 INSERT INTO t1 VALUES('two string'); 31 INSERT INTO t1 VALUES('three string'); 37 INSERT INTO t1 VALUES('one string'); 38 INSERT INTO t1 VALUES('two string'); 39 INSERT INTO t1 VALUES('three string');
|
| H A D | substr.test | 28 proc substr-test {id string i1 i2 result} { 31 INSERT INTO t1(t) VALUES($string) 38 set qstr '[string map {' ''} $string]' 138 proc substr-2-test {id string idx result} { 141 INSERT INTO t1(t) VALUES($string) 148 set qstr '[string map {' ''} $string]'
|
| H A D | win32longpath.test | 54 set longPath(2) $longPath(1)\\[string repeat X 255] 55 set uriPath(2a) $uriPath(1a)\\[string repeat X 255] 56 set uriPath(2b) $uriPath(1b)/[string repeat X 255] 60 set longPath(3) $longPath(2)\\[string repeat Y 255] 61 set uriPath(3a) $uriPath(2a)\\[string repeat Y 255] 62 set uriPath(3b) $uriPath(2b)/[string repeat Y 255] 76 list [catch {sqlite3 db2 [string range $fileName 4 end]} msg] $msg
|
| H A D | enc.test | 34 # $utf16 is a UTF-16 encoded string. Swap each pair of bytes around 35 # to change the byte-order of the string. 52 # $str is a string to use for testing (encoded in UTF-8, as normal for TCL). 55 # 1. Convert the string from UTF-8 to UTF-16le and check that the TCL and 58 # 2. Convert the string from UTF-8 to UTF-16be and check that the TCL and 148 test_conversion enc-7 [string repeat "abcde\u00EF\u00EE\uFFFCabc" 100] 149 test_conversion enc-8 [string repeat "\u007E\u007F\u0080\u0081" 100] 150 test_conversion enc-9 [string repeat "\u07FE\u07FF\u0800\u0801\uFFF0" 100] 151 test_conversion enc-10 [string repeat "\uE000" 100] 154 return [string compare $zLeft $zRight]
|
| H A D | quota2.test | 38 set ::quota_pwd [string map {\\ /} [get_pwd]] 41 set x [string map {\\ /} $x] 42 return [string map $::quota_mapping $x] 96 string length $::x 99 string match $::x [string range $::bigtext 0 3002] 180 string length $::x 186 string match $::x [string range $::bigtext 0 6005]
|
| H A D | reindex.test | 72 return [expr {-[string compare $a $b]}] 75 return [expr {-[string compare [string tolower $a] [string tolower $b]]}] 114 return [string compare $a $b] 122 string equal ok [execsql {PRAGMA integrity_check}] 175 eval [string map [list %without_rowid% $wo] {
|
| H A D | func.test | 319 string tolower [db eval {SELECT round(1e500), round(-1e500);}] 549 'string', NULL 569 'string', NULL, 575 'string', NULL, 729 db function [string repeat X 254] {return "hello"} 734 db function [string repeat X 256] {return "hello"} 1027 } {{This is the ALT test string}} 1032 } {{This is the larger-main test string}} 1043 set ::str "[string repeat A 29998]CC[string repeat A 35537]" 1044 set ::rep [string repeat B 65536] [all …]
|
| H A D | mmap1.test | 41 string range [string repeat [set str] [expr [set n]/4]] 1 [set n] 117 string range [string repeat $str [expr $n/4]] 1 $n 195 set aaa [string repeat a 400] 196 set bbb [string repeat b 400] 197 set ccc [string repeat c 400] 198 set ddd [string repeat d 400] 199 set eee [string repeat e 400]
|
| H A D | trigger7.test | 59 string match *___update_t1.x___* $txt 63 string match *___update_t1.y___* $txt 67 string match *___update_t1.x___* $txt 71 string match *___update_t1.y___* $txt 75 string match *___update_t1.x___* $txt 79 string match *___update_t1.x___* $txt
|
| H A D | fts3defer2.test | 38 do_execsql_test 1.1.2 "INSERT INTO t1 VALUES('[string repeat {a } 20000]')" 39 do_execsql_test 1.1.3 "INSERT INTO t1 VALUES('[string repeat {z } 20000]')" 88 do_execsql_test 2.1.2 "INSERT INTO t2 VALUES('[string repeat {a } 10000]')" 89 do_execsql_test 2.1.3 "INSERT INTO t2 VALUES('b [string repeat {z } 10000]')" 90 do_execsql_test 2.1.4 [string repeat "INSERT INTO t2 VALUES('x');" 50] 148 INSERT INTO t3 VALUES('f e d c b [string repeat {a } 10000]')
|
| H A D | func3.test | 89 SELECT likelihood('test-string', 0.5); 90 } {test-string} 142 SELECT unlikely('test-string'); 143 } {test-string} 186 SELECT likely('test-string'); 187 } {test-string}
|
| H A D | sortfault.test | 49 set str [string repeat a 1000] 90 set str2 [string repeat $str 10] 156 set a [string repeat a 500] 157 set b [string repeat b 500] 158 set c [string repeat c 500]
|
| /sqlite-3.40.0/ext/fts5/test/ |
| H A D | fts5rowid.test | 104 "[string repeat x 300][string repeat w 100]" \ 105 "[string repeat x 300][string repeat y 100]" \ 106 "[string repeat x 300][string repeat z 600]" \ 133 "[string repeat {w } 400]" \ 134 "[string repeat {x } 400]" \ 135 "[string repeat {y } 400]" \ 136 "[string repeat {z } 400]" \ 164 "[string repeat {w } 400]a" \ 165 "[string repeat {x } 400]a" \ 166 "[string repeat {y } 400]a" \ [all …]
|
| H A D | fts5lastrowid.test | 29 INSERT INTO t1 VALUES('one string'); 30 INSERT INTO t1 VALUES('two string'); 31 INSERT INTO t1 VALUES('three string'); 37 INSERT INTO t1 VALUES('one string'); 38 INSERT INTO t1 VALUES('two string'); 39 INSERT INTO t1 VALUES('three string');
|
| /sqlite-3.40.0/ext/session/ |
| H A D | session4.test | 48 for {set i 0} {$i < [string length $changeset]} {incr i} { 49 set before [string range $changeset 0 [expr $i-1]] 50 set after [string range $changeset [expr $i+1] end] 60 set x [binary format "ca*" 0 [string range $changeset 1 end]] 65 set x [binary format "ca*" 0 [string range $changeset 1 end]]
|
| H A D | sessionfault.test | 48 INSERT INTO t1 VALUES('a string value', 8, 9); 66 INSERT INTO t1 VALUES('a string value', 8, 9); 226 INSERT INTO t1 VALUES('string', 1); 232 DELETE FROM t1 WHERE a = 'string'; 247 {INSERT t1 0 .X {} {t string i 1}} 270 set abc [string repeat abc 256] 271 set def [string repeat def 256] 293 set abc [string repeat abc 256] 294 set def [string repeat def 256] 330 INSERT INTO t1 VALUES('string', 1); [all …]
|
| /sqlite-3.40.0/ext/rtree/ |
| H A D | rtreeA.test | 45 set blob [string range $blob 0 $nTrunc] 57 set blob [binary format Sua* $newvalue [string range $blob 2 end]] 66 binary scan [string range $blob 2 end] Su oldvalue 71 [string range $blob 0 1] $newvalue [string range $blob 4 end] 83 set n [string length $z] 84 if {$n>=2 && [string equal -length $n $z "-error"]} {
|