/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Stdio/ |
H A D | fputs.c | 63 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 D | puts.c | 64 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 D | fwrite.c | 64 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 D | fputwc.c | 59 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 D | fvwrite.c | 67 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++; \
|
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/BsdSocketLib/ |
H A D | herror.c | 96 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 D | res_send.c | 409 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/Uefi/ |
H A D | writev.c | 99 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/libs/xpcom18a4/nsprpub/pr/tests/ |
H A D | zerolen.c | 129 PRIOVec iov; local 178 iov.iov_base = buf; 179 iov.iov_len = 0; 182 nbytes = PR_Writev(acceptSock, &iov, 1, PR_INTERVAL_NO_TIMEOUT);
|
H A D | writev.c | 65 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);
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/io/ |
H A D | priometh.c | 229 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...] |
H A D | prlayer.c | 179 static PRInt32 PR_CALLBACK pl_DefWritev (PRFileDesc *fd, const PRIOVec *iov, argument 185 return (fd->lower->methods->writev)(fd->lower, iov, size, timeout);
|
H A D | prsocket.c | 102 static PRInt32 PR_CALLBACK SocketWritev(PRFileDesc *fd, const PRIOVec *iov, argument 126 * Assume the first writev will succeed. Copy iov's only on 129 tmp_iov = iov; 131 sz += iov[index].iov_len; 151 tmp_out >= iov[index].iov_len; 152 tmp_out -= iov[index].iov_len, index++){;} /* nothing to execute */ 154 if (tmp_iov == iov) { 157 * must copy iov's around. 159 * are few enough iov's. 174 iov_copy[0].iov_base = &(((char *)iov[inde [all...] |
/vbox/src/VBox/NetworkServices/NAT/ |
H A D | proxy.c | 597 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 D | pxping.c | 1510 IOVEC iov[1]; local 1524 IOVEC_SET_BASE(iov[0], pollmgr_udpbuf); 1525 IOVEC_SET_LEN(iov[0], sizeof(pollmgr_udpbuf)); 1531 mh.msg_iov = iov; 1545 mh.lpBuffers = iov;
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/ |
H A D | rcfileio.cpp | 93 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
|
H A D | rcnetio.cpp | 171 const PRIOVec *iov, PRSize size, const RCInterval& timeout) 172 { return (fd->methods->writev)(fd, iov, size, timeout); } 170 Writev( const PRIOVec *iov, PRSize size, const RCInterval& timeout) argument
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/os2/ |
H A D | os2sock.c | 570 _PR_MD_WRITEV(PRFileDesc *fd, const PRIOVec *iov, PRInt32 iov_size, argument 587 amount += iov[index].iov_len; 591 while ((rv = _OS2_WRITEV(osfd, (_OS2_const struct iovec*)iov, iov_size)) == -1) {
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/ |
H A D | w95sock.c | 352 _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 )
|
H A D | w16sock.c | 470 _PR_MD_WRITEV(PRFileDesc *fd, const PRIOVec *iov, PRInt32 iov_size, PRIntervalTime timeout) argument 484 rv = _PR_MD_SEND(fd, iov[index].iov_base, iov[index].iov_len, 0, timeout); 487 if ( rv != iov[index].iov_len )
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/beos/ |
H A D | bnet.c | 435 PRFileDesc *fd, const PRIOVec *iov, 452 amount += iov[index].iov_len; 456 while ((rv = writev(osfd, (const struct iovec*)iov, iov_size)) == -1) { 434 _MD_writev( PRFileDesc *fd, const PRIOVec *iov, PRInt32 iov_size, PRIntervalTime timeout) argument
|
H A D | bfile.c | 255 _MD_writev (PRFileDesc *fd, const PRIOVec *iov, PRInt32 iov_size, argument
|
/vbox/src/recompiler/ |
H A D | cutils.c | 635 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...] |
H A D | qemu-common.h | 313 struct iovec *iov; member in struct:QEMUIOVector 320 void qemu_iovec_init_external(QEMUIOVector *qiov, struct iovec *iov, int niov);
|
/vbox/src/VBox/Devices/Network/slirp/ |
H A D | socket.c | 244 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...] |