Searched refs:byteLimit (Results 1 - 7 of 7) sorted by relevance

/external/protobuf/java/src/main/java/com/google/protobuf/nano/
H A DCodedInputByteBufferNano.java473 * Sets {@code currentLimit} to (current position) + {@code byteLimit}. This
478 public int pushLimit(int byteLimit) throws InvalidProtocolBufferNanoException { argument
479 if (byteLimit < 0) {
482 byteLimit += bufferPos;
484 if (byteLimit > oldLimit) {
487 currentLimit = byteLimit;
/external/skia/src/core/
H A DSkResourceCache.cpp190 SkResourceCache::SkResourceCache(size_t byteLimit) { argument
192 fTotalByteLimit = byteLimit;
285 size_t byteLimit; local
290 byteLimit = SK_MaxU32; // no limit based on bytes
293 byteLimit = fTotalByteLimit;
298 if (!forcePurge && fTotalBytesUsed < byteLimit && fCount < countLimit) {
H A DSkResourceCache.h179 * byteLimit, purging automatically when a new image is added to the cache
183 explicit SkResourceCache(size_t byteLimit);
/external/skia/tests/
H A DSkResourceCacheTest.cpp102 const size_t byteLimit = 100 * 1024; local
103 cache.reset(SkNEW_ARGS(SkResourceCache, (byteLimit)));
248 const size_t byteLimit = 100 * 1024; local
249 cache.reset(SkNEW_ARGS(SkResourceCache, (byteLimit)));
/external/protobuf/java/src/main/java/com/google/protobuf/micro/
H A DCodedInputStreamMicro.java530 * Sets {@code currentLimit} to (current position) + {@code byteLimit}. This
535 public int pushLimit(int byteLimit) throws InvalidProtocolBufferMicroException { argument
536 if (byteLimit < 0) {
539 byteLimit += totalBytesRetired + bufferPos;
541 if (byteLimit > oldLimit) {
544 currentLimit = byteLimit;
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DCodedInputStream.java971 * Sets {@code currentLimit} to (current position) + {@code byteLimit}. This
984 public int pushLimit(int byteLimit) throws InvalidProtocolBufferException { argument
985 if (byteLimit < 0) {
988 byteLimit += totalBytesRetired + bufferPos;
990 if (byteLimit > oldLimit) {
993 currentLimit = byteLimit;
/external/google-tv-pairing-protocol/java/jar/
H A Dprotobuf-java-2.2.0-lite.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/protobuf/ com/google/protobuf/UninitializedMessageException ...

Completed in 1015 milliseconds