Home
last modified time | relevance | path

Searched refs:oldLimit (Results 1 – 25 of 39) sorted by relevance

12

/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DCodedInputByteBufferNano.java221 final int oldLimit = pushLimit(length); in readMessage() local
226 popLimit(oldLimit); in readMessage()
436 final int oldLimit = recursionLimit; in setRecursionLimit() local
438 return oldLimit; in setRecursionLimit()
461 final int oldLimit = sizeLimit; in setSizeLimit() local
463 return oldLimit; in setSizeLimit()
483 final int oldLimit = currentLimit; in pushLimit() local
484 if (byteLimit > oldLimit) { in pushLimit()
491 return oldLimit; in pushLimit()
511 public void popLimit(final int oldLimit) { in popLimit() argument
[all …]
/external/protobuf/javamicro/src/main/java/com/google/protobuf/micro/
DCodedInputStreamMicro.java229 final int oldLimit = pushLimit(length); in readMessage() local
234 popLimit(oldLimit); in readMessage()
491 final int oldLimit = recursionLimit; in setRecursionLimit() local
493 return oldLimit; in setRecursionLimit()
517 final int oldLimit = sizeLimit; in setSizeLimit() local
519 return oldLimit; in setSizeLimit()
540 final int oldLimit = currentLimit; in pushLimit() local
541 if (byteLimit > oldLimit) { in pushLimit()
548 return oldLimit; in pushLimit()
568 public void popLimit(final int oldLimit) { in popLimit() argument
[all …]
/external/cronet/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedInputStream.java397 final int oldLimit = recursionLimit; in setRecursionLimit() local
399 return oldLimit; in setRecursionLimit()
420 final int oldLimit = sizeLimit; in setSizeLimit() local
422 return oldLimit; in setSizeLimit()
481 public abstract void popLimit(final int oldLimit); in popLimit() argument
870 final int oldLimit = pushLimit(length); in readMessage() local
878 popLimit(oldLimit); in readMessage()
887 final int oldLimit = pushLimit(length); in readMessage() local
895 popLimit(oldLimit); in readMessage()
1194 final int oldLimit = currentLimit; in pushLimit() local
[all …]
DMapEntryLite.java202 final int oldLimit = input.pushLimit(length); in parseInto() local
223 input.popLimit(oldLimit); in parseInto()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedInputStream.java397 final int oldLimit = recursionLimit; in setRecursionLimit() local
399 return oldLimit; in setRecursionLimit()
420 final int oldLimit = sizeLimit; in setSizeLimit() local
422 return oldLimit; in setSizeLimit()
481 public abstract void popLimit(final int oldLimit); in popLimit() argument
870 final int oldLimit = pushLimit(length); in readMessage() local
878 popLimit(oldLimit); in readMessage()
887 final int oldLimit = pushLimit(length); in readMessage() local
895 popLimit(oldLimit); in readMessage()
1194 final int oldLimit = currentLimit; in pushLimit() local
[all …]
DMapEntryLite.java202 final int oldLimit = input.pushLimit(length); in parseInto() local
223 input.popLimit(oldLimit); in parseInto()
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/
DSegmentedBufferHelper.cs120 int oldLimit = state.currentLimit; in PushLimit()
121 if (byteLimit > oldLimit) in PushLimit()
129 return oldLimit; in PushLimit()
135 public static void PopLimit(ref ParserInternalState state, int oldLimit) in PopLimit()
137 state.currentLimit = oldLimit; in PopLimit()
DParsingPrimitivesMessages.cs126 int oldLimit = SegmentedBufferHelper.PushLimit(ref ctx.state, length); in ReadMessage()
138 SegmentedBufferHelper.PopLimit(ref ctx.state, oldLimit); in ReadMessage()
148 int oldLimit = SegmentedBufferHelper.PushLimit(ref ctx.state, length); in ReadMapEntry()
195 SegmentedBufferHelper.PopLimit(ref ctx.state, oldLimit); in ReadMapEntry()
DCodedInputStream.cs621 internal void PopLimit(int oldLimit) in PopLimit() argument
623 SegmentedBufferHelper.PopLimit(ref state, oldLimit); in PopLimit()
/external/protobuf/csharp/src/Google.Protobuf/
DSegmentedBufferHelper.cs120 int oldLimit = state.currentLimit; in PushLimit()
121 if (byteLimit > oldLimit) in PushLimit()
129 return oldLimit; in PushLimit()
135 public static void PopLimit(ref ParserInternalState state, int oldLimit) in PopLimit()
137 state.currentLimit = oldLimit; in PopLimit()
DParsingPrimitivesMessages.cs126 int oldLimit = SegmentedBufferHelper.PushLimit(ref ctx.state, length); in ReadMessage()
138 SegmentedBufferHelper.PopLimit(ref ctx.state, oldLimit); in ReadMessage()
148 int oldLimit = SegmentedBufferHelper.PushLimit(ref ctx.state, length); in ReadMapEntry()
195 SegmentedBufferHelper.PopLimit(ref ctx.state, oldLimit); in ReadMapEntry()
DCodedInputStream.cs621 internal void PopLimit(int oldLimit) in PopLimit() argument
623 SegmentedBufferHelper.PopLimit(ref state, oldLimit); in PopLimit()
/external/cronet/third_party/protobuf/objectivec/
DGPBCodedInputStream.m280 size_t oldLimit = state->currentLimit;
281 if (byteLimit > oldLimit) {
285 return oldLimit;
289 size_t oldLimit) {
290 state->currentLimit = oldLimit;
395 - (void)popLimit:(size_t)oldLimit {
396 GPBCodedInputStreamPopLimit(&state_, oldLimit);
460 size_t oldLimit = GPBCodedInputStreamPushLimit(&state_, length);
465 GPBCodedInputStreamPopLimit(&state_, oldLimit);
474 size_t oldLimit = GPBCodedInputStreamPushLimit(&state_, length);
[all …]
DGPBCodedInputStream.h239 - (void)popLimit:(size_t)oldLimit;
DGPBCodedInputStream_PackagePrivate.h106 size_t oldLimit);
/external/protobuf/objectivec/
DGPBCodedInputStream.m280 size_t oldLimit = state->currentLimit;
281 if (byteLimit > oldLimit) {
285 return oldLimit;
289 size_t oldLimit) {
290 state->currentLimit = oldLimit;
395 - (void)popLimit:(size_t)oldLimit {
396 GPBCodedInputStreamPopLimit(&state_, oldLimit);
460 size_t oldLimit = GPBCodedInputStreamPushLimit(&state_, length);
465 GPBCodedInputStreamPopLimit(&state_, oldLimit);
474 size_t oldLimit = GPBCodedInputStreamPushLimit(&state_, length);
[all …]
DGPBCodedInputStream.h239 - (void)popLimit:(size_t)oldLimit;
/external/conscrypt/common/src/main/java/org/conscrypt/
DBufferUtils.java120 int oldLimit = buffer.limit(); in copyNoConsume() local
123 buffer.limit(oldLimit); in copyNoConsume()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DBufferUtils.java123 int oldLimit = buffer.limit(); in copyNoConsume() local
126 buffer.limit(oldLimit); in copyNoConsume()
/external/cronet/components/cronet/android/java/src/org/chromium/net/urlconnection/
DCronetChunkedOutputStream.java117 int oldLimit = mBuffer.limit(); in read() local
120 mBuffer.limit(oldLimit); in read()
DCronetFixedModeOutputStream.java188 int oldLimit = mBuffer.limit(); in read() local
191 mBuffer.limit(oldLimit); in read()
/external/cronet/components/cronet/android/api/src/android/net/http/apihelpers/
DUploadDataProviders.java174 int oldLimit = mUploadBuffer.limit();
177 mUploadBuffer.limit(oldLimit);
/external/cronet/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DDiscardUnknownFieldsTest.java84 int oldLimit = input.pushLimit(messageSize); in assertReuseCodedInputStreamPreserve() local
87 input.popLimit(oldLimit); in assertReuseCodedInputStreamPreserve()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DDiscardUnknownFieldsTest.java84 int oldLimit = input.pushLimit(messageSize); in assertReuseCodedInputStreamPreserve() local
87 input.popLimit(oldLimit); in assertReuseCodedInputStreamPreserve()
/external/cronet/components/cronet/android/test/javatests/src/org/chromium/net/apihelpers/
DUploadDataProvidersTest.java164 int oldLimit = byteBuffer.limit(); in testUploadChangeBufferLimit()
167 assertEquals(oldLimit, byteBuffer.limit()); in testUploadChangeBufferLimit()
169 byteBuffer.limit(oldLimit - 1); in testUploadChangeBufferLimit()

12