Lines Matching defs:nMax

36259   int nMax, nBuf, nDir, nLen;
36271 nMax = pVfs->mxPathname; nBuf = nMax + 2;
36282 nDir = nMax - (nPre + 15);
36295 sqlite3_snprintf(nMax, zBuf, "%s", sqlite3_temp_directory);
36336 sqlite3_snprintf(nMax, zBuf, "%s", zDir);
36342 zConverted = sqlite3MallocZero( nMax+1 );
36350 zConverted, nMax+1)<0 ){
36369 sqlite3_snprintf(nMax, zBuf, "%s", zUtf8);
36381 LPWSTR zWidePath = sqlite3MallocZero( nMax*sizeof(WCHAR) );
36387 if( osGetTempPathW(nMax, zWidePath)==0 ){
36396 sqlite3_snprintf(nMax, zBuf, "%s", zMulti);
36409 char *zMbcsPath = sqlite3MallocZero( nMax );
36415 if( osGetTempPathA(nMax, zMbcsPath)==0 ){
36423 sqlite3_snprintf(nMax, zBuf, "%s", zUtf8);
38634 unsigned int nMaxPage; /* Sum of nMax for purgeable caches */
38651 ** flag (bPurgeable) are set when the cache is created. nMax may be
38653 ** The PGroup mutex must be held when accessing nMax.
38660 unsigned int nMax; /* Configured "cache_size" value */
38661 unsigned int n90pct; /* nMax*9/10 */
39197 static void pcache1Cachesize(sqlite3_pcache *p, int nMax){
39202 pGroup->nMaxPage += (nMax - pCache->nMax);
39204 pCache->nMax = nMax;
39205 pCache->n90pct = pCache->nMax*9/10;
39271 ** PCache1.nMax, or
39274 ** the sum of nMax for all purgeable caches, less the sum of
39281 ** PCache1.nMax, or
39284 ** already equal to or greater than the sum of nMax for all
39343 assert( pCache->n90pct == pCache->nMax*9/10 );
39359 (pCache->nPage+1>=pCache->nMax)
39521 assert( pCache->bPurgeable || (pCache->nMax==0 && pCache->nMin==0) );
39524 assert( pGroup->nMaxPage >= pCache->nMax );
39525 pGroup->nMaxPage -= pCache->nMax;
49302 ** If the WAL file is currently larger than nMax bytes in size, truncate
49303 ** it to exactly nMax bytes. If an error occurs while doing so, ignore it.
49305 static void walLimitSize(Wal *pWal, i64 nMax){
49310 if( rx==SQLITE_OK && (sz > nMax ) ){
49311 rx = sqlite3OsTruncate(pWal->pWalFd, nMax);