Home
last modified time | relevance | path

Searched refs:fd_mask (Results 1 – 19 of 19) sorted by relevance

/external/libevent/
Dselect.c55 typedef unsigned long fd_mask; typedef
59 #define NFDBITS (sizeof(fd_mask)*8)
67 (DIV_ROUNDUP(n, NFDBITS) * sizeof(fd_mask))
255 if (fdsz < (int)sizeof(fd_mask)) in select_add()
256 fdsz = (int)sizeof(fd_mask); in select_add()
Dconfig.h.in64 /* Define to 1 if the system has the type `fd_mask'. */
Dconfigure.ac547 AC_CHECK_TYPES([fd_mask], , ,
DChangeLog1109 o Fix compilation on Android, which forgot to define fd_mask in its sys/select.h
/external/openssh/openbsd-compat/
Dbsd-poll.c59 if ((readfds = calloc(nmemb, sizeof(fd_mask))) == NULL || in poll()
60 (writefds = calloc(nmemb, sizeof(fd_mask))) == NULL || in poll()
61 (exceptfds = calloc(nmemb, sizeof(fd_mask))) == NULL) { in poll()
/external/python/cpython2/Include/
Dpyport.h844 typedef long fd_mask;
846 #define NFDBITS (sizeof(fd_mask) * NBBY) /* bits per mask */
852 fd_mask fds_bits[howmany(FD_SETSIZE, NFDBITS)];
/external/openssh/
Dssh-keyscan.c625 r = xcalloc(read_wait_nfdset, sizeof(fd_mask)); in conloop()
626 e = xcalloc(read_wait_nfdset, sizeof(fd_mask)); in conloop()
627 memcpy(r, read_wait, read_wait_nfdset * sizeof(fd_mask)); in conloop()
628 memcpy(e, read_wait, read_wait_nfdset * sizeof(fd_mask)); in conloop()
811 read_wait = xcalloc(read_wait_nfdset, sizeof(fd_mask)); in main()
Dssh-pkcs11-helper.c304 set_size = howmany(max + 1, NFDBITS) * sizeof(fd_mask); in main()
Ddefines.h391 typedef unsigned long int fd_mask; typedef
Dsftp-server.c1631 rset = xcalloc(howmany(max + 1, NFDBITS), sizeof(fd_mask)); in sftp_server_main()
1632 wset = xcalloc(howmany(max + 1, NFDBITS), sizeof(fd_mask)); in sftp_server_main()
1641 set_size = howmany(max + 1, NFDBITS) * sizeof(fd_mask); in sftp_server_main()
Dsshconnect.c360 sizeof(fd_mask)); in timeout_connect()
559 fdsetsz = howmany(connection_in + 1, NFDBITS) * sizeof(fd_mask); in ssh_exchange_identification()
Dpacket.c1410 NFDBITS), sizeof(fd_mask)); in ssh_packet_read_seqnr()
1442 NFDBITS) * sizeof(fd_mask)); in ssh_packet_read_seqnr()
2234 NFDBITS), sizeof(fd_mask)); in ssh_packet_write_wait()
2243 NFDBITS) * sizeof(fd_mask)); in ssh_packet_write_wait()
Dchannels.c2269 if (nfdset && SIZE_MAX / nfdset < sizeof(fd_mask))
2271 sz = nfdset * sizeof(fd_mask);
2275 *readsetp = xreallocarray(*readsetp, nfdset, sizeof(fd_mask));
2276 *writesetp = xreallocarray(*writesetp, nfdset, sizeof(fd_mask));
Dssh-agent.c1030 sz = howmany(n+1, NFDBITS) * sizeof(fd_mask); in prepare_select()
Dsshd.c1126 sizeof(fd_mask));
Dconfig.h.in457 /* Define to 1 if the system has the type `fd_mask'. */
Dconfigure.ac1925 AC_CHECK_TYPES([fd_mask], [], [], [[
/external/python/cpython2/Lib/lib2to3/tests/data/
Dinfinite_recursion.py2401 fd_mask = __int32_t variable
/external/valgrind/perf/
Dtest_input_for_tinycc.c397 typedef __fd_mask fd_mask; typedef