Lines Matching refs:nMax

47095   int nMax, nBuf, nDir, nLen;
47107 nMax = pVfs->mxPathname; nBuf = nMax + 2;
47118 nDir = nMax - (nPre + 15);
47131 sqlite3_snprintf(nMax, zBuf, "%s", sqlite3_temp_directory);
47172 sqlite3_snprintf(nMax, zBuf, "%s", zDir);
47178 zConverted = sqlite3MallocZero( nMax+1 );
47186 zConverted, nMax+1)<0 ){
47205 sqlite3_snprintf(nMax, zBuf, "%s", zUtf8);
47217 LPWSTR zWidePath = sqlite3MallocZero( nMax*sizeof(WCHAR) );
47223 if( osGetTempPathW(nMax, zWidePath)==0 ){
47232 sqlite3_snprintf(nMax, zBuf, "%s", zMulti);
47245 char *zMbcsPath = sqlite3MallocZero( nMax );
47251 if( osGetTempPathA(nMax, zMbcsPath)==0 ){
47259 sqlite3_snprintf(nMax, zBuf, "%s", zUtf8);
50886 unsigned int nMax; /* Configured "cache_size" value */
51003 if( pCache->nMax<3 ) return 0;
51010 if( szBulk > pCache->szAlloc*(i64)pCache->nMax ){
51011 szBulk = pCache->szAlloc*(i64)pCache->nMax;
51526 static void pcache1Cachesize(sqlite3_pcache *p, int nMax){
51529 assert( nMax>=0 );
51533 n = (u32)nMax;
51534 if( n > 0x7fff0000 - pGroup->nMaxPage + pCache->nMax ){
51535 n = 0x7fff0000 - pGroup->nMaxPage + pCache->nMax;
51537 pGroup->nMaxPage += (n - pCache->nMax);
51539 pCache->nMax = n;
51540 pCache->n90pct = pCache->nMax*9/10;
51599 assert( pCache->n90pct == pCache->nMax*9/10 );
51614 && ((pCache->nPage+1>=pCache->nMax) || pcache1UnderMemoryPressure(pCache))
51883 assert( pCache->bPurgeable || (pCache->nMax==0 && pCache->nMin==0) );
51886 assert( pGroup->nMaxPage >= pCache->nMax );
51887 pGroup->nMaxPage -= pCache->nMax;
62595 static void walLimitSize(Wal *pWal, i64 nMax){
62600 if( rx==SQLITE_OK && (sz > nMax ) ){
62601 rx = sqlite3OsTruncate(pWal->pWalFd, nMax);
227470 static int fts5PoslistPrefix(const u8 *aBuf, int nMax){
227474 if( ret<nMax ){
227477 if( (ret + i) > nMax ) break;