Searched refs:byteLimit (Results 1 – 9 of 9) sorted by relevance
113 public static int PushLimit(ref ParserInternalState state, int byteLimit) in PushLimit()115 if (byteLimit < 0) in PushLimit()119 byteLimit += state.totalBytesRetired + state.bufferPos; in PushLimit()121 if (byteLimit > oldLimit) in PushLimit()125 state.currentLimit = byteLimit; in PushLimit()
614 internal int PushLimit(int byteLimit) in PushLimit() argument616 return SegmentedBufferHelper.PushLimit(ref state, byteLimit); in PushLimit()
100 SkResourceCache::SkResourceCache(size_t byteLimit) in SkResourceCache() argument103 fTotalByteLimit = byteLimit; in SkResourceCache()205 size_t byteLimit; in purgeAsNeeded() local210 byteLimit = UINT32_MAX; // no limit based on bytes in purgeAsNeeded()213 byteLimit = fTotalByteLimit; in purgeAsNeeded()218 if (!forcePurge && fTotalBytesUsed < byteLimit && fCount < countLimit) { in purgeAsNeeded()
208 explicit SkResourceCache(size_t byteLimit);
468 public abstract int pushLimit(int byteLimit) throws InvalidProtocolBufferException; in pushLimit() argument1182 public int pushLimit(int byteLimit) throws InvalidProtocolBufferException { in pushLimit() argument1183 if (byteLimit < 0) { in pushLimit()1186 byteLimit += getTotalBytesRead(); in pushLimit()1188 if (byteLimit > oldLimit) { in pushLimit()1191 currentLimit = byteLimit; in pushLimit()1905 public int pushLimit(int byteLimit) throws InvalidProtocolBufferException { in pushLimit() argument1906 if (byteLimit < 0) { in pushLimit()1909 byteLimit += getTotalBytesRead(); in pushLimit()1911 if (byteLimit > oldLimit) { in pushLimit()[all …]
278 size_t byteLimit) {279 byteLimit += state->bufferPos;281 if (byteLimit > oldLimit) {284 state->currentLimit = byteLimit;391 - (size_t)pushLimit:(size_t)byteLimit {392 return GPBCodedInputStreamPushLimit(&state_, byteLimit);
231 - (size_t)pushLimit:(size_t)byteLimit;
104 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()