Home
last modified time | relevance | path

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

12

/external/libcxx/test/std/thread/futures/futures.unique_future/
Dwait_for.pass.cpp55 assert(f.wait_for(ms(300)) == std::future_status::timeout); in main()
57 assert(f.wait_for(ms(300)) == std::future_status::ready); in main()
71 assert(f.wait_for(ms(300)) == std::future_status::timeout); in main()
73 assert(f.wait_for(ms(300)) == std::future_status::ready); in main()
87 assert(f.wait_for(ms(300)) == std::future_status::timeout); in main()
89 assert(f.wait_for(ms(300)) == std::future_status::ready); in main()
/external/libcxx/test/std/thread/futures/futures.shared_future/
Dwait_for.pass.cpp55 assert(f.wait_for(ms(300)) == std::future_status::timeout); in main()
57 assert(f.wait_for(ms(300)) == std::future_status::ready); in main()
71 assert(f.wait_for(ms(300)) == std::future_status::timeout); in main()
73 assert(f.wait_for(ms(300)) == std::future_status::ready); in main()
87 assert(f.wait_for(ms(300)) == std::future_status::timeout); in main()
89 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,
150 wait_for(_Lock& __lock,
155 wait_for(_Lock& __lock,
236 condition_variable_any::wait_for(_Lock& __lock,
245 condition_variable_any::wait_for(_Lock& __lock,
D__mutex_base304 wait_for(unique_lock<mutex>& __lk,
309 wait_for(unique_lock<mutex>& __lk,
353 wait_for(__lk, __t - _Clock::now());
373 condition_variable::wait_for(unique_lock<mutex>& __lk,
395 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;
569 wait_for(const chrono::duration<_Rep, _Period>& __rel_time) const;
594 __assoc_sub_state::wait_for(const chrono::duration<_Rep, _Period>& __rel_time) const
1128 wait_for(const chrono::duration<_Rep, _Period>& __rel_time) const
1129 {return __state_->wait_for(__rel_time);}
[all …]
/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/autotest/client/tests/kvm/tests/
Dpci_hotplug.py155 if (not virt_utils.wait_for(device_removed, 10, 0, 1)
173 if not virt_utils.wait_for(new_shown, 30, secs, 3):
183 if not virt_utils.wait_for(find_pci, 30, 3, 3):
Dnic_hotplug.py103 if not virt_utils.wait_for(lambda: nic_id not in
127 if not virt_utils.wait_for(lambda: (vm.address_cache.get(mac) is
Dtrans_hugepage_swapping.py88 session = virt_utils.wait_for(vm_key.remote_login,
Dunittest.py97 if not virt_utils.wait_for(vm.is_dead, timeout):
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/
Dwait_for.exception.pass.cpp59 cv.wait_for(mut, std::chrono::milliseconds(250)); in main()
Dwait_for.pass.cpp48 cv.wait_for(lk, milliseconds(250)) == std::cv_status::no_timeout) in f()
Dwait_for_pred.pass.cpp57 bool r = 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/autotest/client/virt/tests/
Dshutdown.py38 if not virt_utils.wait_for(vm.is_dead, 240, 0, 1):
Dwatchdog.py31 if not virt_utils.wait_for(lambda: not session.is_responsive(),
Dmac_change.py48 if virt_utils.wait_for(session.is_responsive, 120, 20, 3):
Dkdump.py44 if not virt_utils.wait_for(lambda: not session.is_responsive(), 240, 0,
Dguest_s4.py52 if not virt_utils.wait_for(vm.is_dead, suspend_timeout, 2, 2):
Djumbo.py109 if not virt_utils.wait_for(is_mtu_ok, wait_mtu_ok, 0, 1):
/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/autotest/client/virt/
Dkvm_vm.py889 if virt_utils.wait_for(self.is_dead, 60, 1, 1):
904 if virt_utils.wait_for(self.is_dead, 5, 0.5, 0.5):
913 if virt_utils.wait_for(self.is_dead, 5, 0.5, 0.5):
1188 if not virt_utils.wait_for(mig_finished, timeout, 2, 2,
1225 if not virt_utils.wait_for(mig_cancelled, 60, 2, 2,
1324 if not virt_utils.wait_for(lambda:
Dvirt_test_utils.py134 if not virt_utils.wait_for(lambda: not session.is_responsive(timeout=30),
195 if not virt_utils.wait_for(mig_finished, mig_timeout, 2, 2,
230 if not virt_utils.wait_for(mig_cancelled, 60, 2, 2,
Dvirt_env_process.py135 virt_utils.wait_for(vm.is_dead, kill_vm_timeout, 0, 1)
221 if virt_utils.wait_for(lambda: not env["tcpdump"].is_alive(),

12