/external/u-boot/fs/btrfs/ |
D | compression.c | 15 u32 tot_len, in_len, res; in decompress_lzo() local 22 tot_len = le32_to_cpu(get_unaligned((u32 *)cbuf)); in decompress_lzo() 25 tot_len -= 4; in decompress_lzo() 27 if (tot_len == 0 && dlen) in decompress_lzo() 29 if (tot_len < 4) in decompress_lzo() 34 while (tot_len > 4) { in decompress_lzo() 39 if (in_len > clen || tot_len < 4 + in_len) in decompress_lzo() 42 tot_len -= 4 + in_len; in decompress_lzo()
|
/external/wpa_supplicant_8/src/ap/ |
D | dhcp_snoop.c | 42 u16 tot_len; in handle_dhcp() local 49 tot_len = ntohs(b->iph.tot_len); in handle_dhcp() 50 if (tot_len > (unsigned int) (len - ETH_HLEN)) in handle_dhcp() 57 end = (const u8 *) b + tot_len; in handle_dhcp()
|
D | fils_hlp.c | 264 iph->tot_len = htons(sizeof(*iph) + sizeof(*udph) + (end - pos)); in fils_dhcp_handler() 514 u16 tot_len; in fils_process_hlp_ip() local 524 tot_len = ntohs(iph->tot_len); in fils_process_hlp_ip() 525 if (tot_len > len) in fils_process_hlp_ip()
|
/external/u-boot/lib/libavb/ |
D | avb_sha.h | 34 uint32_t tot_len; member 43 uint32_t tot_len; member
|
D | avb_sha512.c | 125 ctx->tot_len = 0; in avb_sha512_init() 322 ctx->tot_len += (block_nb + 1) << 7; in avb_sha512_update() 337 len_b = (ctx->tot_len + ctx->len) << 3; in avb_sha512_final()
|
D | avb_sha256.c | 94 ctx->tot_len = 0; in avb_sha256_init() 324 ctx->tot_len += (block_nb + 1) << 6; in avb_sha256_update() 338 len_b = (ctx->tot_len + ctx->len) << 3; in avb_sha256_final()
|
/external/avb/libavb/ |
D | avb_sha.h | 53 uint64_t tot_len; member 62 uint64_t tot_len; member
|
D | avb_sha256.c | 133 ctx->tot_len = 0; in avb_sha256_init() 363 ctx->tot_len += (block_nb + 1) << 6; in avb_sha256_update() 377 len_b = (ctx->tot_len + ctx->len) << 3; in avb_sha256_final()
|
D | avb_sha512.c | 152 ctx->tot_len = 0; in avb_sha512_init() 349 ctx->tot_len += (block_nb + 1) << 7; in avb_sha512_update() 364 len_b = (ctx->tot_len + ctx->len) << 3; in avb_sha512_final()
|
/external/toolchain-utils/deprecated/ |
D | compare_benchmarks.py | 82 tot_len = len(hdr) 83 PrintDash(tot_len * 15) 90 PrintDash(tot_len * 15)
|
/external/vboot_reference/firmware/lib/cryptolib/include/ |
D | sha.h | 41 uint32_t tot_len; member 49 uint32_t tot_len; member
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_pwd.c | 826 u16 tot_len = 0; in eap_pwd_process() local 910 tot_len = WPA_GET_BE16(pos); in eap_pwd_process() 912 "total length = %d", tot_len); in eap_pwd_process() 913 if (tot_len > 15000) in eap_pwd_process() 921 data->inbuf = wpabuf_alloc(tot_len); in eap_pwd_process() 1023 tot_len = len; in eap_pwd_process() 1029 "length = %d", tot_len); in eap_pwd_process() 1040 wpabuf_put_be16(resp, tot_len); in eap_pwd_process()
|
/external/android-clat/ |
D | ipv6.c | 177 ip_targ->tot_len = htons(ntohs(ip_targ->tot_len) + packet_length(out, pos)); in ipv6_packet()
|
D | clatd_microbenchmark.c | 98 .tot_len = htons(len + sizeof(ip) + sizeof(udp)), in send_packet()
|
D | dump.c | 51 printf("tot_len = %x\n", ntohs(header->tot_len)); in dump_ip()
|
/external/vboot_reference/firmware/lib/cryptolib/ |
D | sha256.c | 125 ctx->tot_len = 0; in SHA256_init() 274 ctx->tot_len += (block_nb + 1) << 6; in SHA256_update() 288 len_b = (ctx->tot_len + ctx->len) << 3; in SHA256_final()
|
D | sha512.c | 168 ctx->tot_len = 0; in SHA512_init() 296 ctx->tot_len += (block_nb + 1) << 7; in SHA512_update() 312 len_b = (ctx->tot_len + ctx->len) << 3; in SHA512_final()
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-icmpv4_sender.c | 369 pkt.hdr.tot_len = htons(pkt_size); in create_clean_packet() 435 bitsize = sizeof(pkt->hdr.tot_len) * 8; in thrust_fakes() 437 pkt->hdr.tot_len ^= seed; in thrust_fakes()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_xdp.c | 106 payload_len = bpf_ntohs(iph->tot_len); in handle_ipv4() 136 iph->tot_len = bpf_htons(payload_len + sizeof(*iph)); in handle_ipv4()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_pwd.c | 853 u16 tot_len; in eap_pwd_process() local 891 tot_len = WPA_GET_BE16(pos); in eap_pwd_process() 893 "length = %d", tot_len); in eap_pwd_process() 894 if (tot_len > 15000) in eap_pwd_process() 901 data->inbuf = wpabuf_alloc(tot_len); in eap_pwd_process()
|
/external/libnl/include/linux-private/linux/ |
D | ip.h | 96 __be16 tot_len; member
|
/external/iproute2/include/uapi/linux/ |
D | ip.h | 97 __be16 tot_len; member
|
/external/kernel-headers/original/uapi/linux/ |
D | ip.h | 97 __be16 tot_len; member
|
/external/toybox/toys/pending/ |
D | dhcp.c | 664 if (bytes < ntohs(packet.iph.tot_len)) { in read_raw() 669 bytes = ntohs(packet.iph.tot_len); in read_raw() 689 packet.iph.tot_len = packet.udph.len; in read_raw() 752 packet.iph.tot_len = packet.udph.len; in send_raw() 754 packet.iph.tot_len = htons(sizeof(dhcp_raw_t) - padding); in send_raw()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | psock_snd.c | 124 iph->tot_len = htons(sizeof(*iph) + sizeof(struct udphdr) + payload_len); in build_ipv4_header()
|