Home
last modified time | relevance | path

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

/external/chromium/third_party/libjingle/source/talk/base/
Dstream.h56 enum StreamResult { SR_ERROR, SR_SUCCESS, SR_BLOCK, SR_EOS }; enum
87 virtual StreamResult Read(void* buffer, size_t buffer_len,
89 virtual StreamResult Write(const void* data, size_t data_len,
211 StreamResult WriteAll(const void* data, size_t data_len,
216 StreamResult ReadAll(void* buffer, size_t buffer_len,
223 StreamResult ReadLine(std::string *line);
252 virtual StreamResult Read(void* buffer, size_t buffer_len, in Read()
256 virtual StreamResult Write(const void* data, size_t data_len, in Write()
341 StreamResult GetTapResult(int* error);
344 virtual StreamResult Read(void* buffer, size_t buffer_len,
[all …]
Dstream.cc66 StreamResult StreamInterface::WriteAll(const void* data, size_t data_len, in WriteAll()
68 StreamResult result = SR_SUCCESS; in WriteAll()
82 StreamResult StreamInterface::ReadAll(void* buffer, size_t buffer_len, in ReadAll()
84 StreamResult result = SR_SUCCESS; in ReadAll()
98 StreamResult StreamInterface::ReadLine(std::string* line) { in ReadLine()
100 StreamResult result = SR_SUCCESS; in ReadLine()
191 StreamResult StreamTap::GetTapResult(int* error) { in GetTapResult()
198 StreamResult StreamTap::Read(void* buffer, size_t buffer_len, in Read()
204 StreamResult res = StreamAdapterInterface::Read(buffer, buffer_len, in Read()
212 StreamResult StreamTap::Write(const void* data, size_t data_len, in Write()
[all …]
Dsocketstream.h51 virtual StreamResult Read(void* buffer, size_t buffer_len,
54 virtual StreamResult Write(const void* data, size_t data_len,
Dopensslstreamadapter.h84 virtual StreamResult Read(void* data, size_t data_len,
86 virtual StreamResult Write(const void* data, size_t data_len,
Dhttpbase.cc253 virtual StreamResult DoReserve(size_t size, int* error) { in DoReserve()
270 virtual StreamResult Read(void* buffer, size_t buffer_len, in Read()
309 StreamResult result = SR_BLOCK; in Read()
328 virtual StreamResult Write(const void* data, size_t data_len, in Write()
531 StreamResult read_result = http_stream_->Read(buffer_ + len_, in DoReceiveLoop()
642 StreamResult result = data_->document->Read(buffer_ + offset, in flush_data()
697 StreamResult result = http_stream_->Write(buffer_, len_, &written, &error); in flush_data()
Dsocketstream.cc77 StreamResult SocketStream::Read(void* buffer, size_t buffer_len, in Read()
96 StreamResult SocketStream::Write(const void* data, size_t data_len, in Write()
Dopensslstreamadapter.cc109 StreamResult result = stream->Read(out, outl, &read, &error); in stream_read()
127 StreamResult result = stream->Write(in, inl, &written, &error); in stream_write()
207 StreamResult OpenSSLStreamAdapter::Write(const void* data, size_t data_len, in Write()
266 StreamResult OpenSSLStreamAdapter::Read(void* data, size_t data_len, in Read()
Dlinux.cc180 StreamResult res = stream->ReadLine(out); in ExpectLineFromStream()
194 StreamResult res = stream->ReadLine(&unused); in ExpectEofFromStream()
Dhttpclient.cc226 StreamResult result = output->WriteAll(formatted_header.data(), in HttpWriteCacheHeaders()
246 StreamResult result = input->ReadLine(&formatted_header); in HttpReadCacheHeaders()
492 StreamResult result = tap->GetTapResult(&error); in CompleteCacheFile()
584 StreamResult result = Flow(stream.get(), buffer, ARRAY_SIZE(buffer), in ReadCacheBody()
/external/chromium/third_party/libjingle/source/talk/session/phone/
Drtpdump.h97 virtual talk_base::StreamResult ReadPacket(RtpDumpPacket* packet);
100 talk_base::StreamResult ReadFileHeader();
124 virtual talk_base::StreamResult ReadPacket(RtpDumpPacket* packet);
170 talk_base::StreamResult WriteRtpPacket(const void* data, size_t data_len) { in WriteRtpPacket()
173 talk_base::StreamResult WriteRtcpPacket(const void* data, size_t data_len) { in WriteRtcpPacket()
176 talk_base::StreamResult WritePacket(const RtpDumpPacket& packet) { in WritePacket()
189 talk_base::StreamResult WriteFileHeader();
192 talk_base::StreamResult WritePacket(const void* data, size_t data_len,
Drtpdump.cc93 talk_base::StreamResult RtpDumpReader::ReadPacket(RtpDumpPacket* packet) { in ReadPacket()
96 talk_base::StreamResult res = talk_base::SR_SUCCESS; in ReadPacket()
125 talk_base::StreamResult RtpDumpReader::ReadFileHeader() { in ReadFileHeader()
128 talk_base::StreamResult res = stream_->ReadLine(&first_line); in ReadFileHeader()
186 talk_base::StreamResult RtpDumpLoopReader::ReadPacket(RtpDumpPacket* packet) { in ReadPacket()
189 talk_base::StreamResult res = RtpDumpReader::ReadPacket(packet); in ReadPacket()
294 talk_base::StreamResult RtpDumpWriter::WritePacket( in WritePacket()
298 talk_base::StreamResult res = talk_base::SR_SUCCESS; in WritePacket()
322 talk_base::StreamResult RtpDumpWriter::WriteFileHeader() { in WriteFileHeader()
323 talk_base::StreamResult res = stream_->WriteAll( in WriteFileHeader()
/external/chromium/third_party/libjingle/source/talk/session/tunnel/
Dpseudotcpchannel.cc70 virtual StreamResult Read(void* buffer, size_t buffer_len,
72 virtual StreamResult Write(const void* data, size_t data_len,
247 StreamResult PseudoTcpChannel::Read(void* buffer, size_t buffer_len, in Read()
278 StreamResult PseudoTcpChannel::Write(const void* data, size_t data_len, in Write()
562 StreamResult PseudoTcpChannel::InternalStream::Read( in Read()
572 StreamResult PseudoTcpChannel::InternalStream::Write( in Write()
Dpseudotcpchannel.h95 talk_base::StreamResult Read(void* buffer, size_t buffer_len,
97 talk_base::StreamResult Write(const void* data, size_t data_len,
/external/clang/tools/libclang/
DCXLoadedDiagnostic.cpp188 enum StreamResult { Read_EndOfStream, enum
216 StreamResult readToNextRecordOrBlock(llvm::BitstreamCursor &Stream,
294 StreamResult Res = readToNextRecordOrBlock(Stream, "Top-level", in load()
328 StreamResult DiagLoader::readToNextRecordOrBlock(llvm::BitstreamCursor &Stream, in readToNextRecordOrBlock()
403 StreamResult Res = readToNextRecordOrBlock(Stream, "Metadata Block", in readMetaBlock()
555 StreamResult Res = readToNextRecordOrBlock(Stream, "Diagnostic Block", in readDiagnosticBlock()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/generators/rss/
DRSSFeedUpdateEntryTask.java25 import javax.xml.transform.stream.StreamResult;
144 transformer.transform(new DOMSource(newNode),new StreamResult(System.out)); in updateFeedXML()
153 transformer.transform(new DOMSource(document),new StreamResult(new PrintStream(file))); in updateFeedXML()
252 …r.transform(new DOMSource(getParentNode(document,aNode,null,NS)), new StreamResult(System.out)); … in findAndReplace()
DRSSFeedAddEntryTask.java30 import javax.xml.transform.stream.StreamResult;
298 transformer.transform(new DOMSource(newNode),new StreamResult(System.out)); in updateFeedXML()
312 …transformer.transform(new DOMSource(document),new StreamResult(new OutputStreamWriter(new FileOutp… in updateFeedXML()
315 transformer.transform(new DOMSource(document),new StreamResult(System.out)); in updateFeedXML()
/external/chromium/third_party/libjingle/source/talk/examples/login/
Dxmppsocket.cc144 talk_base::StreamResult result; in OnEvent()
192 talk_base::StreamResult result = stream_->Read(data, len, len_read, NULL); in Read()
/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()
DTransformerImpl.java46 import javax.xml.transform.stream.StreamResult;
1037 else if (outputTarget instanceof StreamResult) in createSerializationHandler()
1039 StreamResult sresult = (StreamResult) outputTarget; in createSerializationHandler()
/external/apache-xml/src/main/java/org/apache/xalan/processor/
DTransformerFactoryImpl.java44 import javax.xml.transform.stream.StreamResult;
451 || (StreamResult.FEATURE == name) in getFeature()
460 || (StreamResult.FEATURE.equals(name)) in getFeature()