40 #ifndef GOOGLE_PROTOBUF_IO_ZERO_COPY_STREAM_IMPL_H__ 41 #define GOOGLE_PROTOBUF_IO_ZERO_COPY_STREAM_IMPL_H__ 88 int GetErrno() {
return copying_input_.GetErrno(); }
91 bool Next(
const void**
data,
int*
size);
92 void BackUp(
int count);
94 int64 ByteCount()
const;
99 CopyingFileInputStream(
int file_descriptor);
100 ~CopyingFileInputStream();
103 void SetCloseOnDelete(
bool value) { close_on_delete_ =
value; }
104 int GetErrno() {
return errno_; }
113 bool close_on_delete_;
121 bool previous_seek_failed_;
126 CopyingFileInputStream copying_input_;
171 int GetErrno() {
return copying_output_.GetErrno(); }
175 void BackUp(
int count);
176 int64 ByteCount()
const;
181 CopyingFileOutputStream(
int file_descriptor);
182 ~CopyingFileOutputStream();
185 void SetCloseOnDelete(
bool value) { close_on_delete_ =
value; }
186 int GetErrno() {
return errno_; }
194 bool close_on_delete_;
203 CopyingFileOutputStream copying_output_;
225 bool Next(
const void**
data,
int*
size);
226 void BackUp(
int count);
227 bool Skip(
int count);
228 int64 ByteCount()
const;
233 CopyingIstreamInputStream(istream*
input);
234 ~CopyingIstreamInputStream();
247 CopyingIstreamInputStream copying_input_;
270 void BackUp(
int count);
271 int64 ByteCount()
const;
276 CopyingOstreamOutputStream(ostream*
output);
277 ~CopyingOstreamOutputStream();
289 CopyingOstreamOutputStream copying_output_;
312 bool Next(
const void**
data,
int*
size);
313 void BackUp(
int count);
314 bool Skip(
int count);
315 int64 ByteCount()
const;
323 int64 bytes_retired_;
338 bool Next(
const void**
data,
int*
size);
339 void BackUp(
int count);
340 bool Skip(
int count);
341 int64 ByteCount()
const;
347 int64 prior_bytes_read_;
358 #endif // GOOGLE_PROTOBUF_IO_ZERO_COPY_STREAM_IMPL_H__ GLint GLsizei count
Definition: gl2.h:421
EGLStreamKHR EGLint EGLint EGLint size
Definition: eglext.h:984
EGLStreamKHR stream
Definition: eglext.h:340
<< "buffered_amount overflowed jlong!";return static_cast< jlong >(buffered_amount);} JOW(void, DataChannel_close)(JNIEnv *jni, jobject j_dc) { ExtractNativeDC(jni, j_dc) -> Close()
Definition: peerconnection_jni.cc:1021
#define GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(TypeName)
Definition: macros.h:40
ANGLE_EXPORT void GL_APIENTRY Flush(void)
Definition: entry_points_gles_2_0.cpp:1049
Definition: zero_copy_stream_impl_lite.h:295
EGLNativeFileDescriptorKHR file_descriptor
Definition: eglext.h:357
std::unique_ptr< ModuleRtpRtcpImpl > impl_
Definition: rtp_rtcp_impl_unittest.cc:125
int Write(int fd, const void *buf, unsigned int count)
Definition: gtest-port.h:1393
const FieldDescriptor const OneofDescriptor value
Definition: descriptor.h:1717
sequence< MediaStream > streams
Definition: RTCTrackEvent.idl:45
Definition: zero_copy_stream.h:181
Definition: zero_copy_stream_impl.h:141
EGLAttrib * value
Definition: eglext.h:120
int GetErrno()
Definition: zero_copy_stream_impl.h:171
int Read(int fd, void *buf, unsigned int count)
Definition: gtest-port.h:1390
Definition: __init__.py:1
EGLStreamKHR EGLint EGLint EGLint const void * data
Definition: eglext.h:984
google::protobuf::scoped_ptr< io::Tokenizer > input_
Definition: parser_unittest.cc:182
int64_t int64
Definition: port.h:131
Definition: zero_copy_stream_impl.h:259
#define LIBPROTOBUF_EXPORT
Definition: port.h:97
Definition: gflags_completions.h:115
string input
Definition: tokenizer_unittest.cc:198
void SetCloseOnDelete(bool value)
Definition: zero_copy_stream_impl.h:165
EGLContext EGLenum EGLClientBuffer buffer
Definition: eglext.h:192
def Skip(lines, pos, regex)
Definition: pump.py:251
Definition: zero_copy_stream_impl_lite.h:311