/external/python/cpython2/Misc/Vim/ |
D | vim_syntax.py | 136 total_len = 0 139 total_len += len(overflow) + 1 141 while total_len < fill_len: 145 total_len += len(new_item) + 1 152 if total_len > fill_len: 154 total_len -= len(overflow) - 1
|
/external/wpa_supplicant_8/src/crypto/ |
D | aes-omac1.c | 49 size_t i, e, left, total_len; in omac1_aes_vector() local 59 total_len = 0; in omac1_aes_vector() 61 total_len += len[e]; in omac1_aes_vector() 62 left = total_len; in omac1_aes_vector() 93 if (left || total_len == 0) { in omac1_aes_vector()
|
/external/wpa_supplicant_8/src/wps/ |
D | ndef.c | 112 size_t total_len; in ndef_build_record() local 119 total_len = 2; /* flag + type length */ in ndef_build_record() 121 total_len += short_record ? sizeof(u8) : sizeof(u32); in ndef_build_record() 123 total_len += 1; in ndef_build_record() 124 total_len += type_length + id_length + payload_length; in ndef_build_record() 125 record = wpabuf_alloc(total_len); in ndef_build_record()
|
/external/dtc/ |
D | fdtoverlay.c | 63 off_t blob_len, ov_len, total_len; in do_fdtoverlay() local 79 total_len = 0; in do_fdtoverlay() 87 total_len += ov_len; in do_fdtoverlay() 91 blob_len = fdt_totalsize(blob) + total_len; in do_fdtoverlay()
|
/external/u-boot/fs/btrfs/ |
D | dir-item.c | 38 u32 total_len, cur = 0, this_len; in btrfs_match_dir_item_name() local 43 total_len = btrfs_path_item_size(path); in btrfs_match_dir_item_name() 45 while (cur < total_len) { in btrfs_match_dir_item_name() 50 if (verify_dir_item(item, cur, total_len)) in btrfs_match_dir_item_name()
|
/external/tensorflow/tensorflow/lite/ |
D | string_util.cc | 39 int total_len = strings.size() - 1; in AddJoinedString() local 41 total_len += ref.len; in AddJoinedString() 43 data_.resize(data_.size() + total_len); in AddJoinedString() 60 offset_.push_back(offset_.back() + total_len); in AddJoinedString()
|
/external/libevent/ |
D | buffer.c | 326 buf->total_len += chain->off; in evbuffer_chain_insert() 487 new_size = buffer->total_len; in evbuffer_run_callbacks() 613 result = (buffer->total_len); in evbuffer_get_length() 783 buf->total_len += added; in evbuffer_commit_space() 806 dst->total_len = 0; in ZERO_CHAIN() 871 src->total_len = 0; in RESTORE_PINNED() 885 dst->total_len = src->total_len; in COPY_CHAIN() 904 dst->total_len += src->total_len; in APPEND_CHAIN() 954 dst->total_len += src->total_len; in PREPEND_CHAIN() 973 in_total_len = inbuf->total_len; in evbuffer_add_buffer() [all …]
|
D | buffer_iocp.c | 130 evbuf->total_len += nBytes; in evbuffer_commit_read_() 190 if (!buf->total_len) { in evbuffer_launch_write_() 194 } else if (at_most < 0 || (size_t)at_most > buf->total_len) { in evbuffer_launch_write_() 195 at_most = buf->total_len; in evbuffer_launch_write_()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | tls.c | 329 int total_len = 0; in TEST_F() local 341 total_len += vec[i].iov_len; in TEST_F() 346 EXPECT_EQ(sendmsg(self->cfd, &msg, 0), total_len); in TEST_F() 347 buf = malloc(total_len); in TEST_F() 348 EXPECT_NE(recv(self->fd, buf, total_len, 0), -1); in TEST_F() 366 int total_len = 0; in TEST_F() local 378 total_len += vec[i].iov_len; in TEST_F() 383 EXPECT_EQ(sendmsg(self->fd, &msg, 0), total_len); in TEST_F() 384 EXPECT_NE(recv(self->cfd, buf, total_len, 0), -1); in TEST_F() 528 unsigned int total_len = TLS_PAYLOAD_MAX_LEN * 2; in TEST_F() local [all …]
|
D | psock_snd.c | 364 int fdr, fds, total_len; in run_test() local 369 total_len = do_tx(); in run_test() 373 do_rx(fds, total_len - sizeof(struct virtio_net_hdr), in run_test() 376 do_rx(fdr, cfg_payload_len, tbuf + total_len - cfg_payload_len); in run_test()
|
D | udpgso_bench_tx.c | 276 int ret, total_len, len, count = 0; in send_udp() local 278 total_len = cfg_payload_len; in send_udp() 280 while (total_len) { in send_udp() 281 len = total_len < cfg_mss ? total_len : cfg_mss; in send_udp() 291 total_len -= len; in send_udp()
|
/external/wpa_supplicant_8/src/p2p/ |
D | p2p_build.c | 479 size_t *total_len, u8 *attr_len) in p2p_buf_add_service_info() argument 490 if (info_len + *total_len > MAX_SVC_ADV_LEN) { in p2p_buf_add_service_info() 588 *total_len += info_len; in p2p_buf_add_service_info() 589 WPA_PUT_LE16(attr_len, (u16) *total_len); in p2p_buf_add_service_info() 600 size_t total_len; in p2p_buf_add_service_instance() local 623 total_len = 0; in p2p_buf_add_service_instance() 627 WPA_PUT_LE16(attr_len, (u16) total_len); in p2p_buf_add_service_instance() 634 &ie_len, &pos, &total_len, attr_len); in p2p_buf_add_service_instance() 638 for (adv = adv_list; adv && total_len <= MAX_SVC_ADV_LEN; in p2p_buf_add_service_instance() 651 &total_len, in p2p_buf_add_service_instance() [all …]
|
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/ |
D | txtimestamp.c | 394 int fd, i, val = 1, total_len; in do_test() local 396 total_len = cfg_payload_len; in do_test() 398 total_len += sizeof(struct udphdr); in do_test() 401 total_len += sizeof(struct iphdr); in do_test() 403 total_len += sizeof(struct ipv6hdr); in do_test() 412 buf = malloc(total_len); in do_test() 466 memset(buf, 'a' + i, total_len); in do_test() 484 iov.iov_len = total_len; in do_test() 524 if (val != total_len) in do_test()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211_android.c | 27 int total_len; member 59 priv_cmd.total_len = sizeof(buf); in android_priv_cmd() 129 priv_cmd.total_len = bp; in android_pno_start()
|
/external/minijail/ |
D | syscall_filter.c | 98 head->total_len += len; in append_filter_block() 102 new_last->total_len = new_last->len = len; in append_filter_block() 116 list->total_len += another->total_len; in extend_filter_block_list() 810 head->total_len + (arg_blocks ? arg_blocks->total_len : 0); in compile_filter() 825 if (flatten_block_list(arg_blocks, final_filter, head->total_len, in compile_filter()
|
D | syscall_filter_unittest.cc | 503 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F() 543 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F() 583 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F() 623 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F() 666 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F() 708 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F() 748 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F() 789 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F() 831 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F() 886 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F() [all …]
|
/external/crosvm/devices/src/usb/xhci/ |
D | scatter_gather_buffer.rs | 59 let mut total_len = 0usize; in len() localVariable 61 total_len += atrb in len() 67 Ok(total_len) in len()
|
/external/crosvm/devices/src/pci/ |
D | pci_configuration.rs | 427 let total_len = cap_data.bytes().len(); in add_capability() localVariable 437 .checked_add(total_len) in add_capability() 438 .ok_or(Error::CapabilitySpaceFull(total_len))?; in add_capability() 440 return Err(Error::CapabilitySpaceFull(total_len)); in add_capability() 449 self.last_capability = Some((cap_offset, total_len)); in add_capability()
|
/external/u-boot/drivers/net/ |
D | ne2000_base.c | 244 dp83902a_send(u8 *data, int total_len, u32 key) in dp83902a_send() argument 255 len = pkt_len = total_len; in dp83902a_send() 327 if (total_len < pkt_len) { in dp83902a_send() 329 printf(" + %d bytes of padding\n", pkt_len - total_len); in dp83902a_send() 332 for (i = total_len; i < pkt_len;) { in dp83902a_send()
|
/external/u-boot/drivers/nvme/ |
D | nvme.c | 71 int total_len, u64 dma_addr) in nvme_setup_prps() argument 76 int length = total_len; in nvme_setup_prps() 718 u64 total_len = blkcnt << desc->log2blksz; in nvme_blk_rw() local 719 u64 temp_len = total_len; in nvme_blk_rw() 726 (unsigned long)buffer + total_len); in nvme_blk_rw() 764 (unsigned long)buffer + total_len); in nvme_blk_rw() 766 return (total_len - temp_len) >> desc->log2blksz; in nvme_blk_rw()
|
/external/autotest/client/cros/cellular/mbim_compliance/ |
D | mbim_message.py | 501 total_len = message_class.get_struct_len(get_all=True) 503 total_len += len(self.payload_buffer) 504 return total_len
|
/external/angle/src/common/third_party/xxhash/ |
D | xxhash.h | 290 uint64_t total_len; member 318 unsigned long long total_len; member
|
/external/kernel-headers/original/uapi/rdma/ |
D | vmw_pvrdma-abi.h | 225 __u32 total_len; /* reserved */ member 233 __u32 total_len; /* reserved */ member
|
/external/u-boot/drivers/mtd/ |
D | mtdconcat.c | 166 size_t total_len = 0; in concat_writev() local 172 total_len += vecs[i].iov_len; in concat_writev() 177 if (do_div(__to, mtd->writesize) || (total_len % mtd->writesize)) in concat_writev() 196 size = min_t(uint64_t, total_len, subdev->size - to); in concat_writev() 221 total_len -= wsize; in concat_writev() 223 if (total_len == 0) in concat_writev()
|
/external/llvm/test/CodeGen/X86/ |
D | fold-tied-op.ll | 25 %total_len = getelementptr inbounds %struct.XXH_state64_t, %struct.XXH_state64_t* %1, i32 0, i32 0 26 %2 = load i32, i32* %total_len, align 4, !tbaa !5
|