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

/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/solaris/
H A Dsun_bell.c57 struct iovec iov[IOV_MAX]; local in function:xf86OSRingBell
133 iov[iovcnt].iov_base = (char *) silence;
134 iov[iovcnt++].iov_len = sizeof(silence);
136 iov[iovcnt].iov_base = (char *) samples;
137 iov[iovcnt++].iov_len = sizeof(samples);
140 written = writev(audioFD, iov, iovcnt);
169 iov[iovcnt].iov_base = ((char *) samples) + i;
170 iov[iovcnt++].iov_len = sizeof(samples) - i;
/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/solaris/
H A Dsun_bell.c57 struct iovec iov[IOV_MAX]; local in function:xf86OSRingBell
133 iov[iovcnt].iov_base = (char *) silence;
134 iov[iovcnt++].iov_len = sizeof(silence);
137 iov[iovcnt].iov_base = (char *) samples;
138 iov[iovcnt++].iov_len = sizeof(samples);
141 written = writev(audioFD, iov, iovcnt);
171 iov[iovcnt].iov_base = ((char *) samples) + i;
172 iov[iovcnt++].iov_len = sizeof(samples) - i;
/xsrc/external/mit/xtrans/dist/
H A DXtransint.h325 #define READV(ciptr, iov, iovcnt) TRANS(ReadV)(ciptr, iov, iovcnt)
329 struct iovec *, /* iov */
335 #define READV(ciptr, iov, iovcnt) readv(ciptr->fd, iov, iovcnt)
342 #define WRITEV(ciptr, iov, iovcnt) TRANS(WriteV)(ciptr, iov, iovcnt)
346 struct iovec *, /* iov */
352 #define WRITEV(ciptr, iov, iovcnt) writev(ciptr->fd, iov, iovcn
[all...]
H A DXtrans.c1282 static int TRANS(ReadV) (XtransConnInfo ciptr, struct iovec *iov, int iovcnt)
1289 for (i = 0, total = 0; i < iovcnt; i++, iov++) {
1290 len = iov->iov_len;
1291 base = iov->iov_base;
1311 static int TRANS(WriteV) (XtransConnInfo ciptr, struct iovec *iov, int iovcnt)
1318 for (i = 0, total = 0; i < iovcnt; i++, iov++) {
1319 len = iov->iov_len;
1320 base = iov->iov_base;
H A DXtranssock.c2120 struct iovec iov = {
2128 .msg_iov = &iov,
2261 struct iovec iov;
2263 iov.iov_base = (void *) buf;
2264 iov.iov_len = size;
2265 return TRANS(SocketWritev)(ciptr, &iov, 1);
2119 struct iovec iov = { local in function:TRANS
2260 struct iovec iov; local in function:TRANS
/xsrc/external/mit/libFS/dist/src/
H A DFSConnServ.c221 *iov = iovarray; local in function:_FSSendClientPrefix
225 { iov->iov_base = (b); iov->iov_len = (l); iov++, niov++; }
H A DFSlibInt.c282 struct iovec iov[2]; local in function:_FSReadPad
287 iov[0].iov_len = size;
288 iov[0].iov_base = data;
294 iov[1].iov_len = padlength[size & 3];
295 iov[1].iov_base = pad;
296 size += iov[1].iov_len;
299 while ((bytes_read = readv(svr->trans_conn->fd, iov, 2)) != size) {
303 if (iov[0].iov_len < bytes_read) {
304 int pad_bytes_read = bytes_read - iov[0].iov_len;
305 iov[
341 struct iovec iov[3]; local in function:_FSSend
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xquartz/mach-startup/
H A Dstub.c141 struct iovec iov[1]; local in function:send_fd_handoff
151 iov[0].iov_base = databuf;
152 iov[0].iov_len = sizeof(databuf);
154 msg.msg_iov = iov;
H A Dbundle-main.c159 struct iovec iov[1]; local in function:accept_fd_handoff
169 iov[0].iov_base = databuf;
170 iov[0].iov_len = sizeof(databuf);
172 msg.msg_iov = iov;
/xsrc/external/mit/xorg-server/dist/hw/xquartz/mach-startup/
H A Dstub.c130 struct iovec iov[1]; local in function:send_fd_handoff
140 iov[0].iov_base = databuf;
141 iov[0].iov_len = sizeof(databuf);
143 msg.msg_iov = iov;
H A Dbundle-main.c174 struct iovec iov[1]; local in function:accept_fd_handoff
184 iov[0].iov_base = databuf;
185 iov[0].iov_len = sizeof(databuf);
187 msg.msg_iov = iov;
/xsrc/external/mit/xorg-server.old/dist/os/
H A Dconnection.c885 struct iovec iov[3]; local in function:ErrorConnMax
914 iov[0].iov_len = sz_xConnSetupPrefix;
915 iov[0].iov_base = (char *) &csp;
916 iov[1].iov_len = csp.lengthReason;
917 iov[1].iov_base = NOROOM;
918 iov[2].iov_len = (4 - (csp.lengthReason & 3)) & 3;
919 iov[2].iov_base = pad;
920 (void)_XSERVTransWritev(trans_conn, iov, 3);
H A Dio.c886 struct iovec iov[3]; local in function:FlushClient
926 iov[i].iov_len = len; \
927 iov[i].iov_base = (pointer) + before; \
938 if (trans_conn && (len = _XSERVTransWritev(trans_conn, iov, i)) >= 0)
/xsrc/external/mit/xorg-server/dist/os/
H A Dconnection.c719 struct iovec iov[3]; local in function:ConnMaxNotify
732 iov[0].iov_len = sz_xConnSetupPrefix;
733 iov[0].iov_base = (char *) &csp;
734 iov[1].iov_len = csp.lengthReason;
735 iov[1].iov_base = (void *) NOROOM;
736 iov[2].iov_len = (4 - (csp.lengthReason & 3)) & 3;
737 iov[2].iov_base = pad;
738 (void) _XSERVTransWritev(trans_conn, iov, 3);
H A Dio.c837 struct iovec iov[3]; local in function:FlushClient
883 iov[i].iov_len = len; \
884 iov[i].iov_base = (pointer) + before; \
895 if (trans_conn && (len = _XSERVTransWritev(trans_conn, iov, i)) >= 0) {
/xsrc/external/mit/xfs/dist/os/
H A Dio.c361 struct iovec iov[3]; local in function:FlushClient
400 iov[i].iov_len = len; \
401 iov[i].iov_base = (pointer) + before; \
412 if (oc->trans_conn && (len = _FontTransWritev(oc->trans_conn, iov, i)) >= 0) {
/xsrc/external/mit/libxcb/dist/src/
H A Dxcb_in.c995 struct iovec iov = { local in function:_xcb_in_read
1006 .msg_iov = &iov,

Completed in 18 milliseconds