Home
last modified time | relevance | path

Searched refs:totalBytesRetired (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/javamicro/src/main/java/com/google/protobuf/micro/
DCodedInputStreamMicro.java449 private int totalBytesRetired; field in CodedInputStreamMicro
526 totalBytesRetired = 0; in resetSizeCounter()
539 byteLimit += totalBytesRetired + bufferPos; in pushLimit()
553 final int bufferEnd = totalBytesRetired + bufferSize; in recomputeBufferSizeAfterLimit()
582 final int currentAbsolutePosition = totalBytesRetired + bufferPos; in getBytesUntilLimit()
608 if (totalBytesRetired + bufferSize == currentLimit) { in refillBuffer()
617 totalBytesRetired += bufferSize; in refillBuffer()
636 totalBytesRetired + bufferSize + bufferSizeAfterLimit; in refillBuffer()
668 if (totalBytesRetired + bufferPos + size > currentLimit) { in readRawBytes()
670 skipRawBytes(currentLimit - totalBytesRetired - bufferPos); in readRawBytes()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/
DCodedInputStream.cs105 private int totalBytesRetired = 0; field in Google.Protobuf.CodedInputStream
936 byteLimit += totalBytesRetired + bufferPos; in PushLimit()
952 int bufferEnd = totalBytesRetired + bufferSize; in RecomputeBufferSizeAfterLimit()
986 int currentAbsolutePosition = totalBytesRetired + bufferPos;
1017 if (totalBytesRetired + bufferSize == currentLimit) in RefillBuffer()
1030 totalBytesRetired += bufferSize; in RefillBuffer()
1053 totalBytesRetired + bufferSize + bufferSizeAfterLimit; in RefillBuffer()
1090 if (totalBytesRetired + bufferPos + size > currentLimit) in ReadRawBytes()
1093 SkipRawBytes(currentLimit - totalBytesRetired - bufferPos); in ReadRawBytes()
1151 totalBytesRetired += bufferSize; in ReadRawBytes()
[all …]
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedInputStream.java875 private int totalBytesRetired; field in CodedInputStream
896 totalBytesRetired = -off; in CodedInputStream()
905 totalBytesRetired = 0; in CodedInputStream()
961 totalBytesRetired = -bufferPos; in resetSizeCounter()
982 byteLimit += totalBytesRetired + bufferPos; in pushLimit()
996 final int bufferEnd = totalBytesRetired + bufferSize; in recomputeBufferSizeAfterLimit()
1025 final int currentAbsolutePosition = totalBytesRetired + bufferPos; in getBytesUntilLimit()
1043 return totalBytesRetired + bufferPos; in getTotalBytesRead()
1081 if (totalBytesRetired + bufferPos + n > currentLimit) { in tryRefillBuffer()
1096 totalBytesRetired += pos; in tryRefillBuffer()
[all …]