Home
last modified time | relevance | path

Searched refs:rem_len (Results 1 – 11 of 11) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Drobust_av.c710 int res, rem_len; in write_ipv4_info() local
713 rem_len = total_len; in write_ipv4_info()
722 res = os_snprintf(pos, rem_len, " src_ip=%s", addr); in write_ipv4_info()
723 if (os_snprintf_error(rem_len, res)) in write_ipv4_info()
727 rem_len -= res; in write_ipv4_info()
737 res = os_snprintf(pos, rem_len, " dst_ip=%s", addr); in write_ipv4_info()
738 if (os_snprintf_error(rem_len, res)) in write_ipv4_info()
742 rem_len -= res; in write_ipv4_info()
746 res = os_snprintf(pos, rem_len, " src_port=%d", v4->src_port); in write_ipv4_info()
747 if (os_snprintf_error(rem_len, res)) in write_ipv4_info()
[all …]
Drrm.c784 int rem_len; in wpas_beacon_rep_add_frame_body() local
786 rem_len = 255 - sizeof(struct rrm_measurement_beacon_report) - in wpas_beacon_rep_add_frame_body()
820 rem_len -= pos - buf; in wpas_beacon_rep_add_frame_body()
830 while (ies_len > 2 && 2U + ies[1] <= ies_len && rem_len > 0) { in wpas_beacon_rep_add_frame_body()
836 2 + elen > rem_len) in wpas_beacon_rep_add_frame_body()
843 rem_len -= 2 + elen; in wpas_beacon_rep_add_frame_body()
Dwpa_supplicant.c2803 size_t rem_len, hdr_len, hlp_len, len, ie_len = 0; in wpas_add_fils_hlp_req() local
2809 rem_len = ie_buf_len - ie_len; in wpas_add_fils_hlp_req()
2814 if (rem_len < 2 + hdr_len + hlp_len) { in wpas_add_fils_hlp_req()
2817 (unsigned long) rem_len, in wpas_add_fils_hlp_req()
2845 rem_len -= 2 + len; in wpas_add_fils_hlp_req()
2849 if (rem_len < 2 + len) in wpas_add_fils_hlp_req()
2859 rem_len -= 2 + len; in wpas_add_fils_hlp_req()
/third_party/lwip/test/fuzz/
Dfuzz.c118 size_t rem_len = len; in input_pkts() local
120 while (rem_len > sizeof(u16_t)) { in input_pkts()
124 rem_len -= sizeof(u16_t); in input_pkts()
127 if (frame_len > rem_len) { in input_pkts()
128 frame_len = (u16_t)rem_len; in input_pkts()
134 rem_len -= frame_len; in input_pkts()
/third_party/lwip/src/core/
Dpbuf.c237 u16_t rem_len; /* remaining length */ in pbuf_alloc() local
240 rem_len = length; in pbuf_alloc()
253 qlen = LWIP_MIN(rem_len, (u16_t)(PBUF_POOL_BUFSIZE_ALIGNED - LWIP_MEM_ALIGN_SIZE(offset))); in pbuf_alloc()
255 rem_len, qlen, type, 0); in pbuf_alloc()
268 rem_len = (u16_t)(rem_len - qlen); in pbuf_alloc()
270 } while (rem_len > 0); in pbuf_alloc()
405 u16_t rem_len; /* remaining length */ in pbuf_realloc() local
421 rem_len = new_len; in pbuf_realloc()
424 while (rem_len > q->len) { in pbuf_realloc()
426 rem_len = (u16_t)(rem_len - q->len); in pbuf_realloc()
[all …]
/third_party/libwebsockets/lib/roles/mqtt/
Dmqtt.c1951 uint32_t vh_len, rem_len; in lws_mqtt_client_send_publish() local
1995 rem_len = vh_len + pub->payload_len; in lws_mqtt_client_send_publish()
1996 lwsl_debug("%s: Remaining len = %d\n", __func__, (int) rem_len); in lws_mqtt_client_send_publish()
2005 p += lws_mqtt_vbi_encode(rem_len, p); in lws_mqtt_client_send_publish()
2106 uint32_t rem_len; in lws_mqtt_client_send_subcribe() local
2188 rem_len = 2; in lws_mqtt_client_send_subcribe()
2191 rem_len += (2 + (uint32_t)strlen(sub->topic[n].name) + (uint32_t)1); in lws_mqtt_client_send_subcribe()
2193 wsi->mqtt->sub_size = (uint16_t)rem_len; in lws_mqtt_client_send_subcribe()
2197 __func__, (int)tops, (int)rem_len); in lws_mqtt_client_send_subcribe()
2200 p += lws_mqtt_vbi_encode(rem_len, p); in lws_mqtt_client_send_subcribe()
[all …]
/third_party/e2fsprogs/lib/ext2fs/
Dcrc32c.c100 size_t rem_len; in crc32_body() local
113 rem_len = len & 3; in crc32_body()
116 rem_len = len & 7; in crc32_body()
131 len = rem_len; in crc32_body()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Drrm.c765 int rem_len; in wpas_beacon_rep_add_frame_body() local
767 rem_len = 255 - sizeof(struct rrm_measurement_beacon_report) - in wpas_beacon_rep_add_frame_body()
801 rem_len -= pos - buf; in wpas_beacon_rep_add_frame_body()
811 while (ies_len > 2 && 2U + ies[1] <= ies_len && rem_len > 0) { in wpas_beacon_rep_add_frame_body()
817 2 + elen > rem_len) in wpas_beacon_rep_add_frame_body()
824 rem_len -= 2 + elen; in wpas_beacon_rep_add_frame_body()
Dwpa_supplicant.c2461 size_t rem_len, hdr_len, hlp_len, len, ie_len = 0; in wpas_add_fils_hlp_req() local
2467 rem_len = ie_buf_len - ie_len; in wpas_add_fils_hlp_req()
2472 if (rem_len < 2 + hdr_len + hlp_len) { in wpas_add_fils_hlp_req()
2475 (unsigned long) rem_len, in wpas_add_fils_hlp_req()
2503 rem_len -= 2 + len; in wpas_add_fils_hlp_req()
2507 if (rem_len < 2 + len) in wpas_add_fils_hlp_req()
2517 rem_len -= 2 + len; in wpas_add_fils_hlp_req()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_output.c3579 int tot_len, rem_len, cmsg_data_len, cmsg_data_off, off; local
3589 rem_len = tot_len - off;
3590 if (rem_len < (int)CMSG_ALIGN(sizeof(cmh))) {
3599 if ((cmh.cmsg_len > INT_MAX) || ((int)cmh.cmsg_len > rem_len)) {
3688 int tot_len, rem_len, cmsg_data_len, cmsg_data_off, off; local
3692 rem_len = tot_len - off;
3693 if (rem_len < (int)CMSG_ALIGN(sizeof(cmh))) {
3704 if ((cmh.cmsg_len > INT_MAX) || ((int)cmh.cmsg_len > rem_len)) {
3867 int tot_len, rem_len, cmsg_data_len, cmsg_data_off, off; local
3871 rem_len = tot_len - off;
[all …]
/third_party/mbedtls/library/
Dssl_msg.c2043 const size_t rem_len = hs_len - frag_off; in mbedtls_ssl_flight_transmit() local
2062 cur_hs_frag_len = rem_len > max_hs_frag_len ? in mbedtls_ssl_flight_transmit()
2063 max_hs_frag_len : rem_len; in mbedtls_ssl_flight_transmit()