Home
last modified time | relevance | path

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

12

/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/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()
Devbuffer-internal.h100 size_t total_len; member
/external/minijail/
Dsyscall_filter.c73 head->total_len += len; in append_filter_block()
77 new_last->total_len = new_last->len = len; in append_filter_block()
91 list->total_len += another->total_len; in extend_filter_block_list()
488 size_t final_filter_len = head->total_len + in compile_filter()
489 (arg_blocks? arg_blocks->total_len : 0); in compile_filter()
500 head->total_len, final_filter_len) < 0) in compile_filter()
Dsyscall_filter_unittest.c259 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
301 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
343 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
387 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
445 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
501 EXPECT_EQ(block->total_len, exp_total_len); in TEST_F()
Dsyscall_filter.h23 size_t total_len; member
/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/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/lz4/lib/
Dxxhash.c513 U64 total_len; member
525 U64 total_len; member
569 state->total_len = 0; in XXH32_reset()
582 state->total_len = 0; in XXH64_reset()
598 state->total_len += len; in XXH32_update_endian()
696 if (state->total_len >= 16) in XXH32_digest_endian()
705 h32 += (U32) state->total_len; in XXH32_digest_endian()
752 state->total_len += len; in XXH64_update_endian()
850 if (state->total_len >= 32) in XXH64_digest_endian()
888 h64 += (U64) state->total_len; in XXH64_digest_endian()
/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/libnfc-nci/halimpl/bcm2079x/adaptation/
Duserial_linux.c1145 UINT16 total_len = 0; in USERIAL_Read() local
1158 if ((pbuf_USERIAL_Read->len) <= (len - total_len)) in USERIAL_Read()
1161 copy_len = (len - total_len); in USERIAL_Read()
1163 memcpy((p_data + total_len), current_packet, copy_len); in USERIAL_Read()
1165 total_len += copy_len; in USERIAL_Read()
1177 if (pbuf_USERIAL_Read == NULL && (total_len < len)) in USERIAL_Read()
1180 } while ((pbuf_USERIAL_Read != NULL) && (total_len < len)); in USERIAL_Read()
1183 ALOGD( "%s: returned %d bytes", __func__, total_len); in USERIAL_Read()
1185 return total_len; in USERIAL_Read()
/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.c368 int contents_len, total_len; in OBJ_txt2obj() local
387 total_len = ASN1_object_size(0, contents_len, V_ASN1_OBJECT); in OBJ_txt2obj()
389 buf = OPENSSL_malloc(total_len); in OBJ_txt2obj()
402 op = d2i_ASN1_OBJECT(NULL, &bufp, total_len); in OBJ_txt2obj()
/external/llvm/test/CodeGen/X86/
Dfold-tied-op.ll28 %total_len = getelementptr inbounds %struct.XXH_state64_t, %struct.XXH_state64_t* %1, i32 0, i32 0
29 %2 = load i32, i32* %total_len, align 4, !tbaa !5
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
DNETEQTEST_RTPpacket.cc808 int total_len = 0; in extractRED() local
825 total_len += len; in extractRED()
837 return payloadLen() - (ptr - payload()) - total_len; in extractRED()
/external/ppp/pppd/include/net/
Dvjcompress.h140 extern int vj_uncompress_tcp __P((u_char *buf, int buflen, int total_len,
/external/libpng/
Dpngwutil.c1721 png_size_t units_len, total_len; in png_write_pCAL() local
1742 total_len = purpose_len + units_len + 10; in png_write_pCAL()
1755 total_len += params_len[i]; in png_write_pCAL()
1758 png_debug1(3, "pCAL total length = %d", (int)total_len); in png_write_pCAL()
1759 png_write_chunk_header(png_ptr, png_pCAL, (png_uint_32)total_len); in png_write_pCAL()
1785 png_size_t wlen, hlen, total_len; in png_write_sCAL_s() local
1791 total_len = wlen + hlen + 2; in png_write_sCAL_s()
1793 if (total_len > 64) in png_write_sCAL_s()
1803 png_debug1(3, "sCAL total length = %u", (unsigned int)total_len); in png_write_sCAL_s()
1804 png_write_complete_chunk(png_ptr, png_sCAL, buf, total_len); in png_write_sCAL_s()
/external/pdfium/third_party/lpng_v163/
Dpngwutil.c1797 png_size_t units_len, total_len; in png_write_pCAL() local
1818 total_len = purpose_len + units_len + 10; in png_write_pCAL()
1831 total_len += params_len[i]; in png_write_pCAL()
1834 png_debug1(3, "pCAL total length = %d", (int)total_len); in png_write_pCAL()
1835 png_write_chunk_header(png_ptr, png_pCAL, (png_uint_32)total_len); in png_write_pCAL()
1861 png_size_t wlen, hlen, total_len; in png_write_sCAL_s() local
1867 total_len = wlen + hlen + 2; in png_write_sCAL_s()
1869 if (total_len > 64) in png_write_sCAL_s()
1879 png_debug1(3, "sCAL total length = %u", (unsigned int)total_len); in png_write_sCAL_s()
1880 png_write_complete_chunk(png_ptr, png_sCAL, buf, total_len); in png_write_sCAL_s()
/external/opencv3/3rdparty/libpng/
Dpngwutil.c1865 png_size_t purpose_len, units_len, total_len; in png_write_pCAL() local
1880 total_len = purpose_len + units_len + 10; in png_write_pCAL()
1893 total_len += params_len[i]; in png_write_pCAL()
1896 png_debug1(3, "pCAL total length = %d", (int)total_len); in png_write_pCAL()
1897 png_write_chunk_header(png_ptr, png_pCAL, (png_uint_32)total_len); in png_write_pCAL()
1925 png_size_t wlen, hlen, total_len; in png_write_sCAL_s() local
1931 total_len = wlen + hlen + 2; in png_write_sCAL_s()
1933 if (total_len > 64) in png_write_sCAL_s()
1943 png_debug1(3, "sCAL total length = %u", (unsigned int)total_len); in png_write_sCAL_s()
1944 png_write_complete_chunk(png_ptr, png_sCAL, buf, total_len); in png_write_sCAL_s()
/external/webp/src/enc/
Diterator.c121 uint8_t* dst, int len, int total_len) { in ImportLine() argument
124 for (; i < total_len; ++i) dst[i] = dst[len - 1]; in ImportLine()
/external/dbus/dbus/
Ddbus-marshal-recursive.c931 int total_len; in _dbus_type_reader_read_fixed_multi() local
946 total_len = array_reader_get_array_len (reader); in _dbus_type_reader_read_fixed_multi()
947 end_pos = reader->u.array.start_pos + total_len; in _dbus_type_reader_read_fixed_multi()
952 end_pos, total_len, remaining_len, reader->value_pos); in _dbus_type_reader_read_fixed_multi()
955 _dbus_assert (remaining_len <= total_len); in _dbus_type_reader_read_fixed_multi()
/external/fio/
Dserver.c113 ssize_t total_len = iov_total_len(iov, count); in fio_sendv_data() local
119 total_len -= ret; in fio_sendv_data()
120 if (!total_len) in fio_sendv_data()
141 if (!total_len) in fio_sendv_data()

12