Home
last modified time | relevance | path

Searched refs:SR_SUCCESS (Results 1 – 15 of 15) sorted by relevance

/external/chromium/third_party/libjingle/source/talk/base/
Dstream.cc68 StreamResult result = SR_SUCCESS; in WriteAll()
73 if (result != SR_SUCCESS) in WriteAll()
84 StreamResult result = SR_SUCCESS; in ReadAll()
89 if (result != SR_SUCCESS) in ReadAll()
100 StreamResult result = SR_SUCCESS; in ReadLine()
104 if (result != SR_SUCCESS) { in ReadLine()
113 result = SR_SUCCESS; // a success code. Otherwise return the last code in ReadLine()
177 : StreamAdapterInterface(stream), tap_(NULL), tap_result_(SR_SUCCESS), in StreamTap()
206 if ((res == SR_SUCCESS) && (tap_result_ == SR_SUCCESS)) { in Read()
220 if ((res == SR_SUCCESS) && (tap_result_ == SR_SUCCESS)) { in Write()
[all …]
Dopensslstreamadapter.cc110 if (result == SR_SUCCESS) { in stream_read()
128 if (result == SR_SUCCESS) { in stream_write()
235 return SR_SUCCESS; in Write()
247 return SR_SUCCESS; in Write()
295 return SR_SUCCESS; in Read()
307 return SR_SUCCESS; in Read()
Dlinux.cc181 if (res != SR_SUCCESS) { in ExpectLineFromStream()
195 if (res == SR_SUCCESS) { in ExpectEofFromStream()
277 if (!fs.Open(kCpuMaxFreqFile, "r") || SR_SUCCESS != fs.ReadLine(&str)) { in ReadCpuMaxFreq()
Dsocketstream.cc91 return SR_SUCCESS; in Read()
109 return SR_SUCCESS; in Write()
Dhttpbase.cc254 return (buffer_length_ >= size) ? SR_SUCCESS : SR_BLOCK; in DoReserve()
323 result = SR_SUCCESS; in Read()
535 case SR_SUCCESS: in DoReceiveLoop()
645 if (result == SR_SUCCESS) { in flush_data()
698 if (result == SR_SUCCESS) { in flush_data()
872 case SR_SUCCESS: in ProcessData()
Dhttpclient.cc229 if (SR_SUCCESS != result) { in HttpWriteCacheHeaders()
233 if (output && (SR_SUCCESS != output->WriteAll("\r\n", 2, NULL, NULL))) { in HttpWriteCacheHeaders()
250 if (SR_SUCCESS != result) { in HttpReadCacheHeaders()
497 if (SR_SUCCESS != result) { in CompleteCacheFile()
586 if (SR_SUCCESS != result) { in ReadCacheBody()
Dunixfilesystem.cc282 while (source->Read(buf, sizeof(buf), &len, NULL) == SR_SUCCESS) in CopyFile()
Dnetwork.cc221 while (fs.ReadLine(&line) == SR_SUCCESS && gateway_ip == 0) { in GetDefaultGateway()
Dproxydetect.cc453 while (fs->ReadLine(&line) == SR_SUCCESS) { in GetDefaultFirefoxProfile()
518 while (fs->ReadLine(&line) == SR_SUCCESS) { in ReadFirefoxPrefs()
Dstream.h56 enum StreamResult { SR_ERROR, SR_SUCCESS, SR_BLOCK, SR_EOS }; enumerator
/external/chromium/third_party/libjingle/source/talk/session/phone/
Drtpdump.cc96 talk_base::StreamResult res = talk_base::SR_SUCCESS; in ReadPacket()
100 if (res != talk_base::SR_SUCCESS) { in ReadPacket()
109 if (res != talk_base::SR_SUCCESS) { in ReadPacket()
129 if (res != talk_base::SR_SUCCESS) { in ReadFileHeader()
139 if (res == talk_base::SR_SUCCESS) { in ReadFileHeader()
190 if (talk_base::SR_SUCCESS == res) { in ReadPacket()
210 if (talk_base::SR_SUCCESS == res && loop_count_ > 0) { in ReadPacket()
298 talk_base::StreamResult res = talk_base::SR_SUCCESS; in WritePacket()
302 if (res != talk_base::SR_SUCCESS) { in WritePacket()
314 if (res != talk_base::SR_SUCCESS) { in WritePacket()
[all …]
Dfilemediaengine.cc181 while (talk_base::SR_SUCCESS == rtp_dump_reader_->ReadPacket(packet)) { in ReadNextPacket()
Ddevicemanager.cc725 if (device_meta_stream->ReadLine(&device_name) != talk_base::SR_SUCCESS) { in GetVideoDeviceNameK2_6()
/external/chromium/third_party/libjingle/source/talk/examples/login/
Dxmppsocket.cc155 ASSERT(result == talk_base::SR_SUCCESS); in OnEvent()
193 if (result == talk_base::SR_SUCCESS) in Read()
/external/chromium/third_party/libjingle/source/talk/session/tunnel/
Dpseudotcpchannel.cc267 return SR_SUCCESS; in Read()
289 return SR_SUCCESS; in Write()