Home
last modified time | relevance | path

Searched refs:total_len (Results 1 – 25 of 42) sorted by relevance

12

/external/python/cpython2/Misc/Vim/
Dvim_syntax.py136 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/
Daes-omac1.c49 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/
Dndef.c112 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/linux-kselftest/tools/testing/selftests/net/
Dtls.c217 int total_len = 0; in TEST_F() local
229 total_len += vec[i].iov_len; in TEST_F()
234 EXPECT_EQ(sendmsg(self->cfd, &msg, 0), total_len); in TEST_F()
235 buf = malloc(total_len); in TEST_F()
236 EXPECT_NE(recv(self->fd, buf, total_len, 0), -1); in TEST_F()
254 int total_len = 0; in TEST_F() local
266 total_len += vec[i].iov_len; in TEST_F()
271 EXPECT_EQ(sendmsg(self->fd, &msg, 0), total_len); in TEST_F()
272 EXPECT_NE(recv(self->cfd, buf, total_len, 0), -1); in TEST_F()
416 unsigned int total_len = TLS_PAYLOAD_MAX_LEN * 2; in TEST_F() local
[all …]
Dudpgso_bench_tx.c147 int ret, total_len, len, count = 0; in send_udp() local
149 total_len = cfg_payload_len; in send_udp()
151 while (total_len) { in send_udp()
152 len = total_len < cfg_mss ? total_len : cfg_mss; in send_udp()
162 total_len -= len; in send_udp()
Dpsock_snd.c364 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()
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/
Dtxtimestamp.c275 int fd, i, val = 1, total_len; in do_test() local
283 total_len = cfg_payload_len; in do_test()
285 total_len += sizeof(struct udphdr); in do_test()
287 total_len += sizeof(struct iphdr); in do_test()
290 buf = malloc(total_len); in do_test()
336 memset(buf, 'a' + i, total_len); in do_test()
366 val = sendto(fd, buf, total_len, 0, (void *) &daddr, sizeof(daddr)); in do_test()
368 val = sendto(fd, buf, total_len, 0, (void *) &daddr6, sizeof(daddr6)); in do_test()
372 if (val != total_len) in do_test()
/external/dtc/
Dfdtoverlay.c63 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/
Ddir-item.c38 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/
Dstring_util.cc46 int total_len = strings.size() - 1; in AddJoinedString() local
48 total_len += ref.len; in AddJoinedString()
50 data_.resize(data_.size() + total_len); in AddJoinedString()
67 offset_.push_back(offset_.back() + total_len); in AddJoinedString()
/external/libevent/
Dbuffer.c325 buf->total_len += chain->off; in evbuffer_chain_insert()
486 new_size = buffer->total_len; in evbuffer_run_callbacks()
612 result = (buffer->total_len); in evbuffer_get_length()
778 buf->total_len += added; in evbuffer_commit_space()
801 dst->total_len = 0; in ZERO_CHAIN()
866 src->total_len = 0; in RESTORE_PINNED()
880 dst->total_len = src->total_len; in COPY_CHAIN()
899 dst->total_len += src->total_len; in APPEND_CHAIN()
949 dst->total_len += src->total_len; in PREPEND_CHAIN()
968 in_total_len = inbuf->total_len; in evbuffer_add_buffer()
[all …]
Dbuffer_iocp.c129 evbuf->total_len += nBytes; in evbuffer_commit_read_()
189 if (!buf->total_len) { in evbuffer_launch_write_()
193 } else if (at_most < 0 || (size_t)at_most > buf->total_len) { in evbuffer_launch_write_()
194 at_most = buf->total_len; in evbuffer_launch_write_()
/external/wpa_supplicant_8/src/p2p/
Dp2p_build.c479 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/minijail/
Dsyscall_filter.c98 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()
754 head->total_len + (arg_blocks ? arg_blocks->total_len : 0); in compile_filter()
769 if (flatten_block_list(arg_blocks, final_filter, head->total_len, in compile_filter()
Dsyscall_filter_unittest.cc493 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
533 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
576 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
618 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
658 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
699 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
741 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
796 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
849 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
935 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
[all …]
Dsyscall_filter.h24 size_t total_len; member
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_android.c27 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/u-boot/drivers/nvme/
Dnvme.c69 int total_len, u64 dma_addr) in nvme_setup_prps() argument
74 int length = total_len; in nvme_setup_prps()
681 u64 total_len = blkcnt << desc->log2blksz; in nvme_blk_rw() local
682 u64 temp_len = total_len; in nvme_blk_rw()
690 (unsigned long)buffer + total_len); in nvme_blk_rw()
728 (unsigned long)buffer + total_len); in nvme_blk_rw()
730 return (total_len - temp_len) >> desc->log2blksz; in nvme_blk_rw()
/external/u-boot/drivers/net/
Dne2000_base.c244 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/autotest/client/cros/cellular/mbim_compliance/
Dmbim_message.py501 total_len = message_class.get_struct_len(get_all=True)
503 total_len += len(self.payload_buffer)
504 return total_len
/external/kernel-headers/original/uapi/rdma/
Dvmw_pvrdma-abi.h220 __u32 total_len; /* reserved */ member
228 __u32 total_len; /* reserved */ member
/external/u-boot/drivers/mtd/
Dmtdconcat.c166 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/u-boot/net/
Dnet.c881 static u16 first_hole, total_len; in __net_defragment() local
898 if (!total_len || localip->ip_id != ip->ip_id) { in __net_defragment()
900 total_len = 0xffff; in __net_defragment()
933 total_len = start + len; in __net_defragment()
993 localip->ip_len = htons(total_len); in __net_defragment()
994 *lenp = total_len + IP_HDR_SIZE; in __net_defragment()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dfold-tied-op.ll25 %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
/external/llvm/test/CodeGen/X86/
Dfold-tied-op.ll25 %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

12