Home
last modified time | relevance | path

Searched refs:get2byte (Results 1 – 4 of 4) sorted by relevance

/sqlite-3.40.0/src/
H A Ddbstat.c149 #ifndef get2byte
150 # define get2byte(x) ((x)[0]<<8 | (x)[1]) macro
414 p->nCell = get2byte(&aHdr[3]); in statDecodePage()
418 nUnused = get2byte(&aHdr[5]) - nHdr - 2*p->nCell; in statDecodePage()
420 iOff = get2byte(&aHdr[1]); in statDecodePage()
424 nUnused += get2byte(&aData[iOff+2]); in statDecodePage()
425 iNext = get2byte(&aData[iOff]); in statDecodePage()
446 iOff = get2byte(&aData[nHdr+i*2]); in statDecodePage()
H A Dbtree.c1558 pc = get2byte(pAddr); in defragmentPage()
1577 pc = get2byte(pAddr); in defragmentPage()
1645 size = get2byte(pTmp); in pageFindSlot()
1672 pc = get2byte(pTmp); in pageFindSlot()
1726 top = get2byte(pTmp); in allocateSpace()
1872 x = get2byte(pTmp); in freeSpace()
1999 pc = get2byte(&data[hdr+1]); in btreeComputeFreeSpace()
7006 pc = get2byte(ptr); in dropCell()
7299 j = get2byte(&aData[hdr+5]); in rebuildPage()
10577 i = get2byte(&data[hdr+1]); in checkTreePage()
[all …]
H A DbtreeInt.h713 #define get2byte(x) ((x)[0]<<8 | (x)[1]) macro
/sqlite-3.40.0/test/
H A Dcorrupt4.test103 proc get2byte {fd offset} {
126 set nChild [get2byte $fd 103]
127 set offChild [get2byte $fd [expr 100+12+($nChild-2)*2]]