/external/u-boot/drivers/tpm/ |
D | tpm_tis_st33zp24_spi.c | 115 int total_length = 0, ret; in st33zp24_spi_write() local 122 tx_buf[total_length++] = TPM_WRITE_DIRECTION | LOCALITY0; in st33zp24_spi_write() 123 tx_buf[total_length++] = tpm_register; in st33zp24_spi_write() 126 tx_buf[total_length++] = tpm_size >> 8; in st33zp24_spi_write() 127 tx_buf[total_length++] = tpm_size; in st33zp24_spi_write() 129 memcpy(tx_buf + total_length, tpm_data, tpm_size); in st33zp24_spi_write() 130 total_length += tpm_size; in st33zp24_spi_write() 132 memset(tx_buf + total_length, TPM_DUMMY_BYTE, phy->latency); in st33zp24_spi_write() 134 total_length += phy->latency; in st33zp24_spi_write() 140 ret = spi_xfer(slave, total_length * 8, tx_buf, rx_buf, in st33zp24_spi_write() [all …]
|
/external/libpcap/ |
D | sf-pcapng.c | 55 bpf_u_int32 total_length; member 62 bpf_u_int32 total_length; member 290 bhdr.total_length = SWAPLONG(bhdr.total_length); in read_block() 300 if (bhdr.total_length > 16*1024*1024) { in read_block() 303 bhdr.total_length, 16*1024*1024); in read_block() 311 if (bhdr.total_length < sizeof(struct block_header) + in read_block() 315 bhdr.total_length, in read_block() 323 if (p->bufsize < bhdr.total_length) { in read_block() 329 if (bhdr.total_length > ps->max_blocksize) { in read_block() 334 bigger_buffer = realloc(p->buffer, bhdr.total_length); in read_block() [all …]
|
/external/ppp/pppd/plugins/radius/ |
D | sendserver.c | 36 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/libjpeg-turbo/ |
D | jdicc.c | 81 unsigned int total_length; in jpeg_read_icc_profile() local 131 total_length = 0; in jpeg_read_icc_profile() 137 data_offset[seq_no] = total_length; in jpeg_read_icc_profile() 138 total_length += data_length[seq_no]; in jpeg_read_icc_profile() 141 if (total_length == 0) { in jpeg_read_icc_profile() 147 icc_data = (JOCTET *)malloc(total_length * sizeof(JOCTET)); in jpeg_read_icc_profile() 168 *icc_data_len = total_length; in jpeg_read_icc_profile()
|
/external/bcc/examples/networking/http_filter/ |
D | http-parse-simple.py | 112 total_length = packet_bytearray[ETH_HLEN + 2] #load MSB variable 113 total_length = total_length << 8 #shift MSB variable 114 total_length = total_length + packet_bytearray[ETH_HLEN+3] #add LSB variable
|
D | http-parse-complete.py | 177 total_length = packet_bytearray[ETH_HLEN + 2] #load MSB variable 178 total_length = total_length << 8 #shift MSB variable 179 total_length = total_length + packet_bytearray[ETH_HLEN+3] #add LSB variable
|
/external/bcc/examples/networking/vlan_filter/ |
D | data-plane-tracing.py | 124 total_length = packet_bytearray[ETH_HLEN + 2] #load MSB variable 125 total_length = total_length << 8 #shift MSB variable 126 total_length = total_length + packet_bytearray[ETH_HLEN+3] #add LSB variable 179 …_ip, dest_vm_ip, str(packet_bytearray[77]), str(src_vm_port), str(dest_vm_port), str(total_length)) 188 …m_ip+","+str(packet_bytearray[77])+","+str(src_vm_port)+","+str(dest_vm_port)+","+str(total_length)
|
/external/wpa_supplicant_8/src/wps/ |
D | ndef.c | 29 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/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/ |
D | dwarfdump-64-bit-dwarf.test | 7 CHECK: total_length: 0x00000212 17 CHECK: total_length: 0x0000007c 27 CHECK: total_length: 0x00000094 37 CHECK: total_length: 0x0000007c
|
/external/yapf/yapf/yapflib/ |
D | line_joiner.py | 72 if lines[0].last.total_length < limit: 73 limit -= lines[0].last.total_length 106 if lines[1].last.total_length >= limit:
|
D | format_decision_state.py | 365 opening.matching_bracket.total_length - opening.total_length + 778 length = end.total_length - start.total_length 808 length = prev.total_length - entry_start.total_length 840 length = current.total_length - entry_start.total_length 849 length = token.matching_bracket.total_length - token.total_length 899 return current.total_length - token.total_length + 1
|
/external/grpc-grpc/src/core/lib/gpr/ |
D | string.h | 75 char* gpr_strjoin(const char** strs, size_t nstrs, size_t* total_length); 81 size_t* total_length); 108 char* gpr_strvec_flatten(gpr_strvec* strs, size_t* total_length);
|
/external/android-clat/ |
D | clatd_test.cpp | 299 size_t total_length, pos = 0; in reassemble_packet() local 351 total_length = headersize; in reassemble_packet() 357 total_length += payload_length; in reassemble_packet() 358 ASSERT_LT(total_length, *reassembled_len) << msg << ": Reassembly buffer too small\n"; in reassemble_packet() 364 ASSERT_EQ(total_length, pos) << msg << ": Reassembled packet length incorrect\n"; in reassemble_packet() 367 ip->tot_len = htons(total_length); in reassemble_packet() 374 ip6->ip6_plen = htons(total_length - sizeof(*ip6)); in reassemble_packet() 379 *reassembled_len = total_length; in reassemble_packet() 857 size_t total_length = sizeof(reassembled); in TEST_F() local 859 &total_length, "Reassembly sanity check"); in TEST_F() [all …]
|
/external/avb/libavb/ |
D | avb_util.c | 350 uint64_t total_length; in avb_strdupv() local 354 total_length = 0; in avb_strdupv() 360 if (!avb_safe_add_to(&total_length, str_len)) { in avb_strdupv() 373 ret = avb_malloc(total_length + 1); in avb_strdupv() 384 avb_assert(dest == ret + total_length); in avb_strdupv()
|
/external/u-boot/lib/libavb/ |
D | avb_util.c | 331 uint64_t total_length; in avb_strdupv() local 335 total_length = 0; in avb_strdupv() 341 if (!avb_safe_add_to(&total_length, str_len)) { in avb_strdupv() 354 ret = avb_malloc(total_length + 1); in avb_strdupv() 365 avb_assert(dest == ret + total_length); in avb_strdupv()
|
/external/llvm/test/DebugInfo/X86/ |
D | stmt-list-multiple-compile-units.ll | 28 ; CHECK-NEXT: total_length: 0x00000038 31 ; CHECK-NEXT: total_length: 0x00000039 45 ; DWARF3-NEXT: total_length: 0x00000038 48 ; DWARF3-NEXT: total_length: 0x00000039
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/X86/ |
D | stmt-list-multiple-compile-units.ll | 29 ; CHECK-NEXT: total_length: 0x00000038 35 ; CHECK-NEXT: total_length: 0x00000039 52 ; DWARF3-NEXT: total_length: 0x00000038 58 ; DWARF3-NEXT: total_length: 0x00000039
|
/external/libusb/libusb/os/ |
D | haiku_usb_raw.cpp | 86 if (len > act_config->total_length) in haiku_get_active_config_descriptor() 102 if (len > config->total_length) in haiku_get_config_descriptor() 103 len = config->total_length; in haiku_get_config_descriptor()
|
/external/autotest/server/cros/dynamic_suite/ |
D | tools.py | 200 total_length = len(control_file_in) 201 while end <= total_length and ( 204 if end < total_length:
|
/external/brotli/c/enc/ |
D | block_splitter.c | 42 size_t total_length = 0; in CountLiterals() local 45 total_length += cmds[i].insert_len_; in CountLiterals() 47 return total_length; in CountLiterals()
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | linux_core_dumper.cc | 66 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()
|
D | linux_ptrace_dumper.cc | 121 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/ |
D | mbim_message_response.py | 123 total_length = primary_fragment.calculate_total_len() 124 primary_fragment = primary_fragment.copy(message_length=total_length)
|
/external/v8/src/snapshot/ |
D | snapshot-common.cc | 236 uint32_t total_length = startup_snapshot_offset; in CreateSnapshotBlob() local 237 total_length += static_cast<uint32_t>(startup_snapshot->RawData().length()); in CreateSnapshotBlob() 238 total_length += static_cast<uint32_t>(builtin_snapshot->RawData().length()); in CreateSnapshotBlob() 240 total_length += static_cast<uint32_t>(context_snapshot->RawData().length()); in CreateSnapshotBlob() 245 char* data = new char[total_length]; in CreateSnapshotBlob() 295 v8::StartupData result = {data, static_cast<int>(total_length)}; in CreateSnapshotBlob() 296 DCHECK_EQ(total_length, payload_offset); in CreateSnapshotBlob()
|
/external/tensorflow/tensorflow/core/debug/ |
D | debug_io_utils.cc | 202 const size_t total_length = tensor_proto.tensor_content().size(); in WrapTensorAsEvents() local 204 chunk_size_limit > 0 ? chunk_size_limit : total_length; in WrapTensorAsEvents() 206 (total_length == 0) in WrapTensorAsEvents() 208 : (total_length + chunk_size_ub - 1) / chunk_size_ub; in WrapTensorAsEvents() 212 (i == num_chunks - 1) ? (total_length - pos) : chunk_size_ub; in WrapTensorAsEvents() 252 const size_t total_length = encoded_graph_def.size(); in PublishEncodedGraphDefInChunks() local 254 static_cast<size_t>(std::ceil(static_cast<float>(total_length) / in PublishEncodedGraphDefInChunks() 259 ? (total_length - pos) in PublishEncodedGraphDefInChunks()
|