/bionic/libc/stdio/ |
putw.c | 41 struct __siov iov; local 43 iov.iov_base = &w; 44 iov.iov_len = uio.uio_resid = sizeof(w); 45 uio.uio_iov = &iov;
|
puts.c | 47 struct __siov iov[2]; local 50 iov[0].iov_base = (void *)s; 51 iov[0].iov_len = c; 52 iov[1].iov_base = "\n"; 53 iov[1].iov_len = 1; 55 uio.uio_iov = &iov[0];
|
fputs.c | 46 struct __siov iov; local 49 iov.iov_base = (void *)s; 50 iov.iov_len = uio.uio_resid = strlen(s); 51 uio.uio_iov = &iov;
|
fwrite.c | 47 struct __siov iov; local 50 iov.iov_base = (void *)buf; 51 uio.uio_resid = iov.iov_len = n = count * size; 52 uio.uio_iov = &iov;
|
fvwrite.c | 52 struct __siov *iov; local 68 iov = uio->uio_iov; 69 p = iov->iov_base; 70 len = iov->iov_len; 71 iov++; 75 p = iov->iov_base; \ 76 len = iov->iov_len; \ 77 iov++; \
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
uio.h | 36 static __inline__ size_t iov_length(const struct iovec *iov, unsigned long nr_segs) 42 ret += iov[seg].iov_len; 46 unsigned long iov_shorten(struct iovec *iov, unsigned long nr_segs, size_t to);
|
/external/kernel-headers/original/linux/ |
uio.h | 54 static inline size_t iov_length(const struct iovec *iov, unsigned long nr_segs) 60 ret += iov[seg].iov_len; 64 unsigned long iov_shorten(struct iovec *iov, unsigned long nr_segs, size_t to);
|
/external/qemu/slirp/ |
socket.c | 88 size_t sopreprbuf(struct socket *so, struct iovec *iov, int *np) 103 iov[0].iov_base = sb->sb_wptr; 104 iov[1].iov_base = NULL; 105 iov[1].iov_len = 0; 107 iov[0].iov_len = sb->sb_rptr - sb->sb_wptr; 109 if (iov[0].iov_len > len) 110 iov[0].iov_len = len; 111 if (iov[0].iov_len > mss) 112 iov[0].iov_len -= iov[0].iov_len%mss 159 struct iovec iov[2]; local 219 struct iovec iov[2]; local 355 struct iovec iov[2]; local [all...] |
/external/qemu/slirp-android/ |
socket.c | 96 size_t sopreprbuf(struct socket *so, struct iovec *iov, int *np) 111 iov[0].iov_base = sb->sb_wptr; 112 iov[1].iov_base = NULL; 113 iov[1].iov_len = 0; 115 iov[0].iov_len = sb->sb_rptr - sb->sb_wptr; 117 if (iov[0].iov_len > len) 118 iov[0].iov_len = len; 119 if (iov[0].iov_len > mss) 120 iov[0].iov_len -= iov[0].iov_len%mss 167 struct iovec iov[2]; local 227 struct iovec iov[2]; local 363 struct iovec iov[2]; local [all...] |
/external/qemu/ |
cutils.c | 139 qiov->iov = qemu_malloc(alloc_hint * sizeof(struct iovec)); 145 void qemu_iovec_init_external(QEMUIOVector *qiov, struct iovec *iov, int niov) 149 qiov->iov = iov; 154 qiov->size += iov[i].iov_len; 163 qiov->iov = qemu_realloc(qiov->iov, qiov->nalloc * sizeof(struct iovec)); 165 qiov->iov[qiov->niov].iov_base = base; 166 qiov->iov[qiov->niov].iov_len = len; 190 if (skip >= src->iov[i].iov_len) [all...] |
dma-helpers.c | 48 QEMUIOVector iov; member in struct:__anon9855 75 for (i = 0; i < dbs->iov.niov; ++i) { 76 cpu_physical_memory_unmap(dbs->iov.iov[i].iov_base, 77 dbs->iov.iov[i].iov_len, !dbs->is_write, 78 dbs->iov.iov[i].iov_len); 89 dbs->sector_num += dbs->iov.size / 512; 91 qemu_iovec_reset(&dbs->iov); [all...] |
/device/samsung/tuna/libsensors/ |
InputEventReader.cpp | 59 struct iovec iov[2]; local 65 iov[0].iov_base = mHead; 66 iov[0].iov_len = numFirst * sizeof(input_event); 71 iov[1].iov_base = mBuffer; 72 iov[1].iov_len = numSecond * sizeof(input_event); 75 const ssize_t nread = readv(fd, iov, iovcnt);
|
/external/dnsmasq/contrib/wrt/ |
dhcp_release.c | 76 static struct iovec iov; variable in typeref:struct:iovec 78 static int expand_buf(struct iovec *iov, size_t size) 82 if (size <= iov->iov_len) 91 if (iov->iov_base) 93 memcpy(new, iov->iov_base, iov->iov_len); 94 free(iov->iov_base); 97 iov->iov_base = new; 98 iov->iov_len = size; 112 msg.msg_iov = &iov; 258 struct iovec iov; local [all...] |
/bionic/libc/netbsd/resolv/ |
herror.c | 99 struct iovec iov[4], *v = iov; local 119 writev(STDERR_FILENO, iov, (v - iov) + 1);
|
/external/qemu/hw/ |
scsi-disk.c | 56 struct iovec iov; member in struct:SCSIRequest 92 r->iov.iov_base = qemu_memalign(512, SCSI_DMA_BUF_SIZE); 97 r->iov.iov_len = 0; 176 DPRINTF("Data ready tag=0x%x len=%d\n", r->tag, r->iov.iov_len); 178 s->completion(s->opaque, SCSI_REASON_DATA, r->tag, r->iov.iov_len); 196 DPRINTF("Read buf_len=%d\n", r->iov.iov_len); 198 s->completion(s->opaque, SCSI_REASON_DATA, r->tag, r->iov.iov_len); 211 r->iov.iov_len = n * 512; 212 qemu_iovec_init_external(&r->qiov, &r->iov, 1); 254 n = r->iov.iov_len / 512 [all...] |
/bionic/libc/unistd/ |
exec.c | 187 struct iovec iov[3]; local 189 iov[0].iov_base = "execvp: "; 190 iov[0].iov_len = 8; 191 iov[1].iov_base = p; 192 iov[1].iov_len = lp; 193 iov[2].iov_base = ": path too long\n"; 194 iov[2].iov_len = 16; 195 (void)writev(STDERR_FILENO, iov, 3);
|
syslog.c | 230 struct iovec iov[2]; local 232 iov[0].iov_base = stdp; 233 iov[0].iov_len = cnt - (stdp - tbuf); 234 iov[1].iov_base = "\n"; 235 iov[1].iov_len = 1; 236 (void)writev(STDERR_FILENO, iov, 2); 271 struct iovec iov[2]; local 274 iov[0].iov_base = p; 275 iov[0].iov_len = cnt - (p - tbuf); 276 iov[1].iov_base = "\r\n" [all...] |
/external/valgrind/main/none/tests/ |
fdleak_cmsg.c | 60 struct iovec iov[1]; local 74 iov[0].iov_base = "hello"; 75 iov[0].iov_len = 6; 77 msg.msg_iov = iov; 88 struct iovec iov[1]; local 93 struct msghdr msg = { NULL, 0, iov, 1, control_un.control, 98 iov[0].iov_base = buf; 99 iov[0].iov_len = sizeof(buf);
|
/external/chromium/chrome/browser/ |
crash_handler_host_linux.cc | 122 struct iovec iov[kIovSize]; local 143 iov[0].iov_base = crash_context; 144 iov[0].iov_len = kCrashContextSize; 145 iov[1].iov_base = guid; 146 iov[1].iov_len = kGuidSize + 1; 147 iov[2].iov_base = crash_url; 148 iov[2].iov_len = kMaxActiveURLSize + 1; 149 iov[3].iov_base = distro; 150 iov[3].iov_len = kDistroSize + 1; 151 iov[4].iov_base = &tid_buf_addr [all...] |
/external/webkit/Source/WebKit2/Platform/CoreIPC/unix/ |
ConnectionUnix.cpp | 173 struct iovec iov[1]; local 174 memset(&iov, 0, sizeof(iov)); 179 iov[0].iov_base = m_readBuffer.data(); 180 iov[0].iov_len = m_readBuffer.size(); 182 message.msg_iov = iov; 344 struct iovec iov[3]; local 345 memset(&iov, 0, sizeof(iov)); 347 message.msg_iov = iov; [all...] |
/external/kernel-headers/original/linux/sunrpc/ |
svc.h | 81 static inline u32 svc_getu32(struct kvec *iov) 84 vp = iov->iov_base; 86 iov->iov_base = (void*)vp; 87 iov->iov_len -= sizeof(u32); 91 static inline void svc_ungetu32(struct kvec *iov) 93 u32 *vp = (u32 *)iov->iov_base; 94 iov->iov_base = (void *)(vp - 1); 95 iov->iov_len += sizeof(*vp); 98 static inline void svc_putu32(struct kvec *iov, u32 val) 100 u32 *vp = iov->iov_base + iov->iov_len [all...] |
/external/dnsmasq/src/ |
bpf.c | 173 struct iovec iov[4]; local 240 iov[0].iov_base = ðer; 241 iov[0].iov_len = sizeof(ether); 242 iov[1].iov_base = &ip; 243 iov[1].iov_len = sizeof(ip); 244 iov[2].iov_base = &udp; 245 iov[2].iov_len = sizeof(udp); 246 iov[3].iov_base = mess; 247 iov[3].iov_len = len; 249 while (writev(daemon->dhcp_raw_fd, iov, 4) == -1 && retry_send()) [all...] |
netlink.c | 33 static struct iovec iov; variable in typeref:struct:iovec 71 iov.iov_len = 100; 72 iov.iov_base = safe_malloc(iov.iov_len); 87 msg.msg_iov = &iov; 97 if ((size_t)rc == iov.iov_len) 99 if (expand_buf(&iov, rc + 100)) 103 expand_buf(&iov, rc); 170 for (h = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(h, (size_t)len); h = NLMSG_NEXT(h, len)) 249 for (h = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(h, (size_t)len); h = NLMSG_NEXT(h, len) [all...] |
/dalvik/vm/hprof/ |
Hprof.cpp | 102 struct iovec iov[2]; local 103 iov[0].iov_base = headCtx->fileDataPtr; 104 iov[0].iov_len = headCtx->fileDataSize; 105 iov[1].iov_base = tailCtx->fileDataPtr; 106 iov[1].iov_len = tailCtx->fileDataSize; 107 dvmDbgDdmSendChunkV(CHUNK_TYPE("HPDS"), iov, 2);
|
/system/core/libnetutils/ |
packet.c | 94 struct iovec iov[3]; local 133 iov[0].iov_base = (char *)&ip; 134 iov[0].iov_len = sizeof(ip); 135 iov[1].iov_base = (char *)&udp; 136 iov[1].iov_len = sizeof(udp); 137 iov[2].iov_base = (char *)msg; 138 iov[2].iov_len = size; 148 msghdr.msg_iov = iov; 149 msghdr.msg_iovlen = sizeof(iov) / sizeof(struct iovec);
|