Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/stubs/
Dbytestream.cc159 LimitByteSource::LimitByteSource(ByteSource *source, size_t limit) in LimitByteSource() function in google::protobuf::strings::LimitByteSource
164 size_t LimitByteSource::Available() const { in Available()
173 StringPiece LimitByteSource::Peek() { in Peek()
182 void LimitByteSource::Skip(size_t n) { in Skip()
188 void LimitByteSource::CopyTo(ByteSink *sink, size_t n) { in CopyTo()
Dbytestream_unittest.cc86 TEST(ByteSourceTest, LimitByteSource) { in TEST() argument
89 LimitByteSource limit_source(&source, 6); in TEST()
Dbytestream.h326 class LIBPROTOBUF_EXPORT LimitByteSource : public ByteSource {
329 LimitByteSource(ByteSource* source, size_t limit);