Lines Matching refs:ofst
171 static int ofst2byte(GState *p, int ofst){ in ofst2byte() argument
172 int x = p->aPage[ofst]; in ofst2byte()
173 return (x<<8) + p->aPage[ofst+1]; in ofst2byte()
177 static int ofst4byte(GState *p, int ofst){ in ofst4byte() argument
178 int x = p->aPage[ofst]; in ofst4byte()
179 x = (x<<8) + p->aPage[ofst+1]; in ofst4byte()
180 x = (x<<8) + p->aPage[ofst+2]; in ofst4byte()
181 x = (x<<8) + p->aPage[ofst+3]; in ofst4byte()
206 static int ofstInFile(GState *p, int ofst){ in ofstInFile() argument
207 return p->szPg*(p->pgno-1) + ofst; in ofstInFile()
227 int ofst; in ofstWalkInteriorPage() local
232 ofst = ofst2byte(p, 12+i*2); in ofstWalkInteriorPage()
233 iChild = ofst4byte(p, ofst); in ofstWalkInteriorPage()
244 int ofst; in ofstWalkLeafPage() local
256 ofst = ofst2byte(p, 8+i*2); in ofstWalkLeafPage()
257 nPayload = ofstVarint(p, &ofst); in ofstWalkLeafPage()
258 rowid = ofstVarint(p, &ofst); in ofstWalkLeafPage()
265 dataOfst = ofst; in ofstWalkLeafPage()
266 nHdr = ofstVarint(p, &ofst); in ofstWalkLeafPage()
269 scode = ofstVarint(p, &ofst); in ofstWalkLeafPage()
272 scode = ofstVarint(p, &ofst); in ofstWalkLeafPage()