Home
last modified time | relevance | path

Searched refs:item (Results 1 – 4 of 4) sorted by relevance

/webrtc/util/src/ifaces/ffi/unix/
H A Dmod.rs142 let mut item: *mut ifaddrs = ifaddrs_ptr; in ifaces() localVariable
144 if item.is_null() { in ifaces()
148 unsafe { CStr::from_ptr((*item).ifa_name) } in ifaces()
153 if name.is_err() || (*item).ifa_addr.is_null() { in ifaces()
154 item = (*item).ifa_next; in ifaces()
158 let kind = match unsafe { (*(*item).ifa_addr).sa_family as i32 } { in ifaces()
166 item = unsafe { (*item).ifa_next }; in ifaces()
170 let addr = nix_socketaddr_to_sockaddr(unsafe { (*item).ifa_addr }); in ifaces()
176 nix_socketaddr_to_sockaddr((*item).ifa_ifu.ifu_broadaddr()) in ifaces()
179 nix_socketaddr_to_sockaddr((*item).ifa_ifu.ifu_dstaddr()) in ifaces()
[all …]
/webrtc/dtls/src/handshake/
H A Dhandshake_cache.rs78 let mut item: Option<HandshakeCacheItem> = None; in pull() localVariable
81 if let Some(x) = &item { in pull()
83 item = Some(c.clone()); in pull()
86 item = Some(c.clone()); in pull()
91 if let Some(c) = item { in pull()
109 let mut item: Option<HandshakeCacheItem> = None; in full_pull_map() localVariable
112 if let Some(x) = &item { in full_pull_map()
114 item = Some(c.clone()); in full_pull_map()
117 item = Some(c.clone()); in full_pull_map()
121 if !r.optional && item.is_none() { in full_pull_map()
[all …]
/webrtc/rtcp/src/source_description/
H A Dmod.rs154 let item = SourceDescriptionItem::unmarshal(raw_packet)?; in unmarshal() localVariable
155 if item.sdes_type == SdesType::SdesEnd { in unmarshal()
165 offset += item.marshal_size(); in unmarshal()
166 items.push(item); in unmarshal()
/webrtc/media/src/io/sample_builder/
H A Dsample_builder_test.rs7 ($($item:expr),*) => ({
8 static STATIC_SLICE: &'static [u8] = &[$($item), *];