/external/android-clat/ |
D | translate.c | 39 if (packet[i].iov_len > 0) { in packet_checksum() 40 checksum = ip_checksum_add(checksum, packet[i].iov_base, packet[i].iov_len); in packet_checksum() 56 len += packet[i].iov_len; in packet_length() 239 out[pos].iov_len = sizeof(struct icmp6_hdr); in icmp_to_icmp6() 260 out[CLAT_POS_PAYLOAD].iov_len = payload_size; in icmp_to_icmp6() 293 out[pos].iov_len = sizeof(struct icmphdr); in icmp6_to_icmp() 306 out[CLAT_POS_PAYLOAD].iov_len = payload_size; in icmp6_to_icmp() 328 out[pos].iov_len = 0; in generic_packet() 330 out[CLAT_POS_PAYLOAD].iov_len = len; in generic_packet() 410 out[pos].iov_len = sizeof(struct udphdr); in udp_translate() [all …]
|
D | ipv4.c | 66 int iov_len; in ipv4_packet() local 107 out[pos].iov_len = sizeof(struct ip6_hdr); in ipv4_packet() 120 out[pos + 1].iov_len = frag_hdr_len; in ipv4_packet() 124 iov_len = generic_packet(out, pos + 2, next_header, len_left); in ipv4_packet() 126 iov_len = icmp_packet(out, pos + 2, (const struct icmphdr *) next_header, new_sum, len_left); in ipv4_packet() 128 iov_len = tcp_packet(out, pos + 2, (const struct tcphdr *) next_header, old_sum, new_sum, in ipv4_packet() 131 iov_len = udp_packet(out, pos + 2, (const struct udphdr *) next_header, old_sum, new_sum, in ipv4_packet() 134 iov_len = generic_packet(out, pos + 2, next_header, len_left); in ipv4_packet() 145 return iov_len; in ipv4_packet()
|
D | ipv6.c | 86 int iov_len; in ipv6_packet() local 123 out[pos].iov_len = sizeof(struct iphdr); in ipv6_packet() 156 iov_len = generic_packet(out, pos + 2, next_header, len_left); in ipv6_packet() 158 iov_len = icmp6_packet(out, pos + 2, (const struct icmp6_hdr *) next_header, len_left); in ipv6_packet() 160 iov_len = tcp_packet(out, pos + 2, (const struct tcphdr *) next_header, old_sum, new_sum, in ipv6_packet() 163 iov_len = udp_packet(out, pos + 2, (const struct udphdr *) next_header, old_sum, new_sum, in ipv6_packet() 166 iov_len = generic_packet(out, pos + 2, next_header, len_left); in ipv6_packet() 178 return iov_len; in ipv6_packet()
|
D | tun.c | 87 int send_tun(int fd, clat_packet out, int iov_len) { in send_tun() argument 88 return writev(fd, out, iov_len); in send_tun()
|
/external/valgrind/none/tests/ |
D | process_vm_readv_writev.c | 24 lvec[0].iov_len = 1; in test_process_vm_readv() 26 lvec[1].iov_len = 2; in test_process_vm_readv() 29 rvec[0].iov_len = 2; in test_process_vm_readv() 31 rvec[1].iov_len = 1; in test_process_vm_readv() 60 lvec[0].iov_len = 1; in test_process_vm_writev() 62 lvec[1].iov_len = 2; in test_process_vm_writev() 65 rvec[0].iov_len = 2; in test_process_vm_writev() 67 rvec[1].iov_len = 1; in test_process_vm_writev()
|
/external/ltrace/sysdeps/linux-gnu/metag/ |
D | regs.c | 38 iov.iov_len = sizeof(regs); in get_instruction_pointer() 52 iov.iov_len = sizeof(regs); in set_instruction_pointer() 59 iov.iov_len = sizeof(regs); in set_instruction_pointer() 70 iov.iov_len = sizeof(regs); in get_stack_pointer() 84 iov.iov_len = sizeof(regs); in get_return_addr()
|
D | trace.c | 83 iov.iov_len = sizeof(regs); in syscall_p() 189 iov.iov_len = sizeof(regs); in metag_next_pcs() 211 iov.iov_len = sizeof(regs); in metag_next_pcs() 256 iov.iov_len = sizeof(regs); in metag_next_pcs() 284 iov.iov_len = sizeof(regs); in metag_next_pcs() 403 iov.iov_len = sizeof(regs); in gimme_arg()
|
/external/selinux/libselinux/src/ |
D | setrans_client.c | 101 iov[0].iov_len = sizeof(function); in send_request() 103 iov[1].iov_len = sizeof(data1_size); in send_request() 105 iov[2].iov_len = sizeof(data2_size); in send_request() 107 iov[3].iov_len = data1_size; in send_request() 109 iov[4].iov_len = data2_size; in send_request() 116 expected += iov[i].iov_len; in send_request() 141 resp_hdr[0].iov_len = sizeof(func); in receive_response() 143 resp_hdr[1].iov_len = sizeof(data_size); in receive_response() 145 resp_hdr[2].iov_len = sizeof(*ret_val); in receive_response() 163 resp_data.iov_len = data_size; in receive_response()
|
/external/valgrind/memcheck/tests/linux/ |
D | getregset.c | 63 iov.iov_len = sizeof(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/openssh/ |
D | atomicio.c | 121 for (; iovcnt > 0 && iov[0].iov_len > 0;) { in atomiciov6() 141 while (iovcnt > 0 && rem >= iov[0].iov_len) { in atomiciov6() 142 rem -= iov[0].iov_len; in atomiciov6() 147 if (rem > 0 && (iovcnt <= 0 || rem > iov[0].iov_len)) { in atomiciov6() 155 iov[0].iov_len -= rem; in atomiciov6()
|
/external/strace/tests/ |
D | mmsg.c | 24 .iov_len = sizeof(one) - 1 in main() 27 .iov_len = sizeof(two) - 1 in main() 30 .iov_len = sizeof(three) - 1 in main()
|
/external/dnsmasq/contrib/wrt/ |
D | dhcp_release.c | 82 if (size <= iov->iov_len) in expand_buf() 93 memcpy(new, iov->iov_base, iov->iov_len); in expand_buf() 98 iov->iov_len = size; in expand_buf() 132 if (!expand_buf(&iov, iov.iov_len + 100)) in netlink_recv() 260 iov.iov_len = 200; in main() 261 iov.iov_base = malloc(iov.iov_len); in main()
|
/external/dnsmasq/src/ |
D | bpf.c | 23 .iov_len = 0 28 .iov_len = 0 241 iov[0].iov_len = sizeof(ether); in send_via_bpf() 243 iov[1].iov_len = sizeof(ip); in send_via_bpf() 245 iov[2].iov_len = sizeof(udp); in send_via_bpf() 247 iov[3].iov_len = len; in send_via_bpf()
|
/external/fio/engines/ |
D | splice.c | 119 iov.iov_len = ret; in fio_splice_read() 121 while (iov.iov_len) { in fio_splice_read() 145 iov.iov_len -= ret; in fio_splice_read() 172 .iov_len = io_u->xfer_buflen, in fio_splice_write() 179 while (iov.iov_len) { in fio_splice_write() 187 iov.iov_len -= ret; in fio_splice_write()
|
/external/selinux/policycoreutils/mcstrans/src/ |
D | mcstransd.c | 99 resp_hdr[0].iov_len = sizeof(function); in send_response() 101 resp_hdr[1].iov_len = sizeof(data_size); in send_response() 103 resp_hdr[2].iov_len = sizeof(ret_val); in send_response() 112 resp_data.iov_len = data_size; in send_response() 225 req_hdr[0].iov_len = sizeof(function); in service_request() 227 req_hdr[1].iov_len = sizeof(data1_size); in service_request() 229 req_hdr[2].iov_len = sizeof(data2_size); in service_request() 263 req_data[0].iov_len = data1_size; in service_request() 265 req_data[1].iov_len = data2_size; in service_request()
|
/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet_privsep.c | 36 io[0].iov_len = sizeof(cmd); in wpa_priv_cmd() 38 io[1].iov_len = data_len; in wpa_priv_cmd() 70 io[0].iov_len = sizeof(cmd); in l2_packet_send() 72 io[1].iov_len = ETH_ALEN; in l2_packet_send() 74 io[2].iov_len = 2; in l2_packet_send() 76 io[3].iov_len = len; in l2_packet_send()
|
/external/ltrace/sysdeps/linux-gnu/aarch64/ |
D | regs.c | 39 iovec.iov_len = sizeof *regs; in aarch64_read_gregs() 49 iovec.iov_len = sizeof *regs; in aarch64_write_gregs() 60 iovec.iov_len = sizeof *regs; in aarch64_read_fregs()
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
D | readv.cc | 23 iov[0].iov_len = 5; in main() 25 iov[1].iov_len = 2000; in main()
|
/external/libvncserver/libvncserver/ |
D | rfbcrypto_openssl.c | 36 MD5_Update(&c, iov[i].iov_base, iov[i].iov_len); in digestmd5() 47 SHA1_Update(&c, iov[i].iov_base, iov[i].iov_len); in digestsha1()
|
D | rfbcrypto_polarssl.c | 13 md5_update(&c, iov[i].iov_base, iov[i].iov_len); in digestmd5() 24 sha1_update(&c, iov[i].iov_base, iov[i].iov_len); in digestsha1()
|
D | rfbcrypto_included.c | 36 __md5_process_bytes(iov[i].iov_base, iov[i].iov_len, &c); in digestmd5() 47 SHA1Input(&c, iov[i].iov_base, iov[i].iov_len); in digestsha1()
|
D | rfbcrypto_gnutls.c | 35 gcry_md_write(c, iov[i].iov_base, iov[i].iov_len); in digestmd5() 47 gcry_md_write(c, iov[i].iov_base, iov[i].iov_len); in digestsha1()
|
/external/strace/linux/x86_64/ |
D | getregs_old.c | 14 x86_io.iov_len = sizeof(i386_regs); in getregs_old() 37 x86_io.iov_len = sizeof(x86_64_regs); in getregs_old()
|
/external/elfutils/src/backends/ |
D | aarch64_initreg.c | 62 iovec.iov_len = sizeof (gregs); in aarch64_set_initial_registers_tid() 79 iovec.iov_len = sizeof (fregs); in aarch64_set_initial_registers_tid()
|
/external/valgrind/memcheck/tests/ |
D | sendmsg.c | 37 iov[0].iov_len = 3; in main() 39 iov[1].iov_len = 3; in main()
|