/third_party/rust/crates/once_cell/src/ |
H A D | lib.rs | 420 match (self.get_mut(), source.get()) { in clone_from() 474 /// *cell.get_mut().unwrap() = 93; 478 pub fn get_mut(&mut self) -> Option<&mut T> { in get_mut() functions 766 Self::get_mut(this).unwrap_or_else(|| unreachable!()) in force_mut() 795 /// assert_eq!(Lazy::get_mut(&mut lazy), None); 797 /// assert_eq!(Lazy::get_mut(&mut lazy), Some(&mut 92)); 799 pub fn get_mut(this: &mut Lazy<T, F>) -> Option<&mut T> { in get_mut() functions 800 this.cell.get_mut() in get_mut() 814 self.cell.get_mut().unwrap_or_else(|| unreachable!()) in deref_mut() 892 match (self.get_mut(), sourc in clone_from() 984 pub fn get_mut(&mut self) -> Option<&mut T> { get_mut() functions 1327 pub fn get_mut(this: &mut Lazy<T, F>) -> Option<&mut T> { get_mut() functions [all...] |
H A D | imp_cs.rs | 70 pub(crate) fn get_mut(&mut self) -> Option<&mut T> { 71 self.value.get_mut().get_mut()
|
H A D | imp_pl.rs | 109 pub(crate) fn get_mut(&mut self) -> Option<&mut T> {
|
/third_party/rust/crates/cxx/gen/cmd/src/gen/ |
H A D | out.rs | 48 self.content.get_mut().next_section(); in next_section() 52 self.content.get_mut().begin_block(block); in begin_block() 56 self.content.get_mut().end_block(block); in end_block() 60 self.content.get_mut().set_namespace(namespace); in set_namespace() 72 let content = &self.content.get_mut().bytes; in content() 93 self.content.get_mut().flush(); in flush()
|
/third_party/rust/crates/cxx/gen/src/ |
H A D | out.rs | 48 self.content.get_mut().next_section(); in next_section() 52 self.content.get_mut().begin_block(block); in begin_block() 56 self.content.get_mut().end_block(block); in end_block() 60 self.content.get_mut().set_namespace(namespace); in set_namespace() 72 let content = &self.content.get_mut().bytes; in content() 93 self.content.get_mut().flush(); in flush()
|
/third_party/rust/crates/cxx/gen/lib/src/gen/ |
H A D | out.rs | 48 self.content.get_mut().next_section(); in next_section() 52 self.content.get_mut().begin_block(block); in begin_block() 56 self.content.get_mut().end_block(block); in end_block() 60 self.content.get_mut().set_namespace(namespace); in set_namespace() 72 let content = &self.content.get_mut().bytes; in content() 93 self.content.get_mut().flush(); in flush()
|
/third_party/rust/crates/cxx/gen/build/src/gen/ |
H A D | out.rs | 48 self.content.get_mut().next_section(); in next_section() 52 self.content.get_mut().begin_block(block); in begin_block() 56 self.content.get_mut().end_block(block); in end_block() 60 self.content.get_mut().set_namespace(namespace); in set_namespace() 72 let content = &self.content.get_mut().bytes; in content() 93 self.content.get_mut().flush(); in flush()
|
/base/request/request/services/src/service/client/ |
H A D | manager.rs | 92 if let Some((tx, _fd)) = self.clients.get_mut(&pid) { 111 if let Some((tx, _fd)) = self.clients.get_mut(&pid) { 157 if let Some(_client) = self.clients.get_mut(&pid) { in handle_subscribe() 169 if let Some(_client) = self.clients.get_mut(&pid) { in handle_unsubscribe() 191 if let Some((tx, _)) = self.clients.get_mut(&pid) { in handle_process_terminated()
|
/third_party/rust/crates/proc-macro2/src/ |
H A D | rcvec.rs | 46 pub fn get_mut(&mut self) -> Option<RcVecMut<T>> { in get_mut() functions 47 let inner = Rc::get_mut(&mut self.inner)?; in get_mut() 55 let vec = if let Some(owned) = Rc::get_mut(&mut self.inner) { in make_owned()
|
/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/downloader/ |
H A D | operator.rs | 140 let fut = self.get_mut(); in poll() 159 let fut = self.get_mut(); in poll()
|
/third_party/rust/crates/clap/src/parser/ |
H A D | arg_matcher.rs | 100 pub(crate) fn get_mut(&mut self, arg: &Id) -> Option<&mut MatchedArg> { 101 self.matches.args.get_mut(arg) 176 let ma = self.get_mut(arg).expect(INTERNAL_ERROR_MSG); 181 let ma = self.get_mut(arg).expect(INTERNAL_ERROR_MSG);
|
/base/request/request/services/src/task/ |
H A D | upload.rs | 60 .get_mut(index) in poll_read() 120 let optional_file = self.task.files.get_mut(index); in reuse() 241 let Some(file) = self.files.get_mut(index) else {
|
H A D | files.rs | 199 pub(crate) fn get_mut(&self, index: usize) -> Option<&mut AsyncFile> { 200 unsafe { &mut *self.0.get() }.get_mut(index)
|
/third_party/rust/crates/codespan/codespan/src/ |
H A D | file.rs | 75 self.get_mut(file_id).update(source.into()) in update() 86 fn get_mut(&mut self, file_id: FileId) -> &mut File<Source> { in get_mut() functions
|
/third_party/rust/crates/once_cell/tests/ |
H A D | it.rs | 30 assert!(c.get_mut().is_none()); in once_cell_get_mut() 32 *c.get_mut().unwrap() += 2; in once_cell_get_mut() 33 assert_eq!(c.get_mut(), Some(&mut 92)); in once_cell_get_mut() 167 let mut_ref: &mut u32 = Lazy::get_mut(&mut x).unwrap(); in lazy_get_mut() 290 assert!(c.get_mut().is_none()); in once_cell_get_mut() 292 *c.get_mut().unwrap() += 2; in once_cell_get_mut() 293 assert_eq!(c.get_mut(), Some(&mut 92)); in once_cell_get_mut()
|
/base/request/request/services/src/manage/events/ |
H A D | stop.rs | 28 if let Some(count) = self.task_count.get_mut(&uid) {
|
H A D | remove.rs | 28 if let Some(count) = self.task_count.get_mut(&uid) {
|
/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/uploader/ |
H A D | operator.rs | 105 let fut = self.get_mut(); in poll()
|
H A D | mod.rs | 136 let this = self.get_mut(); in poll_read()
|
/third_party/rust/crates/bindgen/bindgen/ir/analysis/ |
H A D | mod.rs | 339 self.reachable.get_mut(&node).unwrap().insert(*sub_node); in constrain() 348 self.reachable.get_mut(&node).unwrap().insert(transitive); in constrain()
|
/third_party/rust/crates/rust-openssl/openssl/src/ssl/test/ |
H A D | mod.rs | 1277 self.incoming.get_mut().extend_from_slice(data); in stateless() 1290 self.incoming.get_mut().clear(); in read() 1368 send(client_stream.get_mut(), server_stream.get_mut()); 1371 send(server_stream.get_mut(), client_stream.get_mut()); 1374 send(client_stream.get_mut(), server_stream.get_mut()); 1378 send(server_stream.get_mut(), client_stream.get_mut()); [all...] |
/base/msdp/device_status/rust/modules/scheduler/sys/src/ |
H A D | scheduler.rs | 306 if let Some(handler) = guard.get_mut(&e.fd) { in wake() 322 if let Some(handler) = guard.get_mut(&fd) { in dispatch_inner()
|
/third_party/rust/crates/rustix/src/path/ |
H A D | dec_int.rs | 101 match self.0.buf.get_mut(self.0.len..self.0.len + s.len()) { in write_str()
|
/base/security/asset/services/core_service/src/operations/ |
H A D | operation_update.rs | 122 let result = results.get_mut(0).unwrap();
|
/third_party/rust/crates/unicode-ident/generate/src/ |
H A D | main.rs | 122 while let Some(next) = halfchunkmap.get_mut(&back).and_then(VecDeque::pop_front) { in main()
|