Home
last modified time | relevance | path

Searched refs:IstreamInputStream (Results 1 – 6 of 6) sorted by relevance

/third_party/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl.cc254 IstreamInputStream::IstreamInputStream(std::istream* input, int block_size) in IstreamInputStream() function in google::protobuf::io::IstreamInputStream
257 bool IstreamInputStream::Next(const void** data, int* size) { in Next()
261 void IstreamInputStream::BackUp(int count) { impl_.BackUp(count); } in BackUp()
263 bool IstreamInputStream::Skip(int count) { return impl_.Skip(count); } in Skip()
265 int64_t IstreamInputStream::ByteCount() const { return impl_.ByteCount(); } in ByteCount()
267 IstreamInputStream::CopyingIstreamInputStream::CopyingIstreamInputStream( in CopyingIstreamInputStream()
271 IstreamInputStream::CopyingIstreamInputStream::~CopyingIstreamInputStream() {} in ~CopyingIstreamInputStream()
273 int IstreamInputStream::CopyingIstreamInputStream::Read(void* buffer, in Read()
Dzero_copy_stream_impl.h217 class PROTOBUF_EXPORT IstreamInputStream : public ZeroCopyInputStream {
223 explicit IstreamInputStream(std::istream* stream, int block_size = -1);
251 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(IstreamInputStream);
Dzero_copy_stream_unittest.cc889 IstreamInputStream input(&stream, kBlockSizes[j]); in TEST_F()
905 IstreamInputStream input(&stream, kBlockSizes[j]); in TEST_F()
/third_party/mindspore/mindspore/lite/tools/common/
Dprotobuf_utils.cc58 google::protobuf::io::IstreamInputStream input(&fs); in ReadProtoFromText()
87 google::protobuf::io::IstreamInputStream istream(&fs); in ReadProtoFromBinaryFile()
/third_party/protobuf/src/google/protobuf/util/
Ddelimited_message_util_test.cc62 io::IstreamInputStream zstream(&stream); in TEST()
/third_party/protobuf/src/google/protobuf/
Dmessage_lite.cc287 io::IstreamInputStream zero_copy_input(input); in ParseFromIstream()
292 io::IstreamInputStream zero_copy_input(input); in ParsePartialFromIstream()