Searched refs:CurrentPosition (Results 1 – 5 of 5) sorted by relevance
29 size_t CurrentPosition = 0; variable34 if (N + CurrentPosition >= BufferCapacity) { in grow()36 if (BufferCapacity < N + CurrentPosition) in grow()37 BufferCapacity = N + CurrentPosition; in grow()67 : Buffer(StartBuf), CurrentPosition(0), BufferCapacity(Size) {} in OutputStream()70 CurrentPosition = 0; in reset()85 std::memmove(Buffer + CurrentPosition, R.begin(), Size);86 CurrentPosition += Size;92 Buffer[CurrentPosition++] = C;129 size_t getCurrentPosition() const { return CurrentPosition; } in getCurrentPosition()[all …]
68 int start = input->CurrentPosition(); in ParseDelimitedFromCodedStream()73 if (clean_eof != NULL) *clean_eof = input->CurrentPosition() == start; in ParseDelimitedFromCodedStream()
120 int current_position = CurrentPosition(); in PushLimit()174 int current_position = CurrentPosition(); in BytesUntilLimit()182 int current_position = CurrentPosition(); in SetTotalBytesLimit()189 return total_bytes_limit_ - CurrentPosition(); in BytesUntilTotalBytesLimit()284 int bytes_to_limit = closest_limit - CurrentPosition(); in ReadStringFallback()
373 int CurrentPosition() const;1489 inline int CodedInputStream::CurrentPosition() const { in CurrentPosition() function
585 EXPECT_EQ(cis.CurrentPosition(), 3 * 4 + 1);599 EXPECT_EQ(cis.CurrentPosition(), 3 * 3 + 1);614 EXPECT_EQ(cis.CurrentPosition(), 6);