/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/ |
D | ParsableNalUnitBitArray.java | 27 private int byteLimit; field in ParsableNalUnitBitArray 53 byteLimit = limit; in reset() 109 for (int i = oldByteOffset + 1; i <= newByteOffset && newByteOffset < byteLimit; i++) { in canReadBits() 116 return newByteOffset < byteLimit || (newByteOffset == byteLimit && newBitOffset == 0); in canReadBits() 164 while (byteOffset < byteLimit && !readBit()) { in canReadExpGolombCodedNum() 167 boolean hitLimit = byteOffset == byteLimit; in canReadExpGolombCodedNum() 201 return 2 <= offset && offset < byteLimit && data[offset] == (byte) 0x03 in shouldSkipByte() 208 && (byteOffset < byteLimit || (byteOffset == byteLimit && bitOffset == 0))); in assertValidOffset()
|
D | ParsableBitArray.java | 32 private int byteLimit; field in ParsableBitArray 56 byteLimit = limit; in ParsableBitArray() 89 byteLimit = limit; in reset() 96 return (byteLimit - byteOffset) * 8 - bitOffset; in bitsLeft() 348 && (byteOffset < byteLimit || (byteOffset == byteLimit && bitOffset == 0))); in assertValidOffset()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ |
D | VorbisBitArray.java | 29 private final int byteLimit; field in VorbisBitArray 41 byteLimit = data.length; in VorbisBitArray() 120 return (byteLimit - byteOffset) * 8 - bitOffset; in bitsLeft() 126 && (byteOffset < byteLimit || (byteOffset == byteLimit && bitOffset == 0))); in assertValidOffset()
|
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/ |
D | CodedInputByteBufferNano.java | 478 public int pushLimit(int byteLimit) throws InvalidProtocolBufferNanoException { in pushLimit() argument 479 if (byteLimit < 0) { in pushLimit() 482 byteLimit += bufferPos; in pushLimit() 484 if (byteLimit > oldLimit) { in pushLimit() 487 currentLimit = byteLimit; in pushLimit()
|
/external/skqp/src/core/ |
D | SkResourceCache.cpp | 98 SkResourceCache::SkResourceCache(size_t byteLimit) { in SkResourceCache() argument 100 fTotalByteLimit = byteLimit; in SkResourceCache() 202 size_t byteLimit; in purgeAsNeeded() local 207 byteLimit = UINT32_MAX; // no limit based on bytes in purgeAsNeeded() 210 byteLimit = fTotalByteLimit; in purgeAsNeeded() 215 if (!forcePurge && fTotalBytesUsed < byteLimit && fCount < countLimit) { in purgeAsNeeded()
|
D | SkResourceCache.h | 207 explicit SkResourceCache(size_t byteLimit);
|
/external/protobuf/javamicro/src/main/java/com/google/protobuf/micro/ |
D | CodedInputStreamMicro.java | 535 public int pushLimit(int byteLimit) throws InvalidProtocolBufferMicroException { in pushLimit() argument 536 if (byteLimit < 0) { in pushLimit() 539 byteLimit += totalBytesRetired + bufferPos; in pushLimit() 541 if (byteLimit > oldLimit) { in pushLimit() 544 currentLimit = byteLimit; in pushLimit()
|
/external/skia/src/core/ |
D | SkResourceCache.cpp | 100 SkResourceCache::SkResourceCache(size_t byteLimit) in SkResourceCache() argument 103 fTotalByteLimit = byteLimit; in SkResourceCache() 205 size_t byteLimit; in purgeAsNeeded() local 210 byteLimit = UINT32_MAX; // no limit based on bytes in purgeAsNeeded() 213 byteLimit = fTotalByteLimit; in purgeAsNeeded() 218 if (!forcePurge && fTotalBytesUsed < byteLimit && fCount < countLimit) { in purgeAsNeeded()
|
D | SkResourceCache.h | 208 explicit SkResourceCache(size_t byteLimit);
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | CodedInputStream.java | 468 public abstract int pushLimit(int byteLimit) throws InvalidProtocolBufferException; in pushLimit() argument 1180 public int pushLimit(int byteLimit) throws InvalidProtocolBufferException { in pushLimit() argument 1181 if (byteLimit < 0) { in pushLimit() 1184 byteLimit += getTotalBytesRead(); in pushLimit() 1186 if (byteLimit > oldLimit) { in pushLimit() 1189 currentLimit = byteLimit; in pushLimit() 1903 public int pushLimit(int byteLimit) throws InvalidProtocolBufferException { in pushLimit() argument 1904 if (byteLimit < 0) { in pushLimit() 1907 byteLimit += getTotalBytesRead(); in pushLimit() 1909 if (byteLimit > oldLimit) { in pushLimit() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | CodedInputStream.cs | 960 internal int PushLimit(int byteLimit) in PushLimit() argument 962 if (byteLimit < 0) in PushLimit() 966 byteLimit += totalBytesRetired + bufferPos; in PushLimit() 968 if (byteLimit > oldLimit) in PushLimit() 972 currentLimit = byteLimit; in PushLimit()
|
/external/skia/tests/ |
D | SkResourceCacheTest.cpp | 128 const size_t byteLimit = 100 * 1024; in DEF_TEST() local 130 SkResourceCache cache(byteLimit); in DEF_TEST() 134 sk_sp<SkDiscardableMemoryPool> pool(SkDiscardableMemoryPool::Make(byteLimit)); in DEF_TEST()
|
/external/skqp/tests/ |
D | SkResourceCacheTest.cpp | 128 const size_t byteLimit = 100 * 1024; in DEF_TEST() local 130 SkResourceCache cache(byteLimit); in DEF_TEST() 134 sk_sp<SkDiscardableMemoryPool> pool(SkDiscardableMemoryPool::Make(byteLimit)); in DEF_TEST()
|
/external/protobuf/objectivec/ |
D | GPBCodedInputStream.m | 270 size_t byteLimit) { 271 byteLimit += state->bufferPos; 273 if (byteLimit > oldLimit) { 276 state->currentLimit = byteLimit; 383 - (size_t)pushLimit:(size_t)byteLimit { 384 return GPBCodedInputStreamPushLimit(&state_, byteLimit);
|
D | GPBCodedInputStream.h | 231 - (size_t)pushLimit:(size_t)byteLimit;
|
D | GPBCodedInputStream_PackagePrivate.h | 104 size_t byteLimit);
|