Home
last modified time | relevance | path

Searched refs:cv (Results 1 – 25 of 31) sorted by relevance

12

/ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.condition/thread.condition.condvarany/
Ddestructor.pass.cpp21 std::condition_variable_any* cv; variable
31 cv->notify_one(); in f()
32 delete cv; in f()
40 cv->notify_one(); in g()
42 cv->wait(m); in g()
48 cv = new std::condition_variable_any; in main()
52 cv->wait(m); in main()
Dwait.pass.cpp22 std::condition_variable_any cv; variable
37 cv.notify_one(); in f()
39 cv.wait(lk); in f()
49 cv.wait(lk); in main()
53 cv.notify_one(); in main()
Dwait_pred.pass.cpp23 std::condition_variable_any cv; variable
47 cv.notify_one(); in f()
48 cv.wait(lk, Pred(test2)); in f()
58 cv.wait(lk); in main()
62 cv.notify_one(); in main()
Dwait_for.pass.cpp24 std::condition_variable_any cv; variable
43 cv.notify_one(); in f()
46 cv.wait_for(lk, milliseconds(250)) == std::cv_status::no_timeout) in f()
69 cv.wait(lk); in main()
73 cv.notify_one(); in main()
83 cv.wait(lk); in main()
Dwait_for_pred.pass.cpp34 std::condition_variable_any cv; variable
53 cv.notify_one(); in f()
55 bool r = cv.wait_for(lk, milliseconds(250), Pred(test2)); in f()
77 cv.wait(lk); in main()
81 cv.notify_one(); in main()
91 cv.wait(lk); in main()
Dwait_until.pass.cpp41 std::condition_variable_any cv; variable
58 cv.notify_one(); in f()
61 while (test2 == 0 && cv.wait_until(lk, t) == std::cv_status::no_timeout) in f()
84 cv.wait(lk); in main()
88 cv.notify_one(); in main()
98 cv.wait(lk); in main()
Dnotify_one.pass.cpp21 std::condition_variable_any cv; variable
37 cv.wait(lk); in f1()
47 cv.wait(lk); in f2()
62 cv.notify_one(); in main()
79 cv.notify_one(); in main()
Dwait_until_pred.pass.cpp52 std::condition_variable_any cv; variable
69 cv.notify_one(); in f()
72 bool r = cv.wait_until(lk, t, Pred(test2)); in f()
96 cv.wait(lk); in main()
100 cv.notify_one(); in main()
110 cv.wait(lk); in main()
Dnotify_all.pass.cpp21 std::condition_variable_any cv; variable
37 cv.wait(lk); in f1()
47 cv.wait(lk); in f2()
62 cv.notify_all(); in main()
Ddefault.pass.cpp21 std::condition_variable_any cv; in main() local
/ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.condition/thread.condition.condvar/
Ddestructor.pass.cpp21 std::condition_variable* cv; variable
32 cv->notify_one(); in f()
33 delete cv; in f()
40 cv->notify_one(); in g()
42 cv->wait(lk); in g()
47 cv = new std::condition_variable; in main()
51 cv->wait(lk); in main()
Dwait.pass.cpp21 std::condition_variable cv; variable
32 cv.notify_one(); in f()
34 cv.wait(lk); in f()
44 cv.wait(lk); in main()
48 cv.notify_one(); in main()
Dwait_pred.pass.cpp23 std::condition_variable cv; variable
43 cv.notify_one(); in f()
44 cv.wait(lk, Pred(test2)); in f()
54 cv.wait(lk); in main()
58 cv.notify_one(); in main()
Dwait_for.pass.cpp25 std::condition_variable cv; variable
40 cv.notify_one(); in f()
43 cv.wait_for(lk, milliseconds(250)) == std::cv_status::no_timeout) in f()
66 cv.wait(lk); in main()
70 cv.notify_one(); in main()
80 cv.wait(lk); in main()
Dwait_for_pred.pass.cpp35 std::condition_variable cv; variable
50 cv.notify_one(); in f()
52 bool r = cv.wait_for(lk, milliseconds(250), Pred(test2)); in f()
74 cv.wait(lk); in main()
78 cv.notify_one(); in main()
88 cv.wait(lk); in main()
Dwait_until.pass.cpp42 std::condition_variable cv; variable
55 cv.notify_one(); in f()
58 while (test2 == 0 && cv.wait_until(lk, t) == std::cv_status::no_timeout) in f()
81 cv.wait(lk); in main()
85 cv.notify_one(); in main()
95 cv.wait(lk); in main()
Dwait_until_pred.pass.cpp52 std::condition_variable cv; variable
65 cv.notify_one(); in f()
68 bool r = cv.wait_until(lk, t, Pred(test2)); in f()
92 cv.wait(lk); in main()
96 cv.notify_one(); in main()
106 cv.wait(lk); in main()
Dnotify_one.pass.cpp21 std::condition_variable cv; variable
33 cv.wait(lk); in f1()
43 cv.wait(lk); in f2()
58 cv.notify_one(); in main()
75 cv.notify_one(); in main()
Dnotify_all.pass.cpp21 std::condition_variable cv; variable
33 cv.wait(lk); in f1()
43 cv.wait(lk); in f2()
58 cv.notify_all(); in main()
Dnative_handle.pass.cpp24 std::condition_variable cv; in main() local
25 std::condition_variable::native_handle_type h = cv.native_handle(); in main()
Ddefault.pass.cpp21 std::condition_variable cv; in main() local
/ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.condition/
Dnotify_all_at_thread_exit.pass.cpp21 std::condition_variable cv; variable
30 std::notify_all_at_thread_exit(cv, std::move(lk)); in func()
39 cv.wait(lk); in main()
/ndk/sources/cxx-stl/llvm-libc++/src/
Dthread.cpp149 void notify_all_at_thread_exit(condition_variable* cv, mutex* m);
170 __thread_struct_imp::notify_all_at_thread_exit(condition_variable* cv, mutex* m) in notify_all_at_thread_exit() argument
172 notify_.push_back(pair<condition_variable*, mutex*>(cv, m)); in notify_all_at_thread_exit()
195 __thread_struct::notify_all_at_thread_exit(condition_variable* cv, mutex* m) in notify_all_at_thread_exit() argument
197 __p_->notify_all_at_thread_exit(cv, m); in notify_all_at_thread_exit()
Dmutex.cpp213 static pthread_cond_t cv = PTHREAD_COND_INITIALIZER; variable
220 pthread_cond_wait(&cv, &mut); in __call_once()
233 pthread_cond_broadcast(&cv); in __call_once()
241 pthread_cond_broadcast(&cv); in __call_once()
/ndk/sources/host-tools/make-3.81/
Dmain.c1312 struct command_variable *cv; in main() local
1319 for (cv = command_variables; cv != 0; cv = cv->next) in main()
1321 v = cv->variable; in main()
1332 for (cv = command_variables; cv != 0; cv = cv->next) in main()
1334 v = cv->variable; in main()
2311 struct command_variable *cv; in handle_non_switch_argument() local
2313 for (cv = command_variables; cv != 0; cv = cv->next) in handle_non_switch_argument()
2314 if (cv->variable == v) in handle_non_switch_argument()
2317 if (! cv) { in handle_non_switch_argument()
2318 cv = (struct command_variable *) xmalloc (sizeof (*cv)); in handle_non_switch_argument()
[all …]

12