Home
last modified time | relevance | path

Searched refs:total_length (Results 1 – 25 of 29) sorted by relevance

12

/external/libpcap/
Dsf-pcap-ng.c72 bpf_u_int32 total_length; member
79 bpf_u_int32 total_length; member
267 bhdr.total_length = SWAPLONG(bhdr.total_length); in read_block()
277 if (bhdr.total_length > 16*1024*1024) { in read_block()
280 bhdr.total_length, 16*1024*1024); in read_block()
288 if (bhdr.total_length < sizeof(struct block_header) + in read_block()
292 bhdr.total_length, in read_block()
300 if (p->bufsize < bhdr.total_length) { in read_block()
304 p->buffer = realloc(p->buffer, bhdr.total_length); in read_block()
317 bhdr.total_length - sizeof(bhdr), 1, errbuf) == -1) in read_block()
[all …]
/external/ppp/pppd/plugins/radius/
Dsendserver.c36 int total_length = 0; in rc_pack_list() local
70 total_length += length+8; in rc_pack_list()
80 total_length += length+8; in rc_pack_list()
124 total_length += padded_length + 2; in rc_pack_list()
151 total_length += CHAP_VALUE_LENGTH + 2; in rc_pack_list()
162 total_length += length + 2; in rc_pack_list()
171 total_length += sizeof (UINT4) + 2; in rc_pack_list()
182 return total_length; in rc_pack_list()
205 int total_length; in rc_send_server() local
268 total_length = rc_pack_list(data->send_pairs, secret, auth) + AUTH_HDR_LEN; in rc_send_server()
[all …]
/external/wpa_supplicant_8/src/wps/
Dndef.c29 u32 total_length; member
75 record->total_length = pos - data; in ndef_parse_record()
76 if (record->total_length > size || in ndef_parse_record()
77 record->total_length < record->payload_length) in ndef_parse_record()
98 data += record.total_length; in ndef_parse_records()
99 len -= record.total_length; in ndef_parse_records()
/external/android-clat/
Dclatd_test.cpp290 size_t total_length, pos = 0; in reassemble_packet() local
342 total_length = headersize; in reassemble_packet()
348 total_length += payload_length; in reassemble_packet()
349 ASSERT_LT(total_length, *reassembled_len) << msg << ": Reassembly buffer too small\n"; in reassemble_packet()
356 ASSERT_EQ(total_length, pos) << msg << ": Reassembled packet length incorrect\n"; in reassemble_packet()
359 ip->tot_len = htons(total_length); in reassemble_packet()
366 ip6->ip6_plen = htons(total_length - sizeof(*ip6)); in reassemble_packet()
371 *reassembled_len = total_length; in reassemble_packet()
775 size_t total_length = sizeof(reassembled); in TEST_F() local
777 reassembled, &total_length, "Reassembly sanity check"); in TEST_F()
[all …]
/external/llvm/test/DebugInfo/X86/
Dstmt-list-multiple-compile-units.ll28 ; CHECK-NEXT: total_length: 0x00000038
31 ; CHECK-NEXT: total_length: 0x00000039
45 ; DWARF3-NEXT: total_length: 0x00000038
48 ; DWARF3-NEXT: total_length: 0x00000039
Dempty.ll7 ; CHECK: total_length: 0x00000019
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_core_dumper.cc66 size_t total_length = procfs_path_len + 1 + node_len; in BuildProcPath() local
67 if (total_length >= NAME_MAX) in BuildProcPath()
73 path[total_length] = '\0'; in BuildProcPath()
Dlinux_ptrace_dumper.cc121 const size_t total_length = 6 + pid_len + 1 + node_len; in BuildProcPath() local
122 if (total_length >= NAME_MAX) in BuildProcPath()
129 path[total_length] = '\0'; in BuildProcPath()
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_message_response.py123 total_length = primary_fragment.calculate_total_len()
124 primary_fragment = primary_fragment.copy(message_length=total_length)
Dmbim_message_request.py106 total_length = message.get_total_len()
152 'Max Frag length: %d', num_fragments, total_length,
/external/v8/test/cctest/
Dtest-utils.cc226 int total_length = 0; in TEST() local
237 total_length += seq_length; in TEST()
240 CHECK_EQ(total_length, result.length()); in TEST()
/external/llvm/test/DebugInfo/
Ddwarfdump-64-bit-dwarf.test7 CHECK: total_length: 0x00000212
/external/vboot_reference/firmware/lib/tpm_lite/
Dtlcl.c196 const int total_length = in TlclWrite() local
201 VbAssert(total_length <= TPM_LARGE_ENOUGH_COMMAND_SIZE); in TlclWrite()
202 SetTpmCommandSize(cmd.buffer, total_length); in TlclWrite()
/external/llvm/test/DebugInfo/Generic/
Dempty.ll12 ; CHECK: total_length: 0x00000019
/external/chromium-trace/catapult/third_party/Paste/paste/
Dhttpheaders.py992 def compose(self, first_byte=None, last_byte=None, total_length=None): argument
993 retval = "bytes %d-%d/%d" % (first_byte, last_byte, total_length)
995 assert last_byte < total_length
Dfileapp.py160 total_length = self.content_length)
/external/v8/tools/
Djs2c.py469 total_length = len(source_bytes)
500 "total_length": total_length,
/external/tcpdump/
Dprint-bgp.c629 u_int total_length, offset; in bgp_vpn_sg_print() local
631 total_length = 0; in bgp_vpn_sg_print()
639 total_length += (addr_length >> 3) + 1; in bgp_vpn_sg_print()
653 total_length += (addr_length >> 3) + 1; in bgp_vpn_sg_print()
662 return (total_length); in bgp_vpn_sg_print()
Dprint-isoclns.c752 uint8_t total_length[2]; member
844 EXTRACT_16BITS(clnp_segment_header->total_length))); in clnp_print()
/external/google-breakpad/src/common/dwarf/
Ddwarf2reader.h68 uint64 total_length; member
Ddwarf2reader.cc541 header_.total_length = initial_length; in ReadHeader()
542 assert(buffer_ + initial_length_size + header_.total_length <= in ReadHeader()
828 while (lineptr < lengthstart + header_.total_length) { in ReadLines()
852 after_header_ = lengthstart + header_.total_length; in ReadLines()
/external/v8/src/
Dapi.cc4806 int total_length = 0; in Calculate() local
4817 total_length += leaf_length; in Calculate()
4818 MergeLeafLeft(&total_length, &state, left_leaf_state); in Calculate()
4823 total_length += leaf_length; in Calculate()
4824 MergeLeafRight(&total_length, &state, right_leaf_state); in Calculate()
4831 MergeTerminal(&total_length, state, state_out); in Calculate()
4832 return total_length; in Calculate()
4842 total_length += Calculate(left_as_cons, &left_leaf_state); in Calculate()
4843 MergeLeafLeft(&total_length, &state, left_leaf_state); in Calculate()
4846 total_length += Calculate(right_as_cons, &right_leaf_state); in Calculate()
[all …]
Dgdb-jit.cc1461 Writer::Slot<uint32_t> total_length = w->CreateSlotHere<uint32_t>(); in WriteBodyInternal() local
1563 total_length.set(static_cast<uint32_t>(w->position() - start)); in WriteBodyInternal()
/external/pcre/dist/
Dpcre_jit_compile.c9805 sljit_uw total_length; in PRIV() local
9987 total_length = ccend - common->start; in PRIV()
9988 common->private_data_ptrs = (sljit_si *)SLJIT_MALLOC(total_length * (sizeof(sljit_si) + (common->ha… in PRIV()
9994 memset(common->private_data_ptrs, 0, total_length * sizeof(sljit_si)); in PRIV()
10007 common->then_offsets = (pcre_uint8 *)(common->private_data_ptrs + total_length); in PRIV()
10008 memset(common->then_offsets, 0, total_length); in PRIV()
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-linux.c6773 int total_length = 0; in PRE() local
6780 total_length += vkuu->iso_frame_desc[i].length; in PRE()
6783 PRE_MEM_WRITE( "ioctl(USBDEVFS_SUBMITURB).buffer", (Addr)vkuu->buffer, total_length); in PRE()
6785 PRE_MEM_READ( "ioctl(USBDEVFS_SUBMITURB).buffer", (Addr)vkuu->buffer, total_length); in PRE()

12