Searched refs:newLimit (Results 1 – 11 of 11) sorted by relevance
146 public final Buffer limit (int newLimit) { in limit() argument147 if (newLimit < 0 || newLimit > capacity) { in limit()151 limit = newLimit; in limit()152 if (position > newLimit) { in limit()153 position = newLimit; in limit()155 if ((mark != UNSET_MARK) && (mark > newLimit)) { in limit()
376 size_t SkResourceCache::setTotalByteLimit(size_t newLimit) { in setTotalByteLimit() argument378 fTotalByteLimit = newLimit; in setTotalByteLimit()379 if (newLimit < prevLimit) { in setTotalByteLimit()509 size_t SkResourceCache::setSingleAllocationByteLimit(size_t newLimit) { in setSingleAllocationByteLimit() argument511 fSingleAllocationByteLimit = newLimit; in setSingleAllocationByteLimit()582 size_t SkResourceCache::SetTotalByteLimit(size_t newLimit) { in SetTotalByteLimit() argument584 return get_cache()->setTotalByteLimit(newLimit); in SetTotalByteLimit()661 size_t SkGraphics::SetResourceCacheTotalByteLimit(size_t newLimit) { in SetResourceCacheTotalByteLimit() argument662 return SkResourceCache::SetTotalByteLimit(newLimit); in SetResourceCacheTotalByteLimit()669 size_t SkGraphics::SetResourceCacheSingleAllocationByteLimit(size_t newLimit) { in SetResourceCacheSingleAllocationByteLimit() argument[all …]
150 static size_t SetTotalByteLimit(size_t newLimit);237 size_t setTotalByteLimit(size_t newLimit);
472 size_t SkGlyphCache_Globals::setCacheSizeLimit(size_t newLimit) { in setCacheSizeLimit() argument474 if (newLimit < minLimit) { in setCacheSizeLimit()475 newLimit = minLimit; in setCacheSizeLimit()481 fCacheSizeLimit = newLimit; in setCacheSizeLimit()
97 static size_t SetResourceCacheTotalByteLimit(size_t newLimit);114 static size_t SetResourceCacheSingleAllocationByteLimit(size_t newLimit);
320 void AString::ReAlloc(unsigned newLimit) in ReAlloc() argument322 if (newLimit < _len || newLimit >= 0x20000000) throw 20130220; in ReAlloc()324 char *newBuf = MY_STRING_NEW(char, newLimit + 1); in ReAlloc()329 _limit = newLimit; in ReAlloc()754 void UString::ReAlloc(unsigned newLimit) in ReAlloc() argument756 if (newLimit < _len || newLimit >= 0x20000000) throw 20130221; in ReAlloc()758 wchar_t *newBuf = MY_STRING_NEW(wchar_t, newLimit + 1); in ReAlloc()763 _limit = newLimit; in ReAlloc()
172 void ReAlloc(unsigned newLimit);330 void ReAlloc(unsigned newLimit);
315 void setPutIndex(int newLimit); in setPutIndex() argument
171 void setReorderingLimit(UChar *newLimit) { in setReorderingLimit() argument172 remainingCapacity+=(int32_t)(limit-newLimit); in setReorderingLimit()173 reorderStart=limit=newLimit; in setReorderingLimit()
30484 i64 newLimit = *(i64*)pArg;30486 if( newLimit>sqlite3GlobalConfig.mxMmap ){30487 newLimit = sqlite3GlobalConfig.mxMmap;30490 if( newLimit>=0 && newLimit!=pFile->mmapSizeMax && pFile->nFetchOut==0 ){30491 pFile->mmapSizeMax = newLimit;37729 i64 newLimit = *(i64*)pArg;37731 if( newLimit>sqlite3GlobalConfig.mxMmap ){37732 newLimit = sqlite3GlobalConfig.mxMmap;37735 if( newLimit>=0 && newLimit!=pFile->mmapSizeMax && pFile->nFetchOut==0 ){37736 pFile->mmapSizeMax = newLimit;[all …]
30466 i64 newLimit = *(i64*)pArg;30468 if( newLimit>sqlite3GlobalConfig.mxMmap ){30469 newLimit = sqlite3GlobalConfig.mxMmap;30472 if( newLimit>=0 && newLimit!=pFile->mmapSizeMax && pFile->nFetchOut==0 ){30473 pFile->mmapSizeMax = newLimit;37711 i64 newLimit = *(i64*)pArg;37713 if( newLimit>sqlite3GlobalConfig.mxMmap ){37714 newLimit = sqlite3GlobalConfig.mxMmap;37717 if( newLimit>=0 && newLimit!=pFile->mmapSizeMax && pFile->nFetchOut==0 ){37718 pFile->mmapSizeMax = newLimit;[all …]