Lines Matching defs:pgsz
8849 static int apndShmMap(sqlite3_file*, int iPg, int pgsz, int, void volatile**);
9083 int pgsz,
9088 return pFile->pMethods->xShmMap(pFile,iPg,pgsz,bExtend,pp);
15996 #define DBDATA_MX_CELL(pgsz) ((pgsz-8)/6)
16679 int pgsz;
17182 if( pgno==1 && nPg==p->pgsz && 0==memcmp(p->pPage1Cache, aPg, nPg) ){
18726 u32 pgsz = 0;
18746 for(pgsz2=(pgsz ? pgsz*2 : nMin); pgsz2<=nMax; pgsz2=pgsz2*2){
18750 pgsz = pgsz2;
18757 if( pgsz>(u32)p->detected_pgsz ){
18758 p->detected_pgsz = pgsz;
18765 p->detected_pgsz = pgsz;
18823 u32 pgsz = recoverGetU16(&a[16]);
18831 if( pgsz==0x01 ) pgsz = 65536;
18838 pgsz = p->detected_pgsz;
18842 if( pgsz ){
18843 dbsz = dbFileSize / pgsz;
18853 p->pgsz = nByte;
18862 recoverPutU16(&aHdr[105], pgsz-nReserve);
18863 if( pgsz==65536 ) pgsz = 1;
18864 recoverPutU16(&aHdr[16], pgsz);
18958 sqlite3_file *pFd, int iPg, int pgsz, int bExtend, void volatile **pp
18961 pFd->pMethods->xShmMap(pFd, iPg, pgsz, bExtend, pp)
23295 int pgsz = 0;
23318 rc = sscanf(zLine, "| size %d pagesize %d", &n, &pgsz);
23321 if( pgsz<512 || pgsz>65536 || (pgsz&(pgsz-1))!=0 ) goto readHexDb_error;
23322 n = (n+pgsz-1)&~(pgsz-1); /* Round n up to the next multiple of pgsz */
23326 if( pgsz<512 || pgsz>65536 || (pgsz & (pgsz-1))!=0 ){