/external/webrtc/sdk/android/src/jni/pc/ |
D | rtc_stats_collector_callback_wrapper.cc | 45 return NativeToJavaBoolean(env, *member.cast_to<RTCStatsMember<bool>>()); in MemberToJava() 49 *member.cast_to<RTCStatsMember<int32_t>>()); in MemberToJava() 52 return NativeToJavaLong(env, *member.cast_to<RTCStatsMember<uint32_t>>()); in MemberToJava() 55 return NativeToJavaLong(env, *member.cast_to<RTCStatsMember<int64_t>>()); in MemberToJava() 59 env, *member.cast_to<RTCStatsMember<uint64_t>>()); in MemberToJava() 62 return NativeToJavaDouble(env, *member.cast_to<RTCStatsMember<double>>()); in MemberToJava() 66 *member.cast_to<RTCStatsMember<std::string>>()); in MemberToJava() 70 env, *member.cast_to<RTCStatsMember<std::vector<bool>>>()); in MemberToJava() 74 env, *member.cast_to<RTCStatsMember<std::vector<int32_t>>>()); in MemberToJava() 78 *member.cast_to<RTCStatsMember<std::vector<uint32_t>>>(); in MemberToJava() [all …]
|
/external/webrtc/sdk/objc/api/peerconnection/ |
D | RTCStatisticsReport.mm | 24 return [NSNumber numberWithBool:*member->cast_to<RTCStatsMember<bool>>()]; 26 return [NSNumber numberWithInt:*member->cast_to<RTCStatsMember<int32_t>>()]; 28 return [NSNumber numberWithUnsignedInt:*member->cast_to<RTCStatsMember<uint32_t>>()]; 30 return [NSNumber numberWithLong:*member->cast_to<RTCStatsMember<int64_t>>()]; 32 return [NSNumber numberWithUnsignedLong:*member->cast_to<RTCStatsMember<uint64_t>>()]; 34 return [NSNumber numberWithDouble:*member->cast_to<RTCStatsMember<double>>()]; 36 return [NSString stringForStdString:*member->cast_to<RTCStatsMember<std::string>>()]; 38 std::vector<bool> sequence = *member->cast_to<RTCStatsMember<std::vector<bool>>>(); 46 std::vector<int32_t> sequence = *member->cast_to<RTCStatsMember<std::vector<int32_t>>>(); 54 std::vector<uint32_t> sequence = *member->cast_to<RTCStatsMember<std::vector<uint32_t>>>(); [all …]
|
/external/webrtc/pc/ |
D | rtc_stats_collector_unittest.cc | 601 ->cast_to<RTCCertificateStats>()); in ExpectReportContainsCertificateInfo() 709 ->cast_to<RTCMediaStreamTrackStats>(); in SetupExampleStatsGraphForSelectorTests() 712 ->cast_to<RTCOutboundRTPStreamStats>(); in SetupExampleStatsGraphForSelectorTests() 718 ->cast_to<RTCInboundRTPStreamStats>(); in SetupExampleStatsGraphForSelectorTests() 902 report->Get(expected_inbound_audio_codec.id())->cast_to<RTCCodecStats>()); in TEST_F() 907 ->cast_to<RTCCodecStats>()); in TEST_F() 912 report->Get(expected_inbound_video_codec.id())->cast_to<RTCCodecStats>()); in TEST_F() 917 ->cast_to<RTCCodecStats>()); in TEST_F() 1049 report->Get(expected_data_channel0.id())->cast_to<RTCDataChannelStats>()); in TEST_F() 1053 report->Get(expected_data_channel1.id())->cast_to<RTCDataChannelStats>()); in TEST_F() [all …]
|
D | rtc_stats_integrationtest.cc | 244 bool is_positive = *member.cast_to<RTCStatsMember<T>>() > T(0); in TestMemberIsPositive() 260 bool is_non_negative = *member.cast_to<RTCStatsMember<T>>() >= T(0); in TestMemberIsNonNegative() 300 member.cast_to<RTCStatsMember<std::string>>(); in TestMemberIsIDReference() 308 member.cast_to<RTCStatsMember<std::vector<std::string>>>(); in TestMemberIsIDReference() 367 VerifyRTCCertificateStats(stats.cast_to<RTCCertificateStats>()); in VerifyReport() 370 VerifyRTCCodecStats(stats.cast_to<RTCCodecStats>()); in VerifyReport() 373 VerifyRTCDataChannelStats(stats.cast_to<RTCDataChannelStats>()); in VerifyReport() 376 stats.cast_to<RTCIceCandidatePairStats>(), in VerifyReport() 380 stats.cast_to<RTCLocalIceCandidateStats>()); in VerifyReport() 383 stats.cast_to<RTCRemoteIceCandidateStats>()); in VerifyReport() [all …]
|
D | peer_connection_rampup_tests.cc | 297 stats->Get(selected_ice_id)->cast_to<const RTCIceCandidatePairStats>(); in GetCallerAvailableBitrateEstimate()
|
D | rtc_stats_collector.cc | 525 const auto& transport = transport_from_id->cast_to<RTCTransportStats>(); in ProduceRemoteInboundRtpStreamStatsFromReportBlockData() 543 const auto& codec = codec_from_id->cast_to<RTCCodecStats>(); in ProduceRemoteInboundRtpStreamStatsFromReportBlockData() 924 const auto& outbound_rtp = stats.cast_to<RTCOutboundRTPStreamStats>(); in CreateReportFilteredBySelector() 944 const auto& inbound_rtp = stats.cast_to<RTCInboundRTPStreamStats>(); in CreateReportFilteredBySelector()
|
/external/webrtc/api/stats/ |
D | rtc_stats_report.h | 81 return &stats->cast_to<const T>(); in GetAs() 101 stats_of_type.push_back(&stats.cast_to<const T>()); in GetStatsOfType()
|
D | rtc_stats.h | 86 const T& cast_to() const { in cast_to() function 270 const T& cast_to() const { in cast_to() function
|
/external/Reactive-Extensions/RxCpp/Ix/CPP/src/cpplinq/ |
D | linq.hpp | 209 struct cast_to { struct 308 -> decltype(static_cast<linq_driver*>(0)->select(detail::cast_to<U>())) in cast() 310 return this->select(detail::cast_to<U>()); in cast()
|
/external/webrtc/stats/ |
D | rtc_stats_unittest.cc | 209 sum += *member->cast_to<const RTCStatsMember<int32_t>>(); in TEST() 214 const RTCGrandChildStats& copy = copy_ptr->cast_to<RTCGrandChildStats>(); in TEST() 365 EXPECT_DEATH(stats.cast_to<RTCChildStats>(), ""); in TEST()
|
/external/python/cpython2/Tools/gdb/ |
D | libpython.py | 154 def __init__(self, gdbval, cast_to=None): argument 155 if cast_to: 156 self._gdbval = gdbval.cast(cast_to) 381 return cls(gdbval, cast_to=cls.get_gdb_type()) 838 def __init__(self, gdbval, cast_to=None): argument 839 PyObjectPtr.__init__(self, gdbval, cast_to)
|
/external/webrtc/test/pc/e2e/analyzer/video/ |
D | video_quality_metrics_reporter.cc | 45 report->Get(selected_ice_id)->cast_to<const RTCIceCandidatePairStats>(); in OnStatsReports()
|
/external/python/cpython3/Tools/gdb/ |
D | libpython.py | 189 def __init__(self, gdbval, cast_to=None): argument 190 if cast_to: 191 self._gdbval = gdbval.cast(cast_to) 409 return cls(gdbval, cast_to=cls.get_gdb_type()) 852 def __init__(self, gdbval, cast_to=None): argument 853 PyObjectPtr.__init__(self, gdbval, cast_to)
|