Home
last modified time | relevance | path

Searched refs:get_mut (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/Bluetooth/tools/rootcanal/rust/src/
Dffi.rs240 let ll = Rc::get_mut(&mut ll).unwrap();
257 let ll = Rc::get_mut(&mut ll).unwrap(); in link_layer_remove_link()
270 let ll = Rc::get_mut(&mut ll).unwrap(); in link_layer_tick()
291 let ll = Rc::get_mut(&mut ll).unwrap(); in link_layer_ingest_hci()
320 let ll = Rc::get_mut(&mut ll).unwrap(); in link_layer_ingest_llcp()
349 let ll = Rc::get_mut(&mut ll).unwrap(); in link_layer_get_cis_connection_handle()
378 let ll = Rc::get_mut(&mut ll).unwrap(); in link_layer_get_cis_information()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dcallbacks.rs64 match self.callbacks.get_mut(&id) { in remove_callback()
84 self.callbacks.get_mut(&id) in get_by_id_mut()
Dbluetooth_adv.rs633 self.sets.get_mut(&reg_id) in get_mut_by_reg_id()
1214 let s = if let Some(s) = self.sets.get_mut(&reg_id) { in on_advertising_set_started()
1520 let Some(info) = adv_info.get_mut(id) else { in refresh_queue()
1784 let Some(info) = self.adv_info.get_mut(&adv_id) else { in enable_advertising_set()
1821 let Some(info) = self.adv_info.get_mut(&adv_id) else { in set_advertising_data()
1846 let Some(info) = self.adv_info.get_mut(&adv_id) else { in set_raw_adv_data()
1871 let Some(info) = self.adv_info.get_mut(&adv_id) else { in set_scan_response_data()
1896 let Some(info) = self.adv_info.get_mut(&adv_id) else { in set_advertising_parameters()
1981 if let Some(info) = self.adv_info.get_mut(&reg_id) { in on_advertising_set_started()
Dbattery_provider_manager.rs88 if let Some(batteries) = self.battery_info.get_mut(&address) { in remove_battery_info()
Dbluetooth_media.rs624 match self.le_audio_groups.get_mut(&group_id) { in remove_device_from_group()
1568 if let Some(uhid) = self.uhid.get_mut(&addr) { in dispatch_hfp_callbacks()
1650 if let Some(cur_hfp_cap) = self.hfp_cap.get_mut(&addr) { in dispatch_hfp_callbacks()
1666 if let Some(cur_hfp_cap) = self.hfp_cap.get_mut(&addr) { in dispatch_hfp_callbacks()
1911 if let Some(uhid) = self.uhid.get_mut(addr) { in uhid_destroy()
1932 if let Some(uhid) = self.uhid.get_mut(addr) { in uhid_send_input_event_report()
2016 let uhid = match self.uhid.get_mut(&addr) { in dispatch_uhid_hfp_output_callback()
2058 let uhid = match self.uhid.get_mut(&addr) { in dispatch_uhid_telephony_use_callback()
Dbluetooth.rs904 let Some(remote_device) = self.remote_devices.get_mut(&device.address) else { in set_remote_device_property()
2830 if let Some(d) = self.remote_devices.get_mut(&addr) { in connect_all_enabled_profiles()
/packages/modules/Virtualization/zipfuse/src/
Dinode.rs139 fn get_mut(&mut self, inode: Inode) -> Option<&mut InodeData> { in get_mut() method
142 _ => self.table.get_mut(inode as usize), in get_mut()
172 self.get_mut(parent).unwrap().add_to_directory(name, DirectoryEntry { inode, kind }); in add()
224 let inode = table.get_mut(parent).unwrap(); in from_zip()
Dmain.rs261 if let Some(file) = open_files.get_mut(&handle) { in open()
313 if let Some(file) = open_files.get_mut(&handle) { in release()
368 if let Some(odb) = open_dirs.get_mut(&handle) { in opendir()
395 if let Some(odb) = open_dirs.get_mut(&handle) { in releasedir()
/packages/modules/Virtualization/authfs/src/
Dfusefs.rs259 let inode_table = self.inode_table.get_mut().unwrap(); in add_entry_at_ro_dir_by_path()
262 .get_mut(&current_dir_inode) in add_entry_at_ro_dir_by_path()
295 let inode_table = self.inode_table.get_mut().unwrap(); in add_entry_at_ro_dir_by_path()
296 let inode_state = inode_table.get_mut(&parent_inode).expect("previously returned inode"); in add_entry_at_ro_dir_by_path()
576 let current = handle_ref_count.get_mut(); in forget()
1045 if let Some(inode_state) = inode_table.get_mut(inode) { in handle_inode_mut_locked()
/packages/modules/DnsResolver/doh/tests/doh_frontend/src/
Dclient.rs316 pub fn get_mut(&mut self, id: &[u8]) -> Option<&mut Client> { in get_mut() method
317 self.clients.get_mut(id) in get_mut()
Ddns_https_frontend.rs385 if let Some(client) = clients.get_mut(&connection_id) { in worker_thread()
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/
Dmigrate.rs498 match map.get_mut(k.as_str()) { in convert_from_bluez_device()
551 adapter_conf_map.get_mut(adapter_addr).unwrap_or(&mut Ini::new_cs()), in migrate_bluez_devices()
562 adapter_conf_map.get_mut(adapter_addr).unwrap_or(&mut Ini::new_cs()), in migrate_bluez_devices()
829 match info_map.get_mut(k.as_str()) { in convert_floss_conf()
846 match hid_map.get_mut(k.as_str()) { in convert_floss_conf()
Dconfig_util.rs116 match o.get_mut(hci_str.clone()) { in modify_hci_n_enabled_internal()
Dstate_machine.rs332 match fd_ready.try_io(|inner| inner.get_mut().read_events(&mut buffer)) { in configure_pid()
411 sock.get_mut().write_mgmt_packet(command.into()); in configure_hci()
421 let result = guard.try_io(|sock| Ok(sock.get_mut().read_mgmt_packet())); in configure_hci()
/packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/src/
Dlib.rs97 (*self.callbacks.lock().unwrap().get_mut(&address).unwrap()).insert(id, callback); in add()
154 let _ = callbacks.get_mut(&address).and_then(|m| m.remove(&target_id)); in remove()
/packages/modules/Bluetooth/floss/hcidoc/src/groups/
Dinformational.rs507 return self.devices.get_mut(address).unwrap(); in get_or_allocate_device()
517 return self.unknown_connections.get_mut(handle).unwrap(); in get_or_allocate_unknown_connection()
569 let device = self.devices.get_mut(address).unwrap(); in report_sco_connection_start()
607 let device = self.devices.get_mut(address).unwrap(); in report_connection_end()
Dconnections.rs383 if let Some(nocp_data) = self.nocp_by_handle.get_mut(&handle) { in process_disconn_complete_ev()
523 if let Some(nocp_data) = self.nocp_by_handle.get_mut(&handle) { in process_acl_tx()
537 if let Some(nocp_data) = self.nocp_by_handle.get_mut(&handle) { in process_nocp()
/packages/modules/Virtualization/apkdmverity/src/
Dmain.rs257 if let Some(byte) = modified_apk.get_mut(100) { in incorrect_apk()
280 if let Some(byte) = modified_idsig.get_mut(offset + 10) { in incorrect_merkle_tree()
/packages/modules/Bluetooth/tools/rootcanal/rust/src/llcp/
Diso.rs408 let cis = self.cis_connections.get_mut(&request.cis_connection_handle).unwrap(); in deque_cis_connection_request()
926 let cis = self.cis_connections.get_mut(&connection_handle).unwrap(); in hci_le_accept_cis_request()
1046 let Some(cis) = self.cis_connections.get_mut(&connection_handle) else { in hci_le_setup_iso_data_path()
1128 let Some(cis) = self.cis_connections.get_mut(&connection_handle) else { in hci_le_remove_iso_data_path()
1323 let cis = self.cis_connections.get_mut(&cis_connection_handle).unwrap(); in ll_reject_ext_ind()
/packages/modules/DnsResolver/doh/dispatcher/
Ddriver.rs93 if let Some(network) = self.networks.get_mut(&net_id) { in query()
/packages/modules/DnsResolver/doh/connection/
Ddriver.rs439 if let Some(stream) = self.streams.get_mut(&stream_id) { in recv_body()
530 if let Some(stream) = self.streams.get_mut(&stream_id) { in process_h3_event()
/packages/modules/Virtualization/pvmfw/src/
Dconfig.rs233 rest.get_mut(..rest_size).ok_or(Error::InvalidSize(total_size))? in new()
/packages/modules/Bluetooth/system/rust/src/gatt/server/services/
Dgatt.rs96 let state = clients.get_mut(&tcb_idx); in write()
/packages/modules/Virtualization/authfs/fd_server/src/
Daidl.rs101 let fd_config = fd_pool.get_mut(&fd).ok_or_else(|| new_errno_error(Errno::EBADF))?; in insert_new_fd()
/packages/modules/Virtualization/libs/libfdt/src/
Dlibfdt.rs525 s.get_mut(offset..offset.checked_add(len)?) in get_mut_slice_at_ptr()

12