Home
last modified time | relevance | path

Searched refs:MAX_FDS (Results 1 – 25 of 61) sorted by relevance

123

/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/karalabe/usb/libusb/libusb/os/
H A Dpoll_windows.c56 static struct file_descriptor *fd_table[MAX_FDS];
102 for (wfd.fd = 0; wfd.fd < MAX_FDS; wfd.fd++) { in usbi_create_fd()
110 if (wfd.fd == MAX_FDS) { in usbi_create_fd()
140 if ((fds[n].fd >= 0) && (fds[n].fd < MAX_FDS)) in check_pollfds()
207 if (_fd < 0 || _fd >= MAX_FDS) in usbi_close()
258 for (i = 0; i < MAX_FDS; i++) { in usbi_pipe()
269 if (i == MAX_FDS) in usbi_pipe()
278 if (i == MAX_FDS) { in usbi_pipe()
299 if (fd < 0 || fd >= MAX_FDS) in usbi_write()
337 if (fd < 0 || fd >= MAX_FDS) in usbi_read()
/dports/emulators/dolphin-emu/dolphin-3152428/Externals/libusb/libusb/os/
H A Dpoll_windows.c57 static struct file_descriptor *fd_table[MAX_FDS];
104 for (wfd.fd = 0; wfd.fd < MAX_FDS; wfd.fd++) { in usbi_create_fd()
112 if (wfd.fd == MAX_FDS) { in usbi_create_fd()
179 if ((fds[n].fd >= 0) && (fds[n].fd < MAX_FDS)) in check_pollfds()
246 if (_fd < 0 || _fd >= MAX_FDS) in usbi_close()
301 for (i = 0; i < MAX_FDS; i++) { in usbi_pipe()
312 if (i == MAX_FDS) in usbi_pipe()
321 if (i == MAX_FDS) { in usbi_pipe()
342 if (fd < 0 || fd >= MAX_FDS) in usbi_write()
380 if (fd < 0 || fd >= MAX_FDS) in usbi_read()
/dports/benchmarks/stress-ng/stress-ng-0.13.09/test/
H A Dtest-ppoll.c29 #define MAX_FDS (3) macro
33 struct pollfd fds[MAX_FDS]; in main()
38 for (fd = 0; fd < MAX_FDS; fd++) { in main()
H A Dtest-pselect.c35 #define MAX_FDS (3) macro
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libusb/src/libusb/os/
H A Dpoll_windows.c71 struct winfd poll_fd[MAX_FDS];
78 } _poll_fd[MAX_FDS];
105 if ((_index < 0) || (_index >= MAX_FDS)) { in cancel_io()
162 for (i=0; i<MAX_FDS; i++) { in init_polling()
181 for (i=0; i<MAX_FDS; i++) { in _fd_to_index_and_lock()
231 for (i=0; i<MAX_FDS; i++) { in exit_polling()
275 for (i=0; i<MAX_FDS; i++) { in usbi_pipe()
349 for (i=0; i<MAX_FDS; i++) { in usbi_create_fd()
434 for (i=0; i<MAX_FDS; i++) { in fd_to_winfd()
460 for (i=0; i<MAX_FDS; i++) { in handle_to_winfd()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libusb/src/libusb/os/
H A Dpoll_windows.c71 struct winfd poll_fd[MAX_FDS];
78 } _poll_fd[MAX_FDS];
105 if ((_index < 0) || (_index >= MAX_FDS)) { in cancel_io()
162 for (i=0; i<MAX_FDS; i++) { in init_polling()
181 for (i=0; i<MAX_FDS; i++) { in _fd_to_index_and_lock()
231 for (i=0; i<MAX_FDS; i++) { in exit_polling()
275 for (i=0; i<MAX_FDS; i++) { in usbi_pipe()
349 for (i=0; i<MAX_FDS; i++) { in usbi_create_fd()
434 for (i=0; i<MAX_FDS; i++) { in fd_to_winfd()
460 for (i=0; i<MAX_FDS; i++) { in handle_to_winfd()
[all …]
/dports/devel/cc65/cc65-2.19/libsrc/cbm/
H A Dfiledes.s24 cpx #MAX_FDS
38 .res MAX_FDS-3
43 .res MAX_FDS-3
H A Ddiskcmd.s54 adc #(LFN_OFFS+MAX_FDS-FIRST_DRIVE)
106 adc #(LFN_OFFS+MAX_FDS-FIRST_DRIVE)
H A Dfiledes.inc11 MAX_FDS = 8 ; Maximum number of file descriptors
/dports/devel/cc65/cc65-2.19/libsrc/apple2/
H A Dfiledes.s16 ; Check for handle >= MAX_FDS
17 cmp #MAX_FDS
55 .res (MAX_FDS - 3) * .sizeof(FD)
H A Dfiledes.inc16 MAX_FDS = 8
/dports/multimedia/opentoonz/opentoonz-1.5.0/thirdparty/libusb/libusb-1.0.9/libusb/os/
H A Dpoll_windows.c82 struct winfd poll_fd[MAX_FDS];
89 } _poll_fd[MAX_FDS];
103 if ((_index < 0) || (_index >= MAX_FDS)) { in cancel_io()
134 for (i=0; i<MAX_FDS; i++) { in init_polling()
153 for (i=0; i<MAX_FDS; i++) { in _fd_to_index_and_lock()
217 for (i=0; i<MAX_FDS; i++) { in exit_polling()
280 for (i=0; i<MAX_FDS; i++) { in usbi_pipe()
358 for (i=0; i<MAX_FDS; i++) { in usbi_create_fd()
447 for (i=0; i<MAX_FDS; i++) { in fd_to_winfd()
473 for (i=0; i<MAX_FDS; i++) { in handle_to_winfd()
[all …]
/dports/devel/cc65/cc65-2.19/libsrc/apple2/extra/
H A Diobuf-0800.s30 : cpx #MAX_FDS
51 cpx #MAX_FDS
93 table: .res MAX_FDS
/dports/benchmarks/unixbench/byte-unixbench-5.1.3/UnixBench/src/
H A Dtime-polling.c76 #define MAX_FDS 40960 macro
157 struct callback_struct callbacks[MAX_FDS];
304 struct poll2ofd poll2ofd_array[MAX_FDS]; in time_poll2()
367 struct pollfd pollfd_array[MAX_FDS];
372 struct poll2ifd poll2ifd_array[MAX_FDS];
373 struct poll2ofd poll2ofd_array[MAX_FDS];
403 if (fd >= MAX_FDS)
406 fd, MAX_FDS - 1);
/dports/security/klee/klee-2.2/runtime/POSIX/
H A Dfd.h90 #define MAX_FDS 32 macro
96 exe_file_t fds[MAX_FDS];
H A Dfd.c81 if (fd>=0 && fd<MAX_FDS) { in __get_file()
146 for (fd = 0; fd < MAX_FDS; ++fd) in __fd_open()
149 if (fd == MAX_FDS) { in __fd_open()
234 for (fd = 0; fd < MAX_FDS; ++fd) in __fd_openat()
237 if (fd == MAX_FDS) { in __fd_openat()
1126 if (!f || !(newfd>=0 && newfd<MAX_FDS)) {
1155 for (fd = 0; fd < MAX_FDS; ++fd)
1158 if (fd == MAX_FDS) {
/dports/multimedia/pipewire/pipewire-0.3.43/src/modules/module-protocol-native/
H A Dconnection.c50 #define MAX_FDS 1024u macro
60 int fds[MAX_FDS];
136 if (index + buf->n_fds >= MAX_FDS) { in pw_protocol_native_connection_add_fd()
137 pw_log_error("connection %p: too many fds (%d)", conn, MAX_FDS); in pw_protocol_native_connection_add_fd()
223 if (n_fds + buf->n_fds > MAX_FDS) in refill_buffer()
353 data = calloc(MAX_FDS, sizeof(int)); in ensure_stack_level()
494 if (buf->msg.n_fds + buf->fds_offset > MAX_FDS) in prepare_packet()
/dports/www/civetweb/civetweb-1.15/src/third_party/duktape-1.8.0/examples/eventloop/
H A Dc_eventloop.c24 #define MAX_FDS 256 macro
51 static struct pollfd poll_list[MAX_FDS];
574 if (poll_count >= MAX_FDS) { in listen_fd()
604 memset((void *) poll_list, 0, MAX_FDS * sizeof(struct pollfd)); in eventloop_register()
/dports/www/civetweb/civetweb-1.15/src/third_party/duktape-1.5.2/examples/eventloop/
H A Dc_eventloop.c24 #define MAX_FDS 256 macro
51 static struct pollfd poll_list[MAX_FDS];
574 if (poll_count >= MAX_FDS) { in listen_fd()
604 memset((void *) poll_list, 0, MAX_FDS * sizeof(struct pollfd)); in eventloop_register()
/dports/lang/duktape-lib/duktape-2.6.0/examples/eventloop/
H A Dc_eventloop.c29 #define MAX_FDS 256 macro
57 static struct pollfd poll_list[MAX_FDS];
582 if (poll_count >= MAX_FDS) { in listen_fd()
612 memset((void *) poll_list, 0, MAX_FDS * sizeof(struct pollfd)); in eventloop_register()
/dports/lang/duktape/duktape-2.6.0/examples/eventloop/
H A Dc_eventloop.c29 #define MAX_FDS 256 macro
57 static struct pollfd poll_list[MAX_FDS];
582 if (poll_count >= MAX_FDS) { in listen_fd()
612 memset((void *) poll_list, 0, MAX_FDS * sizeof(struct pollfd)); in eventloop_register()
/dports/devel/emscripten/emscripten-2.0.3/tools/wasm2c/
H A Dos.c15 #define MAX_FDS 1024 macro
17 static int wasm_fd_to_native[MAX_FDS];
45 if (next_wasm_fd >= MAX_FDS) { in get_or_allocate_wasm_fd()
55 if (fd >= MAX_FDS || fd >= next_wasm_fd) { in get_native_fd()
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/io_uring/
H A Dio_uring-bench.c61 #define MAX_FDS 16 macro
88 struct file files[MAX_FDS];
501 if (s->nr_files == MAX_FDS) { in main()
502 printf("Max number of files (%d) reached\n", MAX_FDS); in main()
/dports/multimedia/libv4l/linux-5.13-rc2/tools/io_uring/
H A Dio_uring-bench.c61 #define MAX_FDS 16 macro
88 struct file files[MAX_FDS];
501 if (s->nr_files == MAX_FDS) { in main()
502 printf("Max number of files (%d) reached\n", MAX_FDS); in main()
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/io_uring/
H A Dio_uring-bench.c61 #define MAX_FDS 16 macro
88 struct file files[MAX_FDS];
501 if (s->nr_files == MAX_FDS) { in main()
502 printf("Max number of files (%d) reached\n", MAX_FDS); in main()

123