Searched refs:iov (Results 1 - 25 of 43) sorted by relevance

12

/vbox/src/VBox/Devices/EFI/Firmware/StdLib/BsdSocketLib/
H A Dherror.c96 struct iovec iov[4]; local
97 register struct iovec *v = iov;
114 writev(STDERR_FILENO, iov, (v - iov) + 1);
116 for (i = 0; i < (v - iov) + 1; i++)
117 fprintf( stderr, iov[i].iov_base);
H A Dres_send.c409 struct iovec iov[2]; local
446 iov[0].iov_base = (caddr_t)&len;
447 iov[0].iov_len = INT16SZ;
448 iov[1].iov_base = (caddr_t)buf;
449 iov[1].iov_len = buflen;
450 if (writev(s, iov, 2) != (INT16SZ + buflen)) {
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Stdio/
H A Dputs.c64 struct __siov iov[2]; local
74 iov[0].iov_base = __UNCONST(s);
75 iov[0].iov_len = c;
76 iov[1].iov_base = __UNCONST("\n");
77 iov[1].iov_len = 1;
79 uio.uio_iov = &iov[0];
H A Dfputs.c63 struct __siov iov; local
76 iov.iov_base = __UNCONST(s);
77 uio.uio_resid = (int)(iov.iov_len = strlen(s));
78 uio.uio_iov = &iov;
H A Dfwrite.c64 struct __siov iov; local
79 iov.iov_base = __UNCONST(buf);
80 uio.uio_resid = (int)(iov.iov_len = n);
81 uio.uio_iov = &iov;
H A Dfputwc.c59 struct __siov iov; local
68 iov.iov_base = (void *)buf;
69 uio.uio_iov = &iov;
90 uio.uio_resid = (int)(iov.iov_len = size);
H A Dfvwrite.c67 struct __siov *iov; local
90 iov = uio->uio_iov;
91 p = iov->iov_base;
92 len = iov->iov_len;
93 iov++;
97 p = iov->iov_base; \
98 len = iov->iov_len; \
99 iov++; \
H A Dvfwprintf.c206 struct __siov iov; local
217 uio.uio_iov = &iov;
220 iov.iov_base = buf;
221 iov.iov_len = len;
675 struct __siov iov[NIOV];/* ... and individual io vectors */ local
720 iovp = iov; \
727 iovp = iov; \
848 uio.uio_iov = iovp = iov;
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/demo/struct/
H A Dksyms.d51 this->iov = args[3]->uio_iov;
54 this->iov->iov_len, this->iov->iov_base, pid);
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/common/docsExamples/
H A Dksyms.d59 this->iov = args[3]->uio_iov;
61 printf("uiomove %u bytes to %p in pid %d\n", this->iov->iov_len,
62 this->iov->iov_base, pid);
/vbox/src/VBox/NetworkServices/NAT/
H A Dwinutils.h142 # define IOVEC_GET_BASE(iov) ((iov).buf)
143 # define IOVEC_SET_BASE(iov, b) ((iov).buf = (b))
145 # define IOVEC_GET_LEN(iov) ((iov).len)
146 # define IOVEC_SET_LEN(iov, l) ((iov).len = (ULONG)(l))
181 # define IOVEC_GET_BASE(iov) ((iov)
[all...]
H A Dproxy.c597 IOVEC *iov; local
601 * Static iov[] is usually enough since UDP protocols use small
614 iov = dyniov;
618 iov = fixiov;
625 IOVEC_SET_BASE(iov[i], q->payload);
626 IOVEC_SET_LEN(iov[i], q->len);
633 mh.msg_iov = iov;
639 rc = WSASendTo(sock, iov, (DWORD)clen, &nsent, 0,
H A Dpxtcp.c1487 IOVEC iov[8]; local
1488 const size_t iovsize = sizeof(iov)/sizeof(iov[0]);
1496 IOVEC_SET_BASE(iov[i], q->payload);
1497 IOVEC_SET_LEN(iov[i], q->len);
1505 nsent = pxtcp_sock_send(pxtcp, iov, i);
1600 pxtcp_sock_send(struct pxtcp *pxtcp, IOVEC *iov, size_t iovlen) argument
1613 mh.msg_iov = iov;
1625 pxtcp_sock_send(struct pxtcp *pxtcp, IOVEC *iov, size_t iovlen) argument
1630 status = WSASend(pxtcp->sock, iov, (DWOR
1796 IOVEC iov[2]; local
1888 pxtcp_sock_recv(struct pxtcp *pxtcp, IOVEC *iov, size_t iovlen) argument
1907 pxtcp_sock_recv(struct pxtcp *pxtcp, IOVEC *iov, size_t iovlen) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Uefi/
H A Dwritev.c99 const struct iovec *iov,
111 for (i = 0, TotalBytes = 0, pVecTmp = iov; i < (size_t)iovcnt; i++, pVecTmp++) {
130 bcopy(iov->iov_base, pBuf, iov->iov_len);
131 pBuf += iov->iov_len;
132 iov++;
97 writev( int fd, const struct iovec *iov, int iovcnt ) argument
/vbox/src/VBox/Devices/Network/slirp/
H A Dsocket.c244 struct iovec iov[2]; local
265 iov[0].iov_base = sb->sb_wptr;
266 iov[1].iov_base = 0;
267 iov[1].iov_len = 0;
270 iov[0].iov_len = sb->sb_rptr - sb->sb_wptr;
272 if (iov[0].iov_len > len)
273 iov[0].iov_len = len;
274 if (iov[0].iov_len > mss)
275 iov[0].iov_len -= iov[
533 struct iovec iov[2]; local
701 struct iovec iov[2]; local
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dwritev.c65 PRIOVec *iov = NULL; local
132 iov = (PRIOVec*)malloc(number_fragments * sizeof(PRIOVec));
134 iov[0].iov_base = (char*)&descriptor;
135 iov[0].iov_len = sizeof(descriptor);
138 iov[iov_index].iov_base = buffer + (iov_index - 1) * fragment_length;
139 iov[iov_index].iov_len = fragment_length;
178 bytes = PR_Writev(clientSock, iov, number_fragments, timeout);
218 PR_DELETE(iov);
H A Dzerolen.c129 PRIOVec iov; local
178 iov.iov_base = buf;
179 iov.iov_len = 0;
182 nbytes = PR_Writev(acceptSock, &iov, 1, PR_INTERVAL_NO_TIMEOUT);
/vbox/src/recompiler/
H A Dcutils.c635 qiov->iov = qemu_malloc(alloc_hint * sizeof(struct iovec));
641 void qemu_iovec_init_external(QEMUIOVector *qiov, struct iovec *iov, int niov) argument
645 qiov->iov = iov;
650 qiov->size += iov[i].iov_len;
659 qiov->iov = qemu_realloc(qiov->iov, qiov->nalloc * sizeof(struct iovec));
661 qiov->iov[qiov->niov].iov_base = base;
662 qiov->iov[qiov->niov].iov_len = len;
682 if (done + src->iov[
[all...]
/vbox/src/VBox/Additions/x11/x11include/4.3/include/extensions/
H A Dlbxzlib.h59 extern int ZlibWriteV ( int fd, struct iovec *iov, int iovcnt );
H A Dlbxopts.h119 struct iovec *iov,
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/io/
H A Dpriometh.c229 PR_IMPLEMENT(PRInt32) PR_Writev(PRFileDesc *fd, const PRIOVec *iov,
237 return((fd->methods->writev)(fd,iov,iov_size,timeout));
354 PRIOVec iov[3]; local
417 iov[index].iov_base = (char *) sfd->header;
418 iov[index].iov_len = sfd->hlen;
422 iov[index].iov_base = (char*)addr + addr_offset;
423 iov[index].iov_len = len;
430 iov[index].iov_base = (char *) sfd->trailer;
431 iov[index].iov_len = sfd->tlen;
434 rv = PR_Writev(sd, iov, inde
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/
H A Drcio.h123 const PRIOVec *iov, PRSize size,
H A Drcnetio.h105 const PRIOVec *iov, PRSize size,
H A Drcfileio.cpp93 const PRIOVec *iov, PRSize size, const RCInterval& timeout)
94 { return fd->methods->writev(fd, iov, size, timeout); }
92 Writev( const PRIOVec *iov, PRSize size, const RCInterval& timeout) argument
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/
H A Dw95sock.c352 _PR_MD_WRITEV(PRFileDesc *fd, const PRIOVec *iov, PRInt32 iov_size, PRIntervalTime timeout) argument
360 rv = _PR_MD_SEND(fd, iov[index].iov_base, iov[index].iov_len, 0, timeout);
363 if ( rv != iov[index].iov_len )

Completed in 1969 milliseconds

12