Home
last modified time | relevance | path

Searched refs:total_length (Results 1 – 25 of 27) 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/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunication.cpp367 size_t total_length = 0; in CheckForPacket() local
375 content_length = total_length = 1; // The command is one byte long... in CheckForPacket()
392total_length = hash_pos + 3; // Skip the # and the two hex checksum bytes in CheckForPacket()
441 else if (total_length > 0) in CheckForPacket()
446 assert (total_length <= m_bytes.size()); in CheckForPacket()
447 assert (content_length <= total_length); in CheckForPacket()
462 … log->Printf ("<%4zu> read packet: %.*s", total_length, (int)(total_length), m_bytes.c_str()); in CheckForPacket()
465 … m_history.AddPacket (m_bytes.c_str(), total_length, History::ePacketTypeRecv, total_length); in CheckForPacket()
485 (int)(total_length), in CheckForPacket()
505 m_bytes.erase(0, total_length); in CheckForPacket()
/external/wpa_supplicant_8/src/wps/
Dndef.c29 u32 total_length; member
70 record->total_length = pos - data; in ndef_parse_record()
71 if (record->total_length > size) in ndef_parse_record()
92 data += record.total_length; in ndef_parse_records()
93 len -= record.total_length; in ndef_parse_records()
/external/lldb/source/Plugins/SymbolFile/DWARF/
DDWARFDebugLine.h57 total_length(0), in Prologue()
73 …uint32_t total_length; // The size in bytes of the statement information for this compilation… member
86 …uint32_t Length() const { return prologue_length + sizeof(total_length) + sizeof(version) + sizeof… in Length()
88 … uint32_t StatementTableLength() const { return total_length + sizeof(total_length) - Length(); } in StatementTableLength()
95total_length = version = prologue_length = min_inst_length = line_base = line_range = opcode_base … in Clear()
DDWARFDebugLine.cpp208 … dw_offset_t end_offset = debug_line_offset + prologue.total_length + sizeof(prologue.total_length in DumpStatementOpcodes()
413 prologue->total_length = debug_line_data.GetU32(offset_ptr); in ParsePrologue()
603 …w_offset_t end_offset = debug_line_offset + prologue->total_length + sizeof(prologue->total_length in ParseStatementTable()
897 log->Printf( " total_length: 0x%8.8x", total_length); in Dump()
/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/v8/test/cctest/
Dtest-utils.cc186 int total_length = 0; in TEST() local
197 total_length += seq_length; in TEST()
200 CHECK_EQ(total_length, result.length()); in TEST()
/external/marisa-trie/tools/
Dmarisa-benchmark.cc165 std::size_t total_length = 0; in read_keys() local
167 total_length += (*keys)[i].first.length(); in read_keys()
169 std::cout << "total length: " << total_length << std::endl; in read_keys()
/external/marisa-trie/v0_1_5/tools/
Dmarisa_alpha-benchmark.cc165 std::size_t total_length = 0; in read_keys() local
167 total_length += (*keys)[i].first.length(); in read_keys()
169 std::cout << "total length: " << total_length << std::endl; in read_keys()
/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/
Dempty.ll12 ; CHECK: total_length: 0x00000019
/external/chromium-trace/trace-viewer/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.py434 total_length = len(source_bytes)
472 "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.c765 u_int8_t total_length[2]; member
855 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.cc4477 int total_length = 0; in Calculate() local
4488 total_length += leaf_length; in Calculate()
4489 MergeLeafLeft(&total_length, &state, left_leaf_state); in Calculate()
4494 total_length += leaf_length; in Calculate()
4495 MergeLeafRight(&total_length, &state, right_leaf_state); in Calculate()
4502 MergeTerminal(&total_length, state, state_out); in Calculate()
4503 return total_length; in Calculate()
4513 total_length += Calculate(left_as_cons, &left_leaf_state); in Calculate()
4514 MergeLeafLeft(&total_length, &state, left_leaf_state); in Calculate()
4517 total_length += Calculate(right_as_cons, &right_leaf_state); in Calculate()
[all …]
Dgdb-jit.cc1432 Writer::Slot<uint32_t> total_length = w->CreateSlotHere<uint32_t>(); in WriteBodyInternal() local
1534 total_length.set(static_cast<uint32_t>(w->position() - start)); in WriteBodyInternal()

12