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

12

/external/wpa_supplicant_8/hostapd/src/crypto/
H A Daes-omac1.c54 size_t i, e, left, total_len; local
61 total_len = 0;
63 total_len += len[e];
64 left = total_len;
88 if (left || total_len == 0) {
/external/wpa_supplicant_8/src/crypto/
H A Daes-omac1.c54 size_t i, e, left, total_len; local
61 total_len = 0;
63 total_len += len[e];
64 left = total_len;
88 if (left || total_len == 0) {
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Daes-omac1.c54 size_t i, e, left, total_len; local
61 total_len = 0;
63 total_len += len[e];
64 left = total_len;
88 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/wpa_supplicant_8/hostapd/src/wps/
H A Dndef.c110 size_t total_len; local
116 total_len = 2; /* flag + type length */
118 total_len += short_record ? sizeof(u8) : sizeof(u32);
120 total_len += 1;
121 total_len += type_length + id_length + payload_length;
122 record = wpabuf_alloc(total_len);
/external/wpa_supplicant_8/src/wps/
H A Dndef.c110 size_t total_len; local
116 total_len = 2; /* flag + type length */
118 total_len += short_record ? sizeof(u8) : sizeof(u32);
120 total_len += 1;
121 total_len += type_length + id_length + payload_length;
122 record = wpabuf_alloc(total_len);
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dndef.c110 size_t total_len; local
116 total_len = 2; /* flag + type length */
118 total_len += short_record ? sizeof(u8) : sizeof(u32);
120 total_len += 1;
121 total_len += type_length + id_length + payload_length;
122 record = wpabuf_alloc(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/astl/src/
H A Dstring.cpp288 const size_type total_len = mLength + n; local
291 if (n > 0 && (total_len + 1) > mLength)
293 if (total_len > mCapacity)
295 reserve(total_len);
296 if (total_len > mCapacity)
302 mLength = total_len;
361 const size_type total_len = mLength + 1; local
363 if (total_len > mCapacity)
365 reserve(total_len);
366 if (total_len > mCapacit
[all...]
/external/ppp/pppd/include/net/
H A Dvjcompress.h140 extern int vj_uncompress_tcp __P((u_char *buf, int buflen, int total_len,
/external/wpa_supplicant/
H A Daes_wrap.c186 size_t i, e, left, total_len; local
193 total_len = 0;
195 total_len += len[e];
196 left = total_len;
220 if (left || total_len == 0) {
H A Dtls_schannel.c492 size_t total_len; local
507 total_len = sizes.cbHeader + in_len + sizes.cbTrailer;
509 if (out_len < total_len) {
511 "in_len=%lu total_len=%lu)", __func__,
513 (unsigned long) total_len);
560 "EncryptMessage", out_data, total_len);
561 return total_len;
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
H A Daes_wrap.c189 size_t i, e, left, total_len; local
196 total_len = 0;
198 total_len += len[e];
199 left = total_len;
223 if (left || total_len == 0) {
H A Dtls_schannel.c492 size_t total_len; local
507 total_len = sizes.cbHeader + in_len + sizes.cbTrailer;
509 if (out_len < total_len) {
511 "in_len=%lu total_len=%lu)", __func__,
513 (unsigned long) total_len);
560 "EncryptMessage", out_data, total_len);
561 return total_len;
/external/qemu/hw/
H A Dgoldfish_nand.c363 static uint32_t nand_dev_read_file(nand_dev *dev, uint32_t data, uint64_t addr, uint32_t total_len) argument
365 uint32_t len = total_len;
369 NAND_UPDATE_READ_THRESHOLD(total_len);
391 return total_len;
394 static uint32_t nand_dev_write_file(nand_dev *dev, uint32_t data, uint64_t addr, uint32_t total_len) argument
396 uint32_t len = total_len;
400 NAND_UPDATE_WRITE_THRESHOLD(total_len);
419 return total_len - len;
422 static uint32_t nand_dev_erase_file(nand_dev *dev, uint64_t addr, uint32_t total_len) argument
424 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/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/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/dbus/dbus/
H A Ddbus-marshal-recursive.c919 int total_len; local
934 total_len = array_reader_get_array_len (reader);
935 end_pos = reader->u.array.start_pos + total_len;
939 _dbus_verbose ("end_pos %d total_len %d remaining_len %d value_pos %d\n",
940 end_pos, total_len, remaining_len, reader->value_pos);
943 _dbus_assert (remaining_len <= 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.c1027 int64_t total_len, end_pos, cur_pos; local
1030 total_len = qemu_get_be64(f);
1031 end_pos = total_len + qemu_ftell(f);
/external/wpa_supplicant_8/hostapd/src/p2p/
H A Dp2p_sd.c214 u16 total_len)
242 wpabuf_put_le16(buf, 3 + 1 + 2 + total_len);
209 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

Completed in 647 milliseconds

12