Home
last modified time | relevance | path

Searched refs:pushLimit (Results 1 - 13 of 13) sorted by relevance

/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DCodedInputStream.php320 * The value returned by pushLimit() is opaque to the caller, and must be
326 public function pushLimit($byte_limit) function
363 $old_limit = $this->pushLimit($byte_limit);
H A DMessage.php517 $limit = $input->pushLimit($length);
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DCodedInputStream.java152 result.pushLimit(len); in newInstance()
154 // The only reason pushLimit() might throw an exception here is if len in newInstance()
155 // is negative. Normally pushLimit()'s parameter comes directly off the in newInstance()
459 * <p>Note that {@code pushLimit()} does NOT affect how many bytes the {@code CodedInputStream}
468 public abstract int pushLimit(int byteLimit) throws InvalidProtocolBufferException; in pushLimit() method in CodedInputStream
473 * @param oldLimit The old limit, as returned by {@code pushLimit}.
486 * using {@link #pushLimit(int)}. This function may get blocked when using StreamDecoder as it
870 final int oldLimit = pushLimit(length); in readMessage()
886 final int oldLimit = pushLimit(length); in readMessage()
1182 public int pushLimit(in method in CodedInputStream.ArrayDecoder
1905 public int pushLimit(int byteLimit) throws InvalidProtocolBufferException { pushLimit() method in CodedInputStream.UnsafeDirectNioDecoder
2662 public int pushLimit(int byteLimit) throws InvalidProtocolBufferException { pushLimit() method in CodedInputStream.StreamDecoder
3731 public int pushLimit(int byteLimit) throws InvalidProtocolBufferException { pushLimit() method in CodedInputStream.IterableDirectByteBufferDecoder
[all...]
H A DMapEntryLite.java202 final int oldLimit = input.pushLimit(length); in parseInto()
H A DCodedInputStreamReader.java209 final int prevLimit = input.pushLimit(size); in readMessage()
1238 final int prevLimit = input.pushLimit(size); in readMap()
H A DMessageReflection.java798 final int limit = input.pushLimit(length); in mergeFieldFrom()
H A DGeneratedMessageLite.java576 int limit = input.pushLimit(length); in parseExtension()
/third_party/protobuf/objectivec/
H A DGPBCodedInputStream.h231 - (size_t)pushLimit:(size_t)byteLimit;
234 * Moves the limit back to the offset as it was before calling pushLimit:.
237 * is the value returned by the pushLimit: method.
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DDiscardUnknownFieldsTest.java84 int oldLimit = input.pushLimit(messageSize); in assertReuseCodedInputStreamPreserve()
H A DCodedInputStreamTest.java422 int limit = input.pushLimit(1); in testSkipRawBytesBug()
437 int limit = input.pushLimit(4); in testSkipRawBytesPastEndOfBufferWithLimit()
776 input.pushLimit(5); in testCurrentLimitExceeded()
H A DMapTest.java1349 int oldLimit = input.pushLimit(length); in testDeterministicSerialziation()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
H A DCodedInputStreamTest.java304 int limit = input.pushLimit(1); in testSkipRawBytesBug()
320 int limit = input.pushLimit(4); in testSkipRawBytesPastEndOfBufferWithLimit()
/third_party/protobuf/php/tests/
H A DPhpImplementationTest.php462 $old_limit = $input->pushLimit(0);

Completed in 19 milliseconds