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_lite.cc381 LimitingInputStream::LimitingInputStream(ZeroCopyInputStream* input, in LimitingInputStream() function in google::protobuf::io::LimitingInputStream
387 LimitingInputStream::~LimitingInputStream() { in ~LimitingInputStream()
392 bool LimitingInputStream::Next(const void** data, int* size) { in Next()
404 void LimitingInputStream::BackUp(int count) { in BackUp()
414 bool LimitingInputStream::Skip(int count) { in Skip()
427 int64 LimitingInputStream::ByteCount() const { in ByteCount()
Dzero_copy_stream_impl_lite.h345 class PROTOBUF_EXPORT LimitingInputStream : public ZeroCopyInputStream {
347 LimitingInputStream(ZeroCopyInputStream* input, int64 limit);
348 ~LimitingInputStream() override;
362 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(LimitingInputStream);
Dzero_copy_stream_unittest.cc948 TEST_F(IoTest, LimitingInputStream) { in TEST_F() argument
958 LimitingInputStream input(&array_input, output.ByteCount()); in TEST_F()
977 LimitingInputStream input(&array_input, kHalfBufferSize - 1); in TEST_F()