Searched refs:LimitingInputStream (Results 1 – 3 of 3) sorted by relevance
381 LimitingInputStream::LimitingInputStream(ZeroCopyInputStream* input, in LimitingInputStream() function in google::protobuf::io::LimitingInputStream387 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_t LimitingInputStream::ByteCount() const { in ByteCount()
347 class PROTOBUF_EXPORT LimitingInputStream : public ZeroCopyInputStream {349 LimitingInputStream(ZeroCopyInputStream* input, int64 limit);350 ~LimitingInputStream() override;364 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(LimitingInputStream);
949 TEST_F(IoTest, LimitingInputStream) { in TEST_F() argument959 LimitingInputStream input(&array_input, output.ByteCount()); in TEST_F()978 LimitingInputStream input(&array_input, kHalfBufferSize - 1); in TEST_F()