Searched refs:nhandles (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Python/ |
D | dynload_shlib.c | 66 static int nhandles = 0; variable 91 for (i = 0; i < nhandles; i++) { in _PyImport_GetDynLoadFunc() 99 if (nhandles < 128) { in _PyImport_GetDynLoadFunc() 100 handles[nhandles].dev = statb.st_dev; in _PyImport_GetDynLoadFunc() 102 handles[nhandles].ino[0] = statb.st_ino[0]; in _PyImport_GetDynLoadFunc() 103 handles[nhandles].ino[1] = statb.st_ino[1]; in _PyImport_GetDynLoadFunc() 104 handles[nhandles].ino[2] = statb.st_ino[2]; in _PyImport_GetDynLoadFunc() 106 handles[nhandles].ino = statb.st_ino; in _PyImport_GetDynLoadFunc() 139 if (fp != NULL && nhandles < 128) in _PyImport_GetDynLoadFunc() 140 handles[nhandles++].handle = handle; in _PyImport_GetDynLoadFunc()
|
/external/python/cpython3/Python/ |
D | dynload_shlib.c | 51 static int nhandles = 0; variable 79 for (i = 0; i < nhandles; i++) { in _PyImport_FindSharedFuncptr() 87 if (nhandles < 128) { in _PyImport_FindSharedFuncptr() 88 handles[nhandles].dev = status.st_dev; in _PyImport_FindSharedFuncptr() 89 handles[nhandles].ino = status.st_ino; in _PyImport_FindSharedFuncptr() 124 if (fp != NULL && nhandles < 128) in _PyImport_FindSharedFuncptr() 125 handles[nhandles++].handle = handle; in _PyImport_FindSharedFuncptr()
|
/external/python/cpython3/Modules/ |
D | _winapi.c | 1324 Py_ssize_t nhandles, i; in _winapi_WaitForMultipleObjects_impl() local 1332 nhandles = PySequence_Length(handle_seq); in _winapi_WaitForMultipleObjects_impl() 1333 if (nhandles == -1) in _winapi_WaitForMultipleObjects_impl() 1335 if (nhandles < 0 || nhandles >= MAXIMUM_WAIT_OBJECTS - 1) { in _winapi_WaitForMultipleObjects_impl() 1338 MAXIMUM_WAIT_OBJECTS - 1, nhandles); in _winapi_WaitForMultipleObjects_impl() 1341 for (i = 0; i < nhandles; i++) { in _winapi_WaitForMultipleObjects_impl() 1358 handles[nhandles++] = sigint_event; in _winapi_WaitForMultipleObjects_impl() 1364 result = WaitForMultipleObjects((DWORD) nhandles, handles, in _winapi_WaitForMultipleObjects_impl() 1370 else if (sigint_event != NULL && result == WAIT_OBJECT_0 + nhandles - 1) { in _winapi_WaitForMultipleObjects_impl()
|
/external/python/cpython3/Modules/_multiprocessing/ |
D | semaphore.c | 67 DWORD res, full_msecs, nhandles; in semlock_acquire() local 110 nhandles = 0; in semlock_acquire() 111 handles[nhandles++] = self->handle; in semlock_acquire() 115 handles[nhandles++] = sigint_event; in semlock_acquire() 125 res = WaitForMultipleObjectsEx(nhandles, handles, FALSE, full_msecs, FALSE); in semlock_acquire()
|