Home
last modified time | relevance | path

Searched refs:AtomicU8 (Results 1 – 24 of 24) sorted by relevance

/webrtc/ice/src/candidate/
H A Dcandidate_test.rs20 network_type: AtomicU8::new(NetworkType::Tcp4 as u8), in test_candidate_priority()
30 network_type: AtomicU8::new(NetworkType::Tcp4 as u8), in test_candidate_priority()
40 network_type: AtomicU8::new(NetworkType::Tcp4 as u8), in test_candidate_priority()
145 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in test_candidate_foundation()
152 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in test_candidate_foundation()
163 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in test_candidate_foundation()
170 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in test_candidate_foundation()
181 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in test_candidate_foundation()
188 network_type: AtomicU8::new(NetworkType::Udp6 as u8), in test_candidate_foundation()
199 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in test_candidate_foundation()
[all …]
H A Dcandidate_host.rs5 use std::sync::atomic::{AtomicU16, AtomicU8};
33 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in new_candidate_host()
H A Dcandidate_peer_reflexive.rs6 use std::sync::atomic::{AtomicU16, AtomicU8};
35 network_type: AtomicU8::new(network_type as u8), in new_candidate_peer_reflexive()
H A Dcandidate_server_reflexive.rs6 use std::sync::atomic::{AtomicU16, AtomicU8};
34 network_type: AtomicU8::new(network_type as u8), in new_candidate_server_reflexive()
H A Dcandidate_relay.rs7 atomic::{AtomicU16, AtomicU8},
38 network_type: AtomicU8::new(network_type as u8), in new_candidate_relay()
H A Dmod.rs25 use std::sync::atomic::{AtomicBool, AtomicU16, AtomicU8, Ordering};
233 pub(crate) state: AtomicU8, // convert it to CandidatePairState,
243 state: AtomicU8::new(CandidatePairState::Waiting as u8), in default()
295 state: AtomicU8::new(CandidatePairState::Waiting as u8), in new()
H A Dcandidate_base.rs15 atomic::{AtomicU16, AtomicU64, AtomicU8, Ordering},
38 pub(crate) network_type: AtomicU8,
68 network_type: AtomicU8::new(0), in default()
/webrtc/turn/src/client/
H A Dpermission.rs3 use std::sync::atomic::{AtomicU8, Ordering};
24 st: AtomicU8, //PermState,
/webrtc/webrtc/src/track/track_remote/
H A Dmod.rs15 use std::sync::atomic::{AtomicU32, AtomicU8, AtomicUsize, Ordering};
48 payload_type: AtomicU8, //PayloadType,
49 kind: AtomicU8, //RTPCodecType,
95 kind: AtomicU8::new(kind as u8), in new()
/webrtc/webrtc/src/rtp_transceiver/
H A Dmod.rs22 use std::sync::atomic::{AtomicBool, AtomicU8, Ordering};
181 direction: AtomicU8, //RTPTransceiverDirection
182 current_direction: AtomicU8, //RTPTransceiverDirection
212 direction: AtomicU8::new(direction as u8), in new()
213 current_direction: AtomicU8::new(RTCRtpTransceiverDirection::Unspecified as u8), in new()
/webrtc/webrtc/src/data_channel/
H A Dmod.rs18 atomic::{AtomicBool, AtomicU16, AtomicU8, AtomicUsize, Ordering},
65 pub(crate) ready_state: Arc<AtomicU8>, // DataChannelState
112 ready_state: Arc::new(AtomicU8::new(RTCDataChannelState::Connecting as u8)), in new()
302 ready_state: Arc<AtomicU8>, in read_loop() argument
/webrtc/webrtc/src/ice_transport/
H A Dmod.rs3 use std::sync::atomic::{AtomicU8, Ordering};
72 state: Arc<AtomicU8>, // ICETransportState
80 state: Arc::new(AtomicU8::new(RTCIceTransportState::New as u8)), in new()
H A Dice_gatherer.rs21 use std::sync::atomic::{AtomicU8, Ordering};
57 pub(crate) state: Arc<AtomicU8>, //ICEGathererState,
77 state: Arc::new(AtomicU8::new(RTCIceGathererState::New as u8)), in new()
/webrtc/sctp/src/stream/
H A Dstream_test.rs81 Arc::new(AtomicU8::new(AssociationState::Established as u8)), in test_stream()
155 Arc::new(AtomicU8::new(AssociationState::Established as u8)), in test_poll_stream()
H A Dmod.rs18 sync::atomic::{AtomicBool, AtomicU16, AtomicU32, AtomicU8, AtomicUsize, Ordering},
70 pub(crate) state: Arc<AtomicU8>, // clone from association
82 pub(crate) reliability_type: AtomicU8, //ReliabilityType,
119 state: Arc<AtomicU8>, in new() argument
138 reliability_type: AtomicU8::new(0), //ReliabilityType::Reliable, in new()
/webrtc/webrtc/src/sctp_transport/
H A Dmod.rs31 use std::sync::atomic::{AtomicBool, AtomicU32, AtomicU8, Ordering};
68 state: AtomicU8, // RTCSctpTransportState
106 state: AtomicU8::new(RTCSctpTransportState::Connecting as u8), in new()
/webrtc/webrtc/src/peer_connection/
H A Dpeer_connection_internal.rs35 pub(super) negotiation_needed_state: Arc<AtomicU8>,
37 pub(super) signaling_state: Arc<AtomicU8>,
43 pub(super) peer_connection_state: Arc<AtomicU8>,
44 pub(super) ice_connection_state: Arc<AtomicU8>,
87 negotiation_needed_state: Arc::new(AtomicU8::new(NegotiationNeededState::Empty as u8)), in new()
88 signaling_state: Arc::new(AtomicU8::new(RTCSignalingState::Stable as u8)), in new()
91 ice_connection_state: Arc::new(AtomicU8::new(RTCIceConnectionState::New as u8)), in new()
102 peer_connection_state: Arc::new(AtomicU8::new(RTCPeerConnectionState::New as u8)), in new()
H A Dmod.rs83 use std::sync::atomic::{AtomicBool, AtomicU64, AtomicU8, Ordering};
158 peer_connection_state: Arc<AtomicU8>,
159 ice_connection_state: Arc<AtomicU8>,
175 negotiation_needed_state: Arc<AtomicU8>,
177 signaling_state: Arc<AtomicU8>,
609 ice_connection_state: &Arc<AtomicU8>, in do_ice_connection_state_change() argument
863 peer_connection_state: &Arc<AtomicU8>, in update_connection_state() argument
/webrtc/ice/src/agent/
H A Dmod.rs41 use std::sync::atomic::{AtomicU8, AtomicUsize, Ordering};
108 pub(crate) gathering_state: Arc<AtomicU8>, //GatheringState,
202 gathering_state: Arc::new(AtomicU8::new(0)), //GatheringState::New, in new()
H A Dagent_gather.rs34 pub(crate) gathering_state: Arc<AtomicU8>,
179 gathering_state: &Arc<AtomicU8>, in set_gathering_state() argument
H A Dagent_internal.rs49 pub(crate) connection_state: AtomicU8, //ConnectionState,
120 connection_state: AtomicU8::new(ConnectionState::New as u8), in new()
/webrtc/webrtc/src/dtls_transport/
H A Dmod.rs5 use std::sync::atomic::{AtomicBool, AtomicU8, Ordering};
69 pub(crate) state: AtomicU8, //DTLSTransportState,
102 state: AtomicU8::new(RTCDtlsTransportState::New as u8), in new()
/webrtc/sctp/src/association/
H A Dmod.rs47 use std::sync::atomic::{AtomicBool, AtomicU32, AtomicU8, AtomicUsize, Ordering};
201 state: Arc<AtomicU8>,
H A Dassociation_internal.rs14 pub(crate) state: Arc<AtomicU8>,
138 state: Arc::new(AtomicU8::new(AssociationState::Closed as u8)), in new()