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.cc415 LimitingInputStream::LimitingInputStream(ZeroCopyInputStream* input, in LimitingInputStream() function in google::protobuf::io::LimitingInputStream
421 LimitingInputStream::~LimitingInputStream() { in ~LimitingInputStream()
426 bool LimitingInputStream::Next(const void** data, int* size) { in Next()
438 void LimitingInputStream::BackUp(int count) { in BackUp()
448 bool LimitingInputStream::Skip(int count) { in Skip()
461 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.cc954 TEST_F(IoTest, LimitingInputStream) { in TEST_F() argument
964 LimitingInputStream input(&array_input, output.ByteCount()); in TEST_F()
983 LimitingInputStream input(&array_input, kHalfBufferSize - 1); in TEST_F()