Home
last modified time | relevance | path

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

12

/external/syslinux/libinstaller/
Dbin2c.pl35 $total_len = 0;
38 $total_len += $n;
54 $align = $total_len % $pad;
57 $total_len += $n;
72 printf "\n};\n\nconst unsigned int %s_len = %u;\n", $table_name, $total_len;
/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/syslinux/gpxe/src/core/
Dnvo.c46 for ( i = 0 ; i < nvo->total_len ; i++ ) { in nvo_checksum()
123 options_len = ( nvo->total_len - 1 ); in nvo_init_dhcpopts()
133 memset ( nvo->data, 0, nvo->total_len ); in nvo_init_dhcpopts()
224 nvo->total_len += fragment->len; in register_nvo()
227 nvo->data = malloc ( nvo->total_len ); in register_nvo()
230 nvo, nvo->total_len ); in register_nvo()
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/
Dtxtimestamp.c273 int fd, i, val = 1, total_len; in do_test() local
281 total_len = cfg_payload_len; in do_test()
283 total_len += sizeof(struct udphdr); in do_test()
285 total_len += sizeof(struct iphdr); in do_test()
288 buf = malloc(total_len); in do_test()
334 memset(buf, 'a' + i, total_len); in do_test()
364 val = sendto(fd, buf, total_len, 0, (void *) &daddr, sizeof(daddr)); in do_test()
366 val = sendto(fd, buf, total_len, 0, (void *) &daddr6, sizeof(daddr6)); in do_test()
370 if (val != total_len) in do_test()
/external/libevent/
Dbuffer.c319 buf->total_len += chain->off; in evbuffer_chain_insert()
473 new_size = buffer->total_len; in evbuffer_run_callbacks()
600 result = (buffer->total_len); in evbuffer_get_length()
730 buf->total_len += added; in evbuffer_commit_space()
753 dst->total_len = 0; in ZERO_CHAIN()
818 src->total_len = 0; in RESTORE_PINNED()
832 dst->total_len = src->total_len; in COPY_CHAIN()
846 dst->total_len += src->total_len; in APPEND_CHAIN()
856 dst->total_len += src->total_len; in PREPEND_CHAIN()
875 in_total_len = inbuf->total_len; in evbuffer_add_buffer()
[all …]
Dbuffer_iocp.c128 evbuf->total_len += nBytes; in evbuffer_commit_read()
188 if (!buf->total_len) { in evbuffer_launch_write()
192 } else if (at_most < 0 || (size_t)at_most > buf->total_len) { in evbuffer_launch_write()
193 at_most = buf->total_len; in evbuffer_launch_write()
/external/syslinux/gpxe/src/arch/i386/image/
Dbzimage.c394 size_t total_len = 0; in bzimage_load_initrds() local
400 total_len += bzimage_load_initrd ( image, initrd, UNULL ); in bzimage_load_initrds()
403 if ( ! total_len ) in bzimage_load_initrds()
422 if ( ( address + total_len - 1 ) > bzimg->mem_limit ) in bzimage_load_initrds()
426 total_len ) ) != 0 ) in bzimage_load_initrds()
434 bzimg->ramdisk_size = total_len; in bzimage_load_initrds()
438 image, address, ( address + total_len ) ); in bzimage_load_initrds()
/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.c84 head->total_len += len; in append_filter_block()
88 new_last->total_len = new_last->len = len; in append_filter_block()
102 list->total_len += another->total_len; in extend_filter_block_list()
669 head->total_len + (arg_blocks ? arg_blocks->total_len : 0); in compile_filter()
679 if (flatten_block_list(arg_blocks, final_filter, head->total_len, in compile_filter()
Dsyscall_filter_unittest.cc393 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
434 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
475 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
518 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
562 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
619 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
674 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
774 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
816 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
860 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/syslinux/com32/lib/libpng/
Dpngwutil.c1570 png_size_t purpose_len, units_len, total_len; in png_write_pCAL() local
1585 total_len = purpose_len + units_len + 10; in png_write_pCAL()
1597 total_len += (png_size_t)params_len[i]; in png_write_pCAL()
1600 png_debug1(3, "pCAL total length = %d", (int)total_len); in png_write_pCAL()
1601 png_write_chunk_start(png_ptr, (png_bytep)png_pCAL, (png_uint_32)total_len); in png_write_pCAL()
1634 png_size_t total_len; in png_write_sCAL() local
1648 total_len = wc_len + 2; in png_write_sCAL()
1651 WideCharToMultiByte(CP_ACP, 0, wc_buf, -1, buf + total_len, wc_len, in png_write_sCAL()
1653 total_len += wc_len; in png_write_sCAL()
1657 total_len = 1 + png_strlen(buf + 1) + 1; in png_write_sCAL()
[all …]
/external/fio/crc/
Dxxhash.c271 state->total_len = 0; in XXH32_resetState()
295 state->total_len += len; in XXH32_update_endian()
368 if (state->total_len >= 16) in XXH32_intermediateDigest_endian()
377 h32 += (uint32_t) state->total_len; in XXH32_intermediateDigest_endian()
Dxxhash.h70 uint64_t total_len; member
/external/kernel-headers/original/uapi/rdma/
Dvmw_pvrdma-abi.h213 __u32 total_len; /* reserved */ member
221 __u32 total_len; /* reserved */ member
/external/syslinux/gpxe/src/net/
Dnetdevice.c328 size_t total_len; in alloc_netdev() local
330 total_len = ( sizeof ( *netdev ) + priv_size ); in alloc_netdev()
331 netdev = zalloc ( total_len ); in alloc_netdev()
/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/boringssl/src/crypto/obj/
Dobj.c382 int contents_len, total_len; in OBJ_txt2obj() local
401 total_len = ASN1_object_size(0, contents_len, V_ASN1_OBJECT); in OBJ_txt2obj()
403 buf = OPENSSL_malloc(total_len); in OBJ_txt2obj()
416 op = d2i_ASN1_OBJECT(NULL, &bufp, total_len); in OBJ_txt2obj()
/external/syslinux/gpxe/src/include/gpxe/
Dnvo.h43 size_t total_len; member
/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
/external/syslinux/gpxe/src/util/
Dcatrom.pl12 my $total_len = 0;
/external/ppp/pppd/include/net/
Dvjcompress.h140 extern int vj_uncompress_tcp __P((u_char *buf, int buflen, int total_len,

12