Home
last modified time | relevance | path

Searched refs:CurrentPosition (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
DUtility.h29 size_t CurrentPosition = 0; variable
34 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 …]
/third_party/protobuf/src/google/protobuf/util/
Ddelimited_message_util.cc68 int start = input->CurrentPosition(); in ParseDelimitedFromCodedStream()
73 if (clean_eof != NULL) *clean_eof = input->CurrentPosition() == start; in ParseDelimitedFromCodedStream()
/third_party/protobuf/src/google/protobuf/io/
Dcoded_stream.cc120 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()
Dcoded_stream.h373 int CurrentPosition() const;
1489 inline int CodedInputStream::CurrentPosition() const { in CurrentPosition() function
/third_party/protobuf/src/google/protobuf/
Dmessage_unittest.inc585 EXPECT_EQ(cis.CurrentPosition(), 3 * 4 + 1);
599 EXPECT_EQ(cis.CurrentPosition(), 3 * 3 + 1);
614 EXPECT_EQ(cis.CurrentPosition(), 6);