Home | History | Annotate | Download | only in protobuf

Lines Matching defs:currentLimit

878   private int currentLimit = Integer.MAX_VALUE;
965 * Sets {@code currentLimit} to (current position) + {@code byteLimit}. This
983 final int oldLimit = currentLimit;
987 currentLimit = byteLimit;
997 if (bufferEnd > currentLimit) {
999 bufferSizeAfterLimit = bufferEnd - currentLimit;
1012 currentLimit = oldLimit;
1021 if (currentLimit == Integer.MAX_VALUE) {
1026 return currentLimit - currentAbsolutePosition;
1081 if (totalBytesRetired + bufferPos + n > currentLimit) {
1169 // Verify that the message size so far has not exceeded currentLimit.
1170 if (currentMessageSize > currentLimit) {
1172 skipRawBytes(currentLimit - totalBytesRetired - bufferPos);
1280 if (totalBytesRetired + bufferPos + size > currentLimit) {
1282 skipRawBytes(currentLimit - totalBytesRetired - bufferPos);