Home
last modified time | relevance | path

Searched refs:nhandles (Results 1 – 6 of 6) sorted by relevance

/third_party/python/Python/
Ddynload_shlib.c56 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/
Dpoll-win32.c472 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/
Dsemaphore.c92 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.c1714 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/
DTODO72 Python/dynload_shlib.c:nhandles static int nhandles
/third_party/python/Tools/c-analyzer/cpython/
Dignored.tsv2926 Python/dynload_shlib.c - nhandles -