Home
last modified time | relevance | path

Searched refs:insert (Results 1 – 25 of 69) sorted by relevance

123

/webrtc/util/src/vnet/conn_map/
H A Dconn_map_test.rs38 conn_map.insert(Arc::clone(&conn_in)).await?; in test_udp_conn_map_insert_remove()
77 conn_map.insert(Arc::clone(&conn_in)).await?; in test_udp_conn_map_insert_0_remove()
116 conn_map.insert(Arc::clone(&conn_in)).await?; in test_udp_conn_map_find_0()
151 conn_map.insert(Arc::clone(&conn_in1)).await?; in test_udp_conn_map_insert_many_ips_with_same_port()
152 conn_map.insert(Arc::clone(&conn_in2)).await?; in test_udp_conn_map_insert_many_ips_with_same_port()
197 conn_map.insert(Arc::clone(&conn_in1)).await?; in test_udp_conn_map_already_inuse_when_insert_0()
222 conn_map.insert(Arc::clone(&conn_in1)).await?; in test_udp_conn_map_already_inuse_when_insert_a_specified_ip()
247 conn_map.insert(Arc::clone(&conn_in1)).await?; in test_udp_conn_map_already_inuse_when_insert_same_specified_ip()
267 conn_map.insert(Arc::clone(&conn_in)).await?; in test_udp_conn_map_find_failure_1()
289 conn_map.insert(Arc::clone(&conn_in)).await?; in test_udp_conn_map_find_failure_2()
[all …]
/webrtc/webrtc/src/stats/
H A Dstats_collector.rs19 pub(crate) fn insert(&self, id: String, stats: StatsReportType) { in insert() method
21 reports.insert(id, stats); in insert()
/webrtc/util/src/vnet/
H A Dconn_map.rs27 pub(crate) async fn insert(&self, conn: Arc<UdpConn>) -> Result<()> { in insert() method
47 port_map.insert(addr.port(), vec![conn]); in insert()
105 port_map.insert(addr.port(), new_conns); in delete()
H A Dnat.rs210 filters.insert(filter_key); in translate_outbound()
240 outbound_map.insert(o_key.clone(), Arc::new(m.clone())); in translate_outbound()
260 filters.insert(filter_key); in translate_outbound()
266 inbound_map.insert(i_key, Arc::new(m)); in translate_outbound()
H A Dresolver.rs42 self.hosts.insert(name, ip); in add_host()
/webrtc/turn/src/client/
H A Dpermission.rs50 pub(crate) fn insert(&mut self, addr: &SocketAddr, p: Arc<Permission>) { in insert() method
51 self.perm_map.insert(addr.ip().to_string(), p); in insert()
H A Dbinding.rs86 self.chan_map.insert(b.number, b.addr.to_string()); in create()
87 self.addr_map.insert(b.addr.to_string(), b); in create()
H A Dtransaction.rs248 pub fn insert(&mut self, key: String, tr: Transaction) -> bool { in insert() method
249 self.tr_map.insert(key, tr); in insert()
/webrtc/turn/src/allocation/
H A Dallocation_manager.rs60 infos.insert( in get_allocations_info()
119 allocations.insert(five_tuple, Arc::clone(&a)); in create_allocation()
182 reservations.insert(reservation_token, port); in create_reservation()
/webrtc/constraints/src/algorithms/fitness_distance/
H A Dsettings.rs36 setting_errors.insert(property, error); in fitness_distance()
/webrtc/constraints/src/
H A Dsupported_constraints.rs138 set.insert(key); in visit_map()
194 subject.insert(DEVICE_ID.clone()); in deref_and_deref_mut()
/webrtc/webrtc/src/rtp_transceiver/fmtp/
H A Dmod.rs46 parameters.insert(key, value); in parse()
/webrtc/stun/src/
H A Dclient.rs249 fn insert(&mut self, ct: ClientTransaction) -> Result<()> { in insert() method
296 t.insert(ct.id, ct); in start()
326 t.insert(ct.id, ct); in start()
447 self.insert(t)?; in send()
/webrtc/sctp/src/queue/
H A Dpayload_queue.rs34 self.chunk_map.insert(tsn, p); in push_no_check()
56 self.sorted.insert(pos, tsn); in push_no_check()
/webrtc/dtls/src/handshake/
H A Dhandshake_cache.rs127 ci.insert(r.typ, c); in full_pull_map()
145 out.insert(t, raw_handshake.handshake_message); in full_pull_map()
/webrtc/webrtc/src/peer_connection/policy/
H A Dsdp_semantics.rs100 ssrcs.insert(*ssrc); in extract_ssrc_list()
/webrtc/rtp/src/packet/
H A Dpacket_test.rs1143 cases.insert( in test_unmarshal_error_handling()
1154 cases.insert( in test_unmarshal_error_handling()
1165 cases.insert( in test_unmarshal_error_handling()
1176 cases.insert( in test_unmarshal_error_handling()
1188 cases.insert( in test_unmarshal_error_handling()
/webrtc/examples/examples/rtp-forwarder/
H A Drtp-forwarder.rs150 udp_conns.insert( in main()
161 udp_conns.insert( in main()
/webrtc/interceptor/src/twcc/sender/
H A Dmod.rs102 streams.insert(info.ssrc, Arc::clone(&stream)); in bind_local_stream()
/webrtc/webrtc/src/sctp_transport/
H A Dmod.rs387 reports.insert(peer_connection_id, PeerConnection(peer_connection_stats)); in collect_stats()
392 reports.insert(stats.id.clone(), SCTPTransport(stats)); in collect_stats()
412 ids_map.insert(dc.id()); in generate_and_set_data_channel_id()
/webrtc/webrtc/src/ice_transport/
H A Dice_gatherer.rs296 reports.insert(stats.id.clone(), StatsReportType::CandidatePair(stats)); in collect_stats()
300 reports.insert( in collect_stats()
307 reports.insert( in collect_stats()
/webrtc/srtp/src/session/
H A Dmod.rs196 streams.insert(ssrc, Arc::clone(&stream)); in get_or_create_stream()
270 ssrc_set.insert(ssrc); in destination_ssrc()
/webrtc/dtls/examples/hub/src/
H A Dlib.rs36 conns.insert(remote_addr.to_string(), Arc::clone(&conn)); in register()
/webrtc/webrtc/src/api/media_engine/
H A Dmod.rs466 reports.insert(codec.stats_id.clone(), Codec(CodecStats::from(codec))); in collect_stats()
470 reports.insert(codec.stats_id.clone(), Codec(CodecStats::from(codec))); in collect_stats()
571 negotiated_header_extensions.insert(id, h); in update_header_extension()
741 proposed_header_extensions.insert( in get_rtp_parameters_by_kind()
/webrtc/turn/src/server/request/
H A Drequest_test.rs79 nonces.insert(STATIC_KEY.to_owned(), Instant::now()); in test_allocation_lifetime_deletion_zero_lifetime()

123