Home
last modified time | relevance | path

Searched full:wait (Results 1 – 25 of 12568) sorted by relevance

12345678910>>...503

/external/igt-gpu-tools/gtests/src/
Dgtest_syncobj_wait.cpp14 runSubTest(testBinaryName, "invalid-wait-bad-flags"); in TEST_F()
18 runSubTest(testBinaryName, "invalid-wait-zero-handles"); in TEST_F()
22 runSubTest(testBinaryName, "invalid-wait-illegal-handle"); in TEST_F()
58 runSubTest(testBinaryName, "invalid-single-wait-unsubmitted"); in TEST_F()
62 runSubTest(testBinaryName, "single-wait-for-submit-unsubmitted"); in TEST_F()
66 runSubTest(testBinaryName, "invalid-single-wait-all-unsubmitted"); in TEST_F()
70 runSubTest(testBinaryName, "single-wait-all-for-submit-unsubmitted"); in TEST_F()
74 runSubTest(testBinaryName, "single-wait-submitted"); in TEST_F()
78 runSubTest(testBinaryName, "single-wait-for-submit-submitted"); in TEST_F()
82 runSubTest(testBinaryName, "single-wait-all-submitted"); in TEST_F()
[all …]
Dgtest_kms_vblank.cpp58 runSubTest(testBinaryName, "pipe-A-wait-idle"); in TEST_F()
62 runSubTest(testBinaryName, "pipe-A-wait-idle-hang"); in TEST_F()
66 runSubTest(testBinaryName, "pipe-A-wait-forked"); in TEST_F()
70 runSubTest(testBinaryName, "pipe-A-wait-forked-hang"); in TEST_F()
74 runSubTest(testBinaryName, "pipe-A-wait-busy"); in TEST_F()
78 runSubTest(testBinaryName, "pipe-A-wait-busy-hang"); in TEST_F()
82 runSubTest(testBinaryName, "pipe-A-wait-forked-busy"); in TEST_F()
86 runSubTest(testBinaryName, "pipe-A-wait-forked-busy-hang"); in TEST_F()
158 runSubTest(testBinaryName, "pipe-B-wait-idle"); in TEST_F()
162 runSubTest(testBinaryName, "pipe-B-wait-idle-hang"); in TEST_F()
[all …]
/external/rust/crates/tokio-util/tests/
Dtask_tracker.rs59 let mut wait = task::spawn(tracker.wait()); in notify_immediately() localVariable
60 assert_ready!(wait.poll()); in notify_immediately()
68 let mut wait = task::spawn(tracker.wait()); in notify_immediately_on_reopen() localVariable
70 assert_ready!(wait.poll()); in notify_immediately_on_reopen()
77 let mut wait = task::spawn(tracker.wait()); in notify_on_close() localVariable
79 assert_pending!(wait.poll()); in notify_on_close()
81 assert_ready!(wait.poll()); in notify_on_close()
88 let mut wait = task::spawn(tracker.wait()); in notify_on_close_reopen() localVariable
90 assert_pending!(wait.poll()); in notify_on_close_reopen()
93 assert_ready!(wait.poll()); in notify_on_close_reopen()
[all …]
/external/igt-gpu-tools/tests/i915/
Dgem_wait.c44 struct drm_i915_gem_wait wait; in invalid_flags() local
46 memset(&wait, 0, sizeof(wait)); in invalid_flags()
47 wait.bo_handle = gem_create(fd, 4096); in invalid_flags()
48 wait.timeout_ns = 1; in invalid_flags()
52 wait.flags = 1; in invalid_flags()
54 igt_assert_eq(__gem_wait(fd, &wait), -EINVAL); in invalid_flags()
56 gem_close(fd, wait.bo_handle); in invalid_flags()
61 struct drm_i915_gem_wait wait; in invalid_buf() local
63 memset(&wait, 0, sizeof(wait)); in invalid_buf()
64 igt_assert_eq(__gem_wait(fd, &wait), -ENOENT); in invalid_buf()
[all …]
/external/igt-gpu-tools/tests/
Dsyncobj_wait.c35 IGT_TEST_DESCRIPTION("Tests for the drm sync object wait API");
144 struct local_syncobj_wait wait = { 0 }; in test_wait_bad_flags() local
145 wait.flags = 0xdeadbeef; in test_wait_bad_flags()
146 igt_assert_eq(__syncobj_wait(fd, &wait), -EINVAL); in test_wait_bad_flags()
152 struct local_syncobj_wait wait = { 0 }; in test_wait_zero_handles() local
153 igt_assert_eq(__syncobj_wait(fd, &wait), -EINVAL); in test_wait_zero_handles()
159 struct local_syncobj_wait wait = { 0 }; in test_wait_illegal_handle() local
162 wait.count_handles = 1; in test_wait_illegal_handle()
163 wait.handles = to_user_pointer(&handle); in test_wait_illegal_handle()
164 igt_assert_eq(__syncobj_wait(fd, &wait), -ENOENT); in test_wait_illegal_handle()
[all …]
/external/swiftshader/tests/regres/testlists/vk-default/
Dmesh-shader.txt3079 dEQP-VK.mesh_shader.ext.query.prim_query.points.no_reset.copy.wait.draw.32bit.no_availability.multi…
3080 dEQP-VK.mesh_shader.ext.query.prim_query.points.no_reset.copy.wait.draw.32bit.no_availability.multi…
3081 dEQP-VK.mesh_shader.ext.query.prim_query.points.no_reset.copy.wait.draw.32bit.no_availability.multi…
3082 dEQP-VK.mesh_shader.ext.query.prim_query.points.no_reset.copy.wait.draw.32bit.no_availability.multi…
3083 dEQP-VK.mesh_shader.ext.query.prim_query.points.no_reset.copy.wait.draw.32bit.no_availability.multi…
3084 dEQP-VK.mesh_shader.ext.query.prim_query.points.no_reset.copy.wait.draw.32bit.no_availability.multi…
3085 dEQP-VK.mesh_shader.ext.query.prim_query.points.no_reset.copy.wait.draw.32bit.no_availability.multi…
3086 dEQP-VK.mesh_shader.ext.query.prim_query.points.no_reset.copy.wait.draw.32bit.no_availability.multi…
3087 dEQP-VK.mesh_shader.ext.query.prim_query.points.no_reset.copy.wait.draw.32bit.no_availability.multi…
3088 dEQP-VK.mesh_shader.ext.query.prim_query.points.no_reset.copy.wait.draw.32bit.no_availability.multi…
[all …]
/external/deqp/external/vulkancts/mustpass/main/vk-default/
Dmesh-shader.txt1845 dEQP-VK.mesh_shader.ext.query.all_queries.lines.host_reset.copy.wait.draw.32bit.no_availability.mul…
1846 dEQP-VK.mesh_shader.ext.query.all_queries.lines.host_reset.copy.wait.draw.32bit.no_availability.mul…
1847 dEQP-VK.mesh_shader.ext.query.all_queries.lines.host_reset.copy.wait.draw.32bit.no_availability.mul…
1848 dEQP-VK.mesh_shader.ext.query.all_queries.lines.host_reset.copy.wait.draw.32bit.no_availability.mul…
1849 dEQP-VK.mesh_shader.ext.query.all_queries.lines.host_reset.copy.wait.draw.32bit.no_availability.mul…
1850 dEQP-VK.mesh_shader.ext.query.all_queries.lines.host_reset.copy.wait.draw.32bit.no_availability.mul…
1851 dEQP-VK.mesh_shader.ext.query.all_queries.lines.host_reset.copy.wait.draw.32bit.no_availability.mul…
1852 dEQP-VK.mesh_shader.ext.query.all_queries.lines.host_reset.copy.wait.draw.32bit.no_availability.mul…
1853 dEQP-VK.mesh_shader.ext.query.all_queries.lines.host_reset.copy.wait.draw.32bit.no_availability.mul…
1854 dEQP-VK.mesh_shader.ext.query.all_queries.lines.host_reset.copy.wait.draw.32bit.no_availability.mul…
[all …]
/external/deqp/android/cts/main/vk-main-2023-03-01/
Dmesh-shader.txt1844 dEQP-VK.mesh_shader.ext.query.all_queries.lines.host_reset.copy.wait.draw.32bit.no_availability.mul…
1845 dEQP-VK.mesh_shader.ext.query.all_queries.lines.host_reset.copy.wait.draw.32bit.no_availability.mul…
1846 dEQP-VK.mesh_shader.ext.query.all_queries.lines.host_reset.copy.wait.draw.32bit.no_availability.mul…
1847 dEQP-VK.mesh_shader.ext.query.all_queries.lines.host_reset.copy.wait.draw.32bit.no_availability.mul…
1848 dEQP-VK.mesh_shader.ext.query.all_queries.lines.host_reset.copy.wait.draw.32bit.no_availability.mul…
1849 dEQP-VK.mesh_shader.ext.query.all_queries.lines.host_reset.copy.wait.draw.32bit.no_availability.mul…
1850 dEQP-VK.mesh_shader.ext.query.all_queries.lines.host_reset.copy.wait.draw.32bit.no_availability.mul…
1851 dEQP-VK.mesh_shader.ext.query.all_queries.lines.host_reset.copy.wait.draw.32bit.no_availability.mul…
1852 dEQP-VK.mesh_shader.ext.query.all_queries.lines.host_reset.copy.wait.draw.32bit.no_availability.mul…
1853 dEQP-VK.mesh_shader.ext.query.all_queries.lines.host_reset.copy.wait.draw.32bit.no_availability.mul…
[all …]
/external/sdv/vsomeip/third_party/boost/thread/include/boost/thread/futures/
Dwait_for_all.hpp23 current->wait(); in wait_for_all()
31 f1.wait(); in wait_for_all()
32 f2.wait(); in wait_for_all()
38 f1.wait(); in wait_for_all()
39 f2.wait(); in wait_for_all()
40 f3.wait(); in wait_for_all()
46 f1.wait(); in wait_for_all()
47 f2.wait(); in wait_for_all()
48 f3.wait(); in wait_for_all()
49 f4.wait(); in wait_for_all()
[all …]
/external/perfetto/src/base/threading/
Dthread_pool_unittest.cc31 base::WaitableEvent wait; member
43 first.wait.Wait(); in TEST()
49 second.wait.Wait(); in TEST()
52 first.notify.Wait(); in TEST()
55 first.wait.Notify(); in TEST()
57 second.notify.Wait(); in TEST()
59 second.wait.Notify(); in TEST()
67 first.wait.Wait(); in TEST()
74 second.wait.Wait(); in TEST()
79 second.wait.Notify(); in TEST()
[all …]
/external/autotest/server/cros/ap_configurators/
Dweb_driver_core_helpers.py21 self.wait = WebDriverWait(self.driver, timeout=5)
84 """Sets the wait time of webdriver commands.
86 @param time: the time to wait in seconds.
89 self.wait = WebDriverWait(self.driver, timeout=time)
93 """Restores the default webdriver wait time."""
94 self.wait = WebDriverWait(self.driver, timeout=5)
98 """Wait for one of the element_ids to show up.
101 @param wait_time: The time to wait before giving up.
116 """Wait for one of the items in the xpath to show up.
119 @param wait_time: The time to wait before giving up.
[all …]
/external/rust/crates/rustix/src/process/
Dwait.rs9 use crate::backend::process::wait::SiginfoExt;
12 /// Options for modifying the behavior of [`wait`]/[`waitpid`].
17 const NOHANG = bitcast!(backend::process::wait::WNOHANG);
21 const UNTRACED = bitcast!(backend::process::wait::WUNTRACED);
24 const CONTINUED = bitcast!(backend::process::wait::WCONTINUED);
38 const NOHANG = bitcast!(backend::process::wait::WNOHANG);
41 const CONTINUED = bitcast!(backend::process::wait::WCONTINUED);
42 /// Wait for processed that have exited.
43 const EXITED = bitcast!(backend::process::wait::WEXITED);
45 const NOWAIT = bitcast!(backend::process::wait::WNOWAIT);
[all …]
/external/sdv/vsomeip/third_party/boost/thread/doc/
Dcondition_variables.qbk26 mechanism for one thread to wait for notification from another thread that a
28 thread locks a mutex and then calls `wait` on an instance of
30 the wait, then it checks to see if the appropriate condition is now true, and
31 continues if so. If the condition is not true, then the thread then calls `wait`
46 cond.wait(lock);
51 Notice that the `lock` is passed to `wait`: `wait` will atomically add the
54 to `wait` returns. This allows other threads to acquire the mutex in order to
82 `condition_variable` requires that the lock passed to `wait` is an instance of
103 void wait(boost::unique_lock<boost::mutex>& lock);
106 void wait(boost::unique_lock<boost::mutex>& lock,predicate_type predicate);
[all …]
/external/sdv/vsomeip/third_party/boost/asio/include/boost/asio/
Dbasic_deadline_timer.hpp42 * blocking or asynchronous wait for a timer to expire.
45 * If the wait() or async_wait() function is called on an expired timer, the
46 * wait operation will complete immediately.
55 * Performing a blocking wait:
63 * // Wait for the timer to expire.
64 * timer.wait();
68 * Performing an asynchronous wait:
84 * // Start an asynchronous wait.
91 * waits causes those wait operations to be cancelled. To ensure that the action
100 * // We managed to cancel the timer. Start new asynchronous wait.
[all …]
/external/swiftshader/docs/
DTimelineSemaphores.md12 is used to wait for semaphores on the host. It can operate in one of two modes:
13 "wait for all" and "wait for any".
21 ## Wait for any semaphore
23 A "wait for any" of a set of semaphores is represented by a
25 contains an internal list of all `WaitForAny` objects that wait for it, as well
26 as for which values they wait. When signaled, the timeline semaphore looks
32 the value for which it is waiting. If it has not yet been reached, the wait
34 the wait object is immediately signaled and no further timeline semaphores are
38 change what semaphores or values to wait for after construction. Any subsequent
39 calls to `wait()` will return `VK_SUCCESS` immediately.
[all …]
/external/libchrome/mojo/core/
Dtrap_unittest.cc158 base::WaitableEvent wait(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F() local
168 wait.Signal(); in TEST_F()
186 wait.Wait(); in TEST_F()
221 base::WaitableEvent wait(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F() local
225 [](const MojoTrapEvent&) {}, [&] { wait.Signal(); }); in TEST_F()
237 wait.Wait(); in TEST_F()
247 base::WaitableEvent wait(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F() local
253 wait.Signal(); in TEST_F()
267 wait.Wait(); in TEST_F()
295 base::WaitableEvent wait(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F() local
[all …]
/external/rust/crates/tokio/tests/
Dsync_barrier.rs17 IsSend(b.wait()); in barrier_future_is_send()
25 let mut w = spawn(b.wait()); in zero_does_not_block()
30 let mut w = spawn(b.wait()); in zero_does_not_block()
41 let mut w = spawn(b.wait()); in single()
46 let mut w = spawn(b.wait()); in single()
51 let mut w = spawn(b.wait()); in single()
61 let mut w1 = spawn(b.wait()); in tango()
64 let mut w2 = spawn(b.wait()); in tango()
77 let mut wait = Vec::new(); in lots() localVariable
79 let mut w = spawn(b.wait()); in lots()
[all …]
/external/webrtc/rtc_base/
Devent_unittest.cc22 ASSERT_TRUE(event.Wait(webrtc::TimeDelta::Zero())); in TEST()
27 ASSERT_FALSE(event.Wait(webrtc::TimeDelta::Zero())); in TEST()
30 ASSERT_TRUE(event.Wait(webrtc::TimeDelta::Zero())); in TEST()
31 ASSERT_TRUE(event.Wait(webrtc::TimeDelta::Zero())); in TEST()
34 ASSERT_FALSE(event.Wait(webrtc::TimeDelta::Zero())); in TEST()
39 ASSERT_FALSE(event.Wait(webrtc::TimeDelta::Zero())); in TEST()
42 ASSERT_TRUE(event.Wait(webrtc::TimeDelta::Zero())); in TEST()
43 ASSERT_FALSE(event.Wait(webrtc::TimeDelta::Zero())); in TEST()
53 while (!stop_event_.Wait(webrtc::TimeDelta::Zero())) { in Start()
55 reader_->Wait(Event::kForever); in Start()
[all …]
/external/deqp/android/cts/main/vk-main-2022-03-01/
Dwsi.txt4 dEQP-VK.wsi.android.present_id_wait.wait.future_frame
5 dEQP-VK.wsi.android.present_id_wait.wait.no_frame_id
6 dEQP-VK.wsi.android.present_id_wait.wait.no_frames
7 dEQP-VK.wsi.android.present_id_wait.wait.past_no_timeout
8 dEQP-VK.wsi.android.present_id_wait.wait.single_no_timeout
9 dEQP-VK.wsi.android.present_id_wait.wait.two_swapchains
20 dEQP-VK.wsi.headless.present_id_wait.wait.future_frame
21 dEQP-VK.wsi.headless.present_id_wait.wait.no_frame_id
22 dEQP-VK.wsi.headless.present_id_wait.wait.no_frames
23 dEQP-VK.wsi.headless.present_id_wait.wait.past_no_timeout
[all …]
/external/libchrome/mojo/public/cpp/system/tests/
Dwait_set_unittest.cc17 #include "mojo/public/cpp/system/wait.h"
70 wait_set.Wait(nullptr, &num_ready_handles, ready_handles, ready_results, hss); in TEST_F()
87 wait_set.Wait(nullptr, &num_ready_handles, ready_handles, ready_results, hss); in TEST_F()
94 // Now wait on both of them. in TEST_F()
100 wait_set.Wait(nullptr, &num_ready_handles, ready_handles, ready_results, hss); in TEST_F()
111 // Wait on both again, but with only enough output space for one result. in TEST_F()
114 wait_set.Wait(nullptr, &num_ready_handles, ready_handles, ready_results, hss); in TEST_F()
120 // Remove the ready handle from the set and wait one more time. in TEST_F()
125 wait_set.Wait(nullptr, &num_ready_handles, ready_handles, ready_results, hss); in TEST_F()
133 // The wait set should be empty now. Nothing to wait on. in TEST_F()
[all …]
/external/rust/crates/crossbeam-utils/benches/
Datomic_cell.rs54 start.wait(); in concurrent_load_u8()
62 end.wait(); in concurrent_load_u8()
69 start.wait(); in concurrent_load_u8()
70 end.wait(); in concurrent_load_u8()
73 start.wait(); in concurrent_load_u8()
74 end.wait(); in concurrent_load_u8()
77 start.wait(); in concurrent_load_u8()
79 end.wait(); in concurrent_load_u8()
128 start.wait(); in concurrent_load_usize()
136 end.wait(); in concurrent_load_usize()
[all …]
/external/autotest/server/cros/
Dstress.py45 Optionally takes a wait condition before the stressor loop. Returns
48 @param start_condition: the new thread will wait until this optional
50 @param start_timeout_secs: how long to wait for |start_condition| to
51 become True, or None to wait forever.
60 Wait for |_start_condition|, and then start the stressor loop.
153 @param start_condition: the new thread will wait to until this optional
155 @param start_timeout_secs: how long to wait for |start_condition| to
156 become True, or None to wait forever.
167 @param timeout: maximum time to wait for a single run of the stressor to
180 calling thread can use wait() to block until the loop completes. If the
[all …]
/external/cronet/third_party/libc++/src/test/std/thread/thread.condition/thread.condition.condvarany/
Dwait_terminates.sh.cpp29 // Check that std::terminate is called if wait(...) fails to meet its post
34 // 1. void wait(Lock& lock);
35 // 2. void wait(Lock& lock, Pred);
40 // 7. bool wait(Lock& lock, stop_token stoken, Predicate pred);
55 // 5 From the main thread call the specified wait method on 'cv' with 'm'.
56 // When 'T2' notifies 'cv' and the wait method attempts to re-lock
59 // 6 Check that control flow does not return from the wait method and that
81 // The predicate used in the cv.wait calls.
115 while (mut.isLocked()) {} // wait until T1 releases mut inside the cv.wait call. in signal_me()
128 MS wait(250); in main() local
[all …]
/external/igt-gpu-tools/lib/
Digt_syncobj.c185 struct local_syncobj_wait wait; in syncobj_wait_err() local
187 wait.handles = to_user_pointer(handles); in syncobj_wait_err()
188 wait.timeout_nsec = abs_timeout_nsec; in syncobj_wait_err()
189 wait.count_handles = count; in syncobj_wait_err()
190 wait.flags = flags; in syncobj_wait_err()
191 wait.first_signaled = 0; in syncobj_wait_err()
192 wait.pad = 0; in syncobj_wait_err()
194 return __syncobj_wait(fd, &wait); in syncobj_wait_err()
200 * @handles: List of syncobj handles to wait for.
202 * @abs_timeout_nsec: Absolute wait timeout in nanoseconds.
[all …]
/external/rust/crates/spin/src/
Dbarrier.rs35 /// println!("before wait");
36 /// c.wait();
37 /// println!("after wait");
40 /// // Wait for other threads to finish.
56 /// A `BarrierWaitResult` is returned by [`wait`] when all threads in the [`Barrier`]
59 /// [`wait`]: struct.Barrier.html#method.wait
68 /// let barrier_wait_result = barrier.wait();
100 /// println!("before wait");
101 /// c.wait();
102 /// println!("after wait");
[all …]

12345678910>>...503