Home
last modified time | relevance | path

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

123

/external/chromium_org/third_party/libjingle/source/talk/base/
Dstream_unittest.cc50 return SR_SUCCESS; in Read()
97 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); in SeekTest()
105 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); in SeekTest()
133 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); in TEST()
141 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); in TEST()
153 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); in TEST()
168 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); in TEST()
198 EXPECT_EQ(SR_SUCCESS, stream->Write(in, kSize, &bytes, NULL)); in TEST()
205 EXPECT_EQ(SR_SUCCESS, stream->Read(out, kSize, &bytes, NULL)); in TEST()
213 EXPECT_EQ(SR_SUCCESS, stream->Write(in, kSize * 2, &bytes, NULL)); in TEST()
[all …]
Dstream.cc60 StreamResult result = SR_SUCCESS; in WriteAll()
65 if (result != SR_SUCCESS) in WriteAll()
76 StreamResult result = SR_SUCCESS; in ReadAll()
81 if (result != SR_SUCCESS) in ReadAll()
92 StreamResult result = SR_SUCCESS; in ReadLine()
96 if (result != SR_SUCCESS) { in ReadLine()
105 result = SR_SUCCESS; // a success code. Otherwise return the last code in ReadLine()
169 : StreamAdapterInterface(stream), tap_(), tap_result_(SR_SUCCESS), in StreamTap()
197 if ((res == SR_SUCCESS) && (tap_result_ == SR_SUCCESS)) { in Read()
211 if ((res == SR_SUCCESS) && (tap_result_ == SR_SUCCESS)) { in Write()
[all …]
Doptionsfile.cc57 if (res != SR_SUCCESS) { in Load()
88 StreamResult res = SR_SUCCESS; in Save()
95 if (res != SR_SUCCESS) { in Save()
99 if (res != SR_SUCCESS) { in Save()
104 if (res != SR_SUCCESS) { in Save()
108 if (res != SR_SUCCESS) { in Save()
112 if (res != SR_SUCCESS) { in Save()
Dsslstreamadapter_unittest.cc117 if (r != talk_base::SR_SUCCESS) { in Read()
122 return talk_base::SR_SUCCESS; in Read()
343 return talk_base::SR_SUCCESS; in DataWritten()
348 return talk_base::SR_SUCCESS; in DataWritten()
511 if (rv == talk_base::SR_SUCCESS) { in WriteData()
550 ASSERT_EQ(talk_base::SR_SUCCESS, r); in ReadData()
584 if (rv == talk_base::SR_SUCCESS) { in WriteData()
618 ASSERT_EQ(talk_base::SR_SUCCESS, r); in ReadData()
670 return talk_base::SR_SUCCESS; in Write()
676 return talk_base::SR_SUCCESS; in Write()
Dsocketstream.cc91 return SR_SUCCESS; in Read()
109 return SR_SUCCESS; in Write()
Dlinux.cc257 if (res != SR_SUCCESS) { in ExpectLineFromStream()
271 if (res == SR_SUCCESS) { in ExpectEofFromStream()
356 SR_SUCCESS != fs.ReadLine(&str) || in ReadCpuMaxFreq()
Dopensslstreamadapter.cc133 if (result == SR_SUCCESS) { in stream_read()
151 if (result == SR_SUCCESS) { in stream_write()
379 return SR_SUCCESS; in Write()
392 return SR_SUCCESS; in Write()
440 return SR_SUCCESS; in Read()
466 return SR_SUCCESS; in Read()
Dfileutils_unittest.cc53 EXPECT_EQ(SR_SUCCESS, fs->Write("test", 4, &bytes, NULL)); in TEST()
61 EXPECT_EQ(SR_SUCCESS, fs->Read(buf, sizeof(buf), &bytes, NULL)); in TEST()
Dtransformadapter.cc110 return SR_SUCCESS; in Read()
182 return SR_SUCCESS; in Write()
Dhttpbase.cc258 return (buffer_length_ >= size) ? SR_SUCCESS : SR_BLOCK; in DoReserve()
327 result = SR_SUCCESS; in Read()
539 case SR_SUCCESS: in DoReceiveLoop()
649 if (result == SR_SUCCESS) { in flush_data()
702 if (result == SR_SUCCESS) { in flush_data()
875 case SR_SUCCESS: in ProcessData()
/external/chromium_org/third_party/webrtc/base/
Dstream_unittest.cc33 return SR_SUCCESS; in Read()
80 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); in SeekTest()
88 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); in SeekTest()
116 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); in TEST()
124 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); in TEST()
136 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); in TEST()
151 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); in TEST()
181 EXPECT_EQ(SR_SUCCESS, stream->Write(in, kSize, &bytes, NULL)); in TEST()
188 EXPECT_EQ(SR_SUCCESS, stream->Read(out, kSize, &bytes, NULL)); in TEST()
196 EXPECT_EQ(SR_SUCCESS, stream->Write(in, kSize * 2, &bytes, NULL)); in TEST()
[all …]
Dstream.cc43 StreamResult result = SR_SUCCESS; in WriteAll()
48 if (result != SR_SUCCESS) in WriteAll()
59 StreamResult result = SR_SUCCESS; in ReadAll()
64 if (result != SR_SUCCESS) in ReadAll()
75 StreamResult result = SR_SUCCESS; in ReadLine()
79 if (result != SR_SUCCESS) { in ReadLine()
88 result = SR_SUCCESS; // a success code. Otherwise return the last code in ReadLine()
152 : StreamAdapterInterface(stream), tap_(), tap_result_(SR_SUCCESS), in StreamTap()
180 if ((res == SR_SUCCESS) && (tap_result_ == SR_SUCCESS)) { in Read()
194 if ((res == SR_SUCCESS) && (tap_result_ == SR_SUCCESS)) { in Write()
[all …]
Doptionsfile.cc40 if (res != SR_SUCCESS) { in Load()
71 StreamResult res = SR_SUCCESS; in Save()
78 if (res != SR_SUCCESS) { in Save()
82 if (res != SR_SUCCESS) { in Save()
87 if (res != SR_SUCCESS) { in Save()
91 if (res != SR_SUCCESS) { in Save()
95 if (res != SR_SUCCESS) { in Save()
Dsslstreamadapter_unittest.cc99 if (r != rtc::SR_SUCCESS) { in Read()
104 return rtc::SR_SUCCESS; in Read()
325 return rtc::SR_SUCCESS; in DataWritten()
330 return rtc::SR_SUCCESS; in DataWritten()
493 if (rv == rtc::SR_SUCCESS) { in WriteData()
532 ASSERT_EQ(rtc::SR_SUCCESS, r); in ReadData()
566 if (rv == rtc::SR_SUCCESS) { in WriteData()
600 ASSERT_EQ(rtc::SR_SUCCESS, r); in ReadData()
652 return rtc::SR_SUCCESS; in Write()
658 return rtc::SR_SUCCESS; in Write()
Dsocketstream.cc74 return SR_SUCCESS; in Read()
92 return SR_SUCCESS; in Write()
Dlinux.cc240 if (res != SR_SUCCESS) { in ExpectLineFromStream()
254 if (res == SR_SUCCESS) { in ExpectEofFromStream()
339 SR_SUCCESS != fs.ReadLine(&str) || in ReadCpuMaxFreq()
Dopensslstreamadapter.cc116 if (result == SR_SUCCESS) { in stream_read()
134 if (result == SR_SUCCESS) { in stream_write()
362 return SR_SUCCESS; in Write()
375 return SR_SUCCESS; in Write()
423 return SR_SUCCESS; in Read()
449 return SR_SUCCESS; in Read()
Dfileutils_unittest.cc36 EXPECT_EQ(SR_SUCCESS, fs->Write("test", 4, &bytes, NULL)); in TEST()
44 EXPECT_EQ(SR_SUCCESS, fs->Read(buf, sizeof(buf), &bytes, NULL)); in TEST()
Dtransformadapter.cc93 return SR_SUCCESS; in Read()
165 return SR_SUCCESS; in Write()
Dhttpbase.cc238 return (buffer_length_ >= size) ? SR_SUCCESS : SR_BLOCK; in DoReserve()
307 result = SR_SUCCESS; in Read()
519 case SR_SUCCESS: in DoReceiveLoop()
629 if (result == SR_SUCCESS) { in flush_data()
682 if (result == SR_SUCCESS) { in flush_data()
855 case SR_SUCCESS: in ProcessData()
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Drtpdump_unittest.cc87 EXPECT_EQ(talk_base::SR_SUCCESS, reader->ReadPacket(&packet)); in TEST()
92 EXPECT_EQ(talk_base::SR_SUCCESS, in TEST()
96 EXPECT_EQ(talk_base::SR_SUCCESS, reader->ReadPacket(&packet)); in TEST()
101 EXPECT_EQ(talk_base::SR_SUCCESS, in TEST()
110 EXPECT_EQ(talk_base::SR_SUCCESS, in TEST()
130 EXPECT_EQ(talk_base::SR_SUCCESS, reader.ReadPacket(&packet)); in TEST()
144 EXPECT_EQ(talk_base::SR_SUCCESS, reader_w_ssrc.ReadPacket(&packet)); in TEST()
169 EXPECT_EQ(talk_base::SR_SUCCESS, reader.ReadPacket(&packet)); in TEST()
195 EXPECT_EQ(talk_base::SR_SUCCESS, reader.ReadPacket(&packet)); in TEST()
223 EXPECT_EQ(talk_base::SR_SUCCESS, reader.ReadPacket(&packet)); in TEST()
[all …]
Drtpdump.cc117 talk_base::StreamResult res = talk_base::SR_SUCCESS; in ReadPacket()
121 if (res != talk_base::SR_SUCCESS) { in ReadPacket()
130 if (res != talk_base::SR_SUCCESS) { in ReadPacket()
153 if (res == talk_base::SR_SUCCESS && in ReadPacket()
166 if (res != talk_base::SR_SUCCESS) { in ReadFileHeader()
176 if (res == talk_base::SR_SUCCESS) { in ReadFileHeader()
227 if (talk_base::SR_SUCCESS == res) { in ReadPacket()
247 if (talk_base::SR_SUCCESS == res && loop_count_ > 0) { in ReadPacket()
342 if (res != talk_base::SR_SUCCESS) { in WriteFileHeader()
356 talk_base::StreamResult res = talk_base::SR_SUCCESS; in WritePacket()
[all …]
Dvideoframe.cc48 talk_base::StreamResult result = talk_base::SR_SUCCESS; in Write()
65 if (result != talk_base::SR_SUCCESS) { in Write()
72 if (result != talk_base::SR_SUCCESS) { in Write()
79 if (result != talk_base::SR_SUCCESS) { in Write()
/external/chromium_org/third_party/libjingle/source/talk/media/devices/
Dfilevideocapturer.cc80 if (talk_base::SR_SUCCESS != video_file_.Write(buffer.Data(), in RecordFrame()
89 if (talk_base::SR_SUCCESS != video_file_.Write(frame.data, in RecordFrame()
191 if (talk_base::SR_SUCCESS != ReadFrameHeader(&frame)) { in Init()
293 if (talk_base::SR_SUCCESS == sr) { in ReadFrameHeader()
343 if (talk_base::SR_SUCCESS != result) { in ReadFrame()
354 if (talk_base::SR_SUCCESS != video_file_.Read(captured_frame_.data, in ReadFrame()
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Ddtlstransportchannel.cc79 return talk_base::SR_SUCCESS; in Write()
86 bool ret = (fifo_.WriteAll(data, size, NULL, NULL) == talk_base::SR_SUCCESS); in OnPacketReceived()
377 talk_base::SR_SUCCESS) ? static_cast<int>(size) : -1; in SendPacket()
543 if (dtls_->Read(buf, sizeof(buf), &read, NULL) == talk_base::SR_SUCCESS) { in OnDtlsEvent()

123