Home
last modified time | relevance | path

Searched refs:thread (Results 1 – 25 of 120) sorted by relevance

12345

/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dthread2 //===--------------------------- thread -----------------------------------===//
16 thread synopsis
23 class thread
29 thread() noexcept;
30 template <class F, class ...Args> explicit thread(F&& f, Args&&... args);
31 ~thread();
33 thread(const thread&) = delete;
34 thread(thread&& t) noexcept;
36 thread& operator=(const thread&) = delete;
37 thread& operator=(thread&& t) noexcept;
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.assign/
Dmove.pass.cpp64 std::thread t0(G(), 5, 5.5); in main()
65 std::thread::id id = t0.get_id(); in main()
66 std::thread t1; in main()
69 assert(t0.get_id() == std::thread::id()); in main()
75 std::thread t0(G(), 5, 5.5); in main()
76 std::thread::id id = t0.get_id(); in main()
77 std::thread t1; in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.once/thread.once.callonce/
Dcall_once.pass.cpp160 std::thread t0(f0); in main()
161 std::thread t1(f0); in main()
168 std::thread t0(f3); in main()
169 std::thread t1(f3); in main()
177 std::thread t0(f41); in main()
178 std::thread t1(f42); in main()
187 std::thread t0(f1); in main()
188 std::thread t1(f1); in main()
195 std::thread t0(f2); in main()
196 std::thread t1(f2); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.member/
Dget_id.pass.cpp46 std::thread t0((G())); in main()
47 std::thread::id id0 = t0.get_id(); in main()
48 std::thread t1; in main()
49 std::thread::id id1 = t1.get_id(); in main()
51 assert(t1.get_id() == std::thread::id()); in main()
Dswap.pass.cpp46 std::thread t0((G())); in main()
47 std::thread::id id0 = t0.get_id(); in main()
48 std::thread t1; in main()
49 std::thread::id id1 = t1.get_id(); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.constr/
DF.pass.cpp93 std::thread t(f); in main()
102 std::thread t(f); in main()
114 std::thread t((G())); in main()
126 std::thread t((G())); in main()
140 std::thread t(G(), 5, 5.5); in main()
146 std::thread t = std::thread(MoveOnly(), MoveOnly()); in main()
Dcopy.fail.cpp57 std::thread t0(G(), 5, 5.5); in main()
58 std::thread::id id = t0.get_id(); in main()
59 std::thread t1 = t0; in main()
61 assert(t0.get_id() == std::thread::id()); in main()
Dmove.pass.cpp58 std::thread t0(G(), 5, 5.5); in main()
59 std::thread::id id = t0.get_id(); in main()
60 std::thread t1 = std::move(t0); in main()
62 assert(t0.get_id() == std::thread::id()); in main()
Dconstr.fail.cpp24 volatile std::thread t1; in main()
25 std::thread t2 ( t1, 1, 2.0 ); in main()
Ddefault.pass.cpp21 std::thread t; in main()
22 assert(t.get_id() == std::thread::id()); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.algorithm/
Dswap.pass.cpp46 std::thread t0((G())); in main()
47 std::thread::id id0 = t0.get_id(); in main()
48 std::thread t1; in main()
49 std::thread::id id1 = t1.get_id(); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.id/
Dthread_id.pass.cpp26 std::thread::id id1; in main()
27 std::thread::id id2 = std::this_thread::get_id(); in main()
28 typedef std::hash<std::thread::id> H; in main()
Dlt.pass.cpp24 std::thread::id id0; in main()
25 std::thread::id id1; in main()
26 std::thread::id id2 = std::this_thread::get_id(); in main()
Ddefault.pass.cpp21 std::thread::id id; in main()
22 assert(id == std::thread::id()); in main()
Dcopy.pass.cpp21 std::thread::id id0; in main()
22 std::thread::id id1 = id0; in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
Dlock_shared.pass.cpp58 std::vector<std::thread> v; in main()
60 v.push_back(std::thread(f)); in main()
67 t = std::thread(g); in main()
68 std::thread q(f); in main()
Dtry_lock_shared_for.pass.cpp59 std::vector<std::thread> v; in main()
61 v.push_back(std::thread(f1)); in main()
69 std::vector<std::thread> v; in main()
71 v.push_back(std::thread(f2)); in main()
Dtry_lock_shared_until.pass.cpp59 std::vector<std::thread> v; in main()
61 v.push_back(std::thread(f1)); in main()
69 std::vector<std::thread> v; in main()
71 v.push_back(std::thread(f2)); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
Dmutex.pass.cpp62 std::vector<std::thread> v; in main()
64 v.push_back(std::thread(f)); in main()
71 t = std::thread(g); in main()
72 std::thread q(f); in main()
Dmutex_duration.pass.cpp60 std::vector<std::thread> v; in main()
62 v.push_back(std::thread(f1)); in main()
70 std::vector<std::thread> v; in main()
72 v.push_back(std::thread(f2)); in main()
Dmutex_time_point.pass.cpp60 std::vector<std::thread> v; in main()
62 v.push_back(std::thread(f1)); in main()
70 std::vector<std::thread> v; in main()
72 v.push_back(std::thread(f2)); in main()
/ndk/tests/device/test-libc++-static-full/jni/
DAndroid.mk3628 $(call gen-test, thread/futures/futures.async/async)
3629 $(call gen-test, thread/futures/futures.errors/default_error_condition)
3630 $(call gen-test, thread/futures/futures.errors/equivalent_error_code_int)
3631 $(call gen-test, thread/futures/futures.errors/equivalent_int_error_condition)
3632 $(call gen-test, thread/futures/futures.errors/future_category)
3633 $(call gen-test, thread/futures/futures.errors/make_error_code)
3634 $(call gen-test, thread/futures/futures.errors/make_error_condition)
3635 $(call gen-test, thread/futures/futures.future_error/code)
3636 $(call gen-test, thread/futures/futures.future_error/types)
3637 $(call gen-test, thread/futures/futures.future_error/what)
[all …]
/ndk/tests/device/test-libc++-shared-full/jni/
DAndroid.mk3637 $(call gen-test, thread/futures/futures.async/async)
3638 $(call gen-test, thread/futures/futures.errors/default_error_condition)
3639 $(call gen-test, thread/futures/futures.errors/equivalent_error_code_int)
3640 $(call gen-test, thread/futures/futures.errors/equivalent_int_error_condition)
3641 $(call gen-test, thread/futures/futures.errors/future_category)
3642 $(call gen-test, thread/futures/futures.errors/make_error_code)
3643 $(call gen-test, thread/futures/futures.errors/make_error_condition)
3644 $(call gen-test, thread/futures/futures.future_error/code)
3645 $(call gen-test, thread/futures/futures.future_error/types)
3646 $(call gen-test, thread/futures/futures.future_error/what)
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.this/
Dget_id.pass.cpp19 std::thread::id id = std::this_thread::get_id(); in main()
20 assert(id != std::thread::id()); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.unique_future/
Dget.pass.cpp67 std::thread(func1, std::move(p)).detach(); in main()
75 std::thread(func2, std::move(p)).detach(); in main()
94 std::thread(func3, std::move(p)).detach(); in main()
102 std::thread(func4, std::move(p)).detach(); in main()
121 std::thread(func5, std::move(p)).detach(); in main()
129 std::thread(func6, std::move(p)).detach(); in main()

12345