Lines Matching refs:nMax

51408   int nMax, nBuf, nDir, nLen;
51420 nMax = pVfs->mxPathname; nBuf = nMax + 2;
51431 nDir = nMax - (nPre + 15);
51445 sqlite3_snprintf(nMax, zBuf, "%s", sqlite3_temp_directory);
51488 sqlite3_snprintf(nMax, zBuf, "%s", zDir);
51494 zConverted = sqlite3MallocZero( nMax+1 );
51502 zConverted, nMax+1)<0 ){
51521 sqlite3_snprintf(nMax, zBuf, "%s", zUtf8);
51533 LPWSTR zWidePath = sqlite3MallocZero( nMax*sizeof(WCHAR) );
51539 if( osGetTempPathW(nMax, zWidePath)==0 ){
51548 sqlite3_snprintf(nMax, zBuf, "%s", zMulti);
51561 char *zMbcsPath = sqlite3MallocZero( nMax );
51567 if( osGetTempPathA(nMax, zMbcsPath)==0 ){
51575 sqlite3_snprintf(nMax, zBuf, "%s", zUtf8);
55316 unsigned int nMaxPage; /* Sum of nMax for purgeable caches */
55334 ** cache is created and are never changed thereafter. nMax may be
55336 ** The PGroup mutex must be held when accessing nMax.
55345 unsigned int nMax; /* Configured "cache_size" value */
55346 unsigned int n90pct; /* nMax*9/10 */
55462 if( pCache->nMax<3 ) return 0;
55469 if( szBulk > pCache->szAlloc*(i64)pCache->nMax ){
55470 szBulk = pCache->szAlloc*(i64)pCache->nMax;
55970 static void pcache1Cachesize(sqlite3_pcache *p, int nMax){
55973 assert( nMax>=0 );
55977 n = (u32)nMax;
55978 if( n > 0x7fff0000 - pGroup->nMaxPage + pCache->nMax ){
55979 n = 0x7fff0000 - pGroup->nMaxPage + pCache->nMax;
55981 pGroup->nMaxPage += (n - pCache->nMax);
55983 pCache->nMax = n;
55984 pCache->n90pct = pCache->nMax*9/10;
56043 assert( pCache->n90pct == pCache->nMax*9/10 );
56058 && ((pCache->nPage+1>=pCache->nMax) || pcache1UnderMemoryPressure(pCache))
56128 ** PCache1.nMax, or
56131 ** the sum of nMax for all purgeable caches, less the sum of
56138 ** PCache1.nMax, or
56141 ** already equal to or greater than the sum of nMax for all
56330 assert( pCache->bPurgeable || (pCache->nMax==0 && pCache->nMin==0) );
56333 assert( pGroup->nMaxPage >= pCache->nMax );
56334 pGroup->nMaxPage -= pCache->nMax;
67282 ** If the WAL file is currently larger than nMax bytes in size, truncate
67283 ** it to exactly nMax bytes. If an error occurs while doing so, ignore it.
67285 static void walLimitSize(Wal *pWal, i64 nMax){
67290 if( rx==SQLITE_OK && (sz > nMax ) ){
67291 rx = sqlite3OsTruncate(pWal->pWalFd, nMax);
184241 /* sqlite3_test_control(SQLITE_TESTCTRL_SORTER_MMAP, db, nMax); */
240628 ** Then, for each level from 0 to nMax:
245534 ** list nMax bytes or less in size.
245536 static int fts5PoslistPrefix(const u8 *aBuf, int nMax){
245540 if( ret<nMax ){
245543 if( (ret + i) > nMax ) break;