Lines Matching refs:newLimit
40801 i64 newLimit = *(i64*)pArg;
40803 if( newLimit>sqlite3GlobalConfig.mxMmap ){
40804 newLimit = sqlite3GlobalConfig.mxMmap;
40810 if( newLimit>0 && sizeof(size_t)<8 ){
40811 newLimit = (newLimit & 0x7FFFFFFF);
40815 if( newLimit>=0 && newLimit!=pFile->mmapSizeMax && pFile->nFetchOut==0 ){
40816 pFile->mmapSizeMax = newLimit;
48539 i64 newLimit = *(i64*)pArg;
48541 if( newLimit>sqlite3GlobalConfig.mxMmap ){
48542 newLimit = sqlite3GlobalConfig.mxMmap;
48548 if( newLimit>0 && sizeof(SIZE_T)<8 ){
48549 newLimit = (newLimit & 0x7FFFFFFF);
48553 if( newLimit>=0 && newLimit!=pFile->mmapSizeMax && pFile->nFetchOut==0 ){
48554 pFile->mmapSizeMax = newLimit;
176052 SQLITE_API int sqlite3_limit(sqlite3 *db, int limitId, int newLimit){
176087 if( newLimit>=0 ){ /* IMP: R-52476-28732 */
176088 if( newLimit>aHardLimit[limitId] ){
176089 newLimit = aHardLimit[limitId]; /* IMP: R-51463-25634 */
176090 }else if( newLimit<1 && limitId==SQLITE_LIMIT_LENGTH ){
176091 newLimit = 1;
176093 db->aLimit[limitId] = newLimit;