Lines Matching defs:pgsz
8771 static int apndShmMap(sqlite3_file*, int iPg, int pgsz, int, void volatile**);
9005 int pgsz,
9010 return pFile->pMethods->xShmMap(pFile,iPg,pgsz,bExtend,pp);
15416 int pgsz;
15919 if( pgno==1 && nPg==p->pgsz && 0==memcmp(p->pPage1Cache, aPg, nPg) ){
17463 u32 pgsz = 0;
17483 for(pgsz2=(pgsz ? pgsz*2 : nMin); pgsz2<=nMax; pgsz2=pgsz2*2){
17487 pgsz = pgsz2;
17494 if( pgsz>(u32)p->detected_pgsz ){
17495 p->detected_pgsz = pgsz;
17502 p->detected_pgsz = pgsz;
17560 u32 pgsz = recoverGetU16(&a[16]);
17568 if( pgsz==0x01 ) pgsz = 65536;
17575 pgsz = p->detected_pgsz;
17579 if( pgsz ){
17580 dbsz = dbFileSize / pgsz;
17590 p->pgsz = nByte;
17599 recoverPutU16(&aHdr[105], pgsz-nReserve);
17600 if( pgsz==65536 ) pgsz = 1;
17601 recoverPutU16(&aHdr[16], pgsz);
17695 sqlite3_file *pFd, int iPg, int pgsz, int bExtend, void volatile **pp
17698 pFd->pMethods->xShmMap(pFd, iPg, pgsz, bExtend, pp)
22031 int pgsz = 0;
22054 rc = sscanf(zLine, "| size %d pagesize %d", &n, &pgsz);
22057 if( pgsz<512 || pgsz>65536 || (pgsz&(pgsz-1))!=0 ) goto readHexDb_error;
22058 n = (n+pgsz-1)&~(pgsz-1); /* Round n up to the next multiple of pgsz */
22062 if( pgsz<512 || pgsz>65536 || (pgsz & (pgsz-1))!=0 ){