Home
last modified time | relevance | path

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

12345678

/dports/devel/glib20/glib-2.70.4/glib/
H A Dgpoll.c137 gint nhandles, in poll_rest() argument
162 else if (nhandles == 0) in poll_rest()
210 if (timeout_ms != 0 || nhandles == 0) in poll_rest()
234 if (timeout_ms == 0 && nhandles > 1) in poll_rest()
260 gint nhandles; member
270 if (data->nhandles > 1 || (data->nhandles > 0 && data->msg_fd != NULL)) in poll_single_thread()
311 g_assert (data->nhandles < MAXIMUM_WAIT_OBJECTS); in fill_poll_thread_data()
314 data->handle_to_fd[data->nhandles] = stop_fd; in fill_poll_thread_data()
320 if ((data->nhandles == MAXIMUM_WAIT_OBJECTS) || in fill_poll_thread_data()
337 data->handle_to_fd[data->nhandles] = f; in fill_poll_thread_data()
[all …]
/dports/lang/python-legacy/Python-2.7.18/Python/
H A Ddynload_shlib.c66 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()
/dports/lang/python27/Python-2.7.18/Python/
H A Ddynload_shlib.c66 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()
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Python/
H A Ddynload_shlib.c66 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()
/dports/emulators/qemu-utils/qemu-4.2.1/util/
H A Doslib-win32.c393 } else if (nhandles == 0) { in poll_rest()
428 if (timeout != 0 || nhandles == 0) { in poll_rest()
439 ready < WAIT_OBJECT_0 + nhandles) { in poll_rest()
449 if (timeout == 0 && nhandles > 1) { in poll_rest()
455 nhandles--; in poll_rest()
470 gint nhandles = 0; in g_poll() local
483 for (i = 0; i < nhandles; i++) { in g_poll()
489 if (i == nhandles) { in g_poll()
490 if (nhandles == MAXIMUM_WAIT_OBJECTS) { in g_poll()
494 handles[nhandles++] = (HANDLE) f->fd; in g_poll()
[all …]
/dports/emulators/qemu42/qemu-4.2.1/util/
H A Doslib-win32.c393 } else if (nhandles == 0) { in poll_rest()
428 if (timeout != 0 || nhandles == 0) { in poll_rest()
439 ready < WAIT_OBJECT_0 + nhandles) { in poll_rest()
449 if (timeout == 0 && nhandles > 1) { in poll_rest()
455 nhandles--; in poll_rest()
470 gint nhandles = 0; in g_poll() local
483 for (i = 0; i < nhandles; i++) { in g_poll()
489 if (i == nhandles) { in g_poll()
490 if (nhandles == MAXIMUM_WAIT_OBJECTS) { in g_poll()
494 handles[nhandles++] = (HANDLE) f->fd; in g_poll()
[all …]
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/util/
H A Doslib-win32.c391 } else if (nhandles == 0) { in poll_rest()
426 if (timeout != 0 || nhandles == 0) { in poll_rest()
437 ready < WAIT_OBJECT_0 + nhandles) { in poll_rest()
447 if (timeout == 0 && nhandles > 1) { in poll_rest()
453 nhandles--; in poll_rest()
468 gint nhandles = 0; in g_poll() local
481 for (i = 0; i < nhandles; i++) { in g_poll()
487 if (i == nhandles) { in g_poll()
488 if (nhandles == MAXIMUM_WAIT_OBJECTS) { in g_poll()
492 handles[nhandles++] = (HANDLE) f->fd; in g_poll()
[all …]
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/util/
H A Doslib-win32.c393 } else if (nhandles == 0) { in poll_rest()
428 if (timeout != 0 || nhandles == 0) { in poll_rest()
439 ready < WAIT_OBJECT_0 + nhandles) { in poll_rest()
449 if (timeout == 0 && nhandles > 1) { in poll_rest()
455 nhandles--; in poll_rest()
470 gint nhandles = 0; in g_poll() local
483 for (i = 0; i < nhandles; i++) { in g_poll()
489 if (i == nhandles) { in g_poll()
490 if (nhandles == MAXIMUM_WAIT_OBJECTS) { in g_poll()
494 handles[nhandles++] = (HANDLE) f->fd; in g_poll()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/util/
H A Doslib-win32.c406 } else if (nhandles == 0) { in poll_rest()
441 if (timeout != 0 || nhandles == 0) { in poll_rest()
452 ready < WAIT_OBJECT_0 + nhandles) { in poll_rest()
462 if (timeout == 0 && nhandles > 1) { in poll_rest()
468 nhandles--; in poll_rest()
483 gint nhandles = 0; in g_poll() local
496 for (i = 0; i < nhandles; i++) { in g_poll()
502 if (i == nhandles) { in g_poll()
503 if (nhandles == MAXIMUM_WAIT_OBJECTS) { in g_poll()
507 handles[nhandles++] = (HANDLE) f->fd; in g_poll()
[all …]
/dports/emulators/qemu-guest-agent/qemu-5.0.1/util/
H A Doslib-win32.c393 } else if (nhandles == 0) { in poll_rest()
428 if (timeout != 0 || nhandles == 0) { in poll_rest()
439 ready < WAIT_OBJECT_0 + nhandles) { in poll_rest()
449 if (timeout == 0 && nhandles > 1) { in poll_rest()
455 nhandles--; in poll_rest()
470 gint nhandles = 0; in g_poll() local
483 for (i = 0; i < nhandles; i++) { in g_poll()
489 if (i == nhandles) { in g_poll()
490 if (nhandles == MAXIMUM_WAIT_OBJECTS) { in g_poll()
494 handles[nhandles++] = (HANDLE) f->fd; in g_poll()
[all …]
/dports/emulators/qemu60/qemu-6.0.0/util/
H A Doslib-win32.c403 } else if (nhandles == 0) { in poll_rest()
438 if (timeout != 0 || nhandles == 0) { in poll_rest()
449 ready < WAIT_OBJECT_0 + nhandles) { in poll_rest()
459 if (timeout == 0 && nhandles > 1) { in poll_rest()
465 nhandles--; in poll_rest()
480 gint nhandles = 0; in g_poll() local
493 for (i = 0; i < nhandles; i++) { in g_poll()
499 if (i == nhandles) { in g_poll()
500 if (nhandles == MAXIMUM_WAIT_OBJECTS) { in g_poll()
504 handles[nhandles++] = (HANDLE) f->fd; in g_poll()
[all …]
/dports/databases/py-gdbm/Python-3.8.12/Python/
H A Ddynload_shlib.c55 static int nhandles = 0; variable
83 for (i = 0; i < nhandles; i++) { in _PyImport_FindSharedFuncptr()
91 if (nhandles < 128) { in _PyImport_FindSharedFuncptr()
92 handles[nhandles].dev = status.st_dev; in _PyImport_FindSharedFuncptr()
93 handles[nhandles].ino = status.st_ino; in _PyImport_FindSharedFuncptr()
128 if (fp != NULL && nhandles < 128) in _PyImport_FindSharedFuncptr()
129 handles[nhandles++].handle = handle; in _PyImport_FindSharedFuncptr()
/dports/databases/py-sqlite3/Python-3.8.12/Python/
H A Ddynload_shlib.c55 static int nhandles = 0; variable
83 for (i = 0; i < nhandles; i++) { in _PyImport_FindSharedFuncptr()
91 if (nhandles < 128) { in _PyImport_FindSharedFuncptr()
92 handles[nhandles].dev = status.st_dev; in _PyImport_FindSharedFuncptr()
93 handles[nhandles].ino = status.st_ino; in _PyImport_FindSharedFuncptr()
128 if (fp != NULL && nhandles < 128) in _PyImport_FindSharedFuncptr()
129 handles[nhandles++].handle = handle; in _PyImport_FindSharedFuncptr()
/dports/lang/python-tools/Python-3.8.12/Python/
H A Ddynload_shlib.c55 static int nhandles = 0; variable
83 for (i = 0; i < nhandles; i++) { in _PyImport_FindSharedFuncptr()
91 if (nhandles < 128) { in _PyImport_FindSharedFuncptr()
92 handles[nhandles].dev = status.st_dev; in _PyImport_FindSharedFuncptr()
93 handles[nhandles].ino = status.st_ino; in _PyImport_FindSharedFuncptr()
128 if (fp != NULL && nhandles < 128) in _PyImport_FindSharedFuncptr()
129 handles[nhandles++].handle = handle; in _PyImport_FindSharedFuncptr()
/dports/lang/python37/Python-3.7.12/Python/
H A Ddynload_shlib.c52 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()
/dports/lang/python310/Python-3.10.1/Python/
H A 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()
/dports/lang/python39/Python-3.9.9/Python/
H A 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()
/dports/lang/python38/Python-3.8.12/Python/
H A Ddynload_shlib.c55 static int nhandles = 0; variable
83 for (i = 0; i < nhandles; i++) { in _PyImport_FindSharedFuncptr()
91 if (nhandles < 128) { in _PyImport_FindSharedFuncptr()
92 handles[nhandles].dev = status.st_dev; in _PyImport_FindSharedFuncptr()
93 handles[nhandles].ino = status.st_ino; in _PyImport_FindSharedFuncptr()
128 if (fp != NULL && nhandles < 128) in _PyImport_FindSharedFuncptr()
129 handles[nhandles++].handle = handle; in _PyImport_FindSharedFuncptr()
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Python/
H A Ddynload_shlib.c55 static int nhandles = 0; variable
83 for (i = 0; i < nhandles; i++) { in _PyImport_FindSharedFuncptr()
91 if (nhandles < 128) { in _PyImport_FindSharedFuncptr()
92 handles[nhandles].dev = status.st_dev; in _PyImport_FindSharedFuncptr()
93 handles[nhandles].ino = status.st_ino; in _PyImport_FindSharedFuncptr()
128 if (fp != NULL && nhandles < 128) in _PyImport_FindSharedFuncptr()
129 handles[nhandles++].handle = handle; in _PyImport_FindSharedFuncptr()
/dports/devel/libdill/libdill-2.14/
H A Dhandle.c52 if(dill_slow((h) < 0 || (h) >= ctx->nhandles ||\
59 ctx->nhandles = 0; in dill_ctx_handle_init()
80 if(dill_slow(ctx->nhandles - ctx->nused <= 8)) { in dill_hmake()
82 int sz = ctx->nhandles ? ctx->nhandles * 2 : 256; in dill_hmake()
88 for(i = ctx->nhandles; i != sz - 1; ++i) in dill_hmake()
91 ctx->first = ctx->nhandles; in dill_hmake()
95 ctx->nhandles = sz; in dill_hmake()
/dports/lang/mono/mono-5.10.1.57/mono/metadata/
H A Dw32handle.c606 for (i = 0; i < nhandles; i++) { in mono_w32handle_lock_handles()
919 if (nhandles == 0) in mono_w32handle_wait_multiple()
922 if (nhandles == 1) in mono_w32handle_wait_multiple()
929 __func__, nhandles); in mono_w32handle_wait_multiple()
934 for (i = 0; i < nhandles; ++i) { in mono_w32handle_wait_multiple()
942 for (i = 0; i < nhandles; ++i) { in mono_w32handle_wait_multiple()
958 for (i = 1; i < nhandles; ++i) { in mono_w32handle_wait_multiple()
970 for (i = 0; i < nhandles; ++i) { in mono_w32handle_wait_multiple()
986 lowest = nhandles; in mono_w32handle_wait_multiple()
990 for (i = 0; i < nhandles; i++) { in mono_w32handle_wait_multiple()
[all …]
/dports/astro/gnuastro/gnuastro-0.16/bootstrapped/lib/
H A Dselect.c303 nhandles = 1; in rpl_select()
405 handle_array[nhandles++] = h; in rpl_select()
415 handle_array[nhandles] = NULL; in rpl_select()
456 if (ret == WAIT_OBJECT_0 + nhandles) in rpl_select()
474 if (nhandles > 1) in rpl_select()
477 nhandles = 1; in rpl_select()
484 if (h == handle_array[nhandles]) in rpl_select()
487 nhandles++; in rpl_select()
523 nhandles = 1; in rpl_select()
530 if (h != handle_array[nhandles]) in rpl_select()
[all …]
/dports/lang/guile2/guile-2.2.7/lib/
H A Dselect.c280 nhandles = 1; in rpl_select()
382 handle_array[nhandles++] = h; in rpl_select()
392 handle_array[nhandles] = NULL; in rpl_select()
433 if (ret == WAIT_OBJECT_0 + nhandles) in rpl_select()
451 if (nhandles > 1) in rpl_select()
454 nhandles = 1; in rpl_select()
461 if (h == handle_array[nhandles]) in rpl_select()
464 nhandles++; in rpl_select()
500 nhandles = 1; in rpl_select()
507 if (h != handle_array[nhandles]) in rpl_select()
[all …]
/dports/devel/gettext-tools/gettext-0.21/gettext-tools/gnulib-tests/
H A Dselect.c300 nhandles = 1; in rpl_select()
402 handle_array[nhandles++] = h; in rpl_select()
412 handle_array[nhandles] = NULL; in rpl_select()
453 if (ret == WAIT_OBJECT_0 + nhandles) in rpl_select()
471 if (nhandles > 1) in rpl_select()
474 nhandles = 1; in rpl_select()
481 if (h == handle_array[nhandles]) in rpl_select()
484 nhandles++; in rpl_select()
520 nhandles = 1; in rpl_select()
527 if (h != handle_array[nhandles]) in rpl_select()
[all …]
/dports/security/libgsasl/gsasl-1.10.0/lib/gltests/
H A Dselect.c303 nhandles = 1; in rpl_select()
405 handle_array[nhandles++] = h; in rpl_select()
415 handle_array[nhandles] = NULL; in rpl_select()
456 if (ret == WAIT_OBJECT_0 + nhandles) in rpl_select()
474 if (nhandles > 1) in rpl_select()
477 nhandles = 1; in rpl_select()
484 if (h == handle_array[nhandles]) in rpl_select()
487 nhandles++; in rpl_select()
523 nhandles = 1; in rpl_select()
530 if (h != handle_array[nhandles]) in rpl_select()
[all …]

12345678