/external/rust/crates/criterion/src/stats/ |
D | rand_util.rs | 2 use std::cell::RefCell; 8 static SEED_RAND: RefCell<Rand64> = RefCell::new(Rand64::new(
|
/external/rust/crates/itertools/src/ |
D | format.rs | 2 use std::cell::RefCell; 14 inner: RefCell<Option<(I, F)>>, 28 inner: RefCell<Option<I>>, 37 inner: RefCell::new(Some((iter, f))), in new_format() 46 inner: RefCell::new(Some(iter)), in new_format_default()
|
D | rciter_impl.rs | 4 use std::cell::RefCell; 10 pub rciter: Rc<RefCell<I>>, 50 RcIter { rciter: Rc::new(RefCell::new(iterable.into_iter())) } in rciter()
|
D | tee.rs | 3 use std::cell::RefCell; 24 rcbuffer: Rc<RefCell<TeeBuffer<I::Item, I>>>, 32 let t1 = Tee{rcbuffer: Rc::new(RefCell::new(buffer)), id: true}; in new()
|
/external/rust/crates/proc-macro-error/src/imp/ |
D | fallback.rs | 7 use std::cell::RefCell; 29 static ERR_STORAGE: RefCell<Vec<Diagnostic>> = RefCell::new(Vec::new());
|
/external/rust/crates/proc-macro-error/src/ |
D | dummy.rs | 117 use std::cell::RefCell; 122 static DUMMY_IMPL: RefCell<Option<TokenStream>> = RefCell::new(None);
|
/external/crosvm/devices/src/virtio/ |
D | block_async.rs | 5 use std::cell::RefCell; 247 flush_timer: Rc<RefCell<TimerAsync>>, in process_one_request() 248 flush_timer_armed: Rc<RefCell<bool>>, in process_one_request() 287 queue: Rc<RefCell<Queue>>, in process_one_request_task() 291 interrupt: Rc<RefCell<Interrupt>>, in process_one_request_task() 292 flush_timer: Rc<RefCell<TimerAsync>>, in process_one_request_task() 293 flush_timer_armed: Rc<RefCell<bool>>, in process_one_request_task() 320 queue: Rc<RefCell<Queue>>, in handle_queue() 322 interrupt: Rc<RefCell<Interrupt>>, in handle_queue() 323 flush_timer: Rc<RefCell<TimerAsync>>, in handle_queue() [all …]
|
D | balloon.rs | 5 use std::cell::RefCell; 163 interrupt: Rc<RefCell<Interrupt>>, in handle_queue() 196 interrupt: Rc<RefCell<Interrupt>>, in handle_stats_queue() 249 interrupt: Rc<RefCell<Interrupt>>, in handle_command_tube() 278 async fn handle_irq_resample(ex: &Executor, interrupt: Rc<RefCell<Interrupt>>) { in handle_irq_resample() 315 let interrupt = Rc::new(RefCell::new(interrupt)); in run_worker()
|
/external/rust/crates/serde_derive/src/internals/ |
D | ctxt.rs | 2 use std::cell::RefCell; 16 errors: RefCell<Option<Vec<syn::Error>>>, 25 errors: RefCell::new(Some(Vec::new())), in new()
|
/external/rust/crates/tokio/src/runtime/ |
D | context.rs | 4 use std::cell::RefCell; 7 static CONTEXT: RefCell<Option<Handle>> = RefCell::new(None)
|
/external/rust/crates/tokio/tests/support/ |
D | mock_pool.rs | 3 use std::cell::RefCell; 11 static QUEUE: RefCell<VecDeque<Box<dyn FnOnce() + Send>>> = RefCell::new(VecDeque::new())
|
/external/rust/crates/syn/src/ |
D | lookahead.rs | 7 use std::cell::RefCell; 62 comparisons: RefCell<Vec<&'static str>>, 69 comparisons: RefCell::new(Vec::new()), in new()
|
/external/rust/crates/textwrap/src/core/ |
D | optimal_fit.rs | 2 use std::cell::RefCell; 7 line_numbers: RefCell<Vec<usize>>, 15 line_numbers: RefCell::new(line_numbers), in new()
|
/external/rust/crates/tokio/src/task/ |
D | task_local.rs | 2 use std::cell::RefCell; 55 static __KEY: std::cell::RefCell<Option<$t>> = std::cell::RefCell::new(None); 97 pub inner: thread::LocalKey<RefCell<Option<T>>>,
|
/external/rust/crates/regex-automata/src/nfa/ |
D | compiler.rs | 34 use std::cell::RefCell; 183 states: RefCell<Vec<CState>>, 189 utf8_state: RefCell<Utf8State>, 191 trie_state: RefCell<RangeTrie>, 194 utf8_suffix: RefCell<Utf8SuffixMap>, 197 remap: RefCell<Vec<StateID>>, 203 empties: RefCell<Vec<(StateID, StateID)>>, 256 states: RefCell::new(vec![]), in new() 258 utf8_state: RefCell::new(Utf8State::new()), in new() 259 trie_state: RefCell::new(RangeTrie::new()), in new() [all …]
|
/external/crosvm/rutabaga_gfx/src/ |
D | renderer_utils.rs | 7 use std::cell::RefCell; 64 pub fence_state: Rc<RefCell<FenceState>>,
|
/external/crosvm/devices/src/virtio/vhost/user/ |
D | net.rs | 5 use std::cell::RefCell; 31 handler: RefCell<VhostUserHandler>, 66 handler: RefCell::new(handler), in new()
|
D | block.rs | 5 use std::cell::RefCell; 35 handler: RefCell<VhostUserHandler>, 68 handler: RefCell::new(handler), in new()
|
D | fs.rs | 5 use std::cell::RefCell; 29 handler: RefCell<VhostUserHandler>, 74 handler: RefCell::new(handler), in new()
|
/external/rust/crates/rusqlite/src/util/ |
D | param_cache.rs | 2 use std::cell::RefCell; 9 pub(crate) struct ParamIndexCache(RefCell<BTreeMap<SmallCString, usize>>);
|
/external/rust/cxx/gen/build/src/ |
D | cfg.rs | 272 use std::cell::RefCell; 319 static CONST_DEREFS: RefCell<Map<Handle, Box<super::Cfg<'static>>>> = RefCell::default();
|
/external/rust/crates/regex/src/ |
D | pool.rs | 298 use std::cell::RefCell; in thread_owner_optimization() 301 let pool: Arc<Pool<RefCell<Vec<char>>>> = in thread_owner_optimization() 302 Arc::new(Pool::new(Box::new(|| RefCell::new(vec!['a'])))); in thread_owner_optimization()
|
/external/rust/crates/tokio/src/process/unix/ |
D | orphan.rs | 95 use std::cell::{Cell, RefCell}; 102 pub(crate) all_enqueued: RefCell<Vec<W>>, 109 all_enqueued: RefCell::new(Vec::new()), in new()
|
/external/rust/crates/clang-sys/out/ |
D | common.rs | 17 use std::cell::RefCell; 56 static COMMAND_ERRORS: RefCell<HashMap<String, Vec<String>>> = RefCell::default();
|
/external/rust/crates/clang-sys/build/ |
D | common.rs | 17 use std::cell::RefCell; 56 static COMMAND_ERRORS: RefCell<HashMap<String, Vec<String>>> = RefCell::default();
|