Searched refs:byteLimit (Results 1 – 12 of 12) sorted by relevance
478 public int pushLimit(int byteLimit) throws InvalidProtocolBufferNanoException { in pushLimit() argument479 if (byteLimit < 0) { in pushLimit()482 byteLimit += bufferPos; in pushLimit()484 if (byteLimit > oldLimit) { in pushLimit()487 currentLimit = byteLimit; in pushLimit()
98 SkResourceCache::SkResourceCache(size_t byteLimit) { in SkResourceCache() argument100 fTotalByteLimit = byteLimit; in SkResourceCache()202 size_t byteLimit; in purgeAsNeeded() local207 byteLimit = UINT32_MAX; // no limit based on bytes in purgeAsNeeded()210 byteLimit = fTotalByteLimit; in purgeAsNeeded()215 if (!forcePurge && fTotalBytesUsed < byteLimit && fCount < countLimit) { in purgeAsNeeded()
207 explicit SkResourceCache(size_t byteLimit);
535 public int pushLimit(int byteLimit) throws InvalidProtocolBufferMicroException { in pushLimit() argument536 if (byteLimit < 0) { in pushLimit()539 byteLimit += totalBytesRetired + bufferPos; in pushLimit()541 if (byteLimit > oldLimit) { in pushLimit()544 currentLimit = byteLimit; in pushLimit()
930 internal int PushLimit(int byteLimit) in PushLimit() argument932 if (byteLimit < 0) in PushLimit()936 byteLimit += totalBytesRetired + bufferPos; in PushLimit()938 if (byteLimit > oldLimit) in PushLimit()942 currentLimit = byteLimit; in PushLimit()
261 size_t byteLimit) {262 byteLimit += state->bufferPos;264 if (byteLimit > oldLimit) {266 format:@"byteLimit > oldLimit: %tu > %tu", byteLimit, oldLimit];268 state->currentLimit = byteLimit;
106 size_t byteLimit);
128 const size_t byteLimit = 100 * 1024; in DEF_TEST() local130 SkResourceCache cache(byteLimit); in DEF_TEST()134 sk_sp<SkDiscardableMemoryPool> pool(SkDiscardableMemoryPool::Make(byteLimit)); in DEF_TEST()
978 public int pushLimit(int byteLimit) throws InvalidProtocolBufferException { in pushLimit() argument979 if (byteLimit < 0) { in pushLimit()982 byteLimit += totalBytesRetired + bufferPos; in pushLimit()984 if (byteLimit > oldLimit) { in pushLimit()987 currentLimit = byteLimit; in pushLimit()