Searched refs:nhandles (Results 1 – 7 of 7) sorted by relevance
/third_party/glib/glib/ |
D | gpoll.c | 137 gint nhandles, in poll_rest() argument 150 g_print (" MsgWaitForMultipleObjectsEx(%d, %d)\n", nhandles, timeout_ms); in poll_rest() 152 ready = MsgWaitForMultipleObjectsEx (nhandles, handles, timeout_ms, in poll_rest() 162 else if (nhandles == 0) in poll_rest() 180 g_print (" WaitForMultipleObjectsEx(%d, %d)\n", nhandles, timeout_ms); in poll_rest() 182 ready = WaitForMultipleObjectsEx (nhandles, handles, FALSE, timeout_ms, TRUE); in poll_rest() 196 (msg_fd != NULL && ready == WAIT_OBJECT_0 + nhandles ? " (msg)" : "")))); in poll_rest() 203 else if (msg_fd != NULL && ready == WAIT_OBJECT_0 + nhandles) in poll_rest() 210 if (timeout_ms != 0 || nhandles == 0) in poll_rest() 216 recursed_result = poll_rest (NULL, stop_fd, handles, handle_to_fd, nhandles, 0); in poll_rest() [all …]
|
/third_party/python/Python/ |
D | dynload_shlib.c | 56 static int nhandles = 0; variable 84 for (i = 0; i < nhandles; i++) { in _PyImport_FindSharedFuncptr() 92 if (nhandles < 128) { in _PyImport_FindSharedFuncptr() 93 handles[nhandles].dev = status.st_dev; in _PyImport_FindSharedFuncptr() 94 handles[nhandles].ino = status.st_ino; in _PyImport_FindSharedFuncptr() 129 if (fp != NULL && nhandles < 128) in _PyImport_FindSharedFuncptr() 130 handles[nhandles++].handle = handle; in _PyImport_FindSharedFuncptr()
|
/third_party/pulseaudio/src/pulsecore/ |
D | poll-win32.c | 472 DWORD ret, wait_timeout, nhandles; in pa_poll() local 483 nhandles = 1; in pa_poll() 533 handle_array[nhandles++] = h; in pa_poll() 563 ret = MsgWaitForMultipleObjects (nhandles, handle_array, FALSE, in pa_poll() 566 if (ret == WAIT_OBJECT_0 + nhandles) in pa_poll() 589 handle_array[nhandles] = NULL; in pa_poll() 590 nhandles = 1; in pa_poll() 602 if (h != handle_array[nhandles]) in pa_poll() 629 nhandles++; in pa_poll()
|
/third_party/python/Modules/_multiprocessing/ |
D | semaphore.c | 92 DWORD res, full_msecs, nhandles; in _multiprocessing_SemLock_acquire_impl() local 129 nhandles = 0; in _multiprocessing_SemLock_acquire_impl() 130 handles[nhandles++] = self->handle; in _multiprocessing_SemLock_acquire_impl() 134 handles[nhandles++] = sigint_event; in _multiprocessing_SemLock_acquire_impl() 144 res = WaitForMultipleObjectsEx(nhandles, handles, FALSE, full_msecs, FALSE); in _multiprocessing_SemLock_acquire_impl()
|
/third_party/python/Modules/ |
D | _winapi.c | 1714 Py_ssize_t nhandles, i; in _winapi_WaitForMultipleObjects_impl() local 1722 nhandles = PySequence_Length(handle_seq); in _winapi_WaitForMultipleObjects_impl() 1723 if (nhandles == -1) in _winapi_WaitForMultipleObjects_impl() 1725 if (nhandles < 0 || nhandles > MAXIMUM_WAIT_OBJECTS - 1) { in _winapi_WaitForMultipleObjects_impl() 1728 MAXIMUM_WAIT_OBJECTS - 1, nhandles); in _winapi_WaitForMultipleObjects_impl() 1731 for (i = 0; i < nhandles; i++) { in _winapi_WaitForMultipleObjects_impl() 1748 handles[nhandles++] = sigint_event; in _winapi_WaitForMultipleObjects_impl() 1754 result = WaitForMultipleObjects((DWORD) nhandles, handles, in _winapi_WaitForMultipleObjects_impl() 1760 else if (sigint_event != NULL && result == WAIT_OBJECT_0 + nhandles - 1) { in _winapi_WaitForMultipleObjects_impl()
|
/third_party/python/Tools/c-analyzer/ |
D | TODO | 72 Python/dynload_shlib.c:nhandles static int nhandles
|
/third_party/python/Tools/c-analyzer/cpython/ |
D | ignored.tsv | 2926 Python/dynload_shlib.c - nhandles -
|