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

12

/external/minijail/
H A Dsyscall_filter.h23 size_t total_len; member in struct:filter_block
H A Dsyscall_filter.c73 head->total_len += len;
77 new_last->total_len = new_last->len = len;
91 list->total_len += another->total_len;
488 size_t final_filter_len = head->total_len +
489 (arg_blocks? arg_blocks->total_len : 0);
500 head->total_len, final_filter_len) < 0)
H A Dsyscall_filter_unittest.c259 EXPECT_EQ(block->total_len, exp_total_len);
301 EXPECT_EQ(block->total_len, exp_total_len);
343 EXPECT_EQ(block->total_len, exp_total_len);
387 EXPECT_EQ(block->total_len, exp_total_len);
445 EXPECT_EQ(block->total_len, exp_total_len);
501 EXPECT_EQ(block->total_len, exp_total_len);
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Daes-omac1.c49 size_t i, e, left, total_len; local
59 total_len = 0;
61 total_len += len[e];
62 left = total_len;
93 if (left || total_len == 0) {
/external/wpa_supplicant_8/src/crypto/
H A Daes-omac1.c49 size_t i, e, left, total_len; local
59 total_len = 0;
61 total_len += len[e];
62 left = total_len;
93 if (left || total_len == 0) {
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Daes-omac1.c49 size_t i, e, left, total_len; local
59 total_len = 0;
61 total_len += len[e];
62 left = total_len;
93 if (left || total_len == 0) {
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dndef.c112 size_t total_len; local
119 total_len = 2; /* flag + type length */
121 total_len += short_record ? sizeof(u8) : sizeof(u32);
123 total_len += 1;
124 total_len += type_length + id_length + payload_length;
125 record = wpabuf_alloc(total_len);
/external/wpa_supplicant_8/src/wps/
H A Dndef.c112 size_t total_len; local
119 total_len = 2; /* flag + type length */
121 total_len += short_record ? sizeof(u8) : sizeof(u32);
123 total_len += 1;
124 total_len += type_length + id_length + payload_length;
125 record = wpabuf_alloc(total_len);
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dndef.c112 size_t total_len; local
119 total_len = 2; /* flag + type length */
121 total_len += short_record ? sizeof(u8) : sizeof(u32);
123 total_len += 1;
124 total_len += type_length + id_length + payload_length;
125 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/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_nl80211_android.c27 int total_len; member in struct:android_wifi_priv_cmd
59 priv_cmd.total_len = sizeof(buf);
129 priv_cmd.total_len = bp;
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_nl80211_android.c27 int total_len; member in struct:android_wifi_priv_cmd
59 priv_cmd.total_len = sizeof(buf);
129 priv_cmd.total_len = bp;
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_nl80211_android.c27 int total_len; member in struct:android_wifi_priv_cmd
59 priv_cmd.total_len = sizeof(buf);
129 priv_cmd.total_len = bp;
/external/libevent/
H A Dbuffer_iocp.c128 evbuf->total_len += nBytes;
188 if (!buf->total_len) {
192 } else if (at_most < 0 || (size_t)at_most > buf->total_len) {
193 at_most = buf->total_len;
H A Dbuffer.c319 buf->total_len += chain->off;
473 new_size = buffer->total_len;
600 result = (buffer->total_len);
730 buf->total_len += added;
753 dst->total_len = 0;
818 src->total_len = 0;
832 dst->total_len = src->total_len;
846 dst->total_len += src->total_len;
[all...]
H A Devbuffer-internal.h100 size_t total_len; member in struct:evbuffer
/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_8/hostapd/src/p2p/
H A Dp2p_build.c479 size_t *total_len, u8 *attr_len)
490 if (info_len + *total_len > MAX_SVC_ADV_LEN) {
588 *total_len += info_len;
589 WPA_PUT_LE16(attr_len, (u16) *total_len);
600 size_t total_len; local
623 total_len = 0;
627 WPA_PUT_LE16(attr_len, (u16) total_len);
634 &ie_len, &pos, &total_len, attr_len);
638 for (adv = adv_list; adv && total_len <= MAX_SVC_ADV_LEN;
651 &total_len,
476 p2p_buf_add_service_info(struct wpabuf *buf, struct p2p_data *p2p, u32 adv_id, u16 config_methods, const char *svc_name, u8 **ie_len, u8 **pos, size_t *total_len, u8 *attr_len) argument
[all...]
/external/wpa_supplicant_8/src/p2p/
H A Dp2p_build.c479 size_t *total_len, u8 *attr_len)
490 if (info_len + *total_len > MAX_SVC_ADV_LEN) {
588 *total_len += info_len;
589 WPA_PUT_LE16(attr_len, (u16) *total_len);
600 size_t total_len; local
623 total_len = 0;
627 WPA_PUT_LE16(attr_len, (u16) total_len);
634 &ie_len, &pos, &total_len, attr_len);
638 for (adv = adv_list; adv && total_len <= MAX_SVC_ADV_LEN;
651 &total_len,
476 p2p_buf_add_service_info(struct wpabuf *buf, struct p2p_data *p2p, u32 adv_id, u16 config_methods, const char *svc_name, u8 **ie_len, u8 **pos, size_t *total_len, u8 *attr_len) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/p2p/
H A Dp2p_build.c479 size_t *total_len, u8 *attr_len)
490 if (info_len + *total_len > MAX_SVC_ADV_LEN) {
588 *total_len += info_len;
589 WPA_PUT_LE16(attr_len, (u16) *total_len);
600 size_t total_len; local
623 total_len = 0;
627 WPA_PUT_LE16(attr_len, (u16) total_len);
634 &ie_len, &pos, &total_len, attr_len);
638 for (adv = adv_list; adv && total_len <= MAX_SVC_ADV_LEN;
651 &total_len,
476 p2p_buf_add_service_info(struct wpabuf *buf, struct p2p_data *p2p, u32 adv_id, u16 config_methods, const char *svc_name, u8 **ie_len, u8 **pos, size_t *total_len, u8 *attr_len) argument
[all...]
/external/lz4/lib/
H A Dxxhash.c513 U64 total_len; member in struct:__anon12990
525 U64 total_len; member in struct:__anon12991
569 state->total_len = 0;
582 state->total_len = 0;
598 state->total_len += len;
696 if (state->total_len >= 16)
705 h32 += (U32) state->total_len;
752 state->total_len += len;
850 if (state->total_len >= 32)
888 h64 += (U64) state->total_len;
[all...]
/external/autotest/client/cros/cellular/mbim_compliance/
H A Dmbim_message.py501 total_len = message_class.get_struct_len(get_all=True)
503 total_len += len(self.payload_buffer)
504 return total_len
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A Duserial_linux.c1145 UINT16 total_len = 0; local
1158 if ((pbuf_USERIAL_Read->len) <= (len - total_len))
1161 copy_len = (len - total_len);
1163 memcpy((p_data + total_len), current_packet, copy_len);
1165 total_len += copy_len;
1177 if (pbuf_USERIAL_Read == NULL && (total_len < len))
1180 } while ((pbuf_USERIAL_Read != NULL) && (total_len < len));
1183 ALOGD( "%s: returned %d bytes", __func__, total_len);
1185 return total_len;
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
H A DNETEQTEST_RTPpacket.cc808 int total_len = 0; local
825 total_len += len;
837 return payloadLen() - (ptr - payload()) - total_len;

Completed in 599 milliseconds

12