/external/webrtc/webrtc/base/ |
D | stream_unittest.cc | 35 return SR_SUCCESS; in Read() 82 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); in SeekTest() 90 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); in SeekTest() 118 EXPECT_EQ(SR_SUCCESS, stream->Write(in, kSize, &bytes, NULL)); in TEST() 125 EXPECT_EQ(SR_SUCCESS, stream->Read(out, kSize, &bytes, NULL)); in TEST() 133 EXPECT_EQ(SR_SUCCESS, stream->Write(in, kSize * 2, &bytes, NULL)); in TEST() 137 EXPECT_EQ(SR_SUCCESS, stream->Read(out, kSize * 2, &bytes, NULL)); in TEST() 142 EXPECT_EQ(SR_SUCCESS, stream->Write(in, kSize / 2, &bytes, NULL)); in TEST() 144 EXPECT_EQ(SR_SUCCESS, stream->Read(out, kSize / 2, &bytes, NULL)); in TEST() 147 EXPECT_EQ(SR_SUCCESS, stream->Write(in, kSize / 2, &bytes, NULL)); in TEST() [all …]
|
D | stream.cc | 46 StreamResult result = SR_SUCCESS; in WriteAll() 51 if (result != SR_SUCCESS) in WriteAll() 62 StreamResult result = SR_SUCCESS; in ReadAll() 67 if (result != SR_SUCCESS) in ReadAll() 78 StreamResult result = SR_SUCCESS; in ReadLine() 82 if (result != SR_SUCCESS) { in ReadLine() 91 result = SR_SUCCESS; // a success code. Otherwise return the last code in ReadLine() 244 : StreamAdapterInterface(stream), tap_(), tap_result_(SR_SUCCESS), in StreamTap() 274 if ((res == SR_SUCCESS) && (tap_result_ == SR_SUCCESS)) { in Read() 288 if ((res == SR_SUCCESS) && (tap_result_ == SR_SUCCESS)) { in Write() [all …]
|
D | optionsfile.cc | 42 if (res != SR_SUCCESS) { in Load() 73 StreamResult res = SR_SUCCESS; in Save() 80 if (res != SR_SUCCESS) { in Save() 84 if (res != SR_SUCCESS) { in Save() 89 if (res != SR_SUCCESS) { in Save() 93 if (res != SR_SUCCESS) { in Save() 97 if (res != SR_SUCCESS) { in Save()
|
D | filerotatingstream_unittest.cc | 50 EXPECT_EQ(SR_SUCCESS, stream_->WriteAll(data, data_len, nullptr, nullptr)); in WriteAndFlush() 67 EXPECT_EQ(SR_SUCCESS, in VerifyStreamRead() 83 EXPECT_EQ(rtc::SR_SUCCESS, in VerifyFileContents() 209 EXPECT_EQ(SR_SUCCESS, stream_->WriteAll(data, data_len, nullptr, nullptr)); in WriteAndFlush() 225 EXPECT_EQ(SR_SUCCESS, in VerifyStreamRead() 272 EXPECT_EQ(SR_SUCCESS, in TEST_F() 282 EXPECT_EQ(SR_SUCCESS, in TEST_F() 299 EXPECT_EQ(SR_SUCCESS, in TEST_F() 309 EXPECT_EQ(SR_SUCCESS, in TEST_F()
|
D | sslstreamadapter_unittest.cc | 103 if (r != rtc::SR_SUCCESS) { in Read() 108 return rtc::SR_SUCCESS; in Read() 182 return rtc::SR_SUCCESS; in Read() 191 return rtc::SR_SUCCESS; in Write() 412 return rtc::SR_SUCCESS; in DataWritten() 417 return rtc::SR_SUCCESS; in DataWritten() 603 if (rv == rtc::SR_SUCCESS) { in WriteData() 642 ASSERT_EQ(rtc::SR_SUCCESS, r); in ReadData() 701 if (rv == rtc::SR_SUCCESS) { in WriteData() 735 ASSERT_EQ(rtc::SR_SUCCESS, r); in ReadData() [all …]
|
D | socketstream.cc | 74 return SR_SUCCESS; in Read() 92 return SR_SUCCESS; in Write()
|
D | fileutils_unittest.cc | 36 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()
|
D | transformadapter.cc | 93 return SR_SUCCESS; in Read() 165 return SR_SUCCESS; in Write()
|
D | httpbase.cc | 238 return (buffer_length_ >= size) ? SR_SUCCESS : SR_BLOCK; in DoReserve() 309 result = SR_SUCCESS; in Read() 523 case SR_SUCCESS: in DoReceiveLoop() 634 if (result == SR_SUCCESS) { in flush_data() 687 if (result == SR_SUCCESS) { in flush_data() 860 case SR_SUCCESS: in ProcessData()
|
D | filerotatingstream.cc | 133 return result == SR_EOS ? SR_SUCCESS : result; in Read() 134 } else if (result == SR_SUCCESS) { in Read() 136 return SR_SUCCESS; in Read()
|
D | opensslstreamadapter.cc | 241 if (result == SR_SUCCESS) { in stream_read() 259 if (result == SR_SUCCESS) { in stream_write() 525 return SR_SUCCESS; in Write() 538 return SR_SUCCESS; in Write() 586 return SR_SUCCESS; in Read() 612 return SR_SUCCESS; in Read()
|
D | httpclient.cc | 214 if (SR_SUCCESS != result) { in HttpWriteCacheHeaders() 218 if (output && (SR_SUCCESS != output->WriteAll("\r\n", 2, NULL, NULL))) { in HttpWriteCacheHeaders() 235 if (SR_SUCCESS != result) { in HttpReadCacheHeaders() 513 if (SR_SUCCESS != result) { in CompleteCacheFile() 605 if (SR_SUCCESS != result) { in ReadCacheBody()
|
D | ssladapter_unittest.cc | 180 if (r == rtc::SR_SUCCESS) { in Send() 220 if (r == rtc::SR_SUCCESS) { in OnSSLStreamAdapterEvent()
|
D | multipart_unittest.cc | 95 EXPECT_EQ(rtc::SR_SUCCESS, in TEST()
|
D | linux.cc | 255 SR_SUCCESS != fs.ReadLine(&str) || in ReadCpuMaxFreq()
|
D | multipart.cc | 149 if (SR_SUCCESS == result) { in Read()
|
D | testutils.h | 238 return SR_SUCCESS; in Read() 260 return SR_SUCCESS; in Write()
|
/external/webrtc/talk/media/base/ |
D | rtpdump_unittest.cc | 88 EXPECT_EQ(rtc::SR_SUCCESS, reader->ReadPacket(&packet)); in TEST() 93 EXPECT_EQ(rtc::SR_SUCCESS, in TEST() 97 EXPECT_EQ(rtc::SR_SUCCESS, reader->ReadPacket(&packet)); in TEST() 102 EXPECT_EQ(rtc::SR_SUCCESS, in TEST() 111 EXPECT_EQ(rtc::SR_SUCCESS, in TEST() 131 EXPECT_EQ(rtc::SR_SUCCESS, reader.ReadPacket(&packet)); in TEST() 145 EXPECT_EQ(rtc::SR_SUCCESS, reader_w_ssrc.ReadPacket(&packet)); in TEST() 170 EXPECT_EQ(rtc::SR_SUCCESS, reader.ReadPacket(&packet)); in TEST() 196 EXPECT_EQ(rtc::SR_SUCCESS, reader.ReadPacket(&packet)); in TEST() 224 EXPECT_EQ(rtc::SR_SUCCESS, reader.ReadPacket(&packet)); in TEST() [all …]
|
D | rtpdump.cc | 117 rtc::StreamResult res = rtc::SR_SUCCESS; in ReadPacket() 121 if (res != rtc::SR_SUCCESS) { in ReadPacket() 130 if (res != rtc::SR_SUCCESS) { in ReadPacket() 153 if (res == rtc::SR_SUCCESS && in ReadPacket() 166 if (res != rtc::SR_SUCCESS) { in ReadFileHeader() 176 if (res == rtc::SR_SUCCESS) { in ReadFileHeader() 227 if (rtc::SR_SUCCESS == res) { in ReadPacket() 247 if (rtc::SR_SUCCESS == res && loop_count_ > 0) { in ReadPacket() 342 if (res != rtc::SR_SUCCESS) { in WriteFileHeader() 358 rtc::StreamResult res = rtc::SR_SUCCESS; in WritePacket() [all …]
|
D | videoframe.cc | 47 rtc::StreamResult result = rtc::SR_SUCCESS; in Write() 64 if (result != rtc::SR_SUCCESS) { in Write() 71 if (result != rtc::SR_SUCCESS) { in Write() 78 if (result != rtc::SR_SUCCESS) { in Write()
|
D | testutils.cc | 157 result &= (rtc::SR_SUCCESS == writer->WritePacket(dump_packet)); in WriteTestPackets() 177 result &= (rtc::SR_SUCCESS == reader.ReadPacket(&packet)); in VerifyTestPacketsFromStream() 294 return (res == rtc::SR_SUCCESS); in LoadPlanarYuvTestImage()
|
/external/webrtc/talk/media/devices/ |
D | filevideocapturer.cc | 84 if (rtc::SR_SUCCESS != video_file_.Write(buffer.Data(), in RecordFrame() 93 if (rtc::SR_SUCCESS != video_file_.Write(frame.data, in RecordFrame() 194 if (rtc::SR_SUCCESS != ReadFrameHeader(&frame)) { in Init() 294 if (rtc::SR_SUCCESS == sr) { in ReadFrameHeader() 345 if (rtc::SR_SUCCESS != result) { in ReadFrame() 356 if (rtc::SR_SUCCESS != video_file_.Read(captured_frame_.data, in ReadFrame()
|
/external/webrtc/webrtc/p2p/base/ |
D | dtlstransportchannel.cc | 63 return rtc::SR_SUCCESS; in Read() 78 return rtc::SR_SUCCESS; in Write() 373 return (dtls_->WriteAll(data, size, NULL, NULL) == rtc::SR_SUCCESS) in SendPacket() 545 if (dtls_->Read(buf, sizeof(buf), &read, NULL) == rtc::SR_SUCCESS) { in OnDtlsEvent()
|
D | pseudotcp.cc | 435 ASSERT(result == rtc::SR_SUCCESS); in Recv() 540 ASSERT(result == rtc::SR_SUCCESS); in packet() 911 ASSERT(result == rtc::SR_SUCCESS); in process()
|
/external/webrtc/webrtc/libjingle/xmpp/ |
D | xmppsocket.cc | 146 ASSERT(result == rtc::SR_SUCCESS); in OnEvent() 187 if (result == rtc::SR_SUCCESS) in Read()
|