Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl.cc414 LimitingInputStream::LimitingInputStream(ZeroCopyInputStream* input, in LimitingInputStream() function in google::protobuf::io::LimitingInputStream
420 LimitingInputStream::~LimitingInputStream() { in ~LimitingInputStream()
425 bool LimitingInputStream::Next(const void** data, int* size) { in Next()
437 void LimitingInputStream::BackUp(int count) { in BackUp()
447 bool LimitingInputStream::Skip(int count) { in Skip()
460 int64 LimitingInputStream::ByteCount() const { in ByteCount()
Dzero_copy_stream_impl.h332 class LIBPROTOBUF_EXPORT LimitingInputStream : public ZeroCopyInputStream {
334 LimitingInputStream(ZeroCopyInputStream* input, int64 limit);
335 ~LimitingInputStream();
349 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(LimitingInputStream);
Dzero_copy_stream_unittest.cc912 TEST_F(IoTest, LimitingInputStream) { in TEST_F() argument
922 LimitingInputStream input(&array_input, output.ByteCount()); in TEST_F()
941 LimitingInputStream input(&array_input, kHalfBufferSize - 1); in TEST_F()