Home
last modified time | relevance | path

Searched refs:assert_sync (Results 1 – 10 of 10) sorted by relevance

/external/rust/crates/libloading/tests/
Dmarkers.rs6 fn assert_sync<T: Sync>() {} in assert_sync() function
17 assert_sync::<libloading::Error>(); in check_error_sync()
44 assert_sync::<libloading::Library>(); in check_library_sync()
50 assert_sync::<libloading::os::unix::Library>(); in check_unix_library_sync()
56 assert_sync::<libloading::os::windows::Library>(); in check_windows_library_sync()
80 assert_sync::<libloading::Symbol<fn() -> ()>>(); in check_symbol_sync()
87 assert_sync::<libloading::os::unix::Symbol<fn() -> ()>>(); in check_unix_symbol_sync()
94 assert_sync::<libloading::os::windows::Symbol<fn() -> ()>>(); in check_windows_symbol_sync()
/external/rust/crates/regex/tests/
Dtest_default.rs90 fn assert_sync<T: Sync>() {} in oibits() function
95 assert_sync::<Regex>(); in oibits()
99 assert_sync::<RegexBuilder>(); in oibits()
104 assert_sync::<bytes::Regex>(); in oibits()
108 assert_sync::<bytes::RegexBuilder>(); in oibits()
113 assert_sync::<RegexSet>(); in oibits()
117 assert_sync::<RegexSetBuilder>(); in oibits()
122 assert_sync::<bytes::RegexSet>(); in oibits()
126 assert_sync::<bytes::RegexSetBuilder>(); in oibits()
/external/rust/crates/bstr/src/
Dlib.rs439 fn assert_sync<T: Sync>() {} in oibits() function
443 assert_sync::<&BStr>(); in oibits()
446 assert_sync::<BString>(); in oibits()
450 assert_sync::<Finder>(); in oibits()
453 assert_sync::<FinderReverse>(); in oibits()
/external/rust/crates/anyhow/tests/
Dtest_autotrait.rs11 fn assert_sync<T: Sync>() {} in test_sync() function
12 assert_sync::<Error>(); in test_sync()
/external/rust/cxx/tests/ui/
Dopaque_autotraits.rs9 fn assert_sync<T: Sync>() {} in assert_sync() function
14 assert_sync::<ffi::Opaque>(); in main()
Dopaque_autotraits.stderr18 9 | fn assert_sync<T: Sync>() {}
19 | ---- required by this bound in `assert_sync`
21 14 | assert_sync::<ffi::Opaque>();
/external/rust/crates/tokio/src/time/tests/
Dmod.rs7 fn assert_sync<T: Sync>() {} in assert_sync() function
14 assert_sync::<Sleep>(); in registration_is_send_and_sync()
/external/rust/crates/same-file/src/
Dlib.rs569 fn assert_sync<T: Sync>() {} in test_sync() function
570 assert_sync::<super::Handle>(); in test_sync()
/external/rust/crates/aho-corasick/src/
Dahocorasick.rs2137 fn assert_sync<T: Sync>() {} in oibits() function
2141 assert_sync::<AhoCorasick>(); in oibits()
2144 assert_sync::<AhoCorasickBuilder>(); in oibits()
/external/rust/crates/walkdir/src/tests/
Drecursive.rs12 fn assert_sync<T: Sync>() {} in send_sync_traits() function
15 assert_sync::<WalkDir>(); in send_sync_traits()
17 assert_sync::<IntoIter>(); in send_sync_traits()
19 assert_sync::<FilterEntry<IntoIter, u8>>(); in send_sync_traits()