Lines Matching refs:STATE
1016 #define STATE(val) GST_WEBRTC_ICE_CONNECTION_STATE_ ## val in _collate_ice_connection_states() macro
1047 if (ice_state != STATE (NEW) && ice_state != STATE (CLOSED)) in _collate_ice_connection_states()
1049 if (ice_state != STATE (COMPLETED) && ice_state != STATE (CLOSED)) in _collate_ice_connection_states()
1051 if (ice_state != STATE (CONNECTED) && ice_state != STATE (COMPLETED) in _collate_ice_connection_states()
1052 && ice_state != STATE (CLOSED)) in _collate_ice_connection_states()
1060 return STATE (CLOSED); in _collate_ice_connection_states()
1063 if (any_state & (1 << STATE (FAILED))) { in _collate_ice_connection_states()
1065 return STATE (FAILED); in _collate_ice_connection_states()
1068 if (any_state & (1 << STATE (DISCONNECTED))) { in _collate_ice_connection_states()
1070 return STATE (DISCONNECTED); in _collate_ice_connection_states()
1076 return STATE (NEW); in _collate_ice_connection_states()
1079 if ((any_state & (1 << STATE (CHECKING))) || (any_state & (1 << STATE (NEW)))) { in _collate_ice_connection_states()
1081 return STATE (CHECKING); in _collate_ice_connection_states()
1086 return STATE (COMPLETED); in _collate_ice_connection_states()
1091 return STATE (CONNECTED); in _collate_ice_connection_states()
1096 #undef STATE in _collate_ice_connection_states()
1103 #define STATE(val) GST_WEBRTC_ICE_GATHERING_STATE_ ## val in _collate_ice_gathering_states() macro
1143 if (ice_state != STATE (COMPLETE)) in _collate_ice_gathering_states()
1156 if (ice_state != STATE (COMPLETE)) in _collate_ice_gathering_states()
1164 if (any_state & (1 << STATE (GATHERING))) { in _collate_ice_gathering_states()
1166 return STATE (GATHERING); in _collate_ice_gathering_states()
1172 return STATE (COMPLETE); in _collate_ice_gathering_states()
1178 return STATE (NEW); in _collate_ice_gathering_states()
1179 #undef STATE in _collate_ice_gathering_states()
1186 #define STATE(v) GST_WEBRTC_PEER_CONNECTION_STATE_ ## v in _collate_peer_connection_states() macro
1285 return STATE (CLOSED); in _collate_peer_connection_states()
1291 return STATE (FAILED); in _collate_peer_connection_states()
1295 return STATE (FAILED); in _collate_peer_connection_states()
1302 return STATE (DISCONNECTED); in _collate_peer_connection_states()
1310 return STATE (NEW); in _collate_peer_connection_states()
1317 return STATE (CONNECTING); in _collate_peer_connection_states()
1325 return STATE (CONNECTED); in _collate_peer_connection_states()
1334 return STATE (CONNECTING); in _collate_peer_connection_states()
1342 #undef STATE in _collate_peer_connection_states()