/external/webrtc/rtc_base/ |
D | copy_on_write_buffer_unittest.cc | 28 void EnsureBuffersShareData(const CopyOnWriteBuffer& buf1, in EnsureBuffersShareData() 29 const CopyOnWriteBuffer& buf2) { in EnsureBuffersShareData() 39 void EnsureBuffersDontShareData(const CopyOnWriteBuffer& buf1, in EnsureBuffersDontShareData() 40 const CopyOnWriteBuffer& buf2) { in EnsureBuffersDontShareData() 48 CopyOnWriteBuffer buf(static_cast<const uint8_t*>(nullptr), 0); in TEST() 55 CopyOnWriteBuffer buf1(kTestData, 3, 10); in TEST() 60 CopyOnWriteBuffer buf2(std::move(buf1)); in TEST() 70 CopyOnWriteBuffer buf1(kTestData, 3, 10); in TEST() 75 CopyOnWriteBuffer buf2; in TEST() 86 CopyOnWriteBuffer buf1(kTestData, 3, 10); in TEST() [all …]
|
D | copy_on_write_buffer.cc | 17 CopyOnWriteBuffer::CopyOnWriteBuffer() : offset_(0), size_(0) { in CopyOnWriteBuffer() function in rtc::CopyOnWriteBuffer 21 CopyOnWriteBuffer::CopyOnWriteBuffer(const CopyOnWriteBuffer& buf) in CopyOnWriteBuffer() function in rtc::CopyOnWriteBuffer 24 CopyOnWriteBuffer::CopyOnWriteBuffer(CopyOnWriteBuffer&& buf) in CopyOnWriteBuffer() function in rtc::CopyOnWriteBuffer 31 CopyOnWriteBuffer::CopyOnWriteBuffer(const std::string& s) in CopyOnWriteBuffer() function in rtc::CopyOnWriteBuffer 32 : CopyOnWriteBuffer(s.data(), s.length()) {} in CopyOnWriteBuffer() 34 CopyOnWriteBuffer::CopyOnWriteBuffer(size_t size) in CopyOnWriteBuffer() function in rtc::CopyOnWriteBuffer 41 CopyOnWriteBuffer::CopyOnWriteBuffer(size_t size, size_t capacity) in CopyOnWriteBuffer() function in rtc::CopyOnWriteBuffer 50 CopyOnWriteBuffer::~CopyOnWriteBuffer() = default; 52 bool CopyOnWriteBuffer::operator==(const CopyOnWriteBuffer& buf) const { in operator ==() 60 void CopyOnWriteBuffer::SetSize(size_t size) { in SetSize() [all …]
|
D | copy_on_write_buffer.h | 30 class RTC_EXPORT CopyOnWriteBuffer { 33 CopyOnWriteBuffer(); 35 CopyOnWriteBuffer(const CopyOnWriteBuffer& buf); 37 CopyOnWriteBuffer(CopyOnWriteBuffer&& buf); 40 CopyOnWriteBuffer(const std::string& s); 43 explicit CopyOnWriteBuffer(size_t size); 44 CopyOnWriteBuffer(size_t size, size_t capacity); 51 CopyOnWriteBuffer(const T* data, size_t size) in CopyOnWriteBuffer() function 52 : CopyOnWriteBuffer(data, size, size) {} in CopyOnWriteBuffer() 56 CopyOnWriteBuffer(const T* data, size_t size, size_t capacity) in CopyOnWriteBuffer() function [all …]
|
/external/webrtc/media/engine/ |
D | unhandled_packets_buffer_unittest.cc | 23 rtc::CopyOnWriteBuffer Create(int n) { in Create() 24 return rtc::CopyOnWriteBuffer(std::to_string(n)); in Create() 38 std::vector<rtc::CopyOnWriteBuffer> packets; in TEST() 40 rtc::CopyOnWriteBuffer packet) { in TEST() 51 std::vector<rtc::CopyOnWriteBuffer> packets; in TEST() 53 rtc::CopyOnWriteBuffer packet) { in TEST() 66 std::vector<rtc::CopyOnWriteBuffer> packets; in TEST() 68 rtc::CopyOnWriteBuffer packet) { in TEST() 83 rtc::CopyOnWriteBuffer packet) { in TEST() 90 rtc::CopyOnWriteBuffer packet) { in TEST() [all …]
|
D | unhandled_packets_buffer.h | 36 rtc::CopyOnWriteBuffer packet); 41 std::function<void(uint32_t, int64_t, rtc::CopyOnWriteBuffer)> consumer); 48 rtc::CopyOnWriteBuffer packet;
|
/external/webrtc/pc/ |
D | sctp_utils.h | 21 class CopyOnWriteBuffer; variable 28 bool IsOpenMessage(const rtc::CopyOnWriteBuffer& payload); 30 bool ParseDataChannelOpenMessage(const rtc::CopyOnWriteBuffer& payload, 34 bool ParseDataChannelOpenAckMessage(const rtc::CopyOnWriteBuffer& payload); 38 rtc::CopyOnWriteBuffer* payload); 40 void WriteDataChannelOpenAckMessage(rtc::CopyOnWriteBuffer* payload);
|
D | rtp_transport.h | 23 class CopyOnWriteBuffer; variable 61 bool SendRtpPacket(rtc::CopyOnWriteBuffer* packet, 65 bool SendRtcpPacket(rtc::CopyOnWriteBuffer* packet, 81 void DemuxPacket(rtc::CopyOnWriteBuffer packet, int64_t packet_time_us); 84 rtc::CopyOnWriteBuffer* packet, 91 virtual void OnRtpPacketReceived(rtc::CopyOnWriteBuffer packet, 93 virtual void OnRtcpPacketReceived(rtc::CopyOnWriteBuffer packet,
|
D | sctp_utils_unittest.cc | 21 void VerifyOpenMessageFormat(const rtc::CopyOnWriteBuffer& packet, in VerifyOpenMessageFormat() 82 rtc::CopyOnWriteBuffer packet; in TEST_F() 106 rtc::CopyOnWriteBuffer packet; in TEST_F() 129 rtc::CopyOnWriteBuffer packet; in TEST_F() 152 rtc::CopyOnWriteBuffer packet; in TEST_F() 168 rtc::CopyOnWriteBuffer packet; in TEST_F() 180 rtc::CopyOnWriteBuffer open(1); in TEST_F() 184 rtc::CopyOnWriteBuffer openAck(1); in TEST_F() 188 rtc::CopyOnWriteBuffer invalid(1); in TEST_F() 192 rtc::CopyOnWriteBuffer empty; in TEST_F()
|
D | composite_rtp_transport_test.cc | 84 void OnRtcpPacketReceived(rtc::CopyOnWriteBuffer* buffer, in OnRtcpPacketReceived() 111 rtc::CopyOnWriteBuffer last_packet_; 264 rtc::CopyOnWriteBuffer packet(kRtcpPacket); in TEST_F() 276 rtc::CopyOnWriteBuffer packet(kRtcpPacket); in TEST_F() 289 rtc::CopyOnWriteBuffer packet(kRtcpPacket); in TEST_F() 301 rtc::CopyOnWriteBuffer packet(kRtpPacket); in TEST_F() 313 rtc::CopyOnWriteBuffer packet(kRtpPacket); in TEST_F() 326 rtc::CopyOnWriteBuffer packet(kRtpPacket); in TEST_F() 338 rtc::CopyOnWriteBuffer packet(kRtcpPacket); in TEST_F() 352 rtc::CopyOnWriteBuffer packet(kRtcpPacket); in TEST_F() [all …]
|
D | rtp_transport_internal.h | 24 class CopyOnWriteBuffer; variable 58 sigslot::signal2<rtc::CopyOnWriteBuffer*, int64_t> SignalRtcpPacketReceived; 74 virtual bool SendRtpPacket(rtc::CopyOnWriteBuffer* packet, 78 virtual bool SendRtcpPacket(rtc::CopyOnWriteBuffer* packet,
|
D | rtp_transport.cc | 129 bool RtpTransport::SendRtpPacket(rtc::CopyOnWriteBuffer* packet, in SendRtpPacket() 135 bool RtpTransport::SendRtcpPacket(rtc::CopyOnWriteBuffer* packet, in SendRtcpPacket() 142 rtc::CopyOnWriteBuffer* packet, in SendPacket() 183 void RtpTransport::DemuxPacket(rtc::CopyOnWriteBuffer packet, in DemuxPacket() 231 void RtpTransport::OnRtpPacketReceived(rtc::CopyOnWriteBuffer packet, in OnRtpPacketReceived() 236 void RtpTransport::OnRtcpPacketReceived(rtc::CopyOnWriteBuffer packet, in OnRtcpPacketReceived() 265 rtc::CopyOnWriteBuffer packet(data, len); in OnReadPacket()
|
D | srtp_transport.h | 47 bool SendRtpPacket(rtc::CopyOnWriteBuffer* packet, 51 bool SendRtcpPacket(rtc::CopyOnWriteBuffer* packet, 120 void OnRtpPacketReceived(rtc::CopyOnWriteBuffer packet, 122 void OnRtcpPacketReceived(rtc::CopyOnWriteBuffer packet,
|
D | sctp_utils.cc | 47 bool IsOpenMessage(const rtc::CopyOnWriteBuffer& payload) { in IsOpenMessage() 59 bool ParseDataChannelOpenMessage(const rtc::CopyOnWriteBuffer& payload, in ParseDataChannelOpenMessage() 148 bool ParseDataChannelOpenAckMessage(const rtc::CopyOnWriteBuffer& payload) { in ParseDataChannelOpenAckMessage() 165 rtc::CopyOnWriteBuffer* payload) { in WriteDataChannelOpenMessage() 226 void WriteDataChannelOpenAckMessage(rtc::CopyOnWriteBuffer* payload) { in WriteDataChannelOpenAckMessage()
|
D | composite_rtp_transport.h | 76 bool SendRtpPacket(rtc::CopyOnWriteBuffer* packet, 81 bool SendRtcpPacket(rtc::CopyOnWriteBuffer* packet, 101 void OnRtcpPacketReceived(rtc::CopyOnWriteBuffer* packet,
|
D | data_channel_controller.h | 43 const rtc::CopyOnWriteBuffer& payload, 56 const rtc::CopyOnWriteBuffer& buffer) override; 139 const rtc::CopyOnWriteBuffer& buffer) 156 const rtc::CopyOnWriteBuffer& payload, 211 const rtc::CopyOnWriteBuffer&>
|
D | channel.h | 197 bool SendPacket(rtc::CopyOnWriteBuffer* packet, 199 bool SendRtcp(rtc::CopyOnWriteBuffer* packet, 211 rtc::CopyOnWriteBuffer* packet, 431 const rtc::CopyOnWriteBuffer& payload, 437 sigslot::signal2<const ReceiveDataParams&, const rtc::CopyOnWriteBuffer&> 456 const rtc::CopyOnWriteBuffer* payload, in SendDataMessageData() 461 const rtc::CopyOnWriteBuffer* payload; 475 const rtc::CopyOnWriteBuffer payload;
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | video_rtp_depacketizer_h264_unittest.cc | 62 rtc::CopyOnWriteBuffer rtp_payload(packet); in TEST() 83 rtc::CopyOnWriteBuffer rtp_payload(packet); in TEST() 118 rtc::CopyOnWriteBuffer rtp_payload(packet); in TEST() 153 rtc::CopyOnWriteBuffer rtp_payload(packet); in TEST() 181 EXPECT_FALSE(depacketizer.Parse(rtc::CopyOnWriteBuffer(lone_empty_packet))); in TEST() 183 depacketizer.Parse(rtc::CopyOnWriteBuffer(leading_empty_packet))); in TEST() 184 EXPECT_FALSE(depacketizer.Parse(rtc::CopyOnWriteBuffer(middle_empty_packet))); in TEST() 186 depacketizer.Parse(rtc::CopyOnWriteBuffer(trailing_empty_packet))); in TEST() 190 rtc::CopyOnWriteBuffer in_buffer; in TEST() 225 rtc::CopyOnWriteBuffer in_buffer; in TEST() [all …]
|
D | video_rtp_depacketizer_av1_unittest.cc | 31 rtc::CopyOnWriteBuffer rtp_payload(packet); in TEST() 48 depacketizer.Parse(rtc::CopyOnWriteBuffer(packet)); in TEST() 58 depacketizer.Parse(rtc::CopyOnWriteBuffer(packet)); in TEST() 65 rtc::CopyOnWriteBuffer rtp_payload(packet); in TEST() 77 depacketizer.Parse(rtc::CopyOnWriteBuffer(packet)); in TEST() 88 depacketizer.Parse(rtc::CopyOnWriteBuffer(packet)); in TEST() 101 depacketizer.Parse(rtc::CopyOnWriteBuffer(packet)); in TEST() 113 ASSERT_FALSE(depacketizer.Parse(rtc::CopyOnWriteBuffer(packet))); in TEST()
|
D | video_rtp_depacketizer_generic_unittest.cc | 28 rtc::CopyOnWriteBuffer rtp_payload(kPayload); in TEST() 42 rtc::CopyOnWriteBuffer rtp_payload(kPayload); in TEST() 58 rtc::CopyOnWriteBuffer rtp_payload(kPayload); in TEST()
|
/external/webrtc/media/base/ |
D | fake_network_interface.h | 87 const rtc::CopyOnWriteBuffer* GetRtpPacket(int index) in GetRtpPacket() 93 return new rtc::CopyOnWriteBuffer(rtp_packets_[index]); in GetRtpPacket() 102 const rtc::CopyOnWriteBuffer* GetRtcpPacket(int index) in GetRtcpPacket() 108 return new rtc::CopyOnWriteBuffer(rtcp_packets_[index]); in GetRtcpPacket() 117 virtual bool SendPacket(rtc::CopyOnWriteBuffer* packet, in SendPacket() 143 virtual bool SendRtcp(rtc::CopyOnWriteBuffer* packet, in SendRtcp() 167 void PostMessage(int id, const rtc::CopyOnWriteBuffer& packet) { in PostMessage() 172 rtc::TypedMessageData<rtc::CopyOnWriteBuffer>* msg_data = in OnMessage() 173 static_cast<rtc::TypedMessageData<rtc::CopyOnWriteBuffer>*>(msg->pdata); in OnMessage() 221 std::vector<rtc::CopyOnWriteBuffer> rtp_packets_; [all …]
|
/external/webrtc/pc/test/ |
D | rtp_transport_test_util.h | 41 void OnRtcpPacketReceived(rtc::CopyOnWriteBuffer* packet, in OnRtcpPacketReceived() 50 rtc::CopyOnWriteBuffer last_recv_rtp_packet() { in last_recv_rtp_packet() 54 rtc::CopyOnWriteBuffer last_recv_rtcp_packet() { in last_recv_rtcp_packet() 72 rtc::CopyOnWriteBuffer last_recv_rtp_packet_; 73 rtc::CopyOnWriteBuffer last_recv_rtcp_packet_;
|
/external/webrtc/media/sctp/ |
D | sctp_transport.h | 85 const rtc::CopyOnWriteBuffer& payload, 115 OutgoingMessage(const rtc::CopyOnWriteBuffer& buffer, in OutgoingMessage() 133 const rtc::CopyOnWriteBuffer buffer_; 180 void OnPacketFromSctpToNetwork(const rtc::CopyOnWriteBuffer& buffer); 190 const rtc::CopyOnWriteBuffer& buffer); 192 void OnNotificationFromSctp(const rtc::CopyOnWriteBuffer& buffer); 207 rtc::CopyOnWriteBuffer partial_incoming_message_;
|
/external/webrtc/call/ |
D | fake_network_pipe.h | 38 NetworkPacket(rtc::CopyOnWriteBuffer packet, 57 rtc::CopyOnWriteBuffer* raw_packet() { return &packet_; } in raw_packet() 72 rtc::CopyOnWriteBuffer packet_; 147 rtc::CopyOnWriteBuffer packet, 185 bool EnqueuePacket(rtc::CopyOnWriteBuffer packet, 193 bool EnqueuePacket(rtc::CopyOnWriteBuffer packet,
|
D | fake_network_pipe.cc | 32 NetworkPacket::NetworkPacket(rtc::CopyOnWriteBuffer packet, in NetworkPacket() 147 EnqueuePacket(rtc::CopyOnWriteBuffer(packet, length), options, false, in SendRtp() 154 EnqueuePacket(rtc::CopyOnWriteBuffer(packet, length), absl::nullopt, true, in SendRtcp() 164 EnqueuePacket(rtc::CopyOnWriteBuffer(packet, length), options, false, in SendRtp() 173 EnqueuePacket(rtc::CopyOnWriteBuffer(packet, length), absl::nullopt, true, in SendRtcp() 180 rtc::CopyOnWriteBuffer packet, in DeliverPacket() 196 bool FakeNetworkPipe::EnqueuePacket(rtc::CopyOnWriteBuffer packet, in EnqueuePacket() 208 bool FakeNetworkPipe::EnqueuePacket(rtc::CopyOnWriteBuffer packet, in EnqueuePacket()
|
/external/webrtc/p2p/base/ |
D | fake_packet_transport.h | 72 CopyOnWriteBuffer packet(data, len); in SendPacket() 103 const CopyOnWriteBuffer* last_sent_packet() { return &last_sent_packet_; } in last_sent_packet() 133 void SendPacketInternal(const CopyOnWriteBuffer& packet) { in SendPacketInternal() 141 CopyOnWriteBuffer last_sent_packet_;
|