Home
last modified time | relevance | path

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

123

/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_base334 wait_for(unique_lock<mutex>& __lk,
340 wait_for(unique_lock<mutex>& __lk,
384 wait_for(__lk, __t - _Clock::now());
404 condition_variable::wait_for(unique_lock<mutex>& __lk,
426 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;
587 wait_for(const chrono::duration<_Rep, _Period>& __rel_time) const;
613 __assoc_sub_state::wait_for(const chrono::duration<_Rep, _Period>& __rel_time) const
1145 wait_for(const chrono::duration<_Rep, _Period>& __rel_time) const
1146 {return __state_->wait_for(__rel_time);}
[all …]
/external/u-boot/test/py/tests/
Dtest_efi_loader.py186 u_boot_console.wait_for('grub>')
188 u_boot_console.wait_for('SMBIOS')
191 u_boot_console.wait_for('grub>')
193 u_boot_console.wait_for('r = 0')
/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/tensorflow/tensorflow/cc/training/
Dqueue_runner.cc96 Status QueueRunner::Start(Session* sess, int wait_for) { in Start() argument
106 if (wait_for > 0) { in Start()
107 if (!counter_->WaitFor(std::chrono::milliseconds(wait_for))) { in Start()
/external/tensorflow/tensorflow/core/graph/
Dcollective_order.cc161 absl::flat_hash_map<Node*, absl::flat_hash_set<int32>> wait_for; in InsertControlDependencies() local
167 wait_for[dst_node].insert(src_instance); in InsertControlDependencies()
170 for (const auto& pair : wait_for) { in InsertControlDependencies()
/external/Reactive-Extensions/RxCpp/Rx/v2/test/subscriptions/
Dcoroutine.cpp40 REQUIRE(d.wait_for(std::chrono::seconds(0)) == std::future_status::ready);
101 REQUIRE(d.wait_for(std::chrono::seconds(0)) == std::future_status::ready);
/external/python/cpython3/Doc/library/
Dasyncio-api-index.rst33 * - ``await`` :func:`wait_for`
63 * :ref:`Using asyncio.wait_for() to enforce a timeout
204 - Raised on timeout by functions like :func:`wait_for`.
/external/tensorflow/tensorflow/core/platform/default/
Dmutex.h147 std::cv_status wait_for(mutex_lock& lock, in wait_for() function
170 std::cv_status s = cv->wait_for(*mu, std::chrono::milliseconds(ms)); in WaitForMilliseconds()
Dnotification.h69 cv_.wait_for(l, std::chrono::microseconds(timeout_in_us)) != in WaitForNotificationWithTimeout()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_sslproto.py271 asyncio.wait_for(client(srv.addr), loop=self.loop, timeout=10))
361 asyncio.wait_for(client(srv.addr),
416 await asyncio.wait_for(
423 asyncio.wait_for(client(srv.addr), loop=self.loop, timeout=10))
500 await asyncio.wait_for(
540 await asyncio.wait_for(
/external/autotest/client/cros/
Dwebstore_test.py175 def wait_for(self, xpath): member in webstore_test
258 self.wait_for(post_install_xpath)
/external/tensorflow/tensorflow/core/lib/core/
Dblocking_counter.h63 const std::cv_status status = cond_var_.wait_for(l, ms); in WaitFor()
/external/perf_data_converter/src/quipper/compat/non_cros/detail/
Dthread.h39 return event_.wait_for(lock, std::chrono::milliseconds(timeout_ms)) == in WaitWithTimeout()
/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.cpp47 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()
/external/perfetto/test/
Dtask_runner_thread.cc47 ready_.wait_for(lock, std::chrono::seconds(10), in Start()

123