Searched refs:sync_event (Results 1 – 3 of 3) sorted by relevance
/external/OpenCL-CTS/test_conformance/pipes/ |
D | test_pipe_limits.cpp | 425 clEventWrapper sync_event = NULL; in test_pipe_max_active_reservations() local 550 … clEnqueueNDRangeKernel( queue, kernel[2], 1, NULL, global_work_size, NULL, 0, NULL, &sync_event ); in test_pipe_max_active_reservations() 553 …ve_id_t_size, true, 0, sizeof(reserve_id_t_size), &reserve_id_t_size, 1, &sync_event, &read_event); in test_pipe_max_active_reservations() 610 clReleaseEvent(sync_event); in test_pipe_max_active_reservations() 613 … = clEnqueueNDRangeKernel(queue, kernel[0], 1, NULL, global_work_size, NULL, 0, NULL, &sync_event); in test_pipe_max_active_reservations() 616 … err = clEnqueueReadBuffer(queue, buf_status, true, 0, sizeof(int), &status, 1, &sync_event, NULL); in test_pipe_max_active_reservations() 625 clReleaseEvent(sync_event); in test_pipe_max_active_reservations() 627 … = clEnqueueNDRangeKernel(queue, kernel[1], 1, NULL, global_work_size, NULL, 0, NULL, &sync_event); in test_pipe_max_active_reservations() 630 … err = clEnqueueReadBuffer(queue, buf_status, true, 0, sizeof(int), &status, 1, &sync_event, NULL); in test_pipe_max_active_reservations() 639 err = clEnqueueReadBuffer(queue, buffers[1], true, 0, size, outptr, 1, &sync_event, NULL); in test_pipe_max_active_reservations()
|
/external/libchrome/base/trace_event/ |
D | trace_category_unittest.cc | 136 WaitableEvent sync_event(WaitableEvent::ResetPolicy::MANUAL, in TEST_F() local 140 FROM_HERE, BindOnce(&TestRaceThreadMain, Unretained(&sync_event))); in TEST_F() 142 sync_event.Signal(); in TEST_F()
|
/external/libchrome/base/files/ |
D | file_util_unittest.cc | 3026 win::ScopedHandle sync_event(win::Uint32ToHandle(switch_uint)); in MULTIPROCESS_TEST_MAIN() local 3031 EXPECT_TRUE(SetEvent(sync_event.Get())); in MULTIPROCESS_TEST_MAIN() 3053 win::ScopedHandle sync_event(win::Uint32ToHandle(switch_uint)); in MULTIPROCESS_TEST_MAIN() local 3058 EXPECT_TRUE(SetEvent(sync_event.Get())); in MULTIPROCESS_TEST_MAIN() 3070 win::ScopedHandle sync_event(CreateEvent(0, false, false, nullptr)); in TEST_F() local 3076 "sync_event", UintToString(win::HandleToUint32(sync_event.Get()))); in TEST_F() 3079 options.handles_to_inherit.push_back(sync_event.Get()); in TEST_F() 3086 EXPECT_EQ(WAIT_OBJECT_0, WaitForSingleObject(sync_event.Get(), INFINITE)); in TEST_F() 3102 EXPECT_EQ(WAIT_OBJECT_0, WaitForSingleObject(sync_event.Get(), INFINITE)); in TEST_F() 3118 EXPECT_EQ(WAIT_OBJECT_0, WaitForSingleObject(sync_event.Get(), INFINITE)); in TEST_F() [all …]
|