Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/libcxx/test/std/thread/futures/futures.shared_future/
H A Dwait_for.pass.cpp63 assert(f.wait_for(ms(1)) == std::future_status::timeout); in main()
65 assert(f.wait_for(waitTime) == std::future_status::ready); in main()
76 assert(f.wait_for(ms(1)) == std::future_status::timeout); in main()
78 assert(f.wait_for(waitTime) == std::future_status::ready); in main()
89 assert(f.wait_for(ms(1)) == std::future_status::timeout); in main()
91 assert(f.wait_for(waitTime) == std::future_status::ready); in main()
104 assert(f.wait_for(ms(1)) == std::future_status::timeout); in main()
110 assert(f.wait_for(waitTime) == std::future_status::ready); in main()
120 assert(f.wait_for(ms(1)) == std::future_status::timeout); in main()
126 assert(f.wait_for(waitTime) == std::future_status::ready); in main()
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dspuriously-wake-up-functions.cpp99 cv_status wait_for(unique_lock<mutex> &lock, in wait_for() function in std::condition_variable
102 bool wait_for(unique_lock<mutex> &lock, in wait_for() function in std::condition_variable
158 condition.wait_for(lk, dur); in consume_list_element()
162 condition.wait_for(lk, dur, [] { return 1; }); in consume_list_element()
165 condition.wait_for(lk, dur); in consume_list_element()
168 condition.wait_for(lk, dur); in consume_list_element()
171 condition.wait_for(lk, dur); in consume_list_element()
/llvm-project-15.0.7/lldb/source/API/
H A DSBAttachInfo.cpp30 SBAttachInfo::SBAttachInfo(const char *path, bool wait_for) in SBAttachInfo() argument
32 LLDB_INSTRUMENT_VA(this, path, wait_for); in SBAttachInfo()
36 m_opaque_sp->SetWaitForLaunch(wait_for); in SBAttachInfo()
39 SBAttachInfo::SBAttachInfo(const char *path, bool wait_for, bool async) in SBAttachInfo() argument
41 LLDB_INSTRUMENT_VA(this, path, wait_for, async); in SBAttachInfo()
45 m_opaque_sp->SetWaitForLaunch(wait_for); in SBAttachInfo()
/llvm-project-15.0.7/libcxx/include/
H A Dcondition_variable50 wait_for(unique_lock<mutex>& lock,
55 wait_for(unique_lock<mutex>& lock,
95 wait_for(Lock& lock,
100 wait_for(Lock& lock,
159 wait_for(_Lock& __lock,
165 wait_for(_Lock& __lock,
246 condition_variable_any::wait_for(_Lock& __lock,
255 condition_variable_any::wait_for(_Lock& __lock,
H A Dfuture169 wait_for(const chrono::duration<Rep, Period>& rel_time) const;
196 wait_for(const chrono::duration<Rep, Period>& rel_time) const;
223 wait_for(const chrono::duration<Rep, Period>& rel_time) const;
250 wait_for(const chrono::duration<Rep, Period>& rel_time) const;
277 wait_for(const chrono::duration<Rep, Period>& rel_time) const;
1092 {return __state_->wait_for(__rel_time);}
1179 {return __state_->wait_for(__rel_time);}
1261 {return __state_->wait_for(__rel_time);}
2258 {return __state_->wait_for(__rel_time);}
2328 {return __state_->wait_for(__rel_time);}
[all …]
H A D__mutex_base313 wait_for(unique_lock<mutex>& __lk,
319 wait_for(unique_lock<mutex>& __lk,
435 condition_variable::wait_for(unique_lock<mutex>& __lk,
467 condition_variable::wait_for(unique_lock<mutex>& __lk,
512 wait_for(__lk, __tp - _Clock::now());
/llvm-project-15.0.7/libcxx/test/std/thread/futures/futures.unique_future/
H A Dwait_for.pass.cpp63 assert(f.wait_for(ms(1)) == std::future_status::timeout); in test()
69 assert(f.wait_for(ms(waitTime)) == std::future_status::ready); in test()
72 assert(f.wait_for(ms(waitTime)) == std::future_status::ready); in test()
/llvm-project-15.0.7/clang/tools/scan-build-py/tests/functional/exec/
H A Dmain.c85 void wait_for(pid_t child) { in wait_for() function
107 wait_for(child); \
244 wait_for(child); in call_posix_spawn()
262 wait_for(child); in call_posix_spawnp()
/llvm-project-15.0.7/lldb/bindings/interface/
H A DSBAttachInfo.i20 SBAttachInfo (const char *path, bool wait_for);
22 SBAttachInfo (const char *path, bool wait_for, bool async);
/llvm-project-15.0.7/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/
H A Dwait_terminates.sh.cpp127 case 3: cv.wait_for(mut, wait); break; in main()
128 case 4: cv.wait_for(mut, wait, pred_function); break; in main()
H A Dwait_for_pred.pass.cpp61 bool result = cv.wait_for(lk, milliseconds(250), Pred(test2)); in f()
H A Dwait_for.pass.cpp55 } while (test2 == 0 && cv.wait_for(lk, d) == std::cv_status::no_timeout); in f()
/llvm-project-15.0.7/lldb/include/lldb/API/
H A DSBAttachInfo.h35 SBAttachInfo(const char *path, bool wait_for);
59 SBAttachInfo(const char *path, bool wait_for, bool async);
H A DSBTarget.h255 const char *name, bool wait_for,
/llvm-project-15.0.7/lldb/tools/lldb-vscode/
H A DFifoFiles.cpp64 if (future->wait_for(timeout) == std::future_status::timeout || !line) in ReadJSON()
81 if (future->wait_for(timeout) == std::future_status::timeout || !done) { in SendJSON()
/llvm-project-15.0.7/libcxxabi/test/
H A Dforced_unwind4.pass.cpp51 if (!cv.wait_for(lk, 100ms, [] { return thread_ready; })) in main()
/llvm-project-15.0.7/lldb/test/API/api/multithreaded/
H A Dcommon.h51 m_condition.wait_for(lock, std::chrono::seconds(1)); in pop()
H A Dtest_breakpoint_callback.cpp.template45 g_condition.wait_for(lock, chrono::seconds(5));
/llvm-project-15.0.7/libcxx/test/std/thread/thread.condition/thread.condition.condvar/
H A Dwait_for_pred.pass.cpp57 bool r = cv.wait_for(lk, milliseconds(250), Pred(test2)); in f()
H A Dwait_for.pass.cpp52 } while (test2 == 0 && cv.wait_for(lk, d) == std::cv_status::no_timeout); in f()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dspuriously-wake-up-functions.rst6 Finds ``cnd_wait``, ``cnd_timedwait``, ``wait``, ``wait_for``, or
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DPredicate.h128 if (m_condition.wait_for(lock, *timeout, RealCond)) in WaitFor()
/llvm-project-15.0.7/lldb/third_party/Python/module/pexpect-4.6/pexpect/
H A D_async.py27 return (yield from asyncio.wait_for(pw.fut, timeout))
/llvm-project-15.0.7/lldb/tools/driver/
H A DOptions.td22 def wait_for: F<"wait-for">,
26 Alias<wait_for>,
/llvm-project-15.0.7/lldb/source/Utility/
H A DListener.cpp363 result = m_events_condition.wait_for(lock, *timeout); in GetEventInternal()

12