Lines Matching refs:newLimit
42911 i64 newLimit = *(i64*)pArg; in unixFileControl() local
42913 if( newLimit>sqlite3GlobalConfig.mxMmap ){ in unixFileControl()
42914 newLimit = sqlite3GlobalConfig.mxMmap; in unixFileControl()
42920 if( newLimit>0 && sizeof(size_t)<8 ){ in unixFileControl()
42921 newLimit = (newLimit & 0x7FFFFFFF); in unixFileControl()
42925 if( newLimit>=0 && newLimit!=pFile->mmapSizeMax && pFile->nFetchOut==0 ){ in unixFileControl()
42926 pFile->mmapSizeMax = newLimit; in unixFileControl()
51039 i64 newLimit = *(i64*)pArg; local
51041 if( newLimit>sqlite3GlobalConfig.mxMmap ){
51042 newLimit = sqlite3GlobalConfig.mxMmap;
51048 if( newLimit>0 && sizeof(SIZE_T)<8 ){
51049 newLimit = (newLimit & 0x7FFFFFFF);
51053 if( newLimit>=0 && newLimit!=pFile->mmapSizeMax && pFile->nFetchOut==0 ){
51054 pFile->mmapSizeMax = newLimit;
185589 SQLITE_API int sqlite3_limit(sqlite3 *db, int limitId, int newLimit){
185624 if( newLimit>=0 ){ /* IMP: R-52476-28732 */
185625 if( newLimit>aHardLimit[limitId] ){
185626 newLimit = aHardLimit[limitId]; /* IMP: R-51463-25634 */
185627 }else if( newLimit<SQLITE_MIN_LENGTH && limitId==SQLITE_LIMIT_LENGTH ){
185628 newLimit = SQLITE_MIN_LENGTH;
185630 db->aLimit[limitId] = newLimit;