Searched defs:total_len (Results 1 - 25 of 39) sorted by relevance

12

/external/fio/crc/
H A Dxxhash.h70 uint64_t total_len; member in struct:XXH_state32_t
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Daes-omac1.c48 size_t i, e, left, total_len; local
55 total_len = 0;
57 total_len += len[e];
58 left = total_len;
82 if (left || total_len == 0) {
/external/wpa_supplicant_8/src/crypto/
H A Daes-omac1.c48 size_t i, e, left, total_len; local
55 total_len = 0;
57 total_len += len[e];
58 left = total_len;
82 if (left || total_len == 0) {
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Daes-omac1.c48 size_t i, e, left, total_len; local
55 total_len = 0;
57 total_len += len[e];
58 left = total_len;
82 if (left || total_len == 0) {
/external/qemu/android/utils/
H A Dfilelock.c403 int total_len = sizeof(FileLock) + file_len + lock_len + temp_len + 3; local
405 FileLock* lock = malloc(total_len);
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dndef.c106 size_t total_len; local
113 total_len = 2; /* flag + type length */
115 total_len += short_record ? sizeof(u8) : sizeof(u32);
117 total_len += 1;
118 total_len += type_length + id_length + payload_length;
119 record = wpabuf_alloc(total_len);
/external/wpa_supplicant_8/src/wps/
H A Dndef.c106 size_t total_len; local
113 total_len = 2; /* flag + type length */
115 total_len += short_record ? sizeof(u8) : sizeof(u32);
117 total_len += 1;
118 total_len += type_length + id_length + payload_length;
119 record = wpabuf_alloc(total_len);
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dndef.c106 size_t total_len; local
113 total_len = 2; /* flag + type length */
115 total_len += short_record ? sizeof(u8) : sizeof(u32);
117 total_len += 1;
118 total_len += type_length + id_length + payload_length;
119 record = wpabuf_alloc(total_len);
/external/bluetooth/bluedroid/hci/src/
H A Duserial.c320 uint16_t total_len = 0; local
332 if((userial_cb.p_rx_hdr->len) <= (len - total_len))
335 copy_len = (len - total_len);
337 memcpy((p_buffer + total_len), p_data, copy_len);
339 total_len += copy_len;
357 } while ((userial_cb.p_rx_hdr != NULL) && (total_len < len));
359 return total_len;
H A Dhci_h4.c328 uint16_t total_len; local
338 STREAM_TO_UINT16 (total_len, p);
386 int len = total_len + HCI_ACL_PREAMBLE_SIZE + L2CAP_HEADER_SIZE + \
401 if (hci_len && ((total_len + L2CAP_HEADER_SIZE) > hci_len))
418 STREAM_TO_UINT16 (total_len, p);
421 total_len += hci_len;
422 UINT16_TO_STREAM (p_f, total_len);
H A Dhci_mct.c324 uint16_t total_len; local
334 STREAM_TO_UINT16 (total_len, p);
382 int len = total_len + HCI_ACL_PREAMBLE_SIZE + L2CAP_HEADER_SIZE + \
397 if (hci_len && ((total_len + L2CAP_HEADER_SIZE) > hci_len))
414 STREAM_TO_UINT16 (total_len, p);
417 total_len += hci_len;
418 UINT16_TO_STREAM (p_f, total_len);
/external/wpa_supplicant_8/hostapd/src/p2p/
H A Dp2p_sd.c238 u16 total_len)
250 wpabuf_put_le16(buf, 3 + 1 + 2 + total_len);
233 p2p_build_gas_comeback_resp(u8 dialog_token, u16 status_code, u16 update_indic, const u8 *data, size_t len, u8 frag_id, u8 more, u16 total_len) argument
/external/wpa_supplicant_8/src/p2p/
H A Dp2p_sd.c238 u16 total_len)
250 wpabuf_put_le16(buf, 3 + 1 + 2 + total_len);
233 p2p_build_gas_comeback_resp(u8 dialog_token, u16 status_code, u16 update_indic, const u8 *data, size_t len, u8 frag_id, u8 more, u16 total_len) argument
/external/wpa_supplicant_8/wpa_supplicant/src/p2p/
H A Dp2p_sd.c238 u16 total_len)
250 wpabuf_put_le16(buf, 3 + 1 + 2 + total_len);
233 p2p_build_gas_comeback_resp(u8 dialog_token, u16 status_code, u16 update_indic, const u8 *data, size_t len, u8 frag_id, u8 more, u16 total_len) argument
/external/bluetooth/bluedroid/stack/gatt/
H A Dgatt_sr.c127 UINT16 ii, total_len, len; local
182 total_len = (p_buf->len + p_rsp->attr_value.len);
184 if (total_len > mtu)
187 len = p_rsp->attr_value.len - (total_len - mtu);
/external/bluetooth/bluedroid/stack/l2cap/
H A Dl2c_link.c1630 UINT16 total_len; local
1634 STREAM_TO_UINT16 (total_len, p_f);
1638 if ((total_len + hci_len) <= (L2CAP_MTU_SIZE + HCI_DATA_PREAMBLE_SIZE))
1663 total_len += hci_len;
1665 UINT16_TO_STREAM (p_f, total_len);
1670 L2CAP_TRACE_WARNING ("L2CAP - dropping too long pkt BufLen: %d total_len: %d hci_len: %d",
1671 p_lcb->p_hcit_rcv_acl->len, total_len, hci_len);
/external/bluetooth/bluedroid/stack/sdp/
H A Dsdp_discovery.c900 UINT32 total_len; local
917 total_len = attr_len - 4 + (UINT16)sizeof (tSDP_DISC_ATTR);
919 total_len = sizeof (tSDP_DISC_ATTR);
922 total_len = (total_len + 3) & ~3;
925 if (p_db->mem_free < total_len)
948 total_len = 0;
1041 total_len = 0;
1084 p_db->p_free_mem += total_len;
1085 p_db->mem_free -= total_len;
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/obj/
H A Dobj.c368 int contents_len, total_len; local
387 total_len = ASN1_object_size(0, contents_len, V_ASN1_OBJECT);
389 buf = OPENSSL_malloc(total_len);
402 op = d2i_ASN1_OBJECT(NULL, &bufp, total_len);
/external/chromium_org/third_party/libwebp/enc/
H A Diterator.c121 uint8_t* dst, int len, int total_len) {
124 for (; i < total_len; ++i) dst[i] = dst[len - 1];
120 ImportLine(const uint8_t* src, int src_stride, uint8_t* dst, int len, int total_len) argument
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
H A Dsctp_bsd_addr.c967 int total_len; local
972 * -sizeof this entry (total_len)
981 total_len = SCTP_SIZE32((length + (4 * sizeof(int))));
983 if (total_len> SCTP_PACKET_LOG_SIZE) {
997 newval = SCTP_BASE_VAR(packet_log_end) + total_len;
1001 thisend = total_len;
1011 newval = SCTP_BASE_VAR(packet_log_end) + total_len;
1015 thisend = total_len;
1037 *lenat = total_len;
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/test/
H A DNETEQTEST_RTPpacket.cc832 int total_len = 0; local
849 total_len += len;
861 return payloadLen() - (ptr - payload()) - total_len;
/external/webp/src/enc/
H A Diterator.c121 uint8_t* dst, int len, int total_len) {
124 for (; i < total_len; ++i) dst[i] = dst[len - 1];
120 ImportLine(const uint8_t* src, int src_stride, uint8_t* dst, int len, int total_len) argument
/external/lldb/source/Core/
H A DAddress.cpp183 size_t total_len = 0; local
206 total_len += bytes_read;
213 return total_len;
/external/chromium_org/content/browser/appcache/
H A Dview_appcache_internals_job.cc267 void EmitHexDump(const char *buf, size_t buf_len, size_t total_len, argument
271 static_cast<int>(buf_len), static_cast<int>(total_len));
273 if (buf_len < total_len)
/external/qemu/
H A Dgdbstub.c1903 target_ulong total_len; local
1921 total_len = strlen(xml);
1922 if (addr > total_len) {
1929 if (len < total_len - addr) {
1934 len = memtox(buf + 1, xml + addr, total_len - addr);

Completed in 811 milliseconds

12