Home
last modified time | relevance | path

Searched refs:wait (Results 1 – 25 of 2653) sorted by relevance

12345678910>>...107

/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 …]
Dgem_eio.c160 struct drm_i915_gem_wait wait = { in __gem_wait() local
167 if (drmIoctl(fd, DRM_IOCTL_I915_GEM_WAIT, &wait)) in __gem_wait()
257 static void check_wait(int fd, uint32_t bo, unsigned int wait, igt_stats_t *st) in check_wait() argument
261 if (wait) { in check_wait()
262 hang_after(fd, wait, &ts); in check_wait()
369 static void test_wait(int fd, unsigned int flags, unsigned int wait) in test_wait() argument
388 check_wait(fd, hang->handle, wait, NULL); in test_wait()
417 static void test_inflight(int fd, unsigned int wait) in test_inflight() argument
463 check_wait(fd, obj[1].handle, wait, NULL); in test_inflight()
549 static void test_inflight_contexts(int fd, unsigned int wait) in test_inflight_contexts() argument
[all …]
/external/igt-gpu-tools/tests/
Dsyncobj_wait.c143 struct local_syncobj_wait wait = { 0 }; in test_wait_bad_flags() local
144 wait.flags = 0xdeadbeef; in test_wait_bad_flags()
145 igt_assert_eq(__syncobj_wait(fd, &wait), -EINVAL); in test_wait_bad_flags()
151 struct local_syncobj_wait wait = { 0 }; in test_wait_zero_handles() local
152 igt_assert_eq(__syncobj_wait(fd, &wait), -EINVAL); in test_wait_zero_handles()
158 struct local_syncobj_wait wait = { 0 }; in test_wait_illegal_handle() local
161 wait.count_handles = 1; in test_wait_illegal_handle()
162 wait.handles = to_user_pointer(&handle); in test_wait_illegal_handle()
163 igt_assert_eq(__syncobj_wait(fd, &wait), -ENOENT); in test_wait_illegal_handle()
514 struct local_syncobj_wait wait; member
[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()
215 struct local_syncobj_wait wait; in syncobj_wait() local
218 wait.handles = to_user_pointer(handles); in syncobj_wait()
[all …]
/external/igt-gpu-tools/overlay/
Dgpu-perf.c377 struct gpu_perf_time *wait; in wait_begin() local
383 wait = malloc(sizeof(*wait)); in wait_begin()
384 if (wait == NULL) in wait_begin()
389 wait->comm = comm; in wait_begin()
390 wait->comm->active = true; in wait_begin()
391 wait->context = READ_TP_FIELD_U32(sample, TP_GEM_REQUEST_WAIT_BEGIN, ctx); in wait_begin()
392 wait->seqno = READ_TP_FIELD_U32(sample, TP_GEM_REQUEST_WAIT_BEGIN, seqno); in wait_begin()
393 wait->time = sample->time; in wait_begin()
394 wait->next = gp->wait[GET_RING_ID(sample, TP_GEM_REQUEST_WAIT_BEGIN)]; in wait_begin()
395 gp->wait[GET_RING_ID(sample, TP_GEM_REQUEST_WAIT_BEGIN)] = wait; in wait_begin()
[all …]
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/
Dwait_terminates.sh.cpp118 MS wait(250); in main() local
124 case 1: cv.wait(mut); break; in main()
125 case 2: cv.wait(mut, pred_function); break; in main()
126 case 3: cv.wait_for(mut, wait); break; in main()
127 case 4: cv.wait_for(mut, wait, pred_function); break; in main()
128 case 5: cv.wait_until(mut, Clock::now() + wait); break; in main()
129 case 6: cv.wait_until(mut, Clock::now() + wait, pred_function); break; in main()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DGraphWriter.cpp95 StringRef Filename, bool wait, in ExecGraphViewer() argument
97 if (wait) { in ExecGraphViewer()
149 bool llvm::DisplayGraph(StringRef FilenameRef, bool wait, in DisplayGraph() argument
157 wait &= !ViewBackground; in DisplayGraph()
161 if (wait) in DisplayGraph()
165 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg)) in DisplayGraph()
174 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg)) in DisplayGraph()
185 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg); in DisplayGraph()
198 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg); in DisplayGraph()
260 wait = false; in DisplayGraph()
[all …]
/external/swiftshader/third_party/marl/src/
Devent_test.cpp66 event.wait(); in TEST_P()
74 done.wait(); in TEST_P()
77 done.wait(); in TEST_P()
80 done.wait(); in TEST_P()
90 event.wait(); in TEST_P()
96 wg.wait(); in TEST_P()
110 eventB.wait(); in TEST_P()
115 eventA.wait(); in TEST_P()
120 eventC.wait(); in TEST_P()
126 done.wait(); in TEST_P()
[all …]
/external/junit/src/main/java/junit/textui/
DTestRunner.java112 public TestResult doRun(Test suite, boolean wait) { in doRun() argument
121 pause(wait); in doRun()
125 protected void pause(boolean wait) { in pause() argument
126 if (!wait) return; in pause()
155 boolean wait = false; in start()
159 wait = true; in start()
180 return runSingleMethod(testCase, method, wait); in start()
183 return doRun(suite, wait); in start()
189 …protected TestResult runSingleMethod(String testCase, String method, boolean wait) throws Exceptio… in runSingleMethod() argument
192 return doRun(test, wait); in runSingleMethod()
/external/llvm/lib/Support/
DGraphWriter.cpp82 StringRef Filename, bool wait, in ExecGraphViewer() argument
85 if (wait) { in ExecGraphViewer()
135 bool llvm::DisplayGraph(StringRef FilenameRef, bool wait, in DisplayGraph() argument
143 wait &= !ViewBackground; in DisplayGraph()
147 if (wait) in DisplayGraph()
152 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg)) in DisplayGraph()
162 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg)) in DisplayGraph()
174 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg); in DisplayGraph()
189 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg); in DisplayGraph()
252 wait = false; in DisplayGraph()
[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/boringssl/src/ssl/
Dhandshake.cc540 switch (hs->wait) { in ssl_run_handshake()
557 hs->wait = ssl_hs_ok; in ssl_run_handshake()
559 if (hs->wait != ssl_hs_read_change_cipher_spec) { in ssl_run_handshake()
569 if (hs->wait == ssl_hs_read_change_cipher_spec) { in ssl_run_handshake()
577 hs->wait == ssl_hs_read_server_hello) { in ssl_run_handshake()
609 hs->wait = ssl_hs_ok; in ssl_run_handshake()
615 hs->wait = ssl_hs_ok; in ssl_run_handshake()
620 hs->wait = ssl_hs_ok; in ssl_run_handshake()
625 hs->wait = ssl_hs_handback; in ssl_run_handshake()
630 hs->wait = ssl_hs_ok; in ssl_run_handshake()
[all …]
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dretry_util.py47 wait = 1
55 f.__name__, type(exc).__name__, wait, '' if wait == 1 else 's')
56 time.sleep(wait)
57 wait *= 2
/external/autotest/server/cros/
Dstress_unittest.py23 self.assertRaises(StopThreadForTesting, stressor.wait)
35 stressor.wait()
49 stressor.wait()
63 self.assertRaises(StopThreadForTesting, stressor.wait)
81 self.assertRaises(StopThreadForTesting, stressor.wait)
102 ran_event.wait()
118 stressor.wait()
/external/capstone/suite/MC/PowerPC/
Dppc64-encoding-bookII.s.cs12 0x7c,0x40,0x00,0x7c = wait 2
20 0x7c,0x00,0x00,0x7c = wait 0
21 0x7c,0x20,0x00,0x7c = wait 1
22 0x7c,0x40,0x00,0x7c = wait 2
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_query.c71 bool wait, union pipe_query_result *result) in nvc0_get_query_result() argument
74 return q->funcs->get_query_result(nvc0_context(pipe), q, wait, result); in nvc0_get_query_result()
80 bool wait, in nvc0_get_query_result_resource() argument
91 q->funcs->get_query_result_resource(nvc0_context(pipe), q, wait, result_type, in nvc0_get_query_result_resource()
105 bool wait = in nvc0_render_condition() local
119 wait = true; in nvc0_render_condition()
125 wait = true; in nvc0_render_condition()
127 cond = wait ? NVC0_3D_COND_MODE_NOT_EQUAL : NVC0_3D_COND_MODE_ALWAYS; in nvc0_render_condition()
129 cond = wait ? NVC0_3D_COND_MODE_EQUAL : NVC0_3D_COND_MODE_ALWAYS; in nvc0_render_condition()
152 if (wait && hq->state != NVC0_HW_QUERY_STATE_READY) in nvc0_render_condition()
/external/libcxx/test/std/thread/futures/futures.shared_future/
Dwait.pass.cpp53 f.wait(); in main()
56 f.wait(); in main()
67 f.wait(); in main()
70 f.wait(); in main()
81 f.wait(); in main()
84 f.wait(); in main()
/external/libcxx/test/std/thread/futures/futures.unique_future/
Dwait.pass.cpp53 f.wait(); in main()
56 f.wait(); in main()
67 f.wait(); in main()
70 f.wait(); in main()
81 f.wait(); in main()
84 f.wait(); in main()
/external/python/cpython3/Lib/test/
Dlock_tests.py359 results1.append(evt.wait())
360 results2.append(evt.wait())
384 results1.append(evt.wait(0.0))
386 r = evt.wait(0.5)
411 results.append(evt.wait(timeout * 4))
456 self.assertRaises(RuntimeError, cond.wait)
482 result = cond.wait()
487 result = cond.wait()
549 result = cond.wait(0.5)
782 self.barrier.wait()
[all …]
/external/skqp/src/gpu/
DGrDeferredProxyUploader.h47 this->wait(); in ~GrDeferredProxyUploader()
57 this->wait(); in scheduleUpload()
80 void wait() { in wait() function
82 fPixelsReady.wait(); in wait()
108 this->wait(); in ~GrTDeferredProxyUploader()
/external/skia/src/gpu/
DGrDeferredProxyUploader.h46 this->wait(); in ~GrDeferredProxyUploader()
56 this->wait(); in scheduleUpload()
79 void wait() { in wait() function
81 fPixelsReady.wait(); in wait()
107 this->wait(); in ~GrTDeferredProxyUploader()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_query.c67 bool wait, union pipe_query_result *result) in nv50_get_query_result() argument
70 return q->funcs->get_query_result(nv50_context(pipe), q, wait, result); in nv50_get_query_result()
83 bool wait = in nv50_render_condition() local
96 wait = true; in nv50_render_condition()
102 wait = true; in nv50_render_condition()
104 cond = wait ? NV50_3D_COND_MODE_NOT_EQUAL : NV50_3D_COND_MODE_ALWAYS; in nv50_render_condition()
106 cond = wait ? NV50_3D_COND_MODE_EQUAL : NV50_3D_COND_MODE_ALWAYS; in nv50_render_condition()
130 if (wait && hq->state != NV50_HW_QUERY_STATE_READY) { in nv50_render_condition()
/external/python/cpython2/Demo/threads/
Dsync.py304 def wait(self): member in condition
368 full.wait()
396 def wait(self): member in event
399 self.posted.wait()
413 self.nonzero.wait()
441 self.readOK.wait()
459 self.writeOK.wait()
519 l_subarray_sorted.wait()
520 r_subarray_sorted.wait()
548 finished.wait()
[all …]
/external/grpc-grpc/src/ruby/spec/generic/
Drpc_server_pool_spec.rb46 wait = true
50 wait_cv.wait(wait_mu) while wait
62 wait = false
105 wait_forever_cv.wait while wait_forever
/external/autotest/client/bin/self-test/tests/
D105-barrier-5x-master-middle13 def payload1(wait, n):
14 time.sleep(wait)
23 def payload2(wait, n):
24 time.sleep(wait)

12345678910>>...107