Searched refs:total_len (Results 1 - 25 of 40) sorted by relevance

12

/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/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/fio/crc/
H A Dxxhash.h70 uint64_t total_len; member in struct:XXH_state32_t
H A Dxxhash.c271 state->total_len = 0;
295 state->total_len += len;
368 if (state->total_len >= 16)
377 h32 += (uint32_t) state->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/ppp/pppd/include/net/
H A Dvjcompress.h140 extern int vj_uncompress_tcp __P((u_char *buf, int buflen, int total_len,
/external/qemu/hw/android/goldfish/
H A Dnand.c387 static uint32_t nand_dev_read_file(nand_dev *dev, target_ulong data, uint64_t addr, uint32_t total_len) argument
389 uint32_t len = total_len;
393 NAND_UPDATE_READ_THRESHOLD(total_len);
411 return total_len;
414 static uint32_t nand_dev_write_file(nand_dev *dev, target_ulong data, uint64_t addr, uint32_t total_len) argument
416 uint32_t len = total_len;
420 NAND_UPDATE_WRITE_THRESHOLD(total_len);
435 return total_len - len;
438 static uint32_t nand_dev_erase_file(nand_dev *dev, uint64_t addr, uint32_t total_len) argument
440 uint32_t len = total_len;
[all...]
/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/libnfc-nci/halimpl/bcm2079x/adaptation/
H A Duserial_linux.c1144 UINT16 total_len = 0; local
1157 if ((pbuf_USERIAL_Read->len) <= (len - total_len))
1160 copy_len = (len - total_len);
1162 memcpy((p_data + total_len), current_packet, copy_len);
1164 total_len += copy_len;
1176 if (pbuf_USERIAL_Read == NULL && (total_len < len))
1179 } while ((pbuf_USERIAL_Read != NULL) && (total_len < len));
1182 ALOGD( "%s: returned %d bytes", __func__, total_len);
1184 return total_len;
/external/chromium_org/third_party/libpng/
H A Dpngwutil.c1570 png_size_t purpose_len, units_len, total_len; local
1585 total_len = purpose_len + units_len + 10;
1597 total_len += (png_size_t)params_len[i];
1600 png_debug1(3, "pCAL total length = %d", (int)total_len);
1601 png_write_chunk_start(png_ptr, (png_bytep)png_pCAL, (png_uint_32)total_len);
1634 png_size_t total_len; local
1648 total_len = wc_len + 2;
1651 WideCharToMultiByte(CP_ACP, 0, wc_buf, -1, buf + total_len, wc_len,
1653 total_len += wc_len;
1657 total_len
1663 png_write_chunk(png_ptr, (png_bytep)png_sCAL, (png_bytep)buf, total_len); local
1675 png_size_t wlen, hlen, total_len; local
[all...]
/external/qemu/distrib/libpng-1.2.46/
H A Dpngwutil.c1570 png_size_t purpose_len, units_len, total_len; local
1585 total_len = purpose_len + units_len + 10;
1597 total_len += (png_size_t)params_len[i];
1600 png_debug1(3, "pCAL total length = %d", (int)total_len);
1601 png_write_chunk_start(png_ptr, (png_bytep)png_pCAL, (png_uint_32)total_len);
1634 png_size_t total_len; local
1648 total_len = wc_len + 2;
1651 WideCharToMultiByte(CP_ACP, 0, wc_buf, -1, buf + total_len, wc_len,
1653 total_len += wc_len;
1657 total_len
1663 png_write_chunk(png_ptr, (png_bytep)png_sCAL, (png_bytep)buf, total_len); local
1675 png_size_t wlen, hlen, total_len; local
[all...]
/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/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/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/qemu/hw/net/
H A Dne2000.c232 unsigned int total_len, next, avail, len, index, mcast_idx; local
282 total_len = size + 4;
284 next = index + ((total_len + 4 + 255) & ~0xff);
295 p[2] = total_len;
296 p[3] = total_len >> 8;
/external/chromium_org/content/browser/appcache/
H A Dview_appcache_internals_job.cc279 void EmitHexDump(const char *buf, size_t buf_len, size_t total_len, argument
283 static_cast<int>(buf_len), static_cast<int>(total_len));
285 if (buf_len < 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/libpng/
H A Dpngwutil.c1798 png_size_t units_len, total_len; local
1819 total_len = purpose_len + units_len + 10;
1832 total_len += params_len[i];
1835 png_debug1(3, "pCAL total length = %d", (int)total_len);
1836 png_write_chunk_header(png_ptr, png_pCAL, (png_uint_32)total_len);
1862 png_size_t wlen, hlen, total_len; local
1868 total_len = wlen + hlen + 2;
1870 if (total_len > 64)
1880 png_debug1(3, "sCAL total length = %u", (unsigned int)total_len);
1881 png_write_complete_chunk(png_ptr, png_sCAL, buf, total_len);
[all...]
/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

Completed in 730 milliseconds

12