Home
last modified time | relevance | path

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

123

/external/chromium_org/third_party/libjingle/source/talk/base/
Dstream.h60 enum StreamResult { SR_ERROR, SR_SUCCESS, SR_BLOCK, SR_EOS }; enum
100 virtual StreamResult Read(void* buffer, size_t buffer_len,
102 virtual StreamResult Write(const void* data, size_t data_len,
227 StreamResult WriteAll(const void* data, size_t data_len,
232 StreamResult ReadAll(void* buffer, size_t buffer_len,
239 StreamResult ReadLine(std::string* line);
268 virtual StreamResult Read(void* buffer, size_t buffer_len, in Read()
272 virtual StreamResult Write(const void* data, size_t data_len, in Write()
360 StreamResult GetTapResult(int* error);
363 virtual StreamResult Read(void* buffer, size_t buffer_len,
[all …]
Dstream.cc58 StreamResult StreamInterface::WriteAll(const void* data, size_t data_len, in WriteAll()
60 StreamResult result = SR_SUCCESS; in WriteAll()
74 StreamResult StreamInterface::ReadAll(void* buffer, size_t buffer_len, in ReadAll()
76 StreamResult result = SR_SUCCESS; in ReadAll()
90 StreamResult StreamInterface::ReadLine(std::string* line) { in ReadLine()
92 StreamResult result = SR_SUCCESS; in ReadLine()
182 StreamResult StreamTap::GetTapResult(int* error) { in GetTapResult()
189 StreamResult StreamTap::Read(void* buffer, size_t buffer_len, in Read()
195 StreamResult res = StreamAdapterInterface::Read(buffer, buffer_len, in Read()
203 StreamResult StreamTap::Write(const void* data, size_t data_len, in Write()
[all …]
Dtransformadapter.cc50 StreamResult
63 StreamResult result = StreamAdapterInterface::Read( in Read()
83 StreamResult result = transform_->Transform(buffer_, &in_len, in Read()
118 StreamResult
133 StreamResult result = transform_->Transform(data, &in_len, in Write()
155 StreamResult result = StreamAdapterInterface::Write(buffer_ + pos, in Write()
Dtransformadapter.h47 virtual StreamResult Transform(const void * input, size_t * in_len,
67 virtual StreamResult Read(void * buffer, size_t buffer_len,
69 virtual StreamResult Write(const void * data, size_t data_len,
Dsocketstream.h51 virtual StreamResult Read(void* buffer, size_t buffer_len,
54 virtual StreamResult Write(const void* data, size_t data_len,
Dsslstreamadapter_unittest.cc107 virtual talk_base::StreamResult Read(void* buffer, size_t buffer_len, in Read()
109 talk_base::StreamResult r; in Read()
149 talk_base::StreamResult WriteData(const void* data, size_t data_len, in WriteData()
155 virtual talk_base::StreamResult Write(const void* data, size_t data_len,
336 talk_base::StreamResult DataWritten(SSLDummyStream *from, const void *data, in DataWritten()
497 talk_base::StreamResult rv; in WriteData()
535 talk_base::StreamResult r; in ReadData()
603 talk_base::StreamResult r; in ReadData()
660 talk_base::StreamResult SSLDummyStream::Write(const void* data, size_t data_len, in Write()
693 talk_base::StreamResult rv; in TEST_F()
[all …]
Dmultipart.h67 virtual StreamResult Read(void* buffer, size_t buffer_len,
69 virtual StreamResult Write(const void* data, size_t data_len,
Dnssstreamadapter.h76 virtual StreamResult Read(void* data, size_t data_len,
78 virtual StreamResult Write(const void* data, size_t data_len,
Dopensslstreamadapter.h94 virtual StreamResult Read(void* data, size_t data_len,
96 virtual StreamResult Write(const void* data, size_t data_len,
/external/chromium_org/third_party/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);
251 virtual StreamResult Read(void* buffer, size_t buffer_len, in Read()
255 virtual StreamResult Write(const void* data, size_t data_len, in Write()
343 StreamResult GetTapResult(int* error);
346 virtual StreamResult Read(void* buffer, size_t buffer_len,
[all …]
Dstream.cc41 StreamResult StreamInterface::WriteAll(const void* data, size_t data_len, in WriteAll()
43 StreamResult result = SR_SUCCESS; in WriteAll()
57 StreamResult StreamInterface::ReadAll(void* buffer, size_t buffer_len, in ReadAll()
59 StreamResult result = SR_SUCCESS; in ReadAll()
73 StreamResult StreamInterface::ReadLine(std::string* line) { in ReadLine()
75 StreamResult result = SR_SUCCESS; in ReadLine()
165 StreamResult StreamTap::GetTapResult(int* error) { in GetTapResult()
172 StreamResult StreamTap::Read(void* buffer, size_t buffer_len, in Read()
178 StreamResult res = StreamAdapterInterface::Read(buffer, buffer_len, in Read()
186 StreamResult StreamTap::Write(const void* data, size_t data_len, in Write()
[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 virtual StreamResult Read(void * buffer, size_t buffer_len,
52 virtual StreamResult Write(const void * data, size_t data_len,
Dsocketstream.h34 virtual StreamResult Read(void* buffer, size_t buffer_len,
37 virtual StreamResult Write(const void* data, size_t data_len,
Dsslstreamadapter_unittest.cc89 virtual rtc::StreamResult Read(void* buffer, size_t buffer_len, in Read()
91 rtc::StreamResult r; in Read()
131 rtc::StreamResult WriteData(const void* data, size_t data_len, in WriteData()
137 virtual rtc::StreamResult Write(const void* data, size_t data_len,
318 rtc::StreamResult DataWritten(SSLDummyStream *from, const void *data, in DataWritten()
479 rtc::StreamResult rv; in WriteData()
517 rtc::StreamResult r; in ReadData()
585 rtc::StreamResult r; in ReadData()
642 rtc::StreamResult SSLDummyStream::Write(const void* data, size_t data_len, in Write()
675 rtc::StreamResult rv; in TEST_F()
[all …]
Dmultipart.h52 virtual StreamResult Read(void* buffer, size_t buffer_len,
54 virtual StreamResult Write(const void* data, size_t data_len,
Dnssstreamadapter.h58 virtual StreamResult Read(void* data, size_t data_len,
60 virtual StreamResult Write(const void* data, size_t data_len,
Dopensslstreamadapter.h77 virtual StreamResult Read(void* data, size_t data_len,
79 virtual StreamResult Write(const void* data, size_t data_len,
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Drtpdump.h118 virtual talk_base::StreamResult ReadPacket(RtpDumpPacket* packet);
121 talk_base::StreamResult ReadFileHeader();
147 virtual talk_base::StreamResult ReadPacket(RtpDumpPacket* packet);
195 talk_base::StreamResult WriteRtpPacket(const void* data, size_t data_len) { in WriteRtpPacket()
198 talk_base::StreamResult WriteRtcpPacket(const void* data, size_t data_len) { in WriteRtcpPacket()
201 talk_base::StreamResult WritePacket(const RtpDumpPacket& packet) { in WritePacket()
214 talk_base::StreamResult WriteFileHeader();
217 talk_base::StreamResult WritePacket(const void* data, size_t data_len,
220 talk_base::StreamResult WriteToStream(const void* data, size_t data_len);
Drtpdump.cc114 talk_base::StreamResult RtpDumpReader::ReadPacket(RtpDumpPacket* packet) { in ReadPacket()
117 talk_base::StreamResult res = talk_base::SR_SUCCESS; in ReadPacket()
162 talk_base::StreamResult RtpDumpReader::ReadFileHeader() { in ReadFileHeader()
165 talk_base::StreamResult res = stream_->ReadLine(&first_line); in ReadFileHeader()
223 talk_base::StreamResult RtpDumpLoopReader::ReadPacket(RtpDumpPacket* packet) { in ReadPacket()
226 talk_base::StreamResult res = RtpDumpReader::ReadPacket(packet); in ReadPacket()
338 talk_base::StreamResult RtpDumpWriter::WriteFileHeader() { in WriteFileHeader()
339 talk_base::StreamResult res = WriteToStream( in WriteFileHeader()
352 talk_base::StreamResult RtpDumpWriter::WritePacket( in WritePacket()
356 talk_base::StreamResult res = talk_base::SR_SUCCESS; in WritePacket()
[all …]
/external/chromium_org/jingle/glue/
Djingle_glue_mock_objects.h20 MOCK_METHOD4(Read, talk_base::StreamResult(void*, size_t, size_t*, int*));
21 MOCK_METHOD4(Write, talk_base::StreamResult(const void*, size_t,
/external/chromium_org/third_party/libjingle/source/talk/session/tunnel/
Dpseudotcpchannel.cc71 virtual StreamResult Read(void* buffer, size_t buffer_len,
73 virtual StreamResult Write(const void* data, size_t data_len,
250 StreamResult PseudoTcpChannel::Read(void* buffer, size_t buffer_len, in Read()
281 StreamResult PseudoTcpChannel::Write(const void* data, size_t data_len, in Write()
574 StreamResult PseudoTcpChannel::InternalStream::Read( in Read()
584 StreamResult PseudoTcpChannel::InternalStream::Write( in Write()
Dpseudotcpchannel.h97 talk_base::StreamResult Read(void* buffer, size_t buffer_len,
99 talk_base::StreamResult Write(const void* data, size_t data_len,
/external/smack/asmack-master/patch/
D23-strip-unused-xml-transform.patch11 -import javax.xml.transform.stream.StreamResult;
39 - transformer.transform(new StreamSource(new StringReader(xml)), new StreamResult(System.out));
/external/clang/tools/libclang/
DCXLoadedDiagnostic.cpp189 enum StreamResult { Read_EndOfStream, enum
217 StreamResult readToNextRecordOrBlock(llvm::BitstreamCursor &Stream,
293 StreamResult Res = readToNextRecordOrBlock(Stream, "Top-level", in load()
327 StreamResult DiagLoader::readToNextRecordOrBlock(llvm::BitstreamCursor &Stream, in readToNextRecordOrBlock()
402 StreamResult Res = readToNextRecordOrBlock(Stream, "Metadata Block", in readMetaBlock()
550 StreamResult Res = readToNextRecordOrBlock(Stream, "Diagnostic Block", in readDiagnosticBlock()

123