/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
D | aes-eax.c | 29 const u8 *hdr, size_t hdr_len, in aes_128_eax_encrypt() argument 42 if (hdr_len > buf_len) in aes_128_eax_encrypt() 43 buf_len = hdr_len; in aes_128_eax_encrypt() 58 os_memcpy(buf + 16, hdr, hdr_len); in aes_128_eax_encrypt() 59 if (omac1_aes_128(key, buf, 16 + hdr_len, hdr_mac)) in aes_128_eax_encrypt() 93 const u8 *hdr, size_t hdr_len, in aes_128_eax_decrypt() argument 106 if (hdr_len > buf_len) in aes_128_eax_decrypt() 107 buf_len = hdr_len; in aes_128_eax_decrypt() 124 os_memcpy(buf + 16, hdr, hdr_len); in aes_128_eax_decrypt() 125 if (omac1_aes_128(key, buf, 16 + hdr_len, hdr_mac)) { in aes_128_eax_decrypt()
|
D | aes_wrap.h | 42 const u8 *hdr, size_t hdr_len, 46 const u8 *hdr, size_t hdr_len,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | aes-eax.c | 29 const u8 *hdr, size_t hdr_len, in aes_128_eax_encrypt() argument 42 if (hdr_len > buf_len) in aes_128_eax_encrypt() 43 buf_len = hdr_len; in aes_128_eax_encrypt() 58 os_memcpy(buf + 16, hdr, hdr_len); in aes_128_eax_encrypt() 59 if (omac1_aes_128(key, buf, 16 + hdr_len, hdr_mac)) in aes_128_eax_encrypt() 93 const u8 *hdr, size_t hdr_len, in aes_128_eax_decrypt() argument 106 if (hdr_len > buf_len) in aes_128_eax_decrypt() 107 buf_len = hdr_len; in aes_128_eax_decrypt() 124 os_memcpy(buf + 16, hdr, hdr_len); in aes_128_eax_decrypt() 125 if (omac1_aes_128(key, buf, 16 + hdr_len, hdr_mac)) { in aes_128_eax_decrypt()
|
D | aes_wrap.h | 42 const u8 *hdr, size_t hdr_len, 46 const u8 *hdr, size_t hdr_len,
|
/third_party/lwip/src/apps/http/makefsdata/ |
D | makefsdata.c | 655 u16_t hdr_len, u16_t hdr_chksum, const u8_t *file_data, size_t file_size) in write_checksums() argument 669 if (hdr_len > 0) { in write_checksums() 671 fprintf(struct_file, "{%d, 0x%04x, %d}," NEWLINE, 0, hdr_chksum, hdr_len); in write_checksums() 675 for (offset = hdr_len; ; offset += len) { in write_checksums() 1032 size_t hdr_len = 0; in file_write_http_header() local 1067 memcpy(&hdr_buf[hdr_len], cur_string, cur_len); in file_write_http_header() 1068 hdr_len += cur_len; in file_write_http_header() 1077 memcpy(&hdr_buf[hdr_len], cur_string, cur_len); in file_write_http_header() 1078 hdr_len += cur_len; in file_write_http_header() 1117 memcpy(&hdr_buf[hdr_len], cur_string, cur_len); in file_write_http_header() [all …]
|
/third_party/libwebsockets/lib/roles/h2/ |
D | hpack.c | 360 uint32_t *hdr_len) in lws_token_from_index() argument 382 if (hdr_len) in lws_token_from_index() 383 *hdr_len = static_hdr_len[index]; in lws_token_from_index() 414 if (hdr_len) in lws_token_from_index() 415 *hdr_len = dyn->entries[index].hdr_len; in lws_token_from_index() 450 dyn->entries[m].hdr_len, dyn->entries[m].value ? in lws_h2_dynamic_table_dump() 462 dyn->entries[idx].hdr_len)); in lws_dynamic_free() 466 dyn->entries[idx].hdr_len = 0; in lws_dynamic_free() 486 lws_dynamic_token_insert(struct lws *wsi, int hdr_len, in lws_dynamic_token_insert() argument 521 dyn->virtual_payload_usage + (unsigned int)hdr_len + len > in lws_dynamic_token_insert() [all …]
|
D | private-lib-roles-h2.h | 184 uint16_t hdr_len; /* virtual, for accounting */ member
|
/third_party/libbpf/src/ |
D | libbpf_probes.c | 141 .hdr_len = sizeof(struct btf_header), in libbpf__load_raw_btf() 149 btf_len = hdr.hdr_len + hdr.type_len + hdr.str_len; in libbpf__load_raw_btf() 155 memcpy(raw_btf + hdr.hdr_len, raw_types, hdr.type_len); in libbpf__load_raw_btf() 156 memcpy(raw_btf + hdr.hdr_len + hdr.type_len, str_sec, hdr.str_len); in libbpf__load_raw_btf()
|
D | btf.c | 228 h->hdr_len = bswap_32(h->hdr_len); in btf_bswap_hdr() 247 if (bswap_32(hdr->hdr_len) != sizeof(struct btf_header)) { in btf_parse_hdr() 249 bswap_32(hdr->hdr_len)); in btf_parse_hdr() 258 if (btf->raw_size < hdr->hdr_len) { in btf_parse_hdr() 260 hdr->hdr_len, btf->raw_size); in btf_parse_hdr() 264 meta_left = btf->raw_size - hdr->hdr_len; in btf_parse_hdr() 861 btf->hdr->hdr_len = sizeof(struct btf_header); in btf_new_empty() 865 btf->types_data = btf->raw_data + btf->hdr->hdr_len; in btf_new_empty() 866 btf->strs_data = btf->raw_data + btf->hdr->hdr_len; in btf_new_empty() 915 btf->strs_data = btf->raw_data + btf->hdr->hdr_len + btf->hdr->str_off; in btf_new() [all …]
|
D | libbpf_internal.h | 427 __u32 hdr_len; member
|
/third_party/gstreamer/gstplugins_bad/gst/mpegtsmux/tsmux/ |
D | tsmuxstream.c | 462 guint8 hdr_len; in tsmux_stream_initialize_pes_packet() local 464 hdr_len = tsmux_stream_pes_header_length (stream); in tsmux_stream_initialize_pes_packet() 467 if ((stream->cur_pes_payload_size + hdr_len - 6) > G_MAXUINT16) in tsmux_stream_initialize_pes_packet() 626 guint8 hdr_len = tsmux_stream_pes_header_length (stream); in tsmux_stream_write_pes_header() local 639 length_to_write = hdr_len + stream->cur_pes_payload_size - 6; in tsmux_stream_write_pes_header() 667 g_return_if_fail (hdr_len >= 9); in tsmux_stream_write_pes_header() 668 *data++ = (hdr_len - 9); in tsmux_stream_write_pes_header()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
D | gas_server.c | 90 size_t hdr_len = 24 + 2 + 5 + 3 + handler->adv_proto_id_len + 2; in gas_server_send_resp() local 109 if (hdr_len + wpabuf_len(query_resp) > max_len) { in gas_server_send_resp() 243 size_t hdr_len = 24 + 2 + 6 + 3 + handler->adv_proto_id_len + 2; in gas_server_handle_rx_comeback_req() local 248 if (hdr_len + remaining > max_len) in gas_server_handle_rx_comeback_req() 249 resp_frag_len = max_len - hdr_len; in gas_server_handle_rx_comeback_req()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | gas_server.c | 95 size_t hdr_len = 24 + 2 + 5 + 3 + handler->adv_proto_id_len + 2; in gas_server_send_resp() local 112 } else if (hdr_len + wpabuf_len(query_resp) > max_len) { in gas_server_send_resp() 261 size_t hdr_len = 24 + 2 + 6 + 3 + handler->adv_proto_id_len + 2; in gas_server_handle_rx_comeback_req() local 291 if (hdr_len + remaining > max_len) in gas_server_handle_rx_comeback_req() 292 resp_frag_len = max_len - hdr_len; in gas_server_handle_rx_comeback_req()
|
/third_party/gstreamer/gstplugins_bad/gst/mpegpsmux/ |
D | psmuxstream.c | 419 guint8 hdr_len = psmux_stream_pes_header_length (stream); in psmux_stream_write_pes_header() local 428 length_to_write = hdr_len - 6 + stream->cur_pes_payload_size; in psmux_stream_write_pes_header() 453 g_return_if_fail (hdr_len >= 9); in psmux_stream_write_pes_header() 454 *data++ = (hdr_len - 9); in psmux_stream_write_pes_header()
|
/third_party/openssl/crypto/asn1/ |
D | asn1_gen.c | 112 long hdr_len = 0; in generate_v3() local 157 r = ASN1_get_object(&cpy_start, &hdr_len, &hdr_tag, &hdr_class, in generate_v3() 170 hdr_len = 0; in generate_v3() 178 len = ASN1_object_size(0, hdr_len, asn1_tags.imp_tag); in generate_v3() 220 ASN1_put_object(&p, hdr_constructed, hdr_len, in generate_v3()
|
/third_party/lwip/src/include/lwip/apps/ |
D | http_client.h | 123 …s_done_fn)(httpc_state_t *connection, void *arg, struct pbuf *hdr, u16_t hdr_len, u32_t content_le…
|
/third_party/libbpf/include/uapi/linux/ |
D | btf.h | 15 __u32 hdr_len; member
|
/third_party/libwebsockets/lib/roles/http/server/ |
D | lws-spa.c | 47 uint8_t hdr_len; member 306 if (s->mp >= mp_hdrs[n].hdr_len) { in lws_urldecode_s_process() 318 if (s->mp + 1 == mp_hdrs[n].hdr_len) { in lws_urldecode_s_process()
|
/third_party/gstreamer/gstplugins_base/gst/typefind/ |
D | gsttypefindfunctions.c | 4691 guint32 id, hdr_len; in ebml_parse_chunk() local 4700 hdr_len = ebml_read_chunk_header (tf, &c, chunk_size, &id, &element_size); in ebml_parse_chunk() 4701 if (hdr_len == 0) in ebml_parse_chunk() 4704 g_assert (hdr_len <= chunk_size); in ebml_parse_chunk() 4705 chunk_size -= hdr_len; in ebml_parse_chunk() 4712 hdr_len + element_size); in ebml_parse_chunk() 4795 guint32 id, hdr_len; in matroska_type_find() local 4804 hdr_len = ebml_read_chunk_header (tf, &c, c.size, &id, &size); in matroska_type_find() 4805 if (hdr_len == 0) in matroska_type_find() 4809 " / %" G_GUINT64_FORMAT, id, size, size + hdr_len); in matroska_type_find() [all …]
|
/third_party/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_encode.c | 582 int hdr_len = base_hdr_size + (first_pass ? strm_hdr_size : 0); in virgl_encode_shader_state() local 583 if (ctx->cbuf->cdw + hdr_len + 1 >= VIRGL_ENCODE_MAX_DWORDS) in virgl_encode_shader_state() 586 thispass = (VIRGL_ENCODE_MAX_DWORDS - ctx->cbuf->cdw - hdr_len - 1) * 4; in virgl_encode_shader_state() 589 len = ((length + 3) / 4) + hdr_len; in virgl_encode_shader_state()
|
/third_party/mesa3d/src/egl/drivers/dri2/ |
D | platform_x11.c | 156 size_t hdr_len = sizeof(xcb_put_image_request_t); in swrastPutImage() local 158 size_t size = (hdr_len + stride_b * h) >> 2; in swrastPutImage() 180 int num_lines = ((max_req_len << 2) - hdr_len) / stride_b; in swrastPutImage()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | wpa_supplicant.c | 2461 size_t rem_len, hdr_len, hlp_len, len, ie_len = 0; in wpas_add_fils_hlp_req() local 2469 hdr_len = 1 + 2 * ETH_ALEN + 6; in wpas_add_fils_hlp_req() 2472 if (rem_len < 2 + hdr_len + hlp_len) { in wpas_add_fils_hlp_req() 2476 (unsigned long) (2 + hdr_len + hlp_len)); in wpas_add_fils_hlp_req() 2480 len = (hdr_len + hlp_len) > 255 ? 255 : hdr_len + hlp_len; in wpas_add_fils_hlp_req() 2497 os_memcpy(buf, pos, len - hdr_len); in wpas_add_fils_hlp_req() 2498 buf += len - hdr_len; in wpas_add_fils_hlp_req() 2499 pos += len - hdr_len; in wpas_add_fils_hlp_req() 2501 hlp_len -= len - hdr_len; in wpas_add_fils_hlp_req()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | wpa_supplicant.c | 2803 size_t rem_len, hdr_len, hlp_len, len, ie_len = 0; in wpas_add_fils_hlp_req() local 2811 hdr_len = 1 + 2 * ETH_ALEN + 6; in wpas_add_fils_hlp_req() 2814 if (rem_len < 2 + hdr_len + hlp_len) { in wpas_add_fils_hlp_req() 2818 (unsigned long) (2 + hdr_len + hlp_len)); in wpas_add_fils_hlp_req() 2822 len = (hdr_len + hlp_len) > 255 ? 255 : hdr_len + hlp_len; in wpas_add_fils_hlp_req() 2839 os_memcpy(buf, pos, len - hdr_len); in wpas_add_fils_hlp_req() 2840 buf += len - hdr_len; in wpas_add_fils_hlp_req() 2841 pos += len - hdr_len; in wpas_add_fils_hlp_req() 2843 hlp_len -= len - hdr_len; in wpas_add_fils_hlp_req()
|
/third_party/mesa3d/src/vulkan/wsi/ |
D | wsi_common_x11.c | 1300 size_t hdr_len = sizeof(xcb_put_image_request_t); in x11_present_to_x11_sw() local 1302 size_t size = (hdr_len + stride_b * chain->extent.height) >> 2; in x11_present_to_x11_sw() 1317 int num_lines = ((max_req_len << 2) - hdr_len) / stride_b; in x11_present_to_x11_sw()
|
/third_party/lwip/src/apps/http/ |
D | httpd.c | 1829 u16_t hdr_len = (u16_t)LWIP_MIN(data_len, crlfcrlf + 4 - data); local 1840 u16_t start_offset = hdr_len;
|