Home | History | Annotate | Download | only in dist

Lines Matching refs:nMax

38756   int nMax, nBuf, nDir, nLen;
38768 nMax = pVfs->mxPathname; nBuf = nMax + 2;
38779 nDir = nMax - (nPre + 15);
38792 sqlite3_snprintf(nMax, zBuf, "%s", sqlite3_temp_directory);
38833 sqlite3_snprintf(nMax, zBuf, "%s", zDir);
38839 zConverted = sqlite3MallocZero( nMax+1 );
38847 zConverted, nMax+1)<0 ){
38866 sqlite3_snprintf(nMax, zBuf, "%s", zUtf8);
38878 LPWSTR zWidePath = sqlite3MallocZero( nMax*sizeof(WCHAR) );
38884 if( osGetTempPathW(nMax, zWidePath)==0 ){
38893 sqlite3_snprintf(nMax, zBuf, "%s", zMulti);
38906 char *zMbcsPath = sqlite3MallocZero( nMax );
38912 if( osGetTempPathA(nMax, zMbcsPath)==0 ){
38920 sqlite3_snprintf(nMax, zBuf, "%s", zUtf8);
41268 unsigned int nMaxPage; /* Sum of nMax for purgeable caches */
41285 ** flag (bPurgeable) are set when the cache is created. nMax may be
41287 ** The PGroup mutex must be held when accessing nMax.
41295 unsigned int nMax; /* Configured "cache_size" value */
41296 unsigned int n90pct; /* nMax*9/10 */
41410 if( pCache->nMax<3 ) return 0;
41417 if( szBulk > pCache->szAlloc*(i64)pCache->nMax ){
41418 szBulk = pCache->szAlloc*pCache->nMax;
41910 static void pcache1Cachesize(sqlite3_pcache *p, int nMax){
41915 pGroup->nMaxPage += (nMax - pCache->nMax);
41917 pCache->nMax = nMax;
41918 pCache->n90pct = pCache->nMax*9/10;
41977 assert( pCache->n90pct == pCache->nMax*9/10 );
41992 && ((pCache->nPage+1>=pCache->nMax) || pcache1UnderMemoryPressure(pCache))
42062 ** PCache1.nMax, or
42065 ** the sum of nMax for all purgeable caches, less the sum of
42072 ** PCache1.nMax, or
42075 ** already equal to or greater than the sum of nMax for all
42262 assert( pCache->bPurgeable || (pCache->nMax==0 && pCache->nMin==0) );
42265 assert( pGroup->nMaxPage >= pCache->nMax );
42266 pGroup->nMaxPage -= pCache->nMax;
52189 ** If the WAL file is currently larger than nMax bytes in size, truncate
52190 ** it to exactly nMax bytes. If an error occurs while doing so, ignore it.
52192 static void walLimitSize(Wal *pWal, i64 nMax){
52197 if( rx==SQLITE_OK && (sz > nMax ) ){
52198 rx = sqlite3OsTruncate(pWal->pWalFd, nMax);
134493 /* sqlite3_test_control(SQLITE_TESTCTRL_SORTER_MMAP, db, nMax); */
172587 ** Then, for each level from 0 to nMax:
176189 ** list nMax bytes or less in size.
176191 static int fts5PoslistPrefix(const u8 *aBuf, int nMax){
176195 if( ret<nMax ){
176198 if( (ret + i) > nMax ) break;