/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiParser.java | 90 int total_len = ie.data.length; local 94 if ((total_len - offset) < 2) { 111 if ((total_len - offset) < 4) { 121 if ((total_len - offset) < 2) { 127 if ((total_len - offset) < (2 + val * 4)) { 135 if ((total_len - offset) < 2) { 141 if ((total_len - offset) < (2 + val * 4)) { 188 int total_len = ie.data.length; local 192 if ((total_len - offset) < 4) { 210 if ((total_len - offset) < 2) [all...] |
/external/wpa_supplicant_8/src/crypto/ |
aes-omac1.c | 48 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/wps/ |
ndef.c | 106 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/ |
xxhash.h | 70 uint64_t total_len; member in struct:XXH_state32_t
|
xxhash.c | 271 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/ |
userial.c | 320 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;
|
hci_h4.c | 328 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); [all...] |
hci_mct.c | 324 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); [all...] |
/external/ppp/pppd/include/net/ |
vjcompress.h | 140 extern int vj_uncompress_tcp __P((u_char *buf, int buflen, int total_len,
|
/external/qemu/hw/android/goldfish/ |
nand.c | 387 static uint32_t nand_dev_read_file(nand_dev *dev, target_ulong data, uint64_t addr, uint32_t total_len) 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) 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) 440 uint32_t len = total_len; [all...] |
/external/bluetooth/bluedroid/stack/sdp/ |
sdp_discovery.c | 900 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; [all...] |
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
userial_linux.c | 1144 UINT16 total_len = 0; local [all...] |
/external/chromium_org/third_party/libpng/ |
pngwutil.c | 1570 png_size_t purpose_len, units_len, total_len; local 1634 png_size_t total_len; local 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/ |
pngwutil.c | 1570 png_size_t purpose_len, units_len, total_len; local 1634 png_size_t total_len; local 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/ |
sctp_bsd_addr.c | 967 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;
|
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/ |
driver_cmd_nl80211.c | 29 int total_len; member in struct:android_wifi_priv_cmd 115 priv_cmd.total_len = buf_len;
|
/hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib/ |
driver_cmd_nl80211.c | 25 int total_len; member in struct:android_wifi_priv_cmd 90 priv_cmd.total_len = buf_len;
|
/external/chromium_org/third_party/boringssl/src/crypto/obj/ |
obj.c | 368 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/qemu/android/utils/ |
filelock.c | 403 int total_len = sizeof(FileLock) + file_len + lock_len + temp_len + 3; local 405 FileLock* lock = malloc(total_len);
|
/external/bluetooth/bluedroid/stack/l2cap/ |
l2c_link.c | 1630 UINT16 total_len; local [all...] |
/external/qemu/hw/net/ |
ne2000.c | 232 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/ |
view_appcache_internals_job.cc | 267 void EmitHexDump(const char *buf, size_t buf_len, size_t total_len, 271 static_cast<int>(buf_len), static_cast<int>(total_len)); 273 if (buf_len < total_len)
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/test/ |
NETEQTEST_RTPpacket.cc | 832 int total_len = 0; local 849 total_len += len; 861 return payloadLen() - (ptr - payload()) - total_len;
|
/external/libpng/ |
pngwutil.c | 1798 png_size_t units_len, total_len; local 1862 png_size_t wlen, hlen, total_len; local [all...] |
/external/chromium_org/third_party/libwebp/enc/ |
iterator.c | 121 uint8_t* dst, int len, int total_len) { 124 for (; i < total_len; ++i) dst[i] = dst[len - 1];
|