Home
last modified time | relevance | path

Searched refs:is_empty (Results 1 – 25 of 119) sorted by relevance

12345

/webrtc/util/src/marshal/
H A Dexact_size_buf.rs20 fn is_empty(&self) -> bool { in is_empty() method
32 fn is_empty(&self) -> bool { in is_empty() method
33 Bytes::is_empty(self) in is_empty()
44 fn is_empty(&self) -> bool { in is_empty() method
45 BytesMut::is_empty(self) in is_empty()
56 fn is_empty(&self) -> bool { in is_empty() method
57 <[u8]>::is_empty(self) in is_empty()
73 fn is_empty(&self) -> bool { in is_empty() function
77 first_ref.is_empty() && last_ref.is_empty() in is_empty()
92 fn is_empty(&self) -> bool { in is_empty() function
[all …]
/webrtc/dtls/src/handshake/
H A Dhandshake_message_client_key_exchange.rs21 if !self.public_key.is_empty() { in size()
29 if (!self.identity_hint.is_empty() && !self.public_key.is_empty()) in marshal()
30 || (self.identity_hint.is_empty() && self.public_key.is_empty()) in marshal()
35 if !self.public_key.is_empty() { in marshal()
/webrtc/rtp/src/codecs/vp8/
H A Dvp8_test.rs25 assert!(!payload.is_empty(), "Payload must be not empty"); in test_vp8_unmarshal()
30 assert!(!payload.is_empty(), "Payload must be not empty"); in test_vp8_unmarshal()
40 assert!(!payload.is_empty(), "Payload must be not empty"); in test_vp8_unmarshal()
50 assert!(!payload.is_empty(), "Payload must be not empty"); in test_vp8_unmarshal()
60 assert!(!payload.is_empty(), "Payload must be not empty"); in test_vp8_unmarshal()
70 assert!(!payload.is_empty(), "Payload must be not empty"); in test_vp8_unmarshal()
82 assert!(!payload.is_empty(), "Payload must be not empty"); in test_vp8_unmarshal()
94 assert!(!payload.is_empty(), "Payload must be not empty"); in test_vp8_unmarshal()
185 assert!(result.is_empty(), "Generated payload should be empty"); in test_vp8_payload_eror()
/webrtc/constraints/src/
H A Dconstraint.rs217 pub fn is_empty(&self) -> bool { in is_empty() method
222 Self::Bool(constraint) => constraint.is_empty(), in is_empty()
224 Self::String(constraint) => constraint.is_empty(), in is_empty()
379 pub fn is_empty(&self) -> bool { in is_empty() method
384 Self::Bool(constraint) => constraint.is_empty(), in is_empty()
386 Self::String(constraint) => constraint.is_empty(), in is_empty()
419 if self.is_empty() { in into_sanitized()
472 let actual = subject.is_empty(); in default()
583 fn is_empty() { in is_empty() function
586 assert!(empty_subject.is_empty()); in is_empty()
[all …]
/webrtc/webrtc/src/api/setting_engine/
H A Dsetting_engine_test.rs58 s.candidates.nat_1to1_ips.is_empty(), in test_set_nat_1to1_ips()
173 assert!(negotiated_video_codecs.is_empty()); in test_setting_engine_set_disable_media_engine_copy()
185 assert!(!negotiated_video_codecs.is_empty()); in test_setting_engine_set_disable_media_engine_copy()
201 assert!(!negotiated_video_codecs.is_empty()); in test_setting_engine_set_disable_media_engine_copy()
216 assert!(negotiated_video_codecs.is_empty()); in test_setting_engine_set_disable_media_engine_copy()
247 assert!(!negotiated_video_codecs.is_empty()); in test_setting_engine_set_disable_media_engine_copy()
263 assert!(!negotiated_video_codecs.is_empty()); in test_setting_engine_set_disable_media_engine_copy()
/webrtc/constraints/src/constraint/
H A Dvalue_sequence.rs90 pub fn is_empty(&self) -> bool { in is_empty() method
92 Self::Bare(bare) => bare.is_empty(), in is_empty()
93 Self::Constraint(constraint) => constraint.is_empty(), in is_empty()
166 pub fn is_empty(&self) -> bool { in is_empty() method
167 let exact_is_empty = self.exact.as_ref().map_or(true, Vec::is_empty); in is_empty()
168 let ideal_is_empty = self.ideal.as_ref().map_or(true, Vec::is_empty); in is_empty()
283 mod is_empty { module
290 assert!(!constraint.is_empty()); in bare()
316 let actual = constraint.is_empty(); in constraint()
H A Dvalue.rs84 pub fn is_empty(&self) -> bool { in is_empty() method
87 Self::Constraint(constraint) => constraint.is_empty(), in is_empty()
160 pub fn is_empty(&self) -> bool { in is_empty() method
266 mod is_empty { module
273 assert!(!constraint.is_empty()); in bare()
291 let actual = constraint.is_empty(); in constraint()
H A Dvalue_range.rs86 pub fn is_empty(&self) -> bool { in is_empty() method
89 Self::Constraint(constraint) => constraint.is_empty(), in is_empty()
192 pub fn is_empty(&self) -> bool { in is_empty() method
322 mod is_empty { module
329 assert!(!constraint.is_empty()); in bare()
358 let actual = constraint.is_empty(); in constraint()
/webrtc/sdp/src/util/
H A Dmod.rs189 if saved_codec.name.is_empty() { in merge_codecs()
195 if saved_codec.encoding_parameters.is_empty() { in merge_codecs()
198 if saved_codec.fmtp.is_empty() { in merge_codecs()
230 if !wanted.name.is_empty() && wanted.name.to_lowercase() != got.name.to_lowercase() { in codecs_match()
236 if !wanted.encoding_parameters.is_empty() in codecs_match()
241 if !wanted.fmtp.is_empty() && !equivalent_fmtp(&wanted.fmtp, &got.fmtp) { in codecs_match()
/webrtc/rtp/src/codecs/opus/
H A Dmod.rs16 if payload.is_empty() || mtu == 0 { in payload()
34 if packet.is_empty() { in depacketize()
/webrtc/interceptor/src/
H A Dregistry.rs26 if self.builders.is_empty() { in build()
36 if self.builders.is_empty() { in build_chain()
/webrtc/ice/src/external_ip_mapper/
H A Dmod.rs26 if self.ip_sole.is_some() || !self.ip_map.is_empty() { in set_sole_ip()
73 if ips.is_empty() { in new()
92 if ip_pair.is_empty() || ip_pair.len() > 2 { in new()
/webrtc/rtcp/src/compound_packet/
H A Dmod.rs45 if self.0.is_empty() { in destination_ssrc()
121 if self.0.is_empty() { in validate()
171 if self.0.is_empty() { in cname()
/webrtc/interceptor/src/nack/
H A Dmod.rs10 if fb.typ == "nack" && fb.parameter.is_empty() { in stream_support_nack()
/webrtc/sctp/src/queue/
H A Dreassembly_queue.rs241 if !self.unordered.is_empty() { in is_readable()
247 if !self.ordered.is_empty() { in is_readable()
258 let cset = if !self.unordered.is_empty() { in read()
260 } else if !self.ordered.is_empty() { in read()
H A Dpayload_queue.rs37 if self.sorted.is_empty() || sna32gt(tsn, *self.sorted.back().unwrap()) { in push_no_check()
103 if self.chunk_map.is_empty() { in get_gap_ack_blocks()
179 pub(crate) fn is_empty(&self) -> bool { in is_empty() method
/webrtc/webrtc/src/api/
H A Dapi_test.rs20 !api.media_engine.audio_codecs.is_empty(), in test_new_api()
/webrtc/rtp/src/codecs/h264/
H A Dh264_test.rs27 assert!(result.is_empty(), "Generated payload should be empty"); in test_h264_payload()
254 assert!(res.is_empty(), "Generated payload should be empty"); in test_h264_payloader_payload_sps_and_pps_handling()
257 assert!(res.is_empty(), "Generated payload should be empty"); in test_h264_payloader_payload_sps_and_pps_handling()
/webrtc/dtls/src/
H A Dconfig.rs162 if !is_client && config.psk.is_none() && config.certificates.is_empty() { in validate_config()
166 if !config.certificates.is_empty() && config.psk.is_some() { in validate_config()
/webrtc/webrtc/src/ice_transport/
H A Dice_server.rs32 if self.username.is_empty() || self.credential.is_empty() { in urls()
/webrtc/webrtc/src/peer_connection/sdp/
H A Dmod.rs213 if !rids.is_empty() && !track_id.is_empty() && !stream_id.is_empty() { in track_details_from_sdp()
375 if !parsed.media_descriptions.is_empty() { in populate_local_candidates()
413 if media_section.transceivers.is_empty() { in add_transceiver_sdp()
462 if codecs.is_empty() { in add_transceiver_sdp()
515 if !media_section.rid_map.is_empty() { in add_transceiver_sdp()
669 if m.data && !m.transceivers.is_empty() { in populate_sdp()
763 if fingerprints.is_empty() { in extract_fingerprint()
814 if remote_ufrags.is_empty() { in extract_ice_details()
816 } else if remote_pwds.is_empty() { in extract_ice_details()
/webrtc/turn/src/relay/
H A Drelay_none.rs18 if self.address.is_empty() { in validate()
H A Drelay_static.rs24 if self.address.is_empty() { in validate()
/webrtc/turn/src/server/
H A Dconfig.rs48 if self.conn_configs.is_empty() { in validate()
/webrtc/webrtc/src/mux/
H A Dmux_func.rs12 if buf.is_empty() { in match_range()

12345