Home
last modified time | relevance | path

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

1234567

/sqlite-3.40.0/test/
H A DcorruptC.test96 hexio_write test.db 2053 [format %02x 0x04]
115 hexio_write test.db 27 [format %02x 0x08]
116 hexio_write test.db 233 [format %02x 0x6a]
117 hexio_write test.db 328 [format %02x 0x67]
118 hexio_write test.db 750 [format %02x 0x1f]
119 hexio_write test.db 1132 [format %02x 0x52]
120 hexio_write test.db 1133 [format %02x 0x84]
181 hexio_write test.db 619 [format %02x 0xe2]
211 hexio_write test.db 84 [format %02x 0x19]
255 hexio_write test.db 55 [format %02x 0xa7]
[all …]
H A Dprintf2.test15 # EVIDENCE-OF: R-32560-14372 The format(FORMAT,...) SQL function works
20 # the format() SQL function.
30 SELECT quote(format()), quote(format(NULL,1,2,3));
38 SELECT format('%d,%d,%d',55,-11,3421);
44 SELECT format('%d,%d,%d,%d',55,'-11',3421);
50 SELECT format('%.*f',2,3.141592653);
56 SELECT format('%d',314159.2653);
62 SELECT format('%lld%n',314159.2653,'hi');
68 # EVIDENCE-OF: R-17002-27534 The %z format is interchangeable with %s.
71 SELECT format('%.*z',5,'abcdefghijklmnop');
[all …]
H A Dalter2.test13 # file format change that may be used in the future to implement
41 # This procedure sets the value of the file-format in file 'test.db'
248 # format that SQLite does not support (in this case 5). Note: The
250 # file format requires incrementing the schema cookie.
268 # file format was detected during a call to sqlite3_prepare(), not
273 } {1 {unsupported file format}}
282 } {1 {unsupported file format}}
288 # Check that executing VACUUM on a file with file-format version 2
289 # resets the file format to 1.
309 # Test that when a database with file-format 2 is opened, new
[all …]
H A Dwindow3.test376 lappend myres [format %.4f [set r]]
393 lappend myres [format %.4f [set r]]
410 lappend myres [format %.4f [set r]]
427 lappend myres [format %.4f [set r]]
444 lappend myres [format %.4f [set r]]
461 lappend myres [format %.4f [set r]]
478 lappend myres [format %.4f [set r]]
495 lappend myres [format %.4f [set r]]
512 lappend myres [format %.4f [set r]]
529 lappend myres [format %.4f [set r]]
[all …]
H A DcorruptE.test76 hexio_write test.db 2041 [format %02x 0x2e]
88 hexio_write test.db 2047 [format %02x 0x84]
100 hexio_write test.db 7420 [format %02x 0xa8]
101 hexio_write test.db 10459 [format %02x 0x8d]
113 hexio_write test.db 10233 [format %02x 0xd0]
143 hexio_write test.db [lindex $test 0] [format %02x [lindex $test 1]]
H A Dloadext.test41 # format of the message returned is:
43 # [format $dlerror_nosuchfile <shared-object-name>]
48 # [format $dlerror_notadll <shared-object-name>]
53 # [format $dlerror_nosymbol <shared-object-name> <symbol-name>]
148 } /[list 1 [format $dlerror_nosuchfile ${testextension}xx.*]]/
163 } /[list 1 [format $dlerror_notadll ./notasharedlib.*]]/
176 } /[list 1 [format $dlerror_nosymbol $testextension icecream]]/
207 } /[list 1 [format $dlerror_nosymbol $testextension sqlite3_.*_init]]/
H A Ddate3.test57 # DDDDDDDDDD format) then the 'auto' modifier causes the time-value to
111 # it immediately follows a time value in the DDDDDDDDDD format.
130 # 'julianday' forces the DDDDDDDDD time-value format, and causes a NULL
131 # to be returned if any other time-value format is used.
145 WHERE datetime('1970-01-01',format('%+d days',x))
146 <> datetime(unixepoch('1970-01-01',format('%+d days',x)),'auto');
H A Datof1.test31 set xf [format %.32e $x]
41 puts [format "\n%.60e\n%.60e\n%.60e" $x $a $b]
55 puts [format {QUOTE: %16s %s} {} [db eval {SELECT quote($x)}]]
57 puts "OUT: $b [format %.32e $c]"
H A Dhexlit.test90 hexlit1 200.$n.1 0X[format %03X $n] $n
91 hexlit1 200.$n.2 0x[format %03X $n] $n
92 hexlit1 200.$n.3 0X[format %03x $n] $n
93 hexlit1 200.$n.4 0x[format %03x $n] $n
H A Dbadutf2.test24 append r [format \\u%04.4X $c]
30 regsub -all -- {(..)} $in {%[format "%s" \1]} out
35 regsub -all -- {(..)} $in {\\\\x[format "%s" \1]} out
40 regsub -all -- {(..)} $in {\\\\u[format "%04.4X" 0x\1]} out
H A Ddescidx2.test29 # This procedure sets the value of the file-format in file 'test.db'
40 # This procedure returns the value of the file-format in file 'test.db'.
47 # Verify that the file format starts as 4
63 # Before adding any information to the database, set the file format
65 # format set to three, SQLite should ignore the DESC argument on the
H A Dthread003.test81 set SCRIPT [format {
117 set SCRIPT [format {
157 thread_spawn finished(1) $thread_procs [format {
172 thread_spawn finished(2) [format {
H A Dfts4unicode.test234 set a [binary format c* {0x61 0xF7 0xBF 0xBF 0xBF 0x62}]
235 set b [binary format c* {0x61 0xF7 0xBF 0xBF 0xBF 0xBF 0x62}]
236 set c [binary format c* {0x61 0xF7 0xBF 0xBF 0xBF 0xBF 0xBF 0x62}]
237 set d [binary format c* {0x61 0xF7 0xBF 0xBF 0xBF 0xBF 0xBF 0xBF 0x62}]
247 set a [binary format c* {0xF7 0xBF 0xBF 0xBF}]
248 set b [binary format c* {0xF7 0xBF 0xBF 0xBF 0xBF}]
249 set c [binary format c* {0xF7 0xBF 0xBF 0xBF 0xBF 0xBF}]
250 set d [binary format c* {0xF7 0xBF 0xBF 0xBF 0xBF 0xBF 0xBF}]
354 set whitespace [format [string repeat %c [llength $lCp]] {*}$lCp]
H A Dfunc6.test71 append hdr [format %02x [expr $n*2 + 13]]
79 append body [format %02x $x]
82 append body [format %04x $x]
85 set res [format %02x [expr 1 + [string length $hdr]/2]]
H A De_blobopen.test144 } [binary format ccc 0 1 $iRow]
154 } [binary format ccc 0 1 $iRow]
530 } [string repeat [binary format c 0] 24]
533 } [string repeat [binary format c 0] 45]
538 sqlite3_blob_write $B 0 [string repeat [binary format c 1] 24]
541 sqlite3_blob_write $B2 0 [string repeat [binary format c 1] 45]
548 [string repeat [binary format c 1] 24] \
549 [string repeat [binary format c 1] 45] \
H A Davfs.test355 puts -nonewline $ofd "SQLite format 3"
356 puts -nonewline $ofd [binary format "c" 0]
358 puts -nonewline $ofd [binary format "W" 0]
376 puts -nonewline $ofd "SQLite format 3"
377 puts -nonewline $ofd [binary format "c" 0]
379 puts -nonewline $ofd [binary format "W" [string length $fakeAppendee]]
H A Ddescidx1.test28 # This procedure sets the value of the file-format in file 'test.db'
39 # This procedure returns the value of the file-format in file 'test.db'.
46 # Verify that the file format starts as 4.
324 # Verify that the file format is preserved across a vacuum.
349 # Verify that the file format is preserved across a vacuum.
H A Dcrash8.test170 set zJournal2 [string replace $zJournal 20 23 [binary format I 513]]
179 set zJournal2 [string replace $zJournal 20 23 [binary format I 0x2000000]]
187 set zJournal2 [string replace $zJournal 20 23 [binary format I 256]]
196 set zJournal2 [string replace $zJournal 24 27 [binary format I 513]]
206 set zJournal2 [string replace $zJournal 24 27 [binary format I $big]]
214 set zJournal2 [string replace $zJournal 24 27 [binary format I 256]]
H A Ddescidx3.test32 # This procedure sets the value of the file-format in file 'test.db'
43 # This procedure returns the value of the file-format in file 'test.db'.
49 # Verify that the file format starts as 4.
H A DcorruptL.test26 | 0: 53 51 4c 69 74 65 20 66 6f 72 6d 61 74 20 33 00 SQLite format 3.
148 | 0: 53 51 4c 69 74 65 20 66 6f 72 6d 61 74 20 33 00 SQLite format 3.
269 | 0: 53 51 4c 69 74 65 20 66 6f 72 6d 61 74 20 33 00 SQLite format 3.
396 | 0: 53 51 4c 69 74 65 20 66 6f 72 6d 61 74 20 33 00 SQLite format 3.
598 | 0: 53 51 4c 69 74 65 20 66 6f 72 6d 61 74 20 33 00 SQLite format 3.
649 | 0: 53 51 4c 69 74 65 20 66 6f 72 6d 61 74 20 33 00 SQLite format 3.
742 | 0: 53 51 4c 69 74 65 20 66 6f 72 6d 61 74 20 33 00 SQLite format 3.
857 | 0: 53 51 4c 69 74 65 20 66 6f 72 6d 61 74 20 33 00 SQLite format 3.
885 | 0: 53 51 4c 69 74 65 20 66 6f 72 6d 61 74 20 33 00 SQLite format 3.
1028 | 0: 53 51 4c 69 74 65 20 66 6f 72 6d 61 74 20 33 00 SQLite format 3.
[all …]
H A Dround1.test25 set x3 [string range [format %09d $x2] [expr {9-$n}] end]
32 set x4 [string range [format %09d [expr {$x2+1}]] [expr {9-$n}] end]
/sqlite-3.40.0/ext/session/
H A Dsessionnoop.test136 set ret [binary format H2c 54 [string length $pkstr]]
139 append ret [binary format H2 01]
142 append ret [binary format H2 00]
146 append ret [binary format H2 00]
151 set ret [binary format H2H2 17 00]
154 append ret [binary format H2 00]
156 append ret [binary format H2W 01 $a]
H A Dsession4.test52 set x [binary format "a*ca*" $before $j $after]
60 set x [binary format "ca*" 0 [string range $changeset 1 end]]
65 set x [binary format "ca*" 0 [string range $changeset 1 end]]
/sqlite-3.40.0/ext/fts5/test/
H A Dfts5version.test12 # The tests in this file focus on testing that unrecognized file-format
48 } {1 {invalid fts5 file format (found 5, expected 4) - run 'rebuild'}}
54 } {1 {invalid fts5 file format (found 5, expected 4) - run 'rebuild'}}
62 } {1 {invalid fts5 file format (found 0, expected 4) - run 'rebuild'}}
H A Dfts5unicode2.test247 set a [binary format c* {0x61 0xF7 0xBF 0xBF 0xBF 0x62}]
248 set b [binary format c* {0x61 0xF7 0xBF 0xBF 0xBF 0xBF 0x62}]
249 set c [binary format c* {0x61 0xF7 0xBF 0xBF 0xBF 0xBF 0xBF 0x62}]
250 set d [binary format c* {0x61 0xF7 0xBF 0xBF 0xBF 0xBF 0xBF 0xBF 0x62}]
260 set a [binary format c* {0xF7 0xBF 0xBF 0xBF}]
261 set b [binary format c* {0xF7 0xBF 0xBF 0xBF 0xBF}]
262 set c [binary format c* {0xF7 0xBF 0xBF 0xBF 0xBF 0xBF}]
263 set d [binary format c* {0xF7 0xBF 0xBF 0xBF 0xBF 0xBF 0xBF}]
376 set whitespace [format [string repeat %c [llength $lCp]] {*}$lCp]

1234567