Searched refs:total_len (Results 1 - 25 of 31) 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/chromium/third_party/libjingle/source/talk/base/
H A Dnethelpers.cc78 int total_len = sizeof(hostent); local
79 total_len += strlen(ent->h_name) + 1;
81 total_len += sizeof(char*) + strlen(ent->h_aliases[num_aliases]) + 1;
84 total_len += sizeof(char*);
86 total_len += sizeof(char*) + ent->h_length;
89 total_len += sizeof(char*);
91 result = static_cast<hostent*>(malloc(total_len));
/external/chromium/crypto/
H A Dencryptor_win.cc82 DWORD total_len = data_len + block_size_; local
85 std::vector<BYTE> tmp(total_len);
89 &data_len, total_len);
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dndef.c105 size_t total_len; local
112 total_len = 2; /* flag + type length */
114 total_len += short_record ? sizeof(u8) : sizeof(u32);
116 total_len += 1;
117 total_len += type_length + id_length + payload_length;
118 record = wpabuf_alloc(total_len);
/external/wpa_supplicant_8/src/wps/
H A Dndef.c105 size_t total_len; local
112 total_len = 2; /* flag + type length */
114 total_len += short_record ? sizeof(u8) : sizeof(u32);
116 total_len += 1;
117 total_len += type_length + id_length + payload_length;
118 record = wpabuf_alloc(total_len);
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dndef.c105 size_t total_len; local
112 total_len = 2; /* flag + type length */
114 total_len += short_record ? sizeof(u8) : sizeof(u32);
116 total_len += 1;
117 total_len += type_length + id_length + payload_length;
118 record = wpabuf_alloc(total_len);
/external/bluetooth/bluedroid/hci/src/
H A Duserial.c427 uint16_t total_len = 0; local
438 if((userial_cb.p_rx_hdr->len) <= (len - total_len))
441 copy_len = (len - total_len);
443 memcpy((p_buffer + total_len), p_data, copy_len);
445 total_len += copy_len;
464 } while ((userial_cb.p_rx_hdr != NULL) && (total_len < len));
466 return total_len;
H A Dhci_h4.c333 uint16_t total_len; local
343 STREAM_TO_UINT16 (total_len, p);
392 int len = total_len + HCI_ACL_PREAMBLE_SIZE + L2CAP_HEADER_SIZE + \
407 if (hci_len && ((total_len + L2CAP_HEADER_SIZE) > hci_len))
424 STREAM_TO_UINT16 (total_len, p);
427 total_len += hci_len;
428 UINT16_TO_STREAM (p_f, total_len);
H A Dhci_mct.c328 uint16_t total_len; local
338 STREAM_TO_UINT16 (total_len, p);
387 int len = total_len + HCI_ACL_PREAMBLE_SIZE + L2CAP_HEADER_SIZE + \
402 if (hci_len && ((total_len + L2CAP_HEADER_SIZE) > hci_len))
419 STREAM_TO_UINT16 (total_len, p);
422 total_len += hci_len;
423 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/
H A Dgoldfish_nand.c362 static uint32_t nand_dev_read_file(nand_dev *dev, uint32_t data, uint64_t addr, uint32_t total_len) argument
364 uint32_t len = total_len;
368 NAND_UPDATE_READ_THRESHOLD(total_len);
386 return total_len;
389 static uint32_t nand_dev_write_file(nand_dev *dev, uint32_t data, uint64_t addr, uint32_t total_len) argument
391 uint32_t len = total_len;
395 NAND_UPDATE_WRITE_THRESHOLD(total_len);
410 return total_len - len;
413 static uint32_t nand_dev_erase_file(nand_dev *dev, uint64_t addr, uint32_t total_len) argument
415 uint32_t len = total_len;
[all...]
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/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.c1088 UINT16 total_len = 0; local
1101 if ((pbuf_USERIAL_Read->len) <= (len - total_len))
1104 copy_len = (len - total_len);
1106 memcpy((p_data + total_len), current_packet, copy_len);
1108 total_len += copy_len;
1120 if (pbuf_USERIAL_Read == NULL && (total_len < len))
1123 } while ((pbuf_USERIAL_Read != NULL) && (total_len < len));
1126 ALOGD( "%s: returned %d bytes", __func__, total_len);
1128 return total_len;
/external/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.19/
H A Dpngwutil.c1544 png_size_t purpose_len, units_len, total_len; local
1558 total_len = purpose_len + units_len + 10;
1569 total_len += (png_size_t)params_len[i];
1572 png_debug1(3, "pCAL total length = %d\n", (int)total_len);
1573 png_write_chunk_start(png_ptr, png_pCAL, (png_uint_32)total_len);
1605 png_size_t total_len; local
1618 total_len = wc_len + 2;
1621 WideCharToMultiByte(CP_ACP, 0, wc_buf, -1, buf + total_len, wc_len,
1623 total_len += wc_len;
1627 total_len
1645 png_size_t wlen, hlen, total_len; local
[all...]
/external/kernel-headers/original/linux/
H A Dnet.h159 struct msghdr *m, size_t total_len);
161 struct msghdr *m, size_t total_len,
/external/qemu/android/utils/
H A Dfilelock.c383 int total_len = sizeof(FileLock) + file_len + lock_len + temp_len + 3; local
385 FileLock* lock = malloc(total_len);
/external/bluetooth/bluedroid/stack/l2cap/
H A Dl2c_link.c1560 UINT16 total_len; local
1564 STREAM_TO_UINT16 (total_len, p_f);
1568 if ((total_len + hci_len) <= (L2CAP_MTU_SIZE + HCI_DATA_PREAMBLE_SIZE))
1593 total_len += hci_len;
1595 UINT16_TO_STREAM (p_f, total_len);
1600 L2CAP_TRACE_WARNING3 ("L2CAP - dropping too long pkt BufLen: %d total_len: %d hci_len: %d",
1601 p_lcb->p_hcit_rcv_acl->len, total_len, hci_len);
/external/bluetooth/bluedroid/stack/gatt/
H A Dgatt_sr.c124 UINT16 ii, total_len, len; local
179 total_len = (p_buf->len + p_rsp->attr_value.len);
181 if (total_len > mtu)
184 len = p_rsp->attr_value.len - (total_len - mtu);
/external/chromium/net/spdy/
H A Dspdy_test_util.cc879 int total_len = 0; local
881 total_len += frames[i]->length() + spdy::SpdyFrame::size();
883 DCHECK_LE(total_len, buff_len);
890 return total_len;
/external/qemu/
H A Dgdbstub.c1899 target_ulong total_len; local
1917 total_len = strlen(xml);
1918 if (addr > total_len) {
1925 if (len < total_len - addr) {
1930 len = memtox(buf + 1, xml + addr, total_len - addr);
H A Dsavevm.c1058 int64_t total_len, end_pos, cur_pos; local
1061 total_len = qemu_get_be64(f);
1062 end_pos = total_len + qemu_ftell(f);

Completed in 2747 milliseconds

12