/macosx-10.10/OpenSSH-189/openssh/ |
H A D | atomicio.c | 97 const struct iovec *_iov, int iovcnt, 105 if (iovcnt > IOV_MAX) { 110 memcpy(iov, _iov, iovcnt * sizeof(*_iov)); 116 for (; iovcnt > 0 && iov[0].iov_len > 0;) { 117 res = (f) (fd, iov, iovcnt); 136 while (iovcnt > 0 && rem >= iov[0].iov_len) { 139 iovcnt--; 142 if (rem > 0 && (iovcnt <= 0 || rem > iov[0].iov_len)) { 146 if (iovcnt == 0) 162 const struct iovec *_iov, int iovcnt) 96 atomiciov6(ssize_t (f) int, const struct iovec *, int), int fd, const struct iovec *_iov, int iovcnt, int (*cb)(void *, size_t), void *cb_arg) argument 161 atomiciov(ssize_t (f) int, const struct iovec *, int), int fd, const struct iovec *_iov, int iovcnt) argument [all...] |
H A D | atomicio.h | 47 const struct iovec *_iov, int iovcnt, int (*cb)(void *, size_t), void *);
|
/macosx-10.10/Heimdal-398.1.2/lib/roken/ |
H A D | writev.c | 39 writev(int d, const struct iovec *iov, int iovcnt) argument 46 for(i = 0; i < iovcnt; ++i) 54 for (i = 0; i < iovcnt; ++i) {
|
H A D | readv.c | 39 readv(int d, const struct iovec *iov, int iovcnt) argument 46 for(i = 0; i < iovcnt; ++i)
|
/macosx-10.10/remote_cmds-47/wall.tproj/ |
H A D | ttymsg.c | 65 ttymsg(struct iovec *iov, int iovcnt, const char *line, int tmout) argument 76 if (iovcnt > (int)(sizeof(localiov) / sizeof(localiov[0]))) 107 for (cnt = 0, left = 0; cnt < iovcnt; ++cnt) 111 wret = writev(fd, iov, iovcnt); 118 iovcnt * sizeof(struct iovec)); 124 --iovcnt;
|
/macosx-10.10/dcerpc-61/dcerpc/ncklib/ |
H A D | cnnet.h | 108 #define RPC_CN_NETWORK_IOVECTOR_TO_IOV(iovector, iov, iovcnt, bytes_to_send)\ 118 (iovcnt) = _num_elts; \ 125 #define RPC_CN_NETWORK_IOV_ADJUST(iovp, iovcnt, cc)\ 140 (iovcnt) -= _num_elts; \
|
H A D | cnassoc.c | 1857 volatile int iovcnt; 1868 //DO_NOT_CLOBBER(iovcnt); 1893 iovcnt, 1906 iovcnt, 1943 iovcnt = 1; 1988 iovcnt, 2135 RPC_CN_NETWORK_IOV_ADJUST (iovp, iovcnt, cc); 1842 volatile int iovcnt; local
|
H A D | comsoc_bsd.c | 950 int iovcnt, /* number of bufs */ 978 msg.msg_iovlen = iovcnt; 1077 int iovcnt, /* number of bufs */ 1106 msg.msg_iovlen = iovcnt; 937 rpc__bsd_socket_sendmsg( rpc_socket_t sock, rpc_socket_iovec_p_t iov, int iovcnt, rpc_addr_p_t addr, size_t *cc ) argument 1062 rpc__bsd_socket_recvmsg( rpc_socket_t sock, rpc_socket_iovec_p_t iov, int iovcnt, rpc_addr_p_t addr, size_t *cc ) argument
|
/macosx-10.10/passwordserver_sasl-193/cyrus_sasl/saslauthd/ |
H A D | utils.c | 166 int retry_writev(int fd, struct iovec *iov, int iovcnt) { argument 186 while (iovcnt && iov[0].iov_len == 0) { 188 iovcnt--; 191 if (!iovcnt) { 195 n = (int)writev(fd, iov, iovcnt > iov_max ? iov_max : iovcnt); 213 for (i = 0; i < iovcnt; i++) { 224 if (i == iovcnt) {
|
/macosx-10.10/sudo-73/src/ |
H A D | sudoreplay.c | 211 static size_t atomic_writev __P((int fd, struct iovec *iov, int iovcnt)); 247 int iovcnt = 0, iovmax = 0; local 380 iovcnt = 0; 432 iovcnt = 0; 448 if (iovcnt + 3 > iovmax) { 453 iov[iovcnt].iov_base = cp; 454 iov[iovcnt].iov_len = linelen - 1; /* not including \n */ 455 iovcnt++; 456 iov[iovcnt].iov_base = "\r\n"; 457 iov[iovcnt] [all...] |
/macosx-10.10/xnu-2782.1.97/bsd/sys/ |
H A D | guarded.h | 59 extern user_ssize_t guarded_writev_np(int fd, const guardid_t *guard, struct iovec *iovp, u_int iovcnt);
|
/macosx-10.10/libpcap-48/libpcap/ |
H A D | pcapng.c | 886 int iovcnt; local 931 iovcnt = 0; 932 iov[iovcnt].iov_len = sizeof(struct pcapng_block_header) + block->pcapng_fields_len; 933 iov[iovcnt].iov_base = block->pcapng_bufptr; 934 iovcnt++; 939 iov[iovcnt].iov_len = block->pcapng_cap_len; 940 iov[iovcnt].iov_base = block->pcapng_data_ptr; 941 iovcnt++; 945 iov[iovcnt].iov_len = padding_len; 946 iov[iovcnt] [all...] |
/macosx-10.10/passwordserver_sasl-193/cyrus_sasl/lib/ |
H A D | checkpw.c | 447 * Keep calling the writev() system call with 'fd', 'iov', and 'iovcnt' 450 static int retry_writev(int fd, struct iovec *iov, int iovcnt, unsigned delta) argument 468 while (iovcnt && iov[0].iov_len == 0) { 470 iovcnt--; 473 if (!iovcnt) return written; 479 n = writev(fd, iov, iovcnt > iov_max ? iov_max : iovcnt); 491 for (i = 0; i < iovcnt; i++) { 501 if (i == iovcnt) return written;
|
/macosx-10.10/passwordserver_sasl-193/cyrus_sasl/plugins/ |
H A D | ntlm.c | 92 static ssize_t writev (SOCKET fd, const struct iovec *iov, size_t iovcnt); 94 ssize_t writev (SOCKET fd, const struct iovec *iov, size_t iovcnt) argument 102 for (i = 0; i < iovcnt; i++) { 655 * Keep calling the writev() system call with 'fd', 'iov', and 'iovcnt' 658 static int retry_writev(SOCKET fd, struct iovec *iov, int iovcnt) argument 676 while (iovcnt && iov[0].iov_len == 0) { 678 iovcnt--; 681 if (!iovcnt) return written; 683 n = (int) writev(fd, iov, iovcnt > iov_max ? iov_max : iovcnt); [all...] |
/macosx-10.10/xnu-2782.1.97/bsd/kern/ |
H A D | kern_guarded.c | 887 * struct iovec *iovp, u_int iovcnt); 906 if (uap->iovcnt <= 0 || uap->iovcnt > UIO_MAXIOV) 910 auio = uio_create(uap->iovcnt, 0, 924 uap->iovcnt, iovp);
|
H A D | sys_generic.c | 399 if (uap->iovcnt <= 0 || uap->iovcnt > UIO_MAXIOV) 403 auio = uio_create(uap->iovcnt, 0, 417 uap->iovcnt, iovp); 635 if (uap->iovcnt <= 0 || uap->iovcnt > UIO_MAXIOV) 639 auio = uio_create(uap->iovcnt, 0, 653 uap->iovcnt, iovp);
|
H A D | uipc_syscalls.c | 2986 nuap.iovcnt = user_hdtr.hdr_cnt; 3236 nuap.iovcnt = user_hdtr.trl_cnt;
|