Searched refs:dir (Results 1 – 5 of 5) sorted by relevance
16 let dir = Direction::new(u.0); in test_new_direction() localVariable17 assert!(u.1 == dir, "{}: {}", i, u.0); in test_new_direction()20 let dir = Direction::new(u); in test_new_direction() localVariable21 assert!(dir == Direction::Unspecified); in test_new_direction()
7 source-dir: .
66 pub fn is_matching_direction(&self, dir: RTCRtpTransceiverDirection) -> bool { in is_matching_direction()69 allowed_direction == Inactive && dir == Inactive in is_matching_direction()70 || allowed_direction.has_send() && dir.has_send() in is_matching_direction()71 || allowed_direction.has_recv() && dir.has_recv() in is_matching_direction()
63 --source-dir . \
517 let dir = get_peer_direction(d); in check_negotiation_needed() localVariable518 if dir == RTCRtpTransceiverDirection::Unspecified { in check_negotiation_needed()521 dir in check_negotiation_needed()