Home
last modified time | relevance | path

Searched refs:once_cell (Results 1 - 18 of 18) sorted by relevance

/third_party/rust/crates/once_cell/examples/
H A Dbench_vs_lazy_static.rs2 use once_cell::sync::Lazy;
14 let once_cell = { in main()
35 println!("once_cell: {:?}", once_cell); in main()
H A Dlazy_static.rs1 extern crate once_cell;
3 use once_cell::sync::{Lazy, OnceCell};
H A Dregex.rs7 static RE: once_cell::sync::OnceCell<regex::Regex> = once_cell::sync::OnceCell::new();
H A Dreentrant_init_deadlocks.rs2 let cell = once_cell::sync::OnceCell::<u32>::new(); in main()
10 /// See https://github.com/matklad/once_cell/issues/79
H A Dtest_synchronization.rs10 use once_cell::sync::OnceCell;
H A Dbench.rs3 use once_cell::sync::OnceCell;
H A Dbench_acquire.rs5 use once_cell::sync::OnceCell;
/third_party/rust/crates/clap/clap_derive/src/
H A Ditem.rs564 static DEFAULT_VALUE: clap::__macro_refs::once_cell::sync::Lazy<String> = clap::__macro_refs::once_cell::sync::Lazy::new(|| { in push_attrs()
573 static DEFAULT_VALUE: clap::__macro_refs::once_cell::sync::Lazy<String> = clap::__macro_refs::once_cell::sync::Lazy::new(|| { in push_attrs()
632 static DEFAULT_STRINGS: clap::__macro_refs::once_cell::sync::Lazy<Vec<::std::string::String>> = clap::__macro_refs::once_cell::sync::Lazy::new(|| { in push_attrs()
636 static DEFAULT_VALUES: clap::__macro_refs::once_cell::sync::Lazy<Vec<&str>> = clap::__macro_refs::once_cell::sync::Lazy::new(|| { in push_attrs()
652 static DEFAULT_STRINGS: clap::__macro_refs::once_cell::sync::Lazy<Vec<::std::string::String>> = clap::__macro_refs::once_cell in push_attrs()
[all...]
/third_party/rust/crates/cxx/gen/build/src/
H A Dintern.rs2 use once_cell::sync::OnceCell;
H A Dcfg.rs347 use once_cell::sync::Lazy;
H A Dcargo.rs2 use once_cell::sync::OnceCell;
/third_party/rust/crates/once_cell/tests/
H A Dit.rs7 use once_cell::unsync::{Lazy, OnceCell};
10 fn once_cell() { in once_cell() functions
264 use once_cell::sync::{Lazy, OnceCell};
267 fn once_cell() { in once_cell() functions
704 use once_cell::race::{OnceBool, OnceNonZeroUsize};
841 use once_cell::race::OnceBox;
/third_party/rust/crates/clap/src/
H A Dlib.rs136 pub use once_cell;
H A Dmacros.rs51 static CACHED: clap::__macro_refs::once_cell::sync::Lazy<String> =
52 clap::__macro_refs::once_cell::sync::Lazy::new(|| authors.replace(':', $sep));
/third_party/rust/crates/which-rs/src/
H A Dfinder.rs156 use once_cell::sync::Lazy; in append_extension()
/third_party/rust/crates/rustix/src/io/
H A Dprocfs.rs31 use once_cell::sync::OnceCell;
/third_party/rust/crates/rust-openssl/openssl/src/ssl/
H A Dconnector.rs418 use once_cell::sync::OnceCell;
H A Dmod.rs86 use once_cell::sync::{Lazy, OnceCell};

Completed in 14 milliseconds