Lines Matching refs:nMax
43360 int nMax, nBuf, nDir, nLen;
43372 nMax = pVfs->mxPathname; nBuf = nMax + 2;
43383 nDir = nMax - (nPre + 15);
43396 sqlite3_snprintf(nMax, zBuf, "%s", sqlite3_temp_directory);
43437 sqlite3_snprintf(nMax, zBuf, "%s", zDir);
43443 zConverted = sqlite3MallocZero( nMax+1 );
43451 zConverted, nMax+1)<0 ){
43470 sqlite3_snprintf(nMax, zBuf, "%s", zUtf8);
43482 LPWSTR zWidePath = sqlite3MallocZero( nMax*sizeof(WCHAR) );
43488 if( osGetTempPathW(nMax, zWidePath)==0 ){
43497 sqlite3_snprintf(nMax, zBuf, "%s", zMulti);
43510 char *zMbcsPath = sqlite3MallocZero( nMax );
43516 if( osGetTempPathA(nMax, zMbcsPath)==0 ){
43524 sqlite3_snprintf(nMax, zBuf, "%s", zUtf8);
46218 unsigned int nMax; /* Configured "cache_size" value */
46334 if( pCache->nMax<3 ) return 0;
46341 if( szBulk > pCache->szAlloc*(i64)pCache->nMax ){
46342 szBulk = pCache->szAlloc*(i64)pCache->nMax;
46851 static void pcache1Cachesize(sqlite3_pcache *p, int nMax){
46856 pGroup->nMaxPage += (nMax - pCache->nMax);
46858 pCache->nMax = nMax;
46859 pCache->n90pct = pCache->nMax*9/10;
46918 assert( pCache->n90pct == pCache->nMax*9/10 );
46933 && ((pCache->nPage+1>=pCache->nMax) || pcache1UnderMemoryPressure(pCache))
47201 assert( pCache->bPurgeable || (pCache->nMax==0 && pCache->nMin==0) );
47204 assert( pGroup->nMaxPage >= pCache->nMax );
47205 pGroup->nMaxPage -= pCache->nMax;
57538 static void walLimitSize(Wal *pWal, i64 nMax){
57543 if( rx==SQLITE_OK && (sz > nMax ) ){
57544 rx = sqlite3OsTruncate(pWal->pWalFd, nMax);
198702 static int fts5PoslistPrefix(const u8 *aBuf, int nMax){
198706 if( ret<nMax ){
198709 if( (ret + i) > nMax ) break;