/external/webrtc/rtc_base/memory/ |
D | fifo_buffer_unittest.cc | 36 EXPECT_EQ(SR_SUCCESS, buf.Write(in, kSize, &bytes, nullptr)); in TEST() 43 EXPECT_EQ(SR_SUCCESS, buf.Read(out, kSize, &bytes, nullptr)); in TEST() 51 EXPECT_EQ(SR_SUCCESS, buf.Write(in, kSize * 2, &bytes, nullptr)); in TEST() 55 EXPECT_EQ(SR_SUCCESS, buf.Read(out, kSize * 2, &bytes, nullptr)); in TEST() 60 EXPECT_EQ(SR_SUCCESS, buf.Write(in, kSize / 2, &bytes, nullptr)); in TEST() 62 EXPECT_EQ(SR_SUCCESS, buf.Read(out, kSize / 2, &bytes, nullptr)); in TEST() 65 EXPECT_EQ(SR_SUCCESS, buf.Write(in, kSize / 2, &bytes, nullptr)); in TEST() 67 EXPECT_EQ(SR_SUCCESS, buf.Write(in, kSize / 2, &bytes, nullptr)); in TEST() 69 EXPECT_EQ(SR_SUCCESS, buf.Read(out, kSize / 2, &bytes, nullptr)); in TEST() 72 EXPECT_EQ(SR_SUCCESS, buf.Read(out, kSize / 2, &bytes, nullptr)); in TEST() [all …]
|
D | fifo_buffer.cc | 96 if (result == SR_SUCCESS) { in Read() 123 if (result == SR_SUCCESS) { in Write() 217 return SR_SUCCESS; in ReadOffsetLocked() 244 return SR_SUCCESS; in WriteOffsetLocked()
|
/external/webrtc/rtc_base/ |
D | memory_stream.cc | 43 return SR_SUCCESS; in Read() 58 if (SR_SUCCESS != result) { in Write() 76 return SR_SUCCESS; in Write() 107 return (SR_SUCCESS == DoReserve(size, nullptr)); in ReserveSize() 128 return SR_SUCCESS; in DoReserve() 135 return SR_SUCCESS; in DoReserve()
|
D | socket_stream.cc | 79 return SR_SUCCESS; in Read() 99 return SR_SUCCESS; in Write()
|
D | stream.cc | 33 StreamResult result = SR_SUCCESS; in WriteAll() 38 if (result != SR_SUCCESS) in WriteAll()
|
D | file_rotating_stream_unittest.cc | 75 EXPECT_EQ(SR_SUCCESS, stream_->WriteAll(data, data_len, nullptr, nullptr)); in WriteAndFlush() 280 EXPECT_EQ(SR_SUCCESS, stream_->WriteAll(data, data_len, nullptr, nullptr)); in WriteAndFlush() 337 EXPECT_EQ(SR_SUCCESS, in TEST_F() 372 EXPECT_EQ(SR_SUCCESS, in TEST_F()
|
D | openssl_stream_adapter.cc | 210 if (result == SR_SUCCESS) { in stream_read() 227 if (result == SR_SUCCESS) { in stream_write() 564 return SR_SUCCESS; in Write() 578 return SR_SUCCESS; in Write() 630 return SR_SUCCESS; in Read() 660 return SR_SUCCESS; in Read()
|
D | ssl_stream_adapter_unittest.cc | 169 if (r != rtc::SR_SUCCESS) { in Read() 174 return rtc::SR_SUCCESS; in Read() 251 return rtc::SR_SUCCESS; in Read() 262 return rtc::SR_SUCCESS; in Write() 544 return rtc::SR_SUCCESS; in DataWritten() 549 return rtc::SR_SUCCESS; in DataWritten() 738 if (rv == rtc::SR_SUCCESS) { in WriteData() 777 ASSERT_EQ(rtc::SR_SUCCESS, r); in ReadData() 831 if (rv == rtc::SR_SUCCESS) { in WriteData() 865 ASSERT_EQ(rtc::SR_SUCCESS, r); in ReadData() [all …]
|
D | stream.h | 41 enum StreamResult { SR_ERROR, SR_SUCCESS, SR_BLOCK, SR_EOS }; enumerator
|
D | logging_unittest.cc | 74 return SR_SUCCESS; in Read() 91 return SR_SUCCESS; in Write()
|
D | ssl_adapter_unittest.cc | 209 if (r == rtc::SR_SUCCESS) { in Send() 248 if (r == rtc::SR_SUCCESS) { in OnSSLStreamAdapterEvent()
|
D | file_rotating_stream.cc | 238 return SR_SUCCESS; in Write()
|
/external/webrtc/p2p/base/ |
D | dtls_transport.cc | 85 return rtc::SR_SUCCESS; in Read() 101 return rtc::SR_SUCCESS; in Write() 428 return (dtls_->WriteAll(data, size, NULL, NULL) == rtc::SR_SUCCESS) in SendPacket() 678 if (ret == rtc::SR_SUCCESS) { in OnDtlsEvent() 696 } while (ret == rtc::SR_SUCCESS); in OnDtlsEvent()
|
D | pseudo_tcp.cc | 433 RTC_DCHECK(result == rtc::SR_SUCCESS); in Recv() 537 RTC_DCHECK(result == rtc::SR_SUCCESS); in packet() 934 RTC_DCHECK(result == rtc::SR_SUCCESS); in process()
|
/external/webrtc/test/logging/ |
D | memory_log_writer.cc | 34 rtc::SR_SUCCESS; in Write()
|