Home
last modified time | relevance | path

Searched refs:handle_count (Results 1 – 15 of 15) sorted by relevance

/third_party/jerryscript/tests/unit-ext/
Dtest-ext-handle-scope-handle-prelist-escape.c27 static const size_t handle_count = JERRYX_HANDLE_PRELIST_SIZE + 1; variable
48 for (size_t idx = 0; idx < handle_count; idx ++) in create_object()
72 TEST_ASSERT (native_free_cb_call_count == (handle_count -1)); in test_handle_scope_val()
86 TEST_ASSERT (native_free_cb_call_count == handle_count); in main()
Dtest-ext-handle-scope-handle-prelist.c27 static const size_t handle_count = JERRYX_HANDLE_PRELIST_SIZE * 2; variable
48 for (size_t idx = 0; idx < handle_count; idx ++) in create_object()
72 TEST_ASSERT (native_free_cb_call_count == (handle_count -1)); in test_handle_scope_val()
86 TEST_ASSERT (native_free_cb_call_count == handle_count); in main()
/third_party/boost/libs/thread/src/win32/
Dthread.cpp615 unsigned handle_count=0; in interruptible_wait() local
623 wait_handle_index=handle_count; in interruptible_wait()
624 handles[handle_count++]=handle_to_wait_for; in interruptible_wait()
629 interruption_index=handle_count; in interruptible_wait()
630 handles[handle_count++]=detail::get_current_thread_data()->interruption_handle; in interruptible_wait()
655 timeout_index=handle_count; in interruptible_wait()
656 handles[handle_count++]=timer_handle; in interruptible_wait()
676 if(handle_count) in interruptible_wait()
678 …unsigned long const notified_index=winapi::WaitForMultipleObjectsEx(handle_count,handles,false,sta… in interruptible_wait()
679 if(notified_index<handle_count) in interruptible_wait()
[all …]
/third_party/protobuf/src/google/protobuf/compiler/
Dsubprocess.cc177 int handle_count = 0; in Communicate() local
180 handles[handle_count++] = child_stdin_; in Communicate()
183 handles[handle_count++] = child_stdout_; in Communicate()
187 WaitForMultipleObjects(handle_count, handles, FALSE, INFINITE); in Communicate()
191 wait_result < WAIT_OBJECT_0 + handle_count) { in Communicate()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_fence.c349 unsigned int handle_count = 0; in crocus_fence_finish() local
357 handles[handle_count++] = fine->syncobj->handle; in crocus_fence_finish()
360 if (handle_count == 0) in crocus_fence_finish()
365 .count_handles = handle_count, in crocus_fence_finish()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_fence.c416 unsigned int handle_count = 0; in iris_fence_finish() local
424 handles[handle_count++] = fine->syncobj->handle; in iris_fence_finish()
427 if (handle_count == 0) in iris_fence_finish()
432 .count_handles = handle_count, in iris_fence_finish()
Diris_bufmgr.c437 int handle_count = 0; in iris_bo_wait_syncobj() local
444 handles[handle_count++] = r->handle; in iris_bo_wait_syncobj()
446 handles[handle_count++] = w->handle; in iris_bo_wait_syncobj()
450 if (handle_count == 0) in iris_bo_wait_syncobj()
461 .count_handles = handle_count, in iris_bo_wait_syncobj()
/third_party/libdrm/
Dxf86drm.h912 extern int drmSyncobjReset(int fd, const uint32_t *handles, uint32_t handle_count);
913 extern int drmSyncobjSignal(int fd, const uint32_t *handles, uint32_t handle_count);
915 uint64_t *points, uint32_t handle_count);
921 uint32_t handle_count);
923 uint32_t handle_count, uint32_t flags);
Dxf86drm.c4445 uint32_t handle_count) in drmSyncobjReset() argument
4452 args.count_handles = handle_count; in drmSyncobjReset()
4459 uint32_t handle_count) in drmSyncobjSignal() argument
4466 args.count_handles = handle_count; in drmSyncobjSignal()
4473 uint64_t *points, uint32_t handle_count) in drmSyncobjTimelineSignal() argument
4481 args.count_handles = handle_count; in drmSyncobjTimelineSignal()
4513 uint32_t handle_count) in drmSyncobjQuery() argument
4521 args.count_handles = handle_count; in drmSyncobjQuery()
4530 uint32_t handle_count, uint32_t flags) in drmSyncobjQuery2() argument
4537 args.count_handles = handle_count; in drmSyncobjQuery2()
/third_party/mesa3d/src/amd/vulkan/
Dradv_radeon_winsys.h302 bool (*wait_syncobj)(struct radeon_winsys *ws, const uint32_t *handles, uint32_t handle_count,
305 const uint64_t *points, uint32_t handle_count, bool wait_all,
/third_party/mesa3d/src/gallium/drivers/asahi/
Dagx_pipe.c524 unsigned handle_count = in agx_flush() local
529 uint32_t *handles = calloc(sizeof(uint32_t), handle_count); in agx_flush()
543 assert(handle_i == handle_count); in agx_flush()
563 demo_mem_map(dev->memmap.ptr.cpu, dev->memmap.size, handles, handle_count, in agx_flush()
/third_party/mesa3d/src/intel/vulkan/
Danv_queue.c2699 uint32_t handle_count = 0; in anv_WaitSemaphores() local
2711 handles[handle_count] = impl->syncobj; in anv_WaitSemaphores()
2714 timelines[handle_count] = &impl->timeline; in anv_WaitSemaphores()
2716 values[handle_count] = pWaitInfo->pValues[i]; in anv_WaitSemaphores()
2717 handle_count++; in anv_WaitSemaphores()
2721 if (handle_count > 0) { in anv_WaitSemaphores()
2725 handles, values, handle_count, in anv_WaitSemaphores()
2734 anv_timelines_wait(device, timelines, values, handle_count, in anv_WaitSemaphores()
/third_party/grpc/src/core/lib/iomgr/
Dev_epollex_linux.cc872 int handle_count = 1; local
875 handle_count =
877 if (handle_count == 0) {
878 handle_count = 1;
881 for (int i = 0; (drain || i < handle_count) &&
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_cs.c1686 radv_amdgpu_wait_syncobj(struct radeon_winsys *_ws, const uint32_t *handles, uint32_t handle_count, in radv_amdgpu_wait_syncobj() argument
1696 ws->dev, (uint32_t *)handles, handle_count, timeout, in radv_amdgpu_wait_syncobj()
1711 const uint64_t *points, uint32_t handle_count, bool wait_all, in radv_amdgpu_wait_timeline_syncobj() argument
1720 ws->dev, (uint32_t *)handles, (uint64_t *)points, handle_count, timeout, in radv_amdgpu_wait_timeline_syncobj()
/third_party/python/Lib/test/
Dtest_os.py2832 handle_count = ctypes.wintypes.DWORD()
2833 ok = kernel.GetProcessHandleCount(hproc, ctypes.byref(handle_count))
2836 before_count = handle_count.value
2858 ok = kernel.GetProcessHandleCount(hproc, ctypes.byref(handle_count))
2861 handle_delta = handle_count.value - before_count