Searched refs:LimitByteSource (Results 1 – 3 of 3) sorted by relevance
159 LimitByteSource::LimitByteSource(ByteSource *source, size_t limit) in LimitByteSource() function in google::protobuf::strings::LimitByteSource164 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()
86 TEST(ByteSourceTest, LimitByteSource) { in TEST() argument89 LimitByteSource limit_source(&source, 6); in TEST()
326 class LIBPROTOBUF_EXPORT LimitByteSource : public ByteSource {329 LimitByteSource(ByteSource* source, size_t limit);