/external/ltrace/sysdeps/linux-gnu/metag/ |
D | regs.c | 35 struct iovec iov; in get_instruction_pointer() local 37 iov.iov_base = ®s; in get_instruction_pointer() 38 iov.iov_len = sizeof(regs); in get_instruction_pointer() 39 if (ptrace(PTRACE_GETREGSET, proc->pid, NT_PRSTATUS, (long)&iov)) in get_instruction_pointer() 49 struct iovec iov; in set_instruction_pointer() local 51 iov.iov_base = ®s; in set_instruction_pointer() 52 iov.iov_len = sizeof(regs); in set_instruction_pointer() 53 if (ptrace(PTRACE_GETREGSET, proc->pid, NT_PRSTATUS, (long)&iov)) in set_instruction_pointer() 58 iov.iov_base = ®s; in set_instruction_pointer() 59 iov.iov_len = sizeof(regs); in set_instruction_pointer() [all …]
|
D | trace.c | 79 struct iovec iov; in syscall_p() local 82 iov.iov_base = ®s; in syscall_p() 83 iov.iov_len = sizeof(regs); in syscall_p() 85 (long)&iov)) in syscall_p() 165 struct iovec iov; in metag_next_pcs() local 188 iov.iov_base = ®s; in metag_next_pcs() 189 iov.iov_len = sizeof(regs); in metag_next_pcs() 191 NT_PRSTATUS, (long)&iov)) in metag_next_pcs() 210 iov.iov_base = ®s; in metag_next_pcs() 211 iov.iov_len = sizeof(regs); in metag_next_pcs() [all …]
|
/external/dnsmasq/contrib/wrt/ |
D | dhcp_release.c | 76 static struct iovec iov; variable 78 static int expand_buf(struct iovec *iov, size_t size) in expand_buf() argument 82 if (size <= iov->iov_len) in expand_buf() 91 if (iov->iov_base) in expand_buf() 93 memcpy(new, iov->iov_base, iov->iov_len); in expand_buf() 94 free(iov->iov_base); in expand_buf() 97 iov->iov_base = new; in expand_buf() 98 iov->iov_len = size; in expand_buf() 112 msg.msg_iov = &iov; in netlink_recv() 124 if (!expand_buf(&iov, 2000)) in netlink_recv() [all …]
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
D | readv.cc | 16 struct iovec iov[2]; in main() local 19 iov[0].iov_base = buf_ - 1; in main() 21 iov[0].iov_base = buf + 1; in main() 23 iov[0].iov_len = 5; in main() 24 iov[1].iov_base = buf + 10; in main() 25 iov[1].iov_len = 2000; in main() 28 readv(fd, iov, 2); in main()
|
/external/valgrind/memcheck/tests/linux/ |
D | getregset.c | 48 struct iovec iov; in main() local 63 iov.iov_len = sizeof(buf); in main() 64 iov.iov_base = buf; in main() 65 if (ptrace(0x4204, cpid, NT_PRSTATUS, &iov) == -1) in main() 68 assert(iov.iov_base == buf); in main() 69 assert(iov.iov_len > 0 && iov.iov_len < sizeof(buf)); in main() 73 assert(non_empty(buf, iov.iov_len)); in main()
|
/external/selinux/libselinux/src/ |
D | setrans_client.c | 83 struct iovec iov[5]; in send_request() local 100 iov[0].iov_base = &function; in send_request() 101 iov[0].iov_len = sizeof(function); in send_request() 102 iov[1].iov_base = &data1_size; in send_request() 103 iov[1].iov_len = sizeof(data1_size); in send_request() 104 iov[2].iov_base = &data2_size; in send_request() 105 iov[2].iov_len = sizeof(data2_size); in send_request() 106 iov[3].iov_base = (char *)data1; in send_request() 107 iov[3].iov_len = data1_size; in send_request() 108 iov[4].iov_base = (char *)data2; in send_request() [all …]
|
/external/libvncserver/libvncserver/ |
D | rfbcrypto_polarssl.c | 6 void digestmd5(const struct iovec *iov, int iovcnt, void *dest) in digestmd5() argument 13 md5_update(&c, iov[i].iov_base, iov[i].iov_len); in digestmd5() 17 void digestsha1(const struct iovec *iov, int iovcnt, void *dest) in digestsha1() argument 24 sha1_update(&c, iov[i].iov_base, iov[i].iov_len); in digestsha1()
|
D | rfbcrypto_included.c | 29 void digestmd5(const struct iovec *iov, int iovcnt, void *dest) in digestmd5() argument 36 __md5_process_bytes(iov[i].iov_base, iov[i].iov_len, &c); in digestmd5() 40 void digestsha1(const struct iovec *iov, int iovcnt, void *dest) in digestsha1() argument 47 SHA1Input(&c, iov[i].iov_base, iov[i].iov_len); in digestsha1()
|
D | rfbcrypto_openssl.c | 29 void digestmd5(const struct iovec *iov, int iovcnt, void *dest) in digestmd5() argument 36 MD5_Update(&c, iov[i].iov_base, iov[i].iov_len); in digestmd5() 40 void digestsha1(const struct iovec *iov, int iovcnt, void *dest) in digestsha1() argument 47 SHA1_Update(&c, iov[i].iov_base, iov[i].iov_len); in digestsha1()
|
D | rfbcrypto_gnutls.c | 28 void digestmd5(const struct iovec *iov, int iovcnt, void *dest) in digestmd5() argument 35 gcry_md_write(c, iov[i].iov_base, iov[i].iov_len); in digestmd5() 40 void digestsha1(const struct iovec *iov, int iovcnt, void *dest) in digestsha1() argument 47 gcry_md_write(c, iov[i].iov_base, iov[i].iov_len); in digestsha1()
|
/external/c-ares/ |
D | ares_writev.c | 28 ssize_t ares_writev(ares_socket_t s, const struct iovec *iov, int iovcnt) in ares_writev() argument 45 if (iov[i].iov_len > INT_MAX - bytes) in ares_writev() 50 bytes += iov[i].iov_len; in ares_writev() 67 memcpy (bp, iov[i].iov_base, iov[i].iov_len); in ares_writev() 68 bp += iov[i].iov_len; in ares_writev()
|
/external/fio/engines/ |
D | splice.c | 77 struct iovec iov; in fio_splice_read() local 118 iov.iov_base = p; in fio_splice_read() 119 iov.iov_len = ret; in fio_splice_read() 121 while (iov.iov_len) { in fio_splice_read() 122 ret = vmsplice(sd->pipe[0], &iov, 1, SPLICE_F_MOVE); in fio_splice_read() 130 iov.iov_base = p; in fio_splice_read() 145 iov.iov_len -= ret; in fio_splice_read() 146 iov.iov_base += ret; in fio_splice_read() 170 struct iovec iov = { in fio_splice_write() local 179 while (iov.iov_len) { in fio_splice_write() [all …]
|
/external/valgrind/memcheck/tests/ |
D | sendmsg.c | 17 struct iovec iov[2]; in main() local 37 iov[0].iov_base = "one"; in main() 38 iov[0].iov_len = 3; in main() 39 iov[1].iov_base = "two"; in main() 40 iov[1].iov_len = 3; in main() 41 msg.msg_iov = &iov[0]; in main()
|
/external/avahi/avahi-daemon/ |
D | chroot.c | 111 struct iovec iov; in send_fd() local 120 memset(&iov, 0, sizeof(iov)); in send_fd() 124 iov.iov_base = &dummy; in send_fd() 125 iov.iov_len = sizeof(dummy); in send_fd() 127 msg.msg_iov = &iov; in send_fd() 151 struct iovec iov; in recv_fd() local 160 memset(&iov, 0, sizeof(iov)); in recv_fd() 164 iov.iov_base = &dummy; in recv_fd() 165 iov.iov_len = sizeof(dummy); in recv_fd() 167 msg.msg_iov = &iov; in recv_fd()
|
/external/valgrind/none/tests/ |
D | fdleak_cmsg.c | 60 struct iovec iov[1]; in server() local 74 iov[0].iov_base = "hello"; in server() 75 iov[0].iov_len = 6; in server() 77 msg.msg_iov = iov; in server() 88 struct iovec iov[1]; in client() local 93 struct msghdr msg = { NULL, 0, iov, 1, control_un.control, in client() 98 iov[0].iov_base = buf; in client() 99 iov[0].iov_len = sizeof(buf); in client()
|
/external/strace/tests/ |
D | scm_rights.c | 41 struct iovec iov = { in main() local 43 .iov_len = sizeof(iov) in main() 79 .msg_iov = &iov, in main() 85 assert(sendmsg(1, &mh, 0) == sizeof(iov)); in main() 99 .msg_iov = &iov, in main() 105 assert(recvmsg(0, &mh, 0) == sizeof(iov)); in main()
|
D | netlink_inet_diag.c | 57 struct iovec iov = { in send_query() local 64 .msg_iov = &iov, in send_query() 78 struct iovec iov = { in check_responses() local 85 .msg_iov = &iov, in check_responses()
|
/external/libnl/lib/netfilter/ |
D | queue_msg.c | 230 struct iovec iov[3]; in nfnl_queue_msg_send_verdict_payload() local 237 memset(iov, 0, sizeof(iov)); in nfnl_queue_msg_send_verdict_payload() 239 iov[0].iov_base = (void *) nlmsg_hdr(nlmsg); in nfnl_queue_msg_send_verdict_payload() 240 iov[0].iov_len = nlmsg_hdr(nlmsg)->nlmsg_len; in nfnl_queue_msg_send_verdict_payload() 246 iov[1].iov_base = (void *) &nla; in nfnl_queue_msg_send_verdict_payload() 247 iov[1].iov_len = sizeof(nla); in nfnl_queue_msg_send_verdict_payload() 249 iov[2].iov_base = (void *) payload_data; in nfnl_queue_msg_send_verdict_payload() 250 iov[2].iov_len = NLA_ALIGN(payload_len); in nfnl_queue_msg_send_verdict_payload() 253 err = nl_send_iovec(nlh, nlmsg, iov, 3); in nfnl_queue_msg_send_verdict_payload()
|
/external/dnsmasq/src/ |
D | netlink.c | 33 static struct iovec iov; variable 71 iov.iov_len = 100; in netlink_init() 72 iov.iov_base = safe_malloc(iov.iov_len); in netlink_init() 87 msg.msg_iov = &iov; in netlink_recv() 97 if ((size_t)rc == iov.iov_len) in netlink_recv() 99 if (expand_buf(&iov, rc + 100)) in netlink_recv() 103 expand_buf(&iov, rc); in netlink_recv() 170 for (h = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(h, (size_t)len); h = NLMSG_NEXT(h, len)) in iface_enumerate() 249 for (h = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(h, (size_t)len); h = NLMSG_NEXT(h, len)) in netlink_multicast()
|
D | bpf.c | 173 struct iovec iov[4]; in send_via_bpf() local 240 iov[0].iov_base = ðer; in send_via_bpf() 241 iov[0].iov_len = sizeof(ether); in send_via_bpf() 242 iov[1].iov_base = &ip; in send_via_bpf() 243 iov[1].iov_len = sizeof(ip); in send_via_bpf() 244 iov[2].iov_base = &udp; in send_via_bpf() 245 iov[2].iov_len = sizeof(udp); in send_via_bpf() 246 iov[3].iov_base = mess; in send_via_bpf() 247 iov[3].iov_len = len; in send_via_bpf() 249 while (writev(daemon->dhcp_raw_fd, iov, 4) == -1 && retry_send()); in send_via_bpf()
|
/external/iproute2/include/ |
D | bpf_scm.h | 29 struct iovec iov; member 41 msg->iov.iov_base = &msg->aux; in bpf_map_set_init() 42 msg->iov.iov_len = sizeof(msg->aux); in bpf_map_set_init() 44 msg->hdr.msg_iov = &msg->iov; in bpf_map_set_init() 68 msg->iov.iov_len = offsetof(struct bpf_map_aux, ent) + in bpf_map_set_init_single()
|
/external/iputils/ninfod/ |
D | ninfod.c | 289 struct iovec iov[1]; in ni_recv() local 297 memset(&iov, 0, sizeof(iov)); in ni_recv() 298 iov[0].iov_base = p->query; in ni_recv() 299 iov[0].iov_len = sizeof(p->query); in ni_recv() 304 msgh.msg_iov = iov; in ni_recv() 334 struct iovec iov[2]; in ni_send() local 342 memset(&iov, 0, sizeof(iov)); in ni_send() 343 iov[0].iov_base = &p->reply; in ni_send() 344 iov[0].iov_len = sizeof(p->reply); in ni_send() 345 iov[1].iov_base = p->replydata; in ni_send() [all …]
|
/external/libnl/lib/ |
D | nl.c | 235 int nl_send_iovec(struct nl_sock *sk, struct nl_msg *msg, struct iovec *iov, unsigned iovlen) in nl_send_iovec() argument 242 .msg_iov = iov, in nl_send_iovec() 283 struct iovec iov = { in nl_send() local 288 return nl_send_iovec(sk, msg, &iov, 1); in nl_send() 405 struct iovec iov; in nl_recv() local 409 .msg_iov = &iov, in nl_recv() 423 iov.iov_len = page_size; in nl_recv() 424 iov.iov_base = *buf = malloc(iov.iov_len); in nl_recv() 449 if (iov.iov_len < n || in nl_recv() 453 iov.iov_len *= 2; in nl_recv() [all …]
|
/external/google-breakpad/src/client/linux/crash_generation/ |
D | crash_generation_client.cc | 57 struct kernel_iovec iov; in RequestDump() local 58 iov.iov_base = const_cast<void*>(blob); in RequestDump() 59 iov.iov_len = blob_size; in RequestDump() 62 msg.msg_iov = &iov; in RequestDump()
|
/external/strace/ |
D | io.c | 67 unsigned long iov[2]; in tprint_iov_upto() local 97 if (umove_ulong_array_or_printaddr(tcp, cur, iov, in tprint_iov_upto() 98 ARRAY_SIZE(iov))) in tprint_iov_upto() 102 unsigned long len = iov[1]; in tprint_iov_upto() 106 printstr(tcp, iov[0], len); in tprint_iov_upto() 108 printaddr(iov[0]); in tprint_iov_upto() 109 tprintf(", %lu}", iov[1]); in tprint_iov_upto()
|