Home
last modified time | relevance | path

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

/external/webrtc/rtc_base/memory/
Dfifo_buffer_unittest.cc36 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 …]
Dfifo_buffer.cc96 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/
Dmemory_stream.cc43 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()
Dsocket_stream.cc79 return SR_SUCCESS; in Read()
99 return SR_SUCCESS; in Write()
Dstream.cc33 StreamResult result = SR_SUCCESS; in WriteAll()
38 if (result != SR_SUCCESS) in WriteAll()
Dfile_rotating_stream_unittest.cc75 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()
Dopenssl_stream_adapter.cc210 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()
Dssl_stream_adapter_unittest.cc169 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 …]
Dstream.h41 enum StreamResult { SR_ERROR, SR_SUCCESS, SR_BLOCK, SR_EOS }; enumerator
Dlogging_unittest.cc74 return SR_SUCCESS; in Read()
91 return SR_SUCCESS; in Write()
Dssl_adapter_unittest.cc209 if (r == rtc::SR_SUCCESS) { in Send()
248 if (r == rtc::SR_SUCCESS) { in OnSSLStreamAdapterEvent()
Dfile_rotating_stream.cc238 return SR_SUCCESS; in Write()
/external/webrtc/p2p/base/
Ddtls_transport.cc85 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()
Dpseudo_tcp.cc433 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/
Dmemory_log_writer.cc34 rtc::SR_SUCCESS; in Write()