Searched refs:byteLimit (Results 1 – 2 of 2) sorted by relevance
533 public int pushLimit(int byteLimit) throws InvalidProtocolBufferMicroException { in pushLimit() argument534 if (byteLimit < 0) { in pushLimit()537 byteLimit += totalBytesRetired + bufferPos; in pushLimit()539 if (byteLimit > oldLimit) { in pushLimit()542 currentLimit = byteLimit; in pushLimit()
589 public int pushLimit(int byteLimit) throws InvalidProtocolBufferException { in pushLimit() argument590 if (byteLimit < 0) { in pushLimit()593 byteLimit += totalBytesRetired + bufferPos; in pushLimit()595 if (byteLimit > oldLimit) { in pushLimit()598 currentLimit = byteLimit; in pushLimit()