/third_party/rust/crates/rustix/tests/net/ |
D | v6.rs | 11 use std::sync::{Arc, Condvar, Mutex}; 16 fn server(ready: Arc<(Mutex<u16>, Condvar)>) { in server() 49 fn client(ready: Arc<(Mutex<u16>, Condvar)>) { in client() 78 let ready = Arc::new((Mutex::new(0_u16), Condvar::new())); in test_v6() 79 let ready_clone = Arc::clone(&ready); in test_v6()
|
D | v4.rs | 11 use std::sync::{Arc, Condvar, Mutex}; 16 fn server(ready: Arc<(Mutex<u16>, Condvar)>) { in server() 45 fn client(ready: Arc<(Mutex<u16>, Condvar)>) { in client() 69 let ready = Arc::new((Mutex::new(0_u16), Condvar::new())); in test_v4() 70 let ready_clone = Arc::clone(&ready); in test_v4()
|
D | unix.rs | 25 use std::sync::{Arc, Condvar, Mutex}; 30 fn server(ready: Arc<(Mutex<bool>, Condvar)>, path: &Path) { in server() 72 fn client(ready: Arc<(Mutex<bool>, Condvar)>, path: &Path, runs: &[(&[&str], i32)]) { in client() 117 let ready = Arc::new((Mutex::new(false), Condvar::new())); in test_unix() 118 let ready_clone = Arc::clone(&ready); in test_unix()
|
D | poll.rs | 10 use std::sync::{Arc, Condvar, Mutex}; 15 fn server(ready: Arc<(Mutex<u16>, Condvar)>) { in server() 61 fn client(ready: Arc<(Mutex<u16>, Condvar)>) { in client() 102 let ready = Arc::new((Mutex::new(0_u16), Condvar::new())); in test_poll() 103 let ready_clone = Arc::clone(&ready); in test_poll()
|
/third_party/rust/crates/rustix/tests/io/ |
D | epoll.rs | 11 use std::sync::{Arc, Condvar, Mutex}; 16 fn server(ready: Arc<(Mutex<u16>, Condvar)>) { in server() 62 fn client(ready: Arc<(Mutex<u16>, Condvar)>) { in client() 87 let ready = Arc::new((Mutex::new(0_u16), Condvar::new())); in test_epoll() 88 let ready_clone = Arc::clone(&ready); in test_epoll()
|
/third_party/rust/crates/clang-sys/src/ |
D | link.rs | 43 use std::sync::{Arc}; 124 thread_local!(static LIBRARY: RefCell<Option<Arc<SharedLibrary>>> = RefCell::new(None)); 214 let library = Arc::new(load_manually()?); 236 pub fn get_library() -> Option<Arc<SharedLibrary>> { 243 pub fn set_library(library: Option<Arc<SharedLibrary>>) -> Option<Arc<SharedLibrary>> {
|
/third_party/rust/crates/clap/src/parser/matches/ |
D | any_value.rs | 3 inner: std::sync::Arc<dyn std::any::Any + Send + Sync + 'static>, 12 let inner = std::sync::Arc::new(inner); in new() 25 ok!(std::sync::Arc::downcast::<T>(self.inner).map_err(|inner| Self { inner, id })); in downcast_into() 26 let value = std::sync::Arc::try_unwrap(value).unwrap_or_else(|arc| (*arc).clone()); in downcast_into()
|
/third_party/lzma/CPP/7zip/UI/Common/ |
D | UpdateCallback.cpp | 62 Arc(NULL), in CArchiveUpdateCallback() 225 if (Arc && Arc->GetRootProps) in GetRootRawProp() 226 return Arc->GetRootProps->GetRootRawProp(propID, data, dataSize, propType); in GetRootRawProp() 248 if (up.UseArcProps && up.ExistInArchive() && Arc->GetRawProps) in GetRawProp() 249 return Arc->GetRawProps->GetRawProp( in GetRawProp() 767 else if (Arc) in ReportOperation() 769 RINOK(Arc->GetItem_Path(index, s2)); in ReportOperation() 771 RINOK(Archive_IsItem_Dir(Arc->Archive, index, isDir)); in ReportOperation() 822 else if (Arc) in ReportExtractResult() 824 RINOK(Arc->GetItem_Path(index, s2)); in ReportExtractResult()
|
/third_party/rust/crates/log/test_max_level_features/ |
D | main.rs | 4 use std::sync::{Arc, Mutex}; 18 struct Logger(Arc<State>); 33 let me = Arc::new(State { last_log: Mutex::new(None) }); in main()
|
/third_party/rust/crates/log/tests/ |
D | filters.rs | 8 use std::sync::{Arc, Mutex}; 22 struct Logger(Arc<State>); 54 let me = Arc::new(State { in main()
|
/third_party/rust/crates/regex/examples/ |
D | shootout-regex-dna.rs | 9 use std::sync::Arc; 25 let seq_arc = Arc::new(seq.clone()); in main()
|
D | shootout-regex-dna-bytes.rs | 9 use std::sync::Arc; 25 let seq_arc = Arc::new(seq.clone()); in main()
|
D | shootout-regex-dna-cheat.rs | 14 use std::sync::Arc; 30 let seq_arc = Arc::new(seq.clone()); in main()
|
/third_party/rust/crates/regex/src/ |
D | pool.rs | 299 use std::sync::Arc; 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()
|
D | prog.rs | 7 use std::sync::Arc; 29 pub capture_name_idx: Arc<HashMap<String, usize>>, 85 capture_name_idx: Arc::new(HashMap::new()), in new()
|
D | exec.rs | 4 use std::sync::Arc; 37 ro: Arc<ExecReadOnly>, 55 ro: &'c Arc<ExecReadOnly>, 303 let ro = Arc::new(ExecReadOnly { in build() 353 let ro = Arc::new(ro); in build() 1249 pub fn capture_name_idx(&self) -> &Arc<HashMap<String, usize>> { in capture_name_idx() 1255 pub fn capture_name_idx(&self) -> &Arc<HashMap<String, usize>> { in capture_name_idx() 1311 pub fn capture_name_idx(&self) -> &Arc<HashMap<String, usize>> { in capture_name_idx() 1453 fn new_pool(ro: &Arc<ExecReadOnly>) -> Box<Pool<ProgramCache>> { in new_pool()
|
/third_party/rust/crates/bindgen/bindgen-integration/ |
D | build.rs | 11 use std::sync::{Arc, Mutex, RwLock}; 15 macros: Arc<RwLock<HashSet<String>>>, 159 let macros = Arc::new(RwLock::new(HashSet::new())); in setup_macro_test()
|
/third_party/rust/crates/memchr/bench/data/code/ |
D | rust-library.rs | 3302 use std::sync::{Arc, Weak}; 3318 let a: Arc<[u32; 3]> = Arc::new([3, 2, 1]); in slice() 3319 let a: Arc<[u32]> = a; // Unsizing in slice() 3320 let b: Arc<[u32]> = Arc::from(&[3, 2, 1][..]); // Conversion in slice() 3324 let mut a = Arc::downgrade(&a); in slice() 3331 let a: Arc<u32> = Arc::new(4); in trait_object() 3332 let a: Arc<dyn Any> = a; // Unsizing in trait_object() 3335 let mut a = Arc::downgrade(&a); in trait_object() 3349 let x = Arc::new(f32::NAN); in float_nan_ne() 3364 let x = Arc::new(TestPEq(RefCell::new(0))); in partial_eq() [all …]
|
/third_party/rust/crates/serde/test_suite/tests/ |
D | test_ser.rs | 16 use std::sync::{Arc, Weak as ArcWeak}; 578 assert_ser_tokens(&Arc::new(true), &[Token::Bool(true)]); in test_arc() 583 let arc = Arc::new(true); in test_arc_weak_some() 584 assert_ser_tokens(&Arc::downgrade(&arc), &[Token::Some, Token::Bool(true)]); in test_arc_weak_some() 612 assert_ser_tokens(&Arc::<str>::from("s"), &[Token::Str("s")]); in test_arc_dst() 614 &Arc::<[bool]>::from(&[true][..]), in test_arc_dst()
|
/third_party/rust/crates/serde/serde/src/ |
D | lib.rs | 203 pub use alloc::sync::{Arc, Weak as ArcWeak}; 205 pub use std::sync::{Arc, Weak as ArcWeak};
|
/third_party/rust/crates/cxx/gen/cmd/src/ |
D | app.rs | 14 use std::sync::{Arc, Mutex, PoisonError}; 133 let bool_cfgs = Arc::new(Mutex::new(Map::<String, bool>::new())); in arg_cfg()
|
/third_party/skia/gm/ |
D | circulararcs.cpp | 149 struct Arc { struct 154 const Arc noDrawArcs[] = { argument 164 const Arc arcs[] = {
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlTrampoline.mm | 13 #error This file must be compiled with Arc. Use -fobjc-arc flag
|
/third_party/skia/docs/examples/ |
D | Arc.cpp | 6 REG_FIDDLE(Arc, 256, 128, false, 0) {
|
/third_party/skia/third_party/externals/icu/source/data/curr/ |
D | br.txt | 64 "peso Arcʼhantina (1881–1970)", 68 "peso Arcʼhantina (1983–1985)", 72 "peso Arcʼhantina", 1375 few{"feso Arcʼhantina (1881–1970)"} 1376 many{"a besoioù Arcʼhantina (1881–1970)"} 1377 one{"peso Arcʼhantina (1881–1970)"} 1378 other{"peso Arcʼhantina (1881–1970)"} 1379 two{"beso Arcʼhantina (1881–1970)"} 1382 few{"feso Arcʼhantina (1983–1985)"} 1383 many{"a besoioù Arcʼhantina (1983–1985)"} [all …]
|