/third_party/rust/crates/once_cell/src/ |
D | lib.rs | 420 match (self.get_mut(), source.get()) { in clone_from() 478 pub fn get_mut(&mut self) -> Option<&mut T> { in get_mut() method 766 Self::get_mut(this).unwrap_or_else(|| unreachable!()) in force_mut() 799 pub fn get_mut(this: &mut Lazy<T, F>) -> Option<&mut T> { in get_mut() method 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(), source.get()) { in clone_from() 984 pub fn get_mut(&mut self) -> Option<&mut T> { in get_mut() method 985 self.0.get_mut() in get_mut() 1294 Self::get_mut(this).unwrap_or_else(|| unreachable!()) in force_mut() [all …]
|
D | imp_cs.rs | 70 pub(crate) fn get_mut(&mut self) -> Option<&mut T> { in get_mut() method 71 self.value.get_mut().get_mut() in get_mut()
|
D | imp_pl.rs | 109 pub(crate) fn get_mut(&mut self) -> Option<&mut T> { in get_mut() method
|
/third_party/rust/crates/cxx/gen/src/ |
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/tracing/tracing-subscriber/src/registry/ |
D | extensions.rs | 99 pub fn get_mut<T: 'static>(&mut self) -> Option<&mut T> { in get_mut() method 100 self.inner.get_mut::<T>() in get_mut() 158 pub(crate) fn get_mut<T: 'static>(&mut self) -> Option<&mut T> { in get_mut() method 160 .get_mut(&TypeId::of::<T>()) in get_mut() 214 assert_eq!(extensions.get_mut(), Some(&mut 5i32)); in test_extensions()
|
D | sharded.rs | 263 let refs = data.ref_count.get_mut(); in new_span() 521 .get_mut() in clear()
|
/third_party/rust/crates/proc-macro2/src/ |
D | rcvec.rs | 45 pub fn get_mut(&mut self) -> Option<RcVecMut<T>> { in get_mut() method 46 let inner = Rc::get_mut(&mut self.inner)?; in get_mut() 54 let vec = if let Some(owned) = Rc::get_mut(&mut self.inner) { in make_owned()
|
/third_party/rust/crates/tracing/tracing-subscriber/src/ |
D | sync.rs | 37 pub(crate) fn get_mut(&mut self) -> LockResult<&mut T> { in get_mut() method 38 Ok(self.inner.get_mut()) in get_mut()
|
/third_party/rust/crates/clap/src/parser/ |
D | arg_matcher.rs | 100 pub(crate) fn get_mut(&mut self, arg: &Id) -> Option<&mut MatchedArg> { in get_mut() method 101 self.matches.args.get_mut(arg) in get_mut() 176 let ma = self.get_mut(arg).expect(INTERNAL_ERROR_MSG); in add_val_to() 181 let ma = self.get_mut(arg).expect(INTERNAL_ERROR_MSG); in add_index_to()
|
/third_party/rust/crates/tracing/tracing-appender/src/ |
D | sync.rs | 35 pub(crate) fn get_mut(&mut self) -> &mut T { in get_mut() method 36 self.inner.get_mut().unwrap_or_else(PoisonError::into_inner) in get_mut()
|
/third_party/rust/crates/tracing/tracing-opentelemetry/src/ |
D | layer.rs | 593 .get_mut::<OtelData>() in parent_context() 602 .get_mut::<OtelData>() in parent_context() 628 if let Some(builder) = extensions.get_mut::<OtelData>() { in get_context() 671 if self.tracked_inactivity && extensions.get_mut::<Timings>().is_none() { in on_new_span() 734 if let Some(timings) = extensions.get_mut::<Timings>() { in on_enter() 749 if let Some(timings) = extensions.get_mut::<Timings>() { in on_exit() 762 if let Some(data) = extensions.get_mut::<OtelData>() { in on_record() 774 .get_mut::<OtelData>() in on_follows_from() 782 .get_mut::<OtelData>() in on_follows_from() 833 .get_mut::<OtelData>() in on_event() [all …]
|
/third_party/rust/crates/once_cell/tests/ |
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()
|
/third_party/rust/crates/rust-openssl/openssl/src/ssl/test/ |
D | mod.rs | 1203 self.incoming.get_mut().extend_from_slice(data); in stateless() 1216 self.incoming.get_mut().clear(); in stateless() 1294 send(client_stream.get_mut(), server_stream.get_mut()); in stateless() 1297 send(server_stream.get_mut(), client_stream.get_mut()); in stateless() 1300 send(client_stream.get_mut(), server_stream.get_mut()); in stateless() 1304 send(server_stream.get_mut(), client_stream.get_mut()); in stateless() 1307 send(client_stream.get_mut(), server_stream.get_mut()); in stateless()
|
/third_party/rust/crates/tracing/tracing-log/src/ |
D | trace_logger.rs | 259 if let Some(span) = spans.get_mut(span) { in record() 395 if let Some(span) = spans.get_mut(id) { in clone_span() 411 spans.get_mut(&id).unwrap().ref_count -= 1; in try_close()
|
/third_party/rust/crates/bindgen/bindgen/ir/analysis/ |
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/signal-hook/signal-hook-registry/src/ |
D | lib.rs | 588 assert!(occupied.get_mut().actions.insert(id, action).is_none()); in register_unchecked_impl() 643 if let Some(slot) = sigdata.signals.get_mut(&id.signal) { in unregister() 665 if let Some(slot) = sigdata.signals.get_mut(&signal) { in unregister_signal()
|
/third_party/rust/crates/codespan/codespan/src/ |
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() function
|
/third_party/rust/crates/rustix/src/path/ |
D | dec_int.rs | 101 match self.0.buf.get_mut(self.0.len..self.0.len + s.len()) { in write_str()
|
/third_party/rust/crates/tracing/tracing-mock/src/ |
D | lib.rs | 103 let this = self.get_mut(); in poll()
|
D | subscriber.rs | 384 let name = self.spans.lock().unwrap().get_mut(id).map(|span| { in clone_span() 418 spans.get_mut(&id).map(|span| { in drop_span()
|
/third_party/rust/crates/tracing/tracing-subscriber/src/fmt/ |
D | fmt_layer.rs | 775 if extensions.get_mut::<FormattedFields<N>>().is_none() { in on_new_span() 794 && extensions.get_mut::<Timings>().is_none() in on_new_span() 811 if let Some(fields) = extensions.get_mut::<FormattedFields<N>>() { in on_record() 831 if let Some(timings) = extensions.get_mut::<Timings>() { in on_enter() 851 if let Some(timings) = extensions.get_mut::<Timings>() { in on_exit()
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
D | stack.rs | 232 pub fn get_mut(&mut self, idx: usize) -> Option<&mut T::Ref> { in get_mut() method 274 self.get_mut(index).unwrap() in index_mut()
|
/third_party/rust/crates/once_cell/ |
D | CHANGELOG.md | 26 - `get_mut` 131 - add `OnceCell::get_mut`.
|
/third_party/rust/crates/unicode-ident/generate/src/ |
D | main.rs | 122 while let Some(next) = halfchunkmap.get_mut(&back).and_then(VecDeque::pop_front) { in main()
|
/third_party/rust/crates/rust-openssl/openssl/src/ssl/ |
D | mod.rs | 3346 pub fn get_mut(&mut self) -> &mut S { in get_mut() method 3347 self.stream.get_mut() in get_mut() 3722 pub fn get_mut(&mut self) -> &mut S { in get_mut() method 3725 bio::get_mut(bio) in get_mut() 3771 self.get_mut().flush() in flush() 3951 pub fn get_mut(&mut self) -> &mut S { in get_mut() method 3954 bio::get_mut(bio) in get_mut()
|