Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/crypto/
Daes-omac1.c49 size_t i, e, left, total_len; in omac1_aes_vector() local
56 total_len = 0; in omac1_aes_vector()
58 total_len += len[e]; in omac1_aes_vector()
59 left = total_len; in omac1_aes_vector()
90 if (left || total_len == 0) { in omac1_aes_vector()
/external/wpa_supplicant_8/src/wps/
Dndef.c106 size_t total_len; in ndef_build_record() local
113 total_len = 2; /* flag + type length */ in ndef_build_record()
115 total_len += short_record ? sizeof(u8) : sizeof(u32); in ndef_build_record()
117 total_len += 1; in ndef_build_record()
118 total_len += type_length + id_length + payload_length; in ndef_build_record()
119 record = wpabuf_alloc(total_len); in ndef_build_record()
/external/wpa_supplicant_8/src/p2p/
Dp2p_build.c440 size_t *total_len, u8 *attr_len) in p2p_buf_add_service_info() argument
451 if (info_len + *total_len > MAX_SVC_ADV_LEN) { in p2p_buf_add_service_info()
549 *total_len += info_len; in p2p_buf_add_service_info()
550 WPA_PUT_LE16(attr_len, (u16) *total_len); in p2p_buf_add_service_info()
561 size_t total_len; in p2p_buf_add_service_instance() local
584 total_len = 0; in p2p_buf_add_service_instance()
588 WPA_PUT_LE16(attr_len, (u16) total_len); in p2p_buf_add_service_instance()
595 &ie_len, &pos, &total_len, attr_len); in p2p_buf_add_service_instance()
599 for (adv = adv_list; adv && total_len <= MAX_SVC_ADV_LEN; in p2p_buf_add_service_instance()
612 &total_len, in p2p_buf_add_service_instance()
[all …]
Dp2p_sd.c247 u16 total_len) in p2p_build_gas_comeback_resp() argument
259 wpabuf_put_le16(buf, 3 + 1 + 2 + total_len); in p2p_build_gas_comeback_resp()
/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.c1144 UINT16 total_len = 0; in USERIAL_Read() local
1157 if ((pbuf_USERIAL_Read->len) <= (len - total_len)) in USERIAL_Read()
1160 copy_len = (len - total_len); in USERIAL_Read()
1162 memcpy((p_data + total_len), current_packet, copy_len); in USERIAL_Read()
1164 total_len += copy_len; in USERIAL_Read()
1176 if (pbuf_USERIAL_Read == NULL && (total_len < len)) in USERIAL_Read()
1179 } while ((pbuf_USERIAL_Read != NULL) && (total_len < len)); in USERIAL_Read()
1182 ALOGD( "%s: returned %d bytes", __func__, total_len); in USERIAL_Read()
1184 return total_len; in USERIAL_Read()
/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/ppp/pppd/include/net/
Dvjcompress.h140 extern int vj_uncompress_tcp __P((u_char *buf, int buflen, int total_len,
/external/libpng/
Dpngwutil.c1805 png_size_t units_len, total_len; in png_write_pCAL() local
1826 total_len = purpose_len + units_len + 10; in png_write_pCAL()
1839 total_len += params_len[i]; in png_write_pCAL()
1842 png_debug1(3, "pCAL total length = %d", (int)total_len); in png_write_pCAL()
1843 png_write_chunk_header(png_ptr, png_pCAL, (png_uint_32)total_len); in png_write_pCAL()
1869 png_size_t wlen, hlen, total_len; in png_write_sCAL_s() local
1875 total_len = wlen + hlen + 2; in png_write_sCAL_s()
1877 if (total_len > 64) in png_write_sCAL_s()
1887 png_debug1(3, "sCAL total length = %u", (unsigned int)total_len); in png_write_sCAL_s()
1888 png_write_complete_chunk(png_ptr, png_sCAL, buf, total_len); in png_write_sCAL_s()
/external/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngwutil.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/lldb/source/Core/
DAddress.cpp183 size_t total_len = 0; in ReadCStringFromMemory() local
206 total_len += bytes_read; in ReadCStringFromMemory()
213 return total_len; in ReadCStringFromMemory()
/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/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()
/external/tcpdump/tests/
Dof10_s4810-vvvv.out886 buffer_id NONE, total_len 119, in_port 1, reason ACTION
1315 buffer_id NONE, total_len 119, in_port 1, reason NO_MATCH
/external/v8/test/cctest/
Dtest-api.cc23055 size_t total_len = 0; in FullSourceString() local
23057 total_len += strlen(chunks[i]); in FullSourceString()
23059 char* full_string = new char[total_len + 1]; in FullSourceString()
23066 full_string[total_len] = 0; in FullSourceString()