Searched refs:total_length (Results 1 - 25 of 26) sorted by relevance

12

/external/libpcap/
H A Dsf-pcap-ng.c72 bpf_u_int32 total_length; member in struct:block_header
79 bpf_u_int32 total_length; member in struct:block_trailer
267 bhdr.total_length = SWAPLONG(bhdr.total_length);
277 if (bhdr.total_length > 16*1024*1024) {
280 bhdr.total_length, 16*1024*1024);
288 if (bhdr.total_length < sizeof(struct block_header) +
292 bhdr.total_length,
300 if (p->bufsize < bhdr.total_length) {
304 p->buffer = realloc(p->buffer, bhdr.total_length);
649 bpf_u_int32 total_length; local
[all...]
/external/ppp/pppd/plugins/radius/
H A Dsendserver.c36 int total_length = 0; local
70 total_length += length+8;
80 total_length += length+8;
124 total_length += padded_length + 2;
151 total_length += CHAP_VALUE_LENGTH + 2;
162 total_length += length + 2;
171 total_length += sizeof (UINT4) + 2;
182 return total_length;
205 int total_length; local
268 total_length
[all...]
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dndef.c29 u32 total_length; member in struct:ndef_record
70 record->total_length = pos - data;
71 if (record->total_length > size)
92 data += record.total_length;
93 len -= record.total_length;
/external/wpa_supplicant_8/src/wps/
H A Dndef.c29 u32 total_length; member in struct:ndef_record
70 record->total_length = pos - data;
71 if (record->total_length > size)
92 data += record.total_length;
93 len -= record.total_length;
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dndef.c29 u32 total_length; member in struct:ndef_record
70 record->total_length = pos - data;
71 if (record->total_length > size)
92 data += record.total_length;
93 len -= record.total_length;
/external/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunication.cpp367 size_t total_length = 0; local
375 content_length = total_length = 1; // The command is one byte long...
392 total_length = hash_pos + 3; // Skip the # and the two hex checksum bytes
441 else if (total_length > 0)
446 assert (total_length <= m_bytes.size());
447 assert (content_length <= total_length);
462 log->Printf ("<%4zu> read packet: %.*s", total_length, (int)(total_length), m_bytes.c_str());
465 m_history.AddPacket (m_bytes.c_str(), total_length, History::ePacketTypeRecv, total_length);
[all...]
/external/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugLine.h57 total_length(0),
73 uint32_t total_length; // The size in bytes of the statement information for this compilation unit (not including the total_length field itself). member in struct:DWARFDebugLine::Prologue
86 uint32_t Length() const { return prologue_length + sizeof(total_length) + sizeof(version) + sizeof(prologue_length); }
88 uint32_t StatementTableLength() const { return total_length + sizeof(total_length) - Length(); }
95 total_length = version = prologue_length = min_inst_length = line_base = line_range = opcode_base = 0;
H A DDWARFDebugLine.cpp208 const dw_offset_t end_offset = debug_line_offset + prologue.total_length + sizeof(prologue.total_length);
413 prologue->total_length = debug_line_data.GetU32(offset_ptr);
603 const dw_offset_t end_offset = debug_line_offset + prologue->total_length + sizeof(prologue->total_length);
897 log->Printf( " total_length: 0x%8.8x", total_length);
947 // buff.Append32(total_length);
/external/android-clat/
H A Dclatd_test.cpp290 size_t total_length, pos = 0; local
342 total_length = headersize;
348 total_length += payload_length;
349 ASSERT_LT(total_length, *reassembled_len) << msg << ": Reassembly buffer too small\n";
356 ASSERT_EQ(total_length, pos) << msg << ": Reassembled packet length incorrect\n";
359 ip->tot_len = htons(total_length);
366 ip6->ip6_plen = htons(total_length - sizeof(*ip6));
371 *reassembled_len = total_length;
775 size_t total_length = sizeof(reassembled); local
777 reassembled, &total_length, "Reassembl
779 ASSERT_EQ(sizeof(kReassembledIPv4), total_length) << "IPv4 reassembly sanity check: length\\n"; local
[all...]
/external/google-breakpad/src/client/linux/minidump_writer/
H A Dlinux_core_dumper.cc66 size_t total_length = procfs_path_len + 1 + node_len; local
67 if (total_length >= NAME_MAX)
73 path[total_length] = '\0';
H A Dlinux_ptrace_dumper.cc121 const size_t total_length = 6 + pid_len + 1 + node_len; local
122 if (total_length >= NAME_MAX)
129 path[total_length] = '\0';
/external/v8/test/cctest/
H A Dtest-utils.cc186 int total_length = 0; local
197 total_length += seq_length;
200 CHECK_EQ(total_length, result.length());
/external/marisa-trie/tools/
H A Dmarisa-benchmark.cc165 std::size_t total_length = 0; local
167 total_length += (*keys)[i].first.length();
169 std::cout << "total length: " << total_length << std::endl;
/external/marisa-trie/v0_1_5/tools/
H A Dmarisa_alpha-benchmark.cc165 std::size_t total_length = 0; local
167 total_length += (*keys)[i].first.length();
169 std::cout << "total length: " << total_length << std::endl;
/external/vboot_reference/firmware/lib/tpm_lite/
H A Dtlcl.c196 const int total_length = local
201 VbAssert(total_length <= TPM_LARGE_ENOUGH_COMMAND_SIZE);
202 SetTpmCommandSize(cmd.buffer, total_length);
/external/chromium-trace/trace-viewer/third_party/Paste/paste/
H A Dhttpheaders.py992 def compose(self, first_byte=None, last_byte=None, total_length=None):
993 retval = "bytes %d-%d/%d" % (first_byte, last_byte, total_length)
995 assert last_byte < total_length
H A Dfileapp.py160 total_length = self.content_length)
/external/v8/tools/
H A Djs2c.py295 return Vector<const byte>(sources, %(total_length)i);
434 total_length = len(source_bytes)
472 "total_length": total_length,
/external/google-breakpad/src/common/dwarf/
H A Ddwarf2reader.h68 uint64 total_length; member in struct:dwarf2reader::LineInfoHeader
H A Ddwarf2reader.cc541 header_.total_length = initial_length;
542 assert(buffer_ + initial_length_size + header_.total_length <=
828 while (lineptr < lengthstart + header_.total_length) {
852 after_header_ = lengthstart + header_.total_length;
/external/tcpdump/
H A Dprint-bgp.c629 u_int total_length, offset; local
631 total_length = 0;
639 total_length += (addr_length >> 3) + 1;
653 total_length += (addr_length >> 3) + 1;
662 return (total_length);
H A Dprint-isoclns.c765 u_int8_t total_length[2]; member in struct:clnp_segment_header_t
855 EXTRACT_16BITS(clnp_segment_header->total_length));
/external/v8/src/
H A Dapi.cc4477 int total_length = 0; local
4488 total_length += leaf_length;
4489 MergeLeafLeft(&total_length, &state, left_leaf_state);
4494 total_length += leaf_length;
4495 MergeLeafRight(&total_length, &state, right_leaf_state);
4502 MergeTerminal(&total_length, state, state_out);
4503 return total_length;
4513 total_length += Calculate(left_as_cons, &left_leaf_state);
4514 MergeLeafLeft(&total_length, &state, left_leaf_state);
4517 total_length
[all...]
H A Dgdb-jit.cc1432 Writer::Slot<uint32_t> total_length = w->CreateSlotHere<uint32_t>(); local
1534 total_length.set(static_cast<uint32_t>(w->position() - start));
/external/valgrind/coregrind/m_syswrap/
H A Dsyswrap-linux.c6736 int total_length = 0; local
6743 total_length += vkuu->iso_frame_desc[i].length;
6746 PRE_MEM_WRITE( "ioctl(USBDEVFS_SUBMITURB).buffer", (Addr)vkuu->buffer, total_length);
6748 PRE_MEM_READ( "ioctl(USBDEVFS_SUBMITURB).buffer", (Addr)vkuu->buffer, total_length);

Completed in 7721 milliseconds

12