Home
last modified time | relevance | path

Searched refs:currentLimit (Results 1 - 7 of 7) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/
H A DSegmentedBufferHelper.cs108 /// Sets currentLimit to (current position) + byteLimit. This is called
120 int oldLimit = state.currentLimit; in PushLimit()
125 state.currentLimit = byteLimit; in PushLimit()
137 state.currentLimit = oldLimit; in PopLimit()
147 if (state.currentLimit == int.MaxValue) in IsReachedLimit()
152 return currentAbsolutePosition >= state.currentLimit; in IsReachedLimit()
170 if (state.totalBytesRetired + state.bufferSize == state.currentLimit) in RefillFromReadOnlySequence()
225 if (state.totalBytesRetired + state.bufferSize == state.currentLimit) in RefillFromCodedInputStream()
276 if (bufferEnd > state.currentLimit) in RecomputeBufferSizeAfterLimit()
279 state.bufferSizeAfterLimit = bufferEnd - state.currentLimit; in RecomputeBufferSizeAfterLimit()
[all...]
H A DParserInternalState.cs72 internal int currentLimit; field
H A DParseContext.cs98 ctx.state.currentLimit = int.MaxValue; in Initialize()
H A DParsingPrimitives.cs675 if (state.totalBytesRetired + state.bufferPos + size > state.currentLimit) in ValidateCurrentLimit()
678 SkipRawBytes(ref buffer, ref state, state.currentLimit - state.totalBytesRetired - state.bufferPos); in ValidateCurrentLimit()
H A DCodedInputStream.cs150 this.state.currentLimit = int.MaxValue; in CodedInputStream()
609 /// Sets currentLimit to (current position) + byteLimit. This is called
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DCodedInputStream.java456 * Sets {@code currentLimit} to (current position) + {@code byteLimit}. This is called when
606 private int currentLimit = Integer.MAX_VALUE; field in CodedInputStream.ArrayDecoder
1187 final int oldLimit = currentLimit; in pushLimit()
1191 currentLimit = byteLimit; in pushLimit()
1201 if (bufferEnd > currentLimit) { in recomputeBufferSizeAfterLimit()
1203 bufferSizeAfterLimit = bufferEnd - currentLimit; in recomputeBufferSizeAfterLimit()
1212 currentLimit = oldLimit; in popLimit()
1218 if (currentLimit == Integer.MAX_VALUE) { in getBytesUntilLimit()
1222 return currentLimit - getTotalBytesRead(); in getBytesUntilLimit()
1315 private int currentLimit field in CodedInputStream.UnsafeDirectNioDecoder
2046 private int currentLimit = Integer.MAX_VALUE; global() field in CodedInputStream.StreamDecoder
3115 private int currentLimit = Integer.MAX_VALUE; global() field in CodedInputStream.IterableDirectByteBufferDecoder
[all...]
/third_party/protobuf/objectivec/
H A DGPBCodedInputStream_PackagePrivate.h49 size_t currentLimit; member

Completed in 8 milliseconds