Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
600 if (bufferPos + size > currentLimit) { in readRawBytes()
602 skipRawBytes(currentLimit - bufferPos); in readRawBytes()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DCodedInputStream.cs110 private int currentLimit = int.MaxValue; field in Google.Protobuf.CodedInputStream
935 int oldLimit = currentLimit; in PushLimit()
940 currentLimit = byteLimit; in PushLimit()
951 if (bufferEnd > currentLimit) in RecomputeBufferSizeAfterLimit()
954 bufferSizeAfterLimit = bufferEnd - currentLimit; in RecomputeBufferSizeAfterLimit()
968 currentLimit = oldLimit; in PopLimit()
980 if (currentLimit == int.MaxValue)
985 return currentAbsolutePosition >= currentLimit;
1015 if (totalBytesRetired + bufferSize == currentLimit) in RefillBuffer()
1088 if (totalBytesRetired + bufferPos + size > currentLimit) in ReadRawBytes()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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 …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBCodedInputStream.m71 if (newSize > state->currentLimit) {
72 // Fast forward to end of currentLimit;
73 state->bufferPos = state->currentLimit;
292 size_t oldLimit = state->currentLimit;
296 state->currentLimit = byteLimit;
302 state->currentLimit = oldLimit;
306 return state->currentLimit - state->bufferPos;
311 (state->bufferPos == state->currentLimit);
336 state_.currentLimit = state_.bufferSize;
DGPBCodedInputStream_PackagePrivate.h51 size_t currentLimit; member