Home
last modified time | relevance | path

Searched refs:StreamResult (Results 1 – 25 of 38) sorted by relevance

12

/external/webrtc/webrtc/base/
Dstream.h43 enum StreamResult { SR_ERROR, SR_SUCCESS, SR_BLOCK, SR_EOS }; enum
83 virtual StreamResult Read(void* buffer, size_t buffer_len,
85 virtual StreamResult Write(const void* data, size_t data_len,
210 StreamResult WriteAll(const void* data, size_t data_len,
215 StreamResult ReadAll(void* buffer, size_t buffer_len,
222 StreamResult ReadLine(std::string* line);
249 StreamResult Read(void* buffer,
253 StreamResult Write(const void* data,
324 StreamResult GetTapResult(int* error);
327 StreamResult Read(void* buffer,
[all …]
Dstream.cc44 StreamResult StreamInterface::WriteAll(const void* data, size_t data_len, in WriteAll()
46 StreamResult result = SR_SUCCESS; in WriteAll()
60 StreamResult StreamInterface::ReadAll(void* buffer, size_t buffer_len, in ReadAll()
62 StreamResult result = SR_SUCCESS; in ReadAll()
76 StreamResult StreamInterface::ReadLine(std::string* line) { in ReadLine()
78 StreamResult result = SR_SUCCESS; in ReadLine()
165 StreamResult StreamAdapterInterface::Read(void* buffer, in Read()
171 StreamResult StreamAdapterInterface::Write(const void* data, in Write()
259 StreamResult StreamTap::GetTapResult(int* error) { in GetTapResult()
266 StreamResult StreamTap::Read(void* buffer, size_t buffer_len, in Read()
[all …]
Dtransformadapter.cc33 StreamResult
46 StreamResult result = StreamAdapterInterface::Read( in Read()
66 StreamResult result = transform_->Transform(buffer_, &in_len, in Read()
101 StreamResult
116 StreamResult result = transform_->Transform(data, &in_len, in Write()
138 StreamResult result = StreamAdapterInterface::Write(buffer_ + pos, in Write()
Dtransformadapter.h30 virtual StreamResult Transform(const void * input, size_t * in_len,
50 StreamResult Read(void* buffer,
54 StreamResult Write(const void* data,
Dsslstreamadapter_unittest.cc93 rtc::StreamResult Read(void* buffer, size_t buffer_len, in Read()
95 rtc::StreamResult r; in Read()
133 rtc::StreamResult WriteData(const void* data, size_t data_len, in WriteData()
138 rtc::StreamResult Write(const void* data, size_t data_len,
177 rtc::StreamResult Read(void* buffer, size_t buffer_len, in Read()
186 rtc::StreamResult Write(const void* data, size_t data_len, in Write()
405 rtc::StreamResult DataWritten(SSLDummyStreamBase *from, const void *data, in DataWritten()
589 rtc::StreamResult rv; in WriteData()
627 rtc::StreamResult r; in ReadData()
700 rtc::StreamResult rv = client_ssl_->Write(packet, packet_size_, &sent, 0); in WriteData()
[all …]
Dsocketstream.h34 StreamResult Read(void* buffer,
39 StreamResult Write(const void* data,
Dmultipart.h52 StreamResult Read(void* buffer,
56 StreamResult Write(const void* data,
Dfilerotatingstream.cc93 StreamResult FileRotatingStream::Read(void* buffer, in Read()
115 StreamResult result = file_stream_->Read(buffer, buffer_len, read, error); in Read()
143 StreamResult FileRotatingStream::Write(const void* data, in Write()
162 StreamResult result = file_stream_->Write(data, write_length, written, error); in Write()
Dhttpbase.cc237 StreamResult DoReserve(size_t size, int* error) override { in DoReserve()
254 StreamResult Read(void* buffer, in Read()
295 StreamResult result = SR_BLOCK; in Read()
314 StreamResult Write(const void* data, in Write()
519 StreamResult read_result = http_stream_->Read(buffer_ + len_, in DoReceiveLoop()
631 StreamResult result = data_->document->Read(buffer_ + offset, in flush_data()
686 StreamResult result = http_stream_->Write(buffer_, len_, &written, &error); in flush_data()
Dmultipart.cc138 StreamResult MultipartStream::Read(void* buffer, size_t buffer_len, in Read()
146 StreamResult result = parts_[current_]->Read(buffer, buffer_len, read, in Read()
159 StreamResult MultipartStream::Write(const void* data, size_t data_len, in Write()
Dopensslstreamadapter.h79 StreamResult Read(void* data,
83 StreamResult Write(const void* data,
Dfilerotatingstream.h44 StreamResult Read(void* buffer,
48 StreamResult Write(const void* data,
Dsocketstream.cc60 StreamResult SocketStream::Read(void* buffer, size_t buffer_len, in Read()
79 StreamResult SocketStream::Write(const void* data, size_t data_len, in Write()
Doptionsfile.cc39 StreamResult res; in Load()
73 StreamResult res = SR_SUCCESS; in Save()
Dopensslstreamadapter.cc240 StreamResult result = stream->Read(out, outl, &read, &error); in stream_read()
258 StreamResult result = stream->Write(in, inl, &written, &error); in stream_write()
497 StreamResult OpenSSLStreamAdapter::Write(const void* data, size_t data_len, in Write()
557 StreamResult OpenSSLStreamAdapter::Read(void* data, size_t data_len, in Read()
Dhttpclient.cc211 StreamResult result = output->WriteAll(formatted_header.data(), in HttpWriteCacheHeaders()
231 StreamResult result = input->ReadLine(&formatted_header); in HttpReadCacheHeaders()
508 StreamResult result = tap->GetTapResult(&error); in CompleteCacheFile()
603 StreamResult result = Flow(stream.get(), buffer.get(), array_size, in ReadCacheBody()
Dssladapter_unittest.cc178 rtc::StreamResult r = ssl_stream_adapter_->Write(message.data(), in Send()
218 rtc::StreamResult r = stream->Read(buffer, in OnSSLStreamAdapterEvent()
/external/webrtc/talk/media/base/
Drtpdump.h117 virtual rtc::StreamResult ReadPacket(RtpDumpPacket* packet);
120 rtc::StreamResult ReadFileHeader();
146 virtual rtc::StreamResult ReadPacket(RtpDumpPacket* packet);
194 rtc::StreamResult WriteRtpPacket(const void* data, size_t data_len) { in WriteRtpPacket()
197 rtc::StreamResult WriteRtcpPacket(const void* data, size_t data_len) { in WriteRtcpPacket()
200 rtc::StreamResult WritePacket(const RtpDumpPacket& packet) { in WritePacket()
213 rtc::StreamResult WriteFileHeader();
216 rtc::StreamResult WritePacket(const void* data,
221 rtc::StreamResult WriteToStream(const void* data, size_t data_len);
Drtpdump.cc114 rtc::StreamResult RtpDumpReader::ReadPacket(RtpDumpPacket* packet) { in ReadPacket()
117 rtc::StreamResult res = rtc::SR_SUCCESS; in ReadPacket()
162 rtc::StreamResult RtpDumpReader::ReadFileHeader() { in ReadFileHeader()
165 rtc::StreamResult res = stream_->ReadLine(&first_line); in ReadFileHeader()
223 rtc::StreamResult RtpDumpLoopReader::ReadPacket(RtpDumpPacket* packet) { in ReadPacket()
226 rtc::StreamResult res = RtpDumpReader::ReadPacket(packet); in ReadPacket()
338 rtc::StreamResult RtpDumpWriter::WriteFileHeader() { in WriteFileHeader()
339 rtc::StreamResult res = WriteToStream( in WriteFileHeader()
352 rtc::StreamResult RtpDumpWriter::WritePacket(const void* data, in WritePacket()
358 rtc::StreamResult res = rtc::SR_SUCCESS; in WritePacket()
[all …]
/external/webrtc/talk/media/devices/
Dfilevideocapturer.cc279 rtc::StreamResult FileVideoCapturer::ReadFrameHeader( in ReadFrameHeader()
285 rtc::StreamResult sr; in ReadFrameHeader()
331 rtc::StreamResult result = ReadFrameHeader(&captured_frame_); in ReadFrame()
Dfilevideocapturer.h128 rtc::StreamResult ReadFrameHeader(CapturedFrame* frame);
/external/webrtc/webrtc/libjingle/xmpp/
Dxmppsocket.cc135 rtc::StreamResult result; in OnEvent()
186 rtc::StreamResult result = stream_->Read(data, len, len_read, NULL); in Read()
/external/webrtc/webrtc/p2p/base/
Ddtlstransportchannel.h38 rtc::StreamResult Read(void* buffer,
42 rtc::StreamResult Write(const void* data,
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DTransformerIdentityImpl.java44 import javax.xml.transform.stream.StreamResult;
254 else if (outputTarget instanceof StreamResult) in createResultContentHandler()
256 StreamResult sresult = (StreamResult) outputTarget; in createResultContentHandler()
/external/droiddriver/src/io/appium/droiddriver/finders/
DByXPath.java34 import javax.xml.transform.stream.StreamResult;
208 transformer.transform(new DOMSource(domNode), new StreamResult(bos)); in dumpDom()

12