Home
last modified time | relevance | path

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

12

/sqlite-3.40.0/tool/
H A Drestore_jrnl.tcl80 set nonce [hexio_get_int [hexio_read $jrnl_name [expr $jrnl_pg_offset+4+$db_pgsz] 4]]
82 set byte [hexio_get_int [hexio_read $jrnl_name [expr $jrnl_pg_offset+4+$i] 1]]
98 set byte [hexio_get_int [hexio_read $jrnl_name [expr $jrnl_pg_offset+4+$i] 1]]
114 set db_pgno [hexio_get_int [hexio_read $jrnl_name [expr $jrnl_pg_offset] 4]]
115 set chksum [hexio_get_int [hexio_read $jrnl_name [expr $jrnl_pg_offset+4+$db_pgsz] 4]]
167 set db_pgsz [hexio_get_int [hexio_read $db_name 16 2]]
193 set db_pgno [hexio_get_int [hexio_read $jrnl_name $jrnl_pg_offset 4]]
/sqlite-3.40.0/test/
H A DcorruptB.test73 set cell_offset [hexio_get_int [hexio_read test.db [expr $offset+12] 2]]
105 set iRightChild [hexio_get_int [hexio_read test.db [expr $offset+8] 4]]
120 set cell_offset [hexio_get_int [hexio_read test.db [expr $c_offset+12] 2]]
130 set cell_offset [hexio_get_int [hexio_read test.db [expr $offset+12] 2]]
132 hexio_get_int [hexio_read test.db [expr $offset+$cell_offset] 4]
148 set cell_offset [hexio_get_int [hexio_read test.db [expr $c_offset+12] 2]]
184 set iRecord [hexio_get_int [hexio_read test.db $iCellarray 2]]
H A Dcorrupt9.test42 if {[hexio_read $filename 36 4]==0} {return 0}
43 set pgno [hexio_get_int [hexio_read $filename 32 4]]
44 return [expr {($pgno-1)*[hexio_get_int [hexio_read $filename 16 2]]}]
54 set cnt [hexio_get_int [hexio_read $filename [expr {$offset+4}] 4]]
55 set pgno [hexio_read $filename [expr {$offset+8}] 4]
H A Dcorrupt3.test55 hexio_get_int [hexio_read test.db 16 2]
58 hexio_get_int [hexio_read test.db 20 1]
61 hexio_get_int [hexio_read test.db 2044 4]
64 hexio_get_int [hexio_read test.db 2048 4]
H A Dfilefmt.test34 hexio_read test.db 0 16
74 hexio_get_int [hexio_read test.db 16 2]
149 hexio_read test.db 28 4
159 do_test filefmt-2.1.6 { hexio_read test.db 28 4 } {00000010}
177 hexio_read test.db 28 4
H A DcorruptF.test64 do_test 1.3 { hexio_read test.db 32 4 } 00000003
65 do_test 1.4 { hexio_read test.db [expr 2*1024] 12 } 000000000000000100000004
117 do_test 2.3 { hexio_read test.db 32 4 } 00000003
118 do_test 2.4 { hexio_read test.db [expr 2*1024] 12 } 000000000000000100000004
H A Dvacuum2.test57 hexio_get_int [hexio_read test.db 24 4]
58 } [expr {[hexio_get_int [hexio_read test.db 24 4]]+3}]
63 hexio_get_int [hexio_read test.db 24 4]
64 } [expr {[hexio_get_int [hexio_read test.db 24 4]]+1}]
H A Dcorrupt7.test57 hexio_get_int [hexio_read test.db 16 2]
60 hexio_get_int [hexio_read test.db 20 1]
97 # set cell_offset [hexio_get_int [hexio_read test.db [expr 1024*2 + 12] 2]]
H A Dcorrupt6.test54 hexio_get_int [hexio_read test.db 16 2]
57 hexio_get_int [hexio_read test.db 20 1]
65 hexio_read test.db 1923 2
68 hexio_read test.db 1987 2
H A DcorruptI.test40 set offset [hexio_get_int [hexio_read test.db [expr 2*1024 + 8] 2]]
49 set offset [hexio_get_int [hexio_read test.db [expr 2*1024 + 8] 2]]
67 set offset [hexio_get_int [hexio_read test.db [expr (5-1)*1024 + 8] 2]]
H A De_wal.test212 do_test 4.1.2 { hexio_read test.db 18 2 } {0101}
214 do_test 4.1.4 { hexio_read test.db 18 2 } {0202}
229 do_test 4.3 { hexio_read test.db 18 2 } {0101}
H A Dcorrupt8.test66 set oldval [hexio_read test.db $i 1]
95 set oldval [hexio_read test.db $i2 1]
H A Dcorrupt4.test60 set trunkpgno [hexio_get_int [hexio_read test.db 32 4]]
67 hexio_get_int [hexio_read test.db [expr {$::baseaddr+4}] 4]
H A Ddescidx3.test37 set schemacookie [hexio_get_int [hexio_read test.db 40 4]]
46 return [hexio_get_int [hexio_read $fname 44 4]]
H A Dwalbak.test83 hexio_read test.db 18 2
285 hexio_read test.db 18 2
296 hexio_read test.db 18 2
H A Ddescidx2.test34 set schemacookie [hexio_get_int [hexio_read test.db 40 4]]
43 return [hexio_get_int [hexio_read $fname 44 4]]
H A Dincrblob3.test258 set schemacookie [hexio_get_int [hexio_read test.db 40 4]]
262 set dbversion [hexio_get_int [hexio_read test.db 24 4]]
H A Dsecuredel2.test27 set ::detect_blob_data [hexio_read $zFile 0 $nByte]
H A DcorruptJ.test72 hexio_read test.db [expr {9*1024+391}] 8
H A Ddescidx1.test33 set schemacookie [hexio_get_int [hexio_read test.db 40 4]]
42 return [hexio_get_int [hexio_read $fname 44 4]]
H A Drdonly.test49 hexio_get_int [hexio_read test.db 18 1]
H A Dalter2.test46 set schemacookie [hexio_get_int [hexio_read test.db 40 4]]
55 return [hexio_get_int [hexio_read $fname 44 4]]
H A Dfallocate.test66 hexio_get_int [hexio_read test.db-journal 16 4]
H A DcorruptD.test97 hexio_render_int32 [expr [hexio_get_int [hexio_read test.db 24 4]] + 1]
/sqlite-3.40.0/src/
H A Dtest_hexio.c101 static int SQLITE_TCLAPI hexio_read( in hexio_read() function
451 { "hexio_read", hexio_read }, in Sqlitetest_hexio_Init()

12