Searched refs:currentLimit (Results 1 – 4 of 4) sorted by relevance
403 private int currentLimit = Integer.MAX_VALUE; field in CodedInputByteBufferNano481 final int oldLimit = currentLimit; in pushLimit()485 currentLimit = byteLimit; in pushLimit()495 if (bufferEnd > currentLimit) { in recomputeBufferSizeAfterLimit()497 bufferSizeAfterLimit = bufferEnd - currentLimit; in recomputeBufferSizeAfterLimit()510 currentLimit = oldLimit; in popLimit()519 if (currentLimit == Integer.MAX_VALUE) { in getBytesUntilLimit()524 return currentLimit - currentAbsolutePosition; in getBytesUntilLimit()598 if (bufferPos + size > currentLimit) { in readRawBytes()600 skipRawBytes(currentLimit - bufferPos); in readRawBytes()[all …]
450 private int currentLimit = Integer.MAX_VALUE; field in CodedInputStreamMicro538 final int oldLimit = currentLimit; in pushLimit()542 currentLimit = byteLimit; in pushLimit()552 if (bufferEnd > currentLimit) { in recomputeBufferSizeAfterLimit()554 bufferSizeAfterLimit = bufferEnd - currentLimit; in recomputeBufferSizeAfterLimit()567 currentLimit = oldLimit; in popLimit()576 if (currentLimit == Integer.MAX_VALUE) { in getBytesUntilLimit()581 return currentLimit - currentAbsolutePosition; in getBytesUntilLimit()606 if (totalBytesRetired + bufferSize == currentLimit) { in refillBuffer()666 if (totalBytesRetired + bufferPos + size > currentLimit) { in readRawBytes()[all …]
496 private int currentLimit = Integer.MAX_VALUE; field in CodedInputStream594 final int oldLimit = currentLimit; in pushLimit()598 currentLimit = byteLimit; in pushLimit()608 if (bufferEnd > currentLimit) { in recomputeBufferSizeAfterLimit()610 bufferSizeAfterLimit = bufferEnd - currentLimit; in recomputeBufferSizeAfterLimit()623 currentLimit = oldLimit; in popLimit()632 if (currentLimit == Integer.MAX_VALUE) { in getBytesUntilLimit()637 return currentLimit - currentAbsolutePosition; in getBytesUntilLimit()670 if (totalBytesRetired + bufferSize == currentLimit) { in refillBuffer()730 if (totalBytesRetired + bufferPos + size > currentLimit) { in readRawBytes()[all …]
551 private int currentLimit = Integer.MAX_VALUE; field in CodedInputStream649 final int oldLimit = currentLimit; in pushLimit()653 currentLimit = byteLimit; in pushLimit()663 if (bufferEnd > currentLimit) { in recomputeBufferSizeAfterLimit()665 bufferSizeAfterLimit = bufferEnd - currentLimit; in recomputeBufferSizeAfterLimit()678 currentLimit = oldLimit; in popLimit()687 if (currentLimit == Integer.MAX_VALUE) { in getBytesUntilLimit()692 return currentLimit - currentAbsolutePosition; in getBytesUntilLimit()725 if (totalBytesRetired + bufferSize == currentLimit) { in refillBuffer()785 if (totalBytesRetired + bufferPos + size > currentLimit) { in readRawBytes()[all …]