Lines Matching refs:cast_to
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()
386 VerifyRTCMediaStreamStats(stats.cast_to<RTCMediaStreamStats>()); in VerifyReport()
389 stats.cast_to<RTCMediaStreamTrackStats>()); in VerifyReport()
392 stats.cast_to<RTCPeerConnectionStats>()); in VerifyReport()
395 stats.cast_to<RTCInboundRTPStreamStats>()); in VerifyReport()
398 stats.cast_to<RTCOutboundRTPStreamStats>()); in VerifyReport()
401 stats.cast_to<RTCRemoteInboundRtpStreamStats>()); in VerifyReport()
407 VerifyRTCAudioSourceStats(stats.cast_to<RTCAudioSourceStats>()); in VerifyReport()
413 VerifyRTCVideoSourceStats(stats.cast_to<RTCVideoSourceStats>()); in VerifyReport()
416 VerifyRTCTransportStats(stats.cast_to<RTCTransportStats>()); in VerifyReport()
1232 const auto& id = member->cast_to<const RTCStatsMember<std::string>>(); in TEST_F()
1238 member->cast_to<const RTCStatsMember<std::vector<std::string>>>(); in TEST_F()