/third_party/rust/crates/serde/serde_derive/src/internals/ |
D | ctxt.rs | 34 .borrow_mut() in error_spanned_by() 43 self.errors.borrow_mut().as_mut().unwrap().push(err); in syn_error() 48 let errors = self.errors.borrow_mut().take().unwrap(); in check()
|
/third_party/rust/crates/lazycell/src/ |
D | lib.rs | 118 pub fn borrow_mut(&mut self) -> Option<&mut T> { in borrow_mut() method 159 self.borrow_mut().unwrap() in borrow_mut_with() 189 return Ok(self.borrow_mut().unwrap()); in try_borrow_mut_with() 195 Ok(self.borrow_mut().unwrap()) in try_borrow_mut_with() 382 assert!(lazycell.borrow_mut().is_none()); in test_borrow_mut() 385 assert_eq!(lazycell.borrow_mut(), Some(&mut 1)); in test_borrow_mut() 387 *lazycell.borrow_mut().unwrap() = 2; in test_borrow_mut() 388 assert_eq!(lazycell.borrow_mut(), Some(&mut 2)); in test_borrow_mut() 392 assert!(lazycell.borrow_mut().is_none()); in test_borrow_mut()
|
/third_party/rust/crates/nom/fuzz/fuzz_targets/ |
D | fuzz_arithmetic.rs | 27 *l.borrow_mut() = 0; in reset() 33 *l.borrow_mut() += 1; in incr() 46 *l.borrow_mut() -= 1; in decr()
|
/third_party/rust/crates/regex/src/ |
D | pool.rs | 303 pool.get().value().borrow_mut().push('x'); in thread_owner_optimization() 309 v.borrow_mut().push('y'); in thread_owner_optimization() 316 v.borrow_mut().push('z'); in thread_owner_optimization()
|
D | backtrack.rs | 93 let mut cache = cache.borrow_mut(); in exec()
|
D | pikevm.rs | 98 let mut cache = cache.borrow_mut(); in exec()
|
D | dfa.rs | 454 let mut cache = cache.borrow_mut(); in forward() 484 let mut cache = cache.borrow_mut(); in reverse() 515 let mut cache = cache.borrow_mut(); in forward_many()
|
/third_party/rust/crates/cxx/gen/build/src/ |
D | cfg.rs | 451 .borrow_mut() in deref() 463 CONST_DEREFS.with(|derefs| derefs.borrow_mut().remove(&self.handle())); in deref_mut() 491 CONST_DEREFS.with(|derefs| derefs.borrow_mut().remove(&self.handle())); in drop()
|
/third_party/rust/crates/clang-sys/src/ |
D | link.rs | 215 LIBRARY.with(|l| *l.borrow_mut() = Some(library)); 237 LIBRARY.with(|l| l.borrow_mut().clone()) 244 LIBRARY.with(|l| mem::replace(&mut *l.borrow_mut(), library))
|
/third_party/rust/crates/signal-hook/src/iterator/ |
D | backend.rs | 436 let iter = signals.borrow_mut().pending(); in new() 460 while !self.signals.borrow_mut().handle.is_closed() { in poll_signal() 465 match self.signals.borrow_mut().poll_pending(has_signals) { in poll_signal()
|
/third_party/rust/crates/env_logger/src/fmt/ |
D | mod.rs | 119 self.buf.borrow_mut().clear() in clear() 125 self.buf.borrow_mut().write(buf) in write() 129 self.buf.borrow_mut().flush() in flush()
|
/third_party/rust/crates/proc-macro-error/src/imp/ |
D | fallback.rs | 24 ERR_STORAGE.with(|storage| storage.borrow_mut().push(diag)); in emit_diagnostic()
|
/third_party/rust/crates/proc-macro-error/src/ |
D | dummy.rs | 139 let mut cell = old_dummy.borrow_mut(); in append_dummy()
|
/third_party/rust/crates/tracing/examples/examples/sloggish/ |
D | sloggish_subscriber.rs | 55 current.borrow_mut().push(span); in enter() 61 let _ = current.borrow_mut().pop(); in exit()
|
/third_party/rust/crates/env_logger/src/fmt/writer/termcolor/ |
D | extern_impl.rs | 436 .borrow_mut() in write_fmt() 442 let reset = self.style.buf.borrow_mut().reset().map_err(|_| fmt::Error); in write_fmt()
|
/third_party/rust/crates/lazycell/ |
D | CHANGELOG.md | 27 * add note regarding LazyCell::borrow_mut ([9d634d1f](https://github.com/indiv0/lazycell/commit/9… 59 * add LazyCell::borrow_mut method ([fd419dea](https://github.com/indiv0/lazycell/commit/fd419dea9…
|
/third_party/rust/crates/syn/src/ |
D | lookahead.rs | 84 lookahead.comparisons.borrow_mut().push(display()); in peek_impl()
|
/third_party/rust/crates/tracing/tracing-log/src/ |
D | trace_logger.rs | 276 let mut current = current.borrow_mut(); in enter() 328 let mut current = current.borrow_mut(); in exit()
|
D | interest_cache.rs | 163 let mut state = state.borrow_mut(); in try_cache()
|
/third_party/rust/crates/regex/regex-syntax/src/ast/ |
D | parse.rs | 360 self.comments.borrow_mut().clear(); in reset() 361 self.stack_group.borrow_mut().clear(); in reset() 362 self.stack_class.borrow_mut().clear(); in reset() 428 let mut names = self.parser().capture_names.borrow_mut(); in add_capture_name() 556 self.parser().comments.borrow_mut().push(comment); in bump_space() 653 let mut stack = self.parser().stack_group.borrow_mut(); in push_or_add_alternation() 696 self.parser().stack_group.borrow_mut().push( in push_group() 723 let mut stack = self.parser().stack_group.borrow_mut(); in pop_group() 773 let mut stack = self.parser().stack_group.borrow_mut(); in pop_group_end() 823 .borrow_mut() in push_class_open() [all …]
|
/third_party/rust/crates/tracing/tracing-subscriber/src/filter/env/ |
D | mod.rs | 566 self.scope.get_or_default().borrow_mut().push(span.level()); in on_enter() 577 self.scope.get_or_default().borrow_mut().pop(); in on_exit()
|
/third_party/rust/crates/tracing/tracing-subscriber/src/registry/ |
D | sharded.rs | 293 .borrow_mut() in enter() 302 if spans.borrow_mut().pop(id) { in exit()
|
/third_party/rust/crates/cxx/gen/src/ |
D | out.rs | 64 let content = &mut *self.content.borrow_mut(); in write_fmt()
|
/third_party/rust/crates/nix/src/sys/ |
D | termios.rs | 263 let mut termios = self.inner.borrow_mut(); in get_libc_termios() 289 let mut termios = self.inner.borrow_mut(); in get_libc_termios_mut() 309 let termios = *self.inner.borrow_mut(); in update_wrapper()
|
/third_party/rust/crates/clang-sys/build/ |
D | common.rs | 25 e.borrow_mut() in add_command_error()
|