Searched refs:nhandles (Results 1 – 5 of 5) 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 | 52 static int nhandles = 0; variable 80 for (i = 0; i < nhandles; i++) { in _PyImport_FindSharedFuncptr() 88 if (nhandles < 128) { in _PyImport_FindSharedFuncptr() 89 handles[nhandles].dev = status.st_dev; in _PyImport_FindSharedFuncptr() 90 handles[nhandles].ino = status.st_ino; in _PyImport_FindSharedFuncptr() 125 if (fp != NULL && nhandles < 128) in _PyImport_FindSharedFuncptr() 126 handles[nhandles++].handle = handle; in _PyImport_FindSharedFuncptr()
|
/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()
|
/external/python/cpython3/Modules/ |
D | _winapi.c | 1535 Py_ssize_t nhandles, i; in _winapi_WaitForMultipleObjects_impl() local 1543 nhandles = PySequence_Length(handle_seq); in _winapi_WaitForMultipleObjects_impl() 1544 if (nhandles == -1) in _winapi_WaitForMultipleObjects_impl() 1546 if (nhandles < 0 || nhandles >= MAXIMUM_WAIT_OBJECTS - 1) { in _winapi_WaitForMultipleObjects_impl() 1549 MAXIMUM_WAIT_OBJECTS - 1, nhandles); in _winapi_WaitForMultipleObjects_impl() 1552 for (i = 0; i < nhandles; i++) { in _winapi_WaitForMultipleObjects_impl() 1569 handles[nhandles++] = sigint_event; in _winapi_WaitForMultipleObjects_impl() 1575 result = WaitForMultipleObjects((DWORD) nhandles, handles, in _winapi_WaitForMultipleObjects_impl() 1581 else if (sigint_event != NULL && result == WAIT_OBJECT_0 + nhandles - 1) { in _winapi_WaitForMultipleObjects_impl()
|
/external/python/cpython3/Tools/c-globals/ |
D | ignored-globals.txt | 212 nhandles # slight race during import
|