Home
last modified time | relevance | path

Searched refs:currentLimit (Results 1 – 10 of 10) sorted by relevance

/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DCodedInputByteBufferNano.java405 private int currentLimit = Integer.MAX_VALUE; field in CodedInputByteBufferNano
483 final int oldLimit = currentLimit; in pushLimit()
487 currentLimit = byteLimit; in pushLimit()
497 if (bufferEnd > currentLimit) { in recomputeBufferSizeAfterLimit()
499 bufferSizeAfterLimit = bufferEnd - currentLimit; in recomputeBufferSizeAfterLimit()
512 currentLimit = oldLimit; in popLimit()
521 if (currentLimit == Integer.MAX_VALUE) { in getBytesUntilLimit()
526 return currentLimit - currentAbsolutePosition; in getBytesUntilLimit()
614 if (bufferPos + size > currentLimit) { in readRawBytes()
616 skipRawBytes(currentLimit - bufferPos); in readRawBytes()
[all …]
/external/protobuf/javamicro/src/main/java/com/google/protobuf/micro/
DCodedInputStreamMicro.java452 private int currentLimit = Integer.MAX_VALUE; field in CodedInputStreamMicro
540 final int oldLimit = currentLimit; in pushLimit()
544 currentLimit = byteLimit; in pushLimit()
554 if (bufferEnd > currentLimit) { in recomputeBufferSizeAfterLimit()
556 bufferSizeAfterLimit = bufferEnd - currentLimit; in recomputeBufferSizeAfterLimit()
569 currentLimit = oldLimit; in popLimit()
578 if (currentLimit == Integer.MAX_VALUE) { in getBytesUntilLimit()
583 return currentLimit - currentAbsolutePosition; in getBytesUntilLimit()
608 if (totalBytesRetired + bufferSize == currentLimit) { in refillBuffer()
668 if (totalBytesRetired + bufferPos + size > currentLimit) { in readRawBytes()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/
DCodedInputStream.cs110 private int currentLimit = int.MaxValue; field in Google.Protobuf.CodedInputStream
937 int oldLimit = currentLimit; in PushLimit()
942 currentLimit = byteLimit; in PushLimit()
953 if (bufferEnd > currentLimit) in RecomputeBufferSizeAfterLimit()
956 bufferSizeAfterLimit = bufferEnd - currentLimit; in RecomputeBufferSizeAfterLimit()
970 currentLimit = oldLimit; in PopLimit()
982 if (currentLimit == int.MaxValue)
987 return currentAbsolutePosition >= currentLimit;
1017 if (totalBytesRetired + bufferSize == currentLimit) in RefillBuffer()
1090 if (totalBytesRetired + bufferPos + size > currentLimit) in ReadRawBytes()
[all …]
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedInputStream.java878 private int currentLimit = Integer.MAX_VALUE; field in CodedInputStream
983 final int oldLimit = currentLimit; in pushLimit()
987 currentLimit = byteLimit; in pushLimit()
997 if (bufferEnd > currentLimit) { in recomputeBufferSizeAfterLimit()
999 bufferSizeAfterLimit = bufferEnd - currentLimit; in recomputeBufferSizeAfterLimit()
1012 currentLimit = oldLimit; in popLimit()
1021 if (currentLimit == Integer.MAX_VALUE) { in getBytesUntilLimit()
1026 return currentLimit - currentAbsolutePosition; in getBytesUntilLimit()
1081 if (totalBytesRetired + bufferPos + n > currentLimit) { in tryRefillBuffer()
1170 if (currentMessageSize > currentLimit) { in readRawBytesSlowPath()
[all …]
/external/protobuf/objectivec/
DGPBCodedInputStream.m46 if (newSize > state->currentLimit) {
47 // Fast forward to end of currentLimit;
48 state->bufferPos = state->currentLimit;
263 size_t oldLimit = state->currentLimit;
268 state->currentLimit = byteLimit;
274 state->currentLimit = oldLimit;
278 return state->currentLimit - state->bufferPos;
283 (state->bufferPos == state->currentLimit);
309 state_.currentLimit = state_.bufferSize;
DGPBCodedInputStream_PackagePrivate.h51 size_t currentLimit; member
/external/google-tv-pairing-protocol/java/jar/
Dprotobuf-java-2.2.0-lite.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/kotlinc/lib/
Dkotlin-reflect.jarMETA-INF/MANIFEST.MF kotlin/reflect/jvm/internal/ReflectProperties$LazyVal. ...
Dkotlin-compiler.jarMETA-INF/MANIFEST.MF com/google/common/base/ExtraObjectsMethodsForWeb.class ExtraObjectsMethodsForWeb ...
/external/v8/src/inspector/build/closure-compiler/
Dclosure-compiler.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...