Lines Matching refs:iRegion
34230 int iRegion, /* Region to retrieve */
34257 nReqRegion = ((iRegion+nShmPerMap) / nShmPerMap) * nShmPerMap;
34348 if( pShmNode->nRegion>iRegion ){
34349 *pp = pShmNode->apRegion[iRegion];
41775 int iRegion, /* Region to retrieve */
41795 if( pShmNode->nRegion<=iRegion ){
41797 int nByte = (iRegion+1)*szRegion; /* Minimum required file size */
41831 pShmNode->aRegion, (iRegion+1)*sizeof(apNew[0])
41839 while( pShmNode->nRegion<=iRegion ){
41890 if( pShmNode->nRegion>iRegion ){
41891 int iOffset = iRegion*szRegion;
41893 char *p = (char *)pShmNode->aRegion[iRegion].pMap;
172989 int iRegion,
173003 if( iRegion<=p->nShm ){
173004 int nByte = (iRegion+1) * sizeof(char*);
173009 memset(&apNew[p->nShm], 0, sizeof(char*) * (1 + iRegion - p->nShm));
173011 p->nShm = iRegion+1;
173015 if( rc==SQLITE_OK && p->apShm[iRegion]==0 ){
173021 p->apShm[iRegion] = pNew;
173026 *pp = p->apShm[iRegion];
173032 rc = p->pReal->pMethods->xShmMap(p->pReal, iRegion, szRegion, isWrite, pp);