Lines Matching refs:nMax
43376 int nMax, nBuf, nDir, nLen;
43388 nMax = pVfs->mxPathname; nBuf = nMax + 2;
43399 nDir = nMax - (nPre + 15);
43412 sqlite3_snprintf(nMax, zBuf, "%s", sqlite3_temp_directory);
43453 sqlite3_snprintf(nMax, zBuf, "%s", zDir);
43459 zConverted = sqlite3MallocZero( nMax+1 );
43467 zConverted, nMax+1)<0 ){
43486 sqlite3_snprintf(nMax, zBuf, "%s", zUtf8);
43498 LPWSTR zWidePath = sqlite3MallocZero( nMax*sizeof(WCHAR) );
43504 if( osGetTempPathW(nMax, zWidePath)==0 ){
43513 sqlite3_snprintf(nMax, zBuf, "%s", zMulti);
43526 char *zMbcsPath = sqlite3MallocZero( nMax );
43532 if( osGetTempPathA(nMax, zMbcsPath)==0 ){
43540 sqlite3_snprintf(nMax, zBuf, "%s", zUtf8);
46234 unsigned int nMax; /* Configured "cache_size" value */
46350 if( pCache->nMax<3 ) return 0;
46357 if( szBulk > pCache->szAlloc*(i64)pCache->nMax ){
46358 szBulk = pCache->szAlloc*(i64)pCache->nMax;
46867 static void pcache1Cachesize(sqlite3_pcache *p, int nMax){
46872 pGroup->nMaxPage += (nMax - pCache->nMax);
46874 pCache->nMax = nMax;
46875 pCache->n90pct = pCache->nMax*9/10;
46934 assert( pCache->n90pct == pCache->nMax*9/10 );
46949 && ((pCache->nPage+1>=pCache->nMax) || pcache1UnderMemoryPressure(pCache))
47217 assert( pCache->bPurgeable || (pCache->nMax==0 && pCache->nMin==0) );
47220 assert( pGroup->nMaxPage >= pCache->nMax );
47221 pGroup->nMaxPage -= pCache->nMax;
57554 static void walLimitSize(Wal *pWal, i64 nMax){
57559 if( rx==SQLITE_OK && (sz > nMax ) ){
57560 rx = sqlite3OsTruncate(pWal->pWalFd, nMax);
198730 static int fts5PoslistPrefix(const u8 *aBuf, int nMax){
198734 if( ret<nMax ){
198737 if( (ret + i) > nMax ) break;