| /sqlite-3.40.0/src/ |
| H A D | mem3.c | 86 } hdr; member 172 size = mem3.aPool[i-1].u.hdr.size4x/4; in memsys3Unlink() 206 size = mem3.aPool[i-1].u.hdr.size4x/4; in memsys3Link() 258 x = mem3.aPool[i-1].u.hdr.size4x; in memsys3Checkout() 261 mem3.aPool[i+nBlock-1].u.hdr.size4x |= 2; in memsys3Checkout() 321 size = mem3.aPool[i-1].u.hdr.size4x; in memsys3Merge() 444 size = mem3.aPool[i-1].u.hdr.size4x/4; in memsys3FreeUnsafe() 446 mem3.aPool[i-1].u.hdr.size4x &= ~1; in memsys3FreeUnsafe() 448 mem3.aPool[i+size-1].u.hdr.size4x &= ~2; in memsys3FreeUnsafe() 569 mem3.aPool[mem3.nPool].u.hdr.size4x = 1; in memsys3Init() [all …]
|
| H A D | wal.c | 800 pWal->hdr.isInit = 1; in walIndexWriteHdr() 802 walChecksumBytes(1, (u8*)&pWal->hdr, nCksum, 0, pWal->hdr.aCksum); in walIndexWriteHdr() 1428 if( pWal->hdr.nPage ){ in walIndexRecover() 1968 return (pWal->hdr.szPage&0xfe00) + ((pWal->hdr.szPage&0x0001)<<16); in walPagesize() 1993 pWal->hdr.mxFrame = 0; in walRestartHdr() 2362 pWal->szPage = (pWal->hdr.szPage&0xfe00) + ((pWal->hdr.szPage&0x0001)<<16); in walIndexTryHdr() 3081 if( !memcmp(pSnapshot->aSalt, pWal->hdr.aSalt, sizeof(pWal->hdr.aSalt)) in sqlite3WalBeginReadTransaction() 3247 sz = pWal->hdr.szPage; in sqlite3WalReadFrame() 3261 return pWal->hdr.nPage; in sqlite3WalDbsize() 3818 pWal->hdr.iChange++; in sqlite3WalFrames() [all …]
|
| H A D | btree.c | 1599 data[hdr+7] = 0; in defragmentPage() 1608 data[hdr+1] = 0; in defragmentPage() 1609 data[hdr+2] = 0; in defragmentPage() 1725 pTmp = &data[hdr+5]; in allocateSpace() 1743 if( (data[hdr+2] || data[hdr+1]) && gap+2<=top ){ in allocateSpace() 1822 iPtr = hdr + 1; in freeSpace() 1859 if( iPtr>hdr+1 ){ in freeSpace() 2154 memset(&data[hdr], 0, pBt->usableSize - hdr); in zeroPage() 2159 data[hdr+7] = 0; in zeroPage() 7022 data[hdr+7] = 0; in dropCell() [all …]
|
| /sqlite-3.40.0/tool/ |
| H A D | mksqlite3internalh.tcl | 55 foreach hdr { 76 set available_hdr($hdr) 1 105 if {[info exists available_hdr($hdr)]} { 106 if {$available_hdr($hdr)} { 107 section_comment "Include $hdr in the middle of $tail" 111 } elseif {![info exists seen_hdr($hdr)]} { 112 set seen_hdr($hdr) 1
|
| H A D | mksqlite3c-noext.tcl | 95 foreach hdr { 123 set available_hdr($hdr) 1 180 if {[info exists available_hdr($hdr)]} { 181 if {$available_hdr($hdr)} { 183 set available_hdr($hdr) 0 185 section_comment "Include $hdr in the middle of $tail" 194 } elseif {![info exists seen_hdr($hdr)]} { 196 set seen_hdr($hdr) 1
|
| H A D | mksqlite3c.tcl | 130 foreach hdr { 166 set available_hdr($hdr) 1 225 if {[info exists available_hdr($hdr)]} { 226 if {$available_hdr($hdr)} { 227 set available_hdr($hdr) 0 228 section_comment "Include $hdr in the middle of $tail" 237 } elseif {![info exists seen_hdr($hdr)]} { 239 set seen_hdr($hdr) 1
|
| H A D | showdb.c | 872 int hdr = pgno==1 ? 100 : 0; in page_usage_btree() local 877 switch( a[hdr] ){ in page_usage_btree() 897 nCell = a[hdr+3]*256 + a[hdr+4]; in page_usage_btree() 911 if( a[hdr]==2 || a[hdr]==5 ){ in page_usage_btree() 912 int cellstart = hdr+12; in page_usage_btree() 934 if( a[hdr]==2 || a[hdr]==10 || a[hdr]==13 ){ in page_usage_btree() 935 int cellstart = hdr + 8 + 4*(a[hdr]<=5); in page_usage_btree() 940 page_usage_cell(a[hdr], a+ofst, pgno, i); in page_usage_btree()
|
| /sqlite-3.40.0/ext/fts2/ |
| H A D | mkfts2amal.tcl | 42 foreach hdr { 49 set available_hdr($hdr) 1 78 if {[info exists available_hdr($hdr)]} { 79 if {$available_hdr($hdr)} { 80 section_comment "Include $hdr in the middle of $tail" 84 } elseif {![info exists seen_hdr($hdr)]} { 85 set seen_hdr($hdr) 1
|
| /sqlite-3.40.0/test/ |
| H A D | func6.test | 57 set hdr "" 68 append hdr 00 71 append hdr [format %02x [expr $n*2 + 13]] 74 append hdr 08 76 append hdr 09 78 append hdr 01 81 append hdr 02 85 set res [format %02x [expr 1 + [string length $hdr]/2]] 86 append res $hdr
|
| H A D | wal_common.tcl | 85 upvar $hdrvar hdr 88 wal_cksum_intlist c1 c2 [lrange $hdr 0 9] 89 lset hdr 10 $c1 90 lset hdr 11 $c2
|
| H A D | wapp.tcl | 513 set hdr [split [dict get $W .header] \n] 515 set req [lindex $hdr 0] 530 set n [llength $hdr] 532 set x [lindex $hdr $i] 588 $unit unit hdr content]} { 590 $hdr hr name filename mimetype]} { 595 } elseif {[regexp {name="(.*)"} $hdr hr name]} { 825 scan $req %d:%s len hdr 827 append hdr [read $chan [expr {$len-15}]] 828 foreach {nm val} [split $hdr \000] {
|
| H A D | wal2.test | 988 set hdr [wal_set_walhdr test.db-wal] 989 lindex $hdr 1 992 lset hdr 1 3007001 993 wal_set_walhdr test.db-wal $hdr 1003 set hdr [set_tvfs_hdr $::filename] 1004 lindex $hdr 0 1007 lset hdr 0 3007001 1008 wal_fix_walindex_cksum hdr 1009 set_tvfs_hdr $::filename $hdr
|
| H A D | exclusive.test | 268 set hdr [hexio_read $fname 0 28] 269 set content [expr {0==[string match $hdr [string repeat 0 56]]}]
|
| /sqlite-3.40.0/ext/rtree/ |
| H A D | geopoly.c | 274 pOut->hdr[0] = *(unsigned char*)&x; in geopolyParseJson() 277 pOut->hdr[3] = s.nVertex&0xff; in geopolyParseJson() 326 memcpy(p->hdr, a, nByte); in geopolyFuncParam() 333 p->hdr[0] ^= 1; in geopolyFuncParam() 603 p->hdr[0] = *(unsigned char*)&i; in geopolyRegularFunc() 604 p->hdr[1] = 0; in geopolyRegularFunc() 605 p->hdr[2] = (n>>8)&0xff; in geopolyRegularFunc() 606 p->hdr[3] = n&0xff; in geopolyRegularFunc() 670 pOut->hdr[1] = 0; in geopolyBBox() 671 pOut->hdr[2] = 0; in geopolyBBox() [all …]
|
| /sqlite-3.40.0/ext/fts5/ |
| H A D | extract_api_docs.tcl | 142 set hdr $M($sub) 152 regsub -line {^ *[)]} $hdr ")" hdr 155 output "<b>$hdr</b></dt><dd>"
|
| /sqlite-3.40.0/ext/fts5/test/ |
| H A D | fts5corrupt2.test | 140 foreach {tn hdr} { 156 set existing [read $fd [string length $hdr]] 158 puts -nonewline $fd $hdr 166 if {($tn2 % 10)==0 && $existing != $hdr} { 226 foreach {tn hdr} { 239 puts -nonewline $fd $hdr
|
| /sqlite-3.40.0/contrib/ |
| H A D | sqlitecon.tcl | 322 set hdr {} 324 append hdr $sep$col 327 set res $hdr\n$res 340 set hdr {} 348 lappend hdr $col 351 set y [concat $hdr $ln $y]
|
| /sqlite-3.40.0/ext/lsm1/tool/ |
| H A D | mklsm1c.tcl | 25 set G(hdr) { 58 puts -nonewline $G(fd) $G(hdr)
|
| /sqlite-3.40.0/ext/fts5/tool/ |
| H A D | mkfts5c.tcl | 25 set G(hdr) { 75 puts -nonewline $G(fd) $G(hdr)
|
| /sqlite-3.40.0/ext/lsm1/ |
| H A D | lsm_tree.c | 1339 TreeHeader hdr; in lsmTreeRepair() local 1355 memcpy(&hdr, &db->treehdr, sizeof(TreeHeader)); in lsmTreeRepair() 1366 memcpy(&db->treehdr, &hdr, sizeof(TreeHeader)); in lsmTreeRepair()
|