Home
last modified time | relevance | path

Searched refs:totalBytesRetired (Results 1 - 5 of 5) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/
H A DSegmentedBufferHelper.cs119 byteLimit += state.totalBytesRetired + state.bufferPos; in PushLimit()
151 int currentAbsolutePosition = state.totalBytesRetired + state.bufferPos; in IsReachedLimit()
170 if (state.totalBytesRetired + state.bufferSize == state.currentLimit) in RefillFromReadOnlySequence()
183 state.totalBytesRetired += state.bufferSize; in RefillFromReadOnlySequence()
212 state.totalBytesRetired + state.bufferSize + state.bufferSizeAfterLimit; in RefillFromReadOnlySequence()
225 if (state.totalBytesRetired + state.bufferSize == state.currentLimit) in RefillFromCodedInputStream()
240 state.totalBytesRetired += state.bufferSize; in RefillFromCodedInputStream()
263 state.totalBytesRetired + state.bufferSize + state.bufferSizeAfterLimit; in RefillFromCodedInputStream()
275 int bufferEnd = state.totalBytesRetired + state.bufferSize; in RecomputeBufferSizeAfterLimit()
H A DParsingPrimitivesWrappers.cs86 int finalBufferPos = state.totalBytesRetired + state.bufferPos + length; in ReadFloatWrapperSlow()
100 while (state.totalBytesRetired + state.bufferPos < finalBufferPos); in ReadFloatWrapperSlow()
138 int finalBufferPos = state.totalBytesRetired + state.bufferPos + length; in ReadDoubleWrapperSlow()
152 while (state.totalBytesRetired + state.bufferPos < finalBufferPos); in ReadDoubleWrapperSlow()
208 int finalBufferPos = state.totalBytesRetired + state.bufferPos + length; in ReadUInt32WrapperSlow()
222 while (state.totalBytesRetired + state.bufferPos < finalBufferPos); in ReadUInt32WrapperSlow()
281 int finalBufferPos = state.totalBytesRetired + state.bufferPos + length; in ReadUInt64WrapperSlow()
294 while (state.totalBytesRetired + state.bufferPos < finalBufferPos); in ReadUInt64WrapperSlow()
H A DParserInternalState.cs70 /// The absolute position of the end of the current length-delimited block (including totalBytesRetired)
77 /// totalBytesRetired + bufferPos.
79 internal int totalBytesRetired; field
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()
790 return size <= state.segmentedBufferHelper.TotalLength - state.totalBytesRetired - state.bufferPos; in IsDataAvailableInSource()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DCodedInputStream.java2039 * current position can be computed as {@code totalBytesRetired + pos}. This value may be
2043 private int totalBytesRetired; field in CodedInputStream.StreamDecoder
2054 totalBytesRetired = 0; in StreamDecoder()
2658 totalBytesRetired = -pos; in resetSizeCounter()
2666 byteLimit += totalBytesRetired + pos; in pushLimit()
2680 final int bufferEnd = totalBytesRetired + bufferSize; in recomputeBufferSizeAfterLimit()
2702 final int currentAbsolutePosition = totalBytesRetired + pos; in getBytesUntilLimit()
2713 return totalBytesRetired + pos; in getTotalBytesRead()
2734 if (n > sizeLimit - totalBytesRetired - pos) { in refillBuffer()
2759 if (n > sizeLimit - totalBytesRetired in tryRefillBuffer()
[all...]

Completed in 7 milliseconds