Searched refs:currentLimit (Results 1 – 5 of 5) sorted by relevance
405 private int currentLimit = Integer.MAX_VALUE; field in CodedInputByteBufferNano483 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 …]
110 private int currentLimit = int.MaxValue; field in Google.Protobuf.CodedInputStream935 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 …]
878 private int currentLimit = Integer.MAX_VALUE; field in CodedInputStream983 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 …]
71 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;
51 size_t currentLimit; member