Home
last modified time | relevance | path

Searched refs:assert_send (Results 1 – 11 of 11) sorted by relevance

/external/rust/crates/libloading/tests/
Dmarkers.rs4 fn assert_send<T: Send>() {} in assert_send() function
12 assert_send::<libloading::Error>(); in check_error_send()
27 assert_send::<libloading::Library>(); in check_library_send()
33 assert_send::<libloading::os::unix::Library>(); in check_unix_library_send()
39 assert_send::<libloading::os::windows::Library>(); in check_windows_library_send()
61 assert_send::<libloading::Symbol<fn() -> ()>>(); in check_symbol_send()
68 assert_send::<libloading::os::unix::Symbol<fn() -> ()>>(); in check_unix_symbol_send()
75 assert_send::<libloading::os::windows::Symbol<fn() -> ()>>(); in check_windows_symbol_send()
/external/rust/crates/regex/tests/
Dtest_default.rs89 fn assert_send<T: Send>() {} in oibits() function
94 assert_send::<Regex>(); in oibits()
98 assert_send::<RegexBuilder>(); in oibits()
103 assert_send::<bytes::Regex>(); in oibits()
107 assert_send::<bytes::RegexBuilder>(); in oibits()
112 assert_send::<RegexSet>(); in oibits()
116 assert_send::<RegexSetBuilder>(); in oibits()
121 assert_send::<bytes::RegexSet>(); in oibits()
125 assert_send::<bytes::RegexSetBuilder>(); in oibits()
/external/rust/crates/bstr/src/
Dlib.rs438 fn assert_send<T: Send>() {} in oibits() function
442 assert_send::<&BStr>(); in oibits()
445 assert_send::<BString>(); in oibits()
449 assert_send::<Finder>(); in oibits()
452 assert_send::<FinderReverse>(); in oibits()
/external/rust/crates/anyhow/tests/
Dtest_autotrait.rs5 fn assert_send<T: Send>() {} in test_send() function
6 assert_send::<Error>(); in test_send()
/external/rust/cxx/tests/
Dcxx_string.rs13 fn assert_send(_: impl Send) {} in test_async_cxx_string() function
14 assert_send(f()); in test_async_cxx_string()
/external/rust/cxx/tests/ui/
Dopaque_autotraits.rs8 fn assert_send<T: Send>() {} in assert_send() function
13 assert_send::<ffi::Opaque>(); in main()
Dopaque_autotraits.stderr4 8 | fn assert_send<T: Send>() {}
5 | ---- required by this bound in `assert_send`
7 13 | assert_send::<ffi::Opaque>();
/external/rust/crates/tokio/src/time/tests/
Dmod.rs6 fn assert_send<T: Send>() {} in assert_send() function
13 assert_send::<Sleep>(); in registration_is_send_and_sync()
/external/rust/crates/same-file/src/
Dlib.rs563 fn assert_send<T: Send>() {} in test_send() function
564 assert_send::<super::Handle>(); in test_send()
/external/rust/crates/aho-corasick/src/
Dahocorasick.rs2136 fn assert_send<T: Send>() {} in oibits() function
2140 assert_send::<AhoCorasick>(); in oibits()
2143 assert_send::<AhoCorasickBuilder>(); in oibits()
/external/rust/crates/walkdir/src/tests/
Drecursive.rs11 fn assert_send<T: Send>() {} in send_sync_traits() function
14 assert_send::<WalkDir>(); in send_sync_traits()
16 assert_send::<IntoIter>(); in send_sync_traits()
18 assert_send::<FilterEntry<IntoIter, u8>>(); in send_sync_traits()