| /webrtc/rtcp/src/compound_packet/ |
| H A D | mod.rs | 67 .downcast_ref::<CompoundPacket>() in equal() 127 if self.0[0].as_any().downcast_ref::<SenderReport>().is_none() in validate() 130 .downcast_ref::<ReceiverReport>() in validate() 139 if pkt.as_any().downcast_ref::<ReceiverReport>().is_some() { in validate() 143 } else if let Some(e) = pkt.as_any().downcast_ref::<SourceDescription>() { in validate() 176 if let Some(sdes) = pkt.as_any().downcast_ref::<SourceDescription>() { in cname() 184 } else if pkt.as_any().downcast_ref::<ReceiverReport>().is_none() { in cname()
|
| H A D | compound_packet_test.rs | 76 if compound.0[0].as_any().downcast_ref::<Goodbye>().is_none() { in test_bad_compound() 82 .downcast_ref::<PictureLossIndication>() in test_bad_compound()
|
| /webrtc/sctp/src/chunk/ |
| H A D | chunk_test.rs | 484 if let Some(c) = pkt.chunks[0].as_any().downcast_ref::<ChunkInit>() { in test_init_chunk() 518 pkt.chunks[0].as_any().downcast_ref::<ChunkInit>().is_some(), in test_init_ack() 609 if let Some(c) = pkt.chunks[0].as_any().downcast_ref::<ChunkInit>() { in test_init_marshal_unmarshal() 648 .downcast_ref::<ChunkPayloadData>() in test_payload_data_marshal_unmarshal() 666 .downcast_ref::<ChunkSelectiveAck>() in test_select_ack_chunk() 681 if let Some(c) = pkt.chunks[0].as_any().downcast_ref::<ChunkReconfig>() { in test_reconfig_chunk() 688 .downcast_ref::<ParamOutgoingResetRequest>() in test_reconfig_chunk() 711 if let Some(c) = pkt.chunks[0].as_any().downcast_ref::<ChunkForwardTsn>() { in test_forward_tsn_chunk() 740 .downcast_ref::<ChunkSelectiveAck>() in test_select_ack_chunk_followed_by_a_payload_data_chunk() 747 .downcast_ref::<ChunkPayloadData>() in test_select_ack_chunk_followed_by_a_payload_data_chunk()
|
| /webrtc/webrtc/src/rtp_transceiver/fmtp/generic/ |
| H A D | mod.rs | 40 if let Some(c) = f.as_any().downcast_ref::<GenericFmtp>() { in match_fmtp() 58 .downcast_ref::<GenericFmtp>() in equal()
|
| /webrtc/webrtc/src/rtp_transceiver/fmtp/h264/ |
| H A D | mod.rs | 53 if let Some(c) = f.as_any().downcast_ref::<H264Fmtp>() { in match_fmtp() 95 .downcast_ref::<H264Fmtp>() in equal()
|
| /webrtc/interceptor/src/report/receiver/ |
| H A D | receiver_test.rs | 36 .downcast_ref::<rtcp::receiver_report::ReceiverReport>() in test_receiver_interceptor_before_any_packet() 99 .downcast_ref::<rtcp::receiver_report::ReceiverReport>() in test_receiver_interceptor_after_rtp_packets() 182 .downcast_ref::<rtcp::receiver_report::ReceiverReport>() in test_receiver_interceptor_after_rtp_and_rtcp_packets() 256 .downcast_ref::<rtcp::receiver_report::ReceiverReport>() in test_receiver_interceptor_overflow() 360 .downcast_ref::<rtcp::receiver_report::ReceiverReport>() in test_receiver_interceptor_overflow_five_pkts() 432 .downcast_ref::<rtcp::receiver_report::ReceiverReport>() in test_receiver_interceptor_packet_loss() 473 .downcast_ref::<rtcp::receiver_report::ReceiverReport>() in test_receiver_interceptor_packet_loss() 543 .downcast_ref::<rtcp::receiver_report::ReceiverReport>() in test_receiver_interceptor_overflow_and_packet_loss() 605 .downcast_ref::<rtcp::receiver_report::ReceiverReport>() in test_receiver_interceptor_reordered_packets() 685 .downcast_ref::<rtcp::receiver_report::ReceiverReport>() in test_receiver_interceptor_jitter() [all …]
|
| /webrtc/data/src/ |
| H A D | error.rs | 57 if let Some(down) = other.downcast_ref::<Error>() { in eq() 66 if let Some(down) = self.downcast_ref::<Error>() { in eq()
|
| /webrtc/data/src/message/ |
| H A D | message_channel_open.rs | 251 if let Some(&Error::InvalidChannelType(0x11)) = err.downcast_ref::<Error>() { in test_channel_type_unmarshal_invalid() 272 }) = err.downcast_ref::<Error>() in test_channel_type_unmarshal_unexpected_end_of_buffer() 343 if let Some(&Error::InvalidChannelType(0x11)) = err.downcast_ref::<Error>() { in test_channel_open_unmarshal_invalid_channel_type() 364 }) = err.downcast_ref::<Error>() in test_channel_open_unmarshal_unexpected_end_of_buffer() 392 }) = err.downcast_ref::<Error>() in test_channel_open_unmarshal_unexpected_length_mismatch()
|
| H A D | message_type.rs | 91 if let Some(&Error::InvalidMessageType(0x01)) = err.downcast_ref::<Error>() { in test_message_type_unmarshal_invalid()
|
| /webrtc/webrtc/src/track/track_local/ |
| H A D | track_local_static_test.rs | 145 if let Some(v) = vp8writer.as_any().downcast_ref::<TrackLocalStaticRTP>() { in test_track_local_static_closed() 158 if let Some(v) = vp8writer.as_any().downcast_ref::<TrackLocalStaticRTP>() { in test_track_local_static_closed() 167 if let Some(v) = vp8writer.as_any().downcast_ref::<TrackLocalStaticRTP>() { in test_track_local_static_closed() 332 if let Some(v) = vp8writer.as_any().downcast_ref::<TrackLocalStaticRTP>() { in test_track_local_static_mutate_input() 395 if let Some(v) = vp8writer.as_any().downcast_ref::<TrackLocalStaticRTP>() { in test_track_local_static_binding_non_blocking()
|
| /webrtc/util/src/ |
| H A D | error.rs | 132 pub fn downcast_ref<T: std::error::Error + 'static>(&self) -> Option<&T> { in downcast_ref() method 134 return s.0.downcast_ref(); in downcast_ref()
|
| /webrtc/interceptor/src/twcc/receiver/ |
| H A D | receiver_test.rs | 82 if let Some(cc) = pkts[0].as_any().downcast_ref::<TransportLayerCc>() { in test_twcc_receiver_interceptor_after_rtp_packets() 150 if let Some(cc) = pkts[0].as_any().downcast_ref::<TransportLayerCc>() { in test_twcc_receiver_interceptor_different_delays_between_rtp_packets() 229 if let Some(cc) = pkts[0].as_any().downcast_ref::<TransportLayerCc>() { in test_twcc_receiver_interceptor_packet_loss() 317 if let Some(cc) = pkts[0].as_any().downcast_ref::<TransportLayerCc>() { in test_twcc_receiver_interceptor_overflow()
|
| /webrtc/sctp/src/association/ |
| H A D | association_internal.rs | 2103 let packets = if let Some(c) = chunk_any.downcast_ref::<ChunkInit>() { in handle_chunk() 2109 } else if chunk_any.downcast_ref::<ChunkAbort>().is_some() in handle_chunk() 2110 || chunk_any.downcast_ref::<ChunkError>().is_some() in handle_chunk() 2113 } else if let Some(c) = chunk_any.downcast_ref::<ChunkHeartbeat>() { in handle_chunk() 2115 } else if let Some(c) = chunk_any.downcast_ref::<ChunkCookieEcho>() { in handle_chunk() 2117 } else if chunk_any.downcast_ref::<ChunkCookieAck>().is_some() { in handle_chunk() 2119 } else if let Some(c) = chunk_any.downcast_ref::<ChunkPayloadData>() { in handle_chunk() 2123 } else if let Some(c) = chunk_any.downcast_ref::<ChunkReconfig>() { in handle_chunk() 2125 } else if let Some(c) = chunk_any.downcast_ref::<ChunkForwardTsn>() { in handle_chunk() 2127 } else if let Some(c) = chunk_any.downcast_ref::<ChunkShutdown>() { in handle_chunk() [all …]
|
| /webrtc/interceptor/src/report/sender/ |
| H A D | sender_test.rs | 38 .downcast_ref::<rtcp::sender_report::SenderReport>() in test_sender_interceptor_before_any_packet() 102 .downcast_ref::<rtcp::sender_report::SenderReport>() in test_sender_interceptor_after_rtp_packets() 204 .downcast_ref::<rtcp::sender_report::SenderReport>() in test_sender_interceptor_after_rtp_packets_overflow()
|
| /webrtc/interceptor/src/stats/ |
| H A D | interceptor.rs | 449 if let Some(rr) = p.as_any().downcast_ref::<ReceiverReport>() { in read() 467 } else if let Some(fir) = p.as_any().downcast_ref::<FullIntraRequest>() { in read() 473 } else if let Some(pli) = p.as_any().downcast_ref::<PictureLossIndication>() { in read() 476 } else if let Some(nack) = p.as_any().downcast_ref::<TransportLayerNack>() { in read() 482 } else if let Some(sr) = p.as_any().downcast_ref::<SenderReport>() { in read() 502 } else if let Some(xr) = p.as_any().downcast_ref::<ExtendedReport>() { in read() 507 let dlrr = report.as_any().downcast_ref::<DLRRReportBlock>(); in read() 635 if let Some(fir) = p.as_any().downcast_ref::<FullIntraRequest>() { in write() 640 } else if let Some(pli) = p.as_any().downcast_ref::<PictureLossIndication>() { in write() 643 } else if let Some(nack) = p.as_any().downcast_ref::<TransportLayerNack>() { in write() [all …]
|
| /webrtc/rtp/src/ |
| H A D | error.rs | 73 if let Some(down) = other.downcast_ref::<Error>() { in eq()
|
| /webrtc/rtcp/src/ |
| H A D | error.rs | 115 if let Some(down) = other.downcast_ref::<Error>() { in eq()
|
| H A D | raw_packet.rs | 45 .downcast_ref::<RawPacket>() in equal()
|
| /webrtc/interceptor/src/nack/generator/ |
| H A D | generator_test.rs | 56 if let Some(p) = r[0].as_any().downcast_ref::<TransportLayerNack>() { in test_generator_interceptor()
|
| /webrtc/rtcp/src/extended_report/ |
| H A D | unknown.rs | 46 .downcast_ref::<UnknownReportBlock>() in equal()
|
| H A D | rrt.rs | 58 .downcast_ref::<ReceiverReferenceTimeReportBlock>() in equal()
|
| H A D | prt.rs | 73 .downcast_ref::<PacketReceiptTimesReportBlock>() in equal()
|
| /webrtc/webrtc/src/rtp_transceiver/rtp_receiver/ |
| H A D | rtp_receiver_test.rs | 139 .downcast_ref::<TrackLocalStaticSample>() in test_set_rtp_parameters() 211 if let Some(v) = track.as_any().downcast_ref::<TrackLocalStaticSample>() { in test_rtp_receiver_set_read_deadline()
|
| /webrtc/rtcp/src/payload_feedbacks/picture_loss_indication/ |
| H A D | mod.rs | 61 .downcast_ref::<PictureLossIndication>() in equal()
|
| /webrtc/rtcp/src/transport_feedbacks/rapid_resynchronization_request/ |
| H A D | mod.rs | 63 .downcast_ref::<RapidResynchronizationRequest>() in equal()
|