Home
last modified time | relevance | path

Searched refs:wait_for (Results 1 – 17 of 17) sorted by relevance

/external/libcxx/test/std/thread/futures/futures.unique_future/
Dwait_for.pass.cpp56 assert(f.wait_for(ms(300)) == std::future_status::timeout); in main()
58 assert(f.wait_for(ms(300)) == std::future_status::ready); in main()
72 assert(f.wait_for(ms(300)) == std::future_status::timeout); in main()
74 assert(f.wait_for(ms(300)) == std::future_status::ready); in main()
88 assert(f.wait_for(ms(300)) == std::future_status::timeout); in main()
90 assert(f.wait_for(ms(300)) == std::future_status::ready); in main()
/external/libcxx/test/std/thread/futures/futures.shared_future/
Dwait_for.pass.cpp56 assert(f.wait_for(ms(300)) == std::future_status::timeout); in main()
58 assert(f.wait_for(ms(300)) == std::future_status::ready); in main()
72 assert(f.wait_for(ms(300)) == std::future_status::timeout); in main()
74 assert(f.wait_for(ms(300)) == std::future_status::ready); in main()
88 assert(f.wait_for(ms(300)) == std::future_status::timeout); in main()
90 assert(f.wait_for(ms(300)) == std::future_status::ready); in main()
/external/libcxx/include/
Dcondition_variable51 wait_for(unique_lock<mutex>& lock,
56 wait_for(unique_lock<mutex>& lock,
96 wait_for(Lock& lock,
101 wait_for(Lock& lock,
158 wait_for(_Lock& __lock,
164 wait_for(_Lock& __lock,
245 condition_variable_any::wait_for(_Lock& __lock,
254 condition_variable_any::wait_for(_Lock& __lock,
D__mutex_base338 wait_for(unique_lock<mutex>& __lk,
344 wait_for(unique_lock<mutex>& __lk,
388 wait_for(__lk, __t - _Clock::now());
408 condition_variable::wait_for(unique_lock<mutex>& __lk,
430 condition_variable::wait_for(unique_lock<mutex>& __lk,
Dfuture170 wait_for(const chrono::duration<Rep, Period>& rel_time) const;
197 wait_for(const chrono::duration<Rep, Period>& rel_time) const;
224 wait_for(const chrono::duration<Rep, Period>& rel_time) const;
251 wait_for(const chrono::duration<Rep, Period>& rel_time) const;
278 wait_for(const chrono::duration<Rep, Period>& rel_time) const;
305 wait_for(const chrono::duration<Rep, Period>& rel_time) const;
583 wait_for(const chrono::duration<_Rep, _Period>& __rel_time) const;
609 __assoc_sub_state::wait_for(const chrono::duration<_Rep, _Period>& __rel_time) const
1140 wait_for(const chrono::duration<_Rep, _Period>& __rel_time) const
1141 {return __state_->wait_for(__rel_time);}
[all …]
/external/clang/tools/scan-build-py/tests/functional/exec/
Dmain.c86 void wait_for(pid_t child) { in wait_for() function
108 wait_for(child); \
245 wait_for(child); in call_posix_spawn()
263 wait_for(child); in call_posix_spawnp()
/external/toybox/toys/pending/
Dfsck.c250 static int wait_for(int for_all) in wait_for() function
323 if ((ret |= wait_for(1)) > 4) return ret; //destruction in filesys. in scan_all()
347 && (TT.nr_run >= TT.max_nr_run))) ret |= wait_for(0); in scan_all()
351 ret |= wait_for(1); in scan_all()
411 toys.exitval |= wait_for(0); in fsck_main()
414 toys.exitval |= wait_for(1); in fsck_main()
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/
Dwait_terminates.sh.cpp126 case 3: cv.wait_for(mut, wait); break; in main()
127 case 4: cv.wait_for(mut, wait, pred_function); break; in main()
Dwait_for.pass.cpp48 cv.wait_for(lk, milliseconds(250)) == std::cv_status::no_timeout) in f()
Dwait_for_pred.pass.cpp58 bool result = cv.wait_for(lk, milliseconds(250), Pred(test2)); in f()
/external/autotest/client/cros/
Dwebstore_test.py175 def wait_for(self, xpath): member in webstore_test
258 self.wait_for(post_install_xpath)
/external/drm_hwcomposer/tests/
Dqueue_worker_test.cpp71 return qw.cond.wait_for(lk, timeout, [&] { return qw.value == val; }); in WaitFor()
134 qw.cond.wait_for(lock, timeout, [&] { return qw.value != 1; })); in TEST_F()
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvar/
Dwait_for_pred.pass.cpp54 bool r = cv.wait_for(lk, milliseconds(250), Pred(test2)); in f()
Dwait_for.pass.cpp45 cv.wait_for(lk, milliseconds(250)) == std::cv_status::no_timeout) in f()
/external/drm_hwcomposer/
Dworker.cpp65 cond_.wait_for(lk, std::chrono::nanoseconds(max_nanoseconds))) { in WaitForSignalOrExitLocked()
Dqueue_worker.h98 ret = cond_.wait_for(lock, timeout, wait_func); in WaitCond()
/external/skia/tools/
Dok.cpp123 if (it->wait_for(std::chrono::seconds::zero()) == std::future_status::ready) { in wait_one()