Home
last modified time | relevance | path

Searched refs:fd2 (Results 1 – 6 of 6) sorted by relevance

/sqlite-3.40.0/ext/recover/
H A Drecoverpgsz.test48 set fd2 [open test.db2 w]
49 fconfigure $fd2 -encoding binary -translation binary
50 seek $fd2 $pgsz
51 puts -nonewline $fd2 $pg1
52 close $fd2
73 set fd2 [open test.db2 w]
74 fconfigure $fd2 -encoding binary -translation binary
75 seek $fd2 $pgsz
76 puts -nonewline $fd2 $pg2
77 close $fd2
/sqlite-3.40.0/test/
H A Dincrblob2.test47 fconfigure $fd2 -buffering none
49 seek $fd2 $iOffset start
56 read $fd2 6
60 seek $fd2 $iOffset start
62 puts -nonewline $fd2 "etiLQS"
72 seek $fd2 $iOffset start
73 read $fd2 6
83 close $fd2
98 fconfigure $fd2 -buffering none
104 read $fd2 6
[all …]
H A Dincrvacuum3.test52 set fd2 [open test2.db w]
54 fconfigure $fd2 -encoding binary -translation binary
56 puts -nonewline $fd2 [read $fd $::sqlite_pending_byte]
58 seek $fd2 [expr $::sqlite_pending_byte+512]
60 puts -nonewline $fd2 [read $fd]
61 close $fd2
H A Dincrblob.test400 set fd2 [open $::cmdlinearg(INFO_SCRIPT)]
401 fconfigure $fd2 -translation binary
402 puts -nonewline $fd [read $fd2]
404 close $fd2
409 set fd2 [open $::cmdlinearg(INFO_SCRIPT)]
410 fconfigure $fd2 -translation binary
411 set ::data [read $fd2]
412 close $fd2
H A Dthreadtest3.c895 int fd2; in filecopy_x() local
903 fd2 = open(zTo, O_RDWR|O_CREAT|O_EXCL|O_BINARY, 0644); in filecopy_x()
904 if( fd2<0 ){ in filecopy_x()
920 if( nCopy!=write(fd2, aBuf, nCopy) ){ in filecopy_x()
928 close(fd2); in filecopy_x()
/sqlite-3.40.0/ext/lsm1/lsm-test/
H A Dlsmtest6.c259 int fd2; in copy_file() local
266 fd2 = open(zTo, O_RDWR | O_CREAT | _O_BINARY, 0644); in copy_file()
270 ftruncate(fd2, sz); in copy_file()
278 write(fd2, aBuf, nByte); in copy_file()
281 lseek(fd2, 4096, SEEK_SET); in copy_file()
287 close(fd2); in copy_file()