Searched refs:byteLimit (Results 1 – 6 of 6) sorted by relevance
478 public int pushLimit(int byteLimit) throws InvalidProtocolBufferNanoException { in pushLimit() argument479 if (byteLimit < 0) { in pushLimit()482 byteLimit += bufferPos; in pushLimit()484 if (byteLimit > oldLimit) { in pushLimit()487 currentLimit = byteLimit; in pushLimit()
928 internal int PushLimit(int byteLimit) in PushLimit() argument930 if (byteLimit < 0) in PushLimit()934 byteLimit += totalBytesRetired + bufferPos; in PushLimit()936 if (byteLimit > oldLimit) in PushLimit()940 currentLimit = byteLimit; in PushLimit()
392 int currentPosition, int byteLimit, CharSequence msgBody) { in findNextUnicodePosition() argument393 int nextPos = Math.min(currentPosition + byteLimit / 2, msgBody.length()); in findNextUnicodePosition()
978 public int pushLimit(int byteLimit) throws InvalidProtocolBufferException { in pushLimit() argument979 if (byteLimit < 0) { in pushLimit()982 byteLimit += totalBytesRetired + bufferPos; in pushLimit()984 if (byteLimit > oldLimit) { in pushLimit()987 currentLimit = byteLimit; in pushLimit()
106 size_t byteLimit);
290 size_t byteLimit) {291 byteLimit += state->bufferPos;293 if (byteLimit > oldLimit) {296 state->currentLimit = byteLimit;