Home
last modified time | relevance | path

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

123456

/third_party/node/test/fixtures/wpt/FileAPI/reading-data-section/
Dfilereader_events.any.js5 await eventWatcher.wait_for('loadstart');
7 await eventWatcher.wait_for('load');
8 await eventWatcher.wait_for('loadend');
15 await eventWatcher.wait_for('loadstart');
16 await eventWatcher.wait_for('progress');
17 await eventWatcher.wait_for('load');
18 await eventWatcher.wait_for('loadend');
/third_party/boost/libs/process/test/
Dwait_for.cpp27 BOOST_AUTO_TEST_CASE(wait_for) in BOOST_AUTO_TEST_CASE() argument
42 BOOST_CHECK(!c.wait_for(std::chrono::milliseconds(200))); in BOOST_AUTO_TEST_CASE()
43 BOOST_CHECK( c.wait_for(std::chrono::milliseconds(1000))); in BOOST_AUTO_TEST_CASE()
62 BOOST_CHECK(!c.wait_for(std::chrono::milliseconds(400),ec)); in BOOST_AUTO_TEST_CASE()
63 BOOST_CHECK( c.wait_for(std::chrono::milliseconds(1000),ec)); in BOOST_AUTO_TEST_CASE()
128 BOOST_CHECK(c.wait_for(std::chrono::seconds(20))); in BOOST_AUTO_TEST_CASE()
Dterminate.cpp48 BOOST_CHECK(!c.wait_for(std::chrono::milliseconds(100), ec));
85 BOOST_CHECK(!c.wait_for(std::chrono::milliseconds(100), ec));
Dgroup_wait.cpp122 BOOST_CHECK(!g.wait_for(std::chrono::seconds(2), ec));
128 BOOST_CHECK(g.wait_for(std::chrono::seconds(5), ec));
/third_party/python/Tools/scripts/
Dpep384_macrocheck.py82 wait_for = -1
91 wait_for = status - 1
94 wait_for = status - 1
97 if status == wait_for:
99 wait_for = -1
104 wait_for = status - 1
/third_party/boost/libs/thread/test/sync/futures/shared_future/
Dwait_for_pass.cpp105 BOOST_TEST_EQ(f.wait_for(ms(250)) , boost::future_status::timeout); in main()
111 BOOST_TEST_EQ(f.wait_for(ms(750)) , boost::future_status::ready); in main()
128 BOOST_TEST_EQ(f.wait_for(ms(250)) , boost::future_status::timeout); in main()
134 BOOST_TEST_EQ(f.wait_for(ms(750)) , boost::future_status::ready); in main()
151 BOOST_TEST_EQ(f.wait_for(ms(250)) , boost::future_status::timeout); in main()
157 BOOST_TEST_EQ(f.wait_for(ms(750)) , boost::future_status::ready); in main()
/third_party/boost/libs/thread/test/sync/futures/future/
Dwait_for_pass.cpp105 BOOST_TEST_EQ(f.wait_for(ms(250)) , boost::future_status::timeout); in main()
111 BOOST_TEST_EQ(f.wait_for(ms(750)) , boost::future_status::ready); in main()
128 BOOST_TEST_EQ(f.wait_for(ms(250)) , boost::future_status::timeout); in main()
134 BOOST_TEST_EQ(f.wait_for(ms(750)) , boost::future_status::ready); in main()
151 BOOST_TEST_EQ(f.wait_for(ms(250)) , boost::future_status::timeout); in main()
157 BOOST_TEST_EQ(f.wait_for(ms(750)) , boost::future_status::ready); in main()
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/
Devent.h66 MARL_NO_EXPORT inline bool wait_for(
114 MARL_NO_EXPORT inline bool wait_for(
159 bool Event::Shared::wait_for( in wait_for() function
162 if (!cv.wait_for(lock, duration, [&] { return signalled; })) { in wait_for()
203 bool Event::wait_for(const std::chrono::duration<Rep, Period>& duration) const { in wait_for() function
204 return shared->wait_for(duration); in wait_for()
/third_party/boost/boost/fiber/future/
Dfuture.hpp83 future_status wait_for( std::chrono::duration< Rep, Period > const& timeout_duration) const { in wait_for() function
87 return state_->wait_for( timeout_duration); in wait_for()
155 using base_type::wait_for;
204 using base_type::wait_for;
256 using base_type::wait_for;
316 using base_type::wait_for;
375 using base_type::wait_for;
441 using base_type::wait_for;
/third_party/boost/boost/fiber/
Dcondition_variable.hpp150 … cv_status wait_for( LockType & lt, std::chrono::duration< Rep, Period > const& timeout_duration) { in wait_for() function in boost::fibers::condition_variable_any
156 …bool wait_for( LockType & lt, std::chrono::duration< Rep, Period > const& timeout_duration, Pred p… in wait_for() function in boost::fibers::condition_variable_any
229 cv_status wait_for( std::unique_lock< mutex > & lt, in wait_for() function in boost::fibers::condition_variable
234 cv_status result = cnd_.wait_for( lt, timeout_duration); in wait_for()
242 bool wait_for( std::unique_lock< mutex > & lt, in wait_for() function in boost::fibers::condition_variable
247 bool result = cnd_.wait_for( lt, timeout_duration, pred); in wait_for()
/third_party/boost/boost/process/
Dgroup.hpp128 bool wait_for (const std::chrono::duration<Rep, Period>& rel_time) in wait_for() function in boost::process::group
130 return boost::process::detail::api::wait_for(_group_handle, rel_time); in wait_for()
135 … bool wait_for (const std::chrono::duration<Rep, Period>& rel_time, std::error_code & ec) noexcept in wait_for() function in boost::process::group
137 return boost::process::detail::api::wait_for(_group_handle, rel_time, ec); in wait_for()
Dchild.hpp113 bool wait_for (const std::chrono::duration<Rep, Period>& rel_time);
115 …bool wait_for (const std::chrono::duration<Rep, Period>& rel_time, std::error_code & ec) noexcept;
/third_party/boost/boost/process/detail/posix/
Dwait_group.hpp103 inline bool wait_for( in wait_for() function
112 inline bool wait_for( in wait_for() function
117 bool b = wait_for(p, rel_time, ec); in wait_for()
Dwait_for_exit.hpp218 inline bool wait_for( in wait_for() function
228 inline bool wait_for( in wait_for() function
234 bool b = wait_for(p, exit_code, rel_time, ec); in wait_for()
/third_party/boost/libs/compute/test/
Dtest_event.cpp59 callback_condition_variable.wait_for( in BOOST_AUTO_TEST_CASE()
83 callback_condition_variable.wait_for( in BOOST_AUTO_TEST_CASE()
105 callback_condition_variable.wait_for( in BOOST_AUTO_TEST_CASE()
/third_party/grpc/src/python/grpcio_tests/tests_aio/unit/
Dconnectivity_test.py48 await asyncio.wait_for(
59 await asyncio.wait_for(
71 await asyncio.wait_for(
/third_party/boost/libs/fiber/doc/
Dcondition_variables.qbk190 cv_status wait_for( ``[locktype]`` &,
194 bool wait_for( ``[locktype]`` &,
216 `notify_one` or `notify_all` (though the respective calls to `wait`, `wait_for` or
227 call to `wait`, `wait_for` or `wait_until`, unblocks one of those fibers.]]
238 call to `wait`, `wait_for` or `wait_until`, unblocks all of those fibers.]]
301 function on the `lk` objects supplied in the calls to `wait`, `wait_for` or
333 [template_member_heading [classname]..wait_for]
336 cv_status wait_for( ``[locktype]`` & lk,
340 bool wait_for( ``[locktype]`` & lk,
347 function on the `lk` objects supplied in the calls to `wait`, `wait_for` or
[all …]
/third_party/boost/boost/process/detail/windows/
Dwait_for_exit.hpp100 inline bool wait_for( in wait_for() function
110 inline bool wait_for( in wait_for() function
116 bool b = wait_for(p, exit_code, rel_time, ec); in wait_for()
Dwait_group.hpp109 inline bool wait_for( in wait_for() function
120 inline bool wait_for( in wait_for() function
125 bool b = wait_for(p, rel_time, ec); in wait_for()
/third_party/python/Lib/test/test_asyncio/
Dtest_asyncio_waitfor.py36 waitfortask = asyncio.create_task(asyncio.wait_for(t.run(), t.TASK_TIMEOUT * 2))
50 await asyncio.wait_for(t.run(), t.TASK_TIMEOUT / 2)
/third_party/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()
/third_party/boost/boost/process/detail/
Dchild_decl.hpp129 bool wait_for (const std::chrono::duration<Rep, Period>& rel_time) in wait_for() function in boost::process::child
132 bool b = wait_for(rel_time, ec); in wait_for()
182 … bool wait_for (const std::chrono::duration<Rep, Period>& rel_time, std::error_code & ec) noexcept in wait_for() function in boost::process::child
/third_party/boost/boost/thread/
Dlatch.hpp90 cv_status wait_for(const chrono::duration<Rep, Period>& rel_time) in wait_for() function in boost::latch
95 return cond_.wait_for(lk, rel_time, detail::not_equal(generation, generation_)) in wait_for()
/third_party/boost/libs/fiber/test/
Dtest_future_post.cpp413 boost::fibers::future_status status = f1.wait_for( ms(300) ); in test_future_wait_for()
417 status = f1.wait_for( ms(400) ); in test_future_wait_for()
433 boost::fibers::future_status status = f1.wait_for( ms(300) ); in test_future_wait_for_ref()
437 status = f1.wait_for( ms(400) ); in test_future_wait_for_ref()
453 boost::fibers::future_status status = f1.wait_for( ms(300) ); in test_future_wait_for_void()
457 status = f1.wait_for( ms(400) ); in test_future_wait_for_void()
Dtest_future_dispatch.cpp413 boost::fibers::future_status status = f1.wait_for( ms(300) ); in test_future_wait_for()
417 status = f1.wait_for( ms(400) ); in test_future_wait_for()
433 boost::fibers::future_status status = f1.wait_for( ms(300) ); in test_future_wait_for_ref()
437 status = f1.wait_for( ms(400) ); in test_future_wait_for_ref()
453 boost::fibers::future_status status = f1.wait_for( ms(300) ); in test_future_wait_for_void()
457 status = f1.wait_for( ms(400) ); in test_future_wait_for_void()

123456