Home
last modified time | relevance | path

Searched refs:req_len (Results 1 – 15 of 15) sorted by relevance

/third_party/mesa3d/src/freedreno/drm/virtio/
Dvirtio_device.c106 unsigned req_len = align(sizeof(*req) + comm_len + cmdline_len, 4); in set_debuginfo() local
108 req = malloc(req_len); in set_debuginfo()
110 req->hdr = MSM_CCMD(SET_DEBUGINFO, req_len); in set_debuginfo()
388 unsigned req_len = sizeof(struct msm_ccmd_ioctl_simple_req); in virtio_simple_ioctl() local
391 req_len += _IOC_SIZE(cmd); in virtio_simple_ioctl()
395 uint8_t buf[req_len]; in virtio_simple_ioctl()
399 req->hdr = MSM_CCMD(IOCTL_SIMPLE, req_len); in virtio_simple_ioctl()
Dvirtio_bo.c171 unsigned req_len = sizeof(struct msm_ccmd_gem_set_name_req) + align(sz, 4); in virtio_bo_set_name() local
173 uint8_t buf[req_len]; in virtio_bo_set_name()
176 req->hdr = MSM_CCMD(GEM_SET_NAME, req_len); in virtio_bo_set_name()
188 unsigned req_len = sizeof(struct msm_ccmd_gem_upload_req) + align(len, 4); in bo_upload() local
190 uint8_t buf[req_len]; in bo_upload()
193 req->hdr = MSM_CCMD(GEM_UPLOAD, req_len); in bo_upload()
Dvirtio_ringbuffer.c159 unsigned req_len = sizeof(struct msm_ccmd_gem_submit_req) + bos_len + cmd_len; in flush_submit_list() local
160 struct msm_ccmd_gem_submit_req *req = malloc(req_len); in flush_submit_list()
162 req->hdr = MSM_CCMD(GEM_SUBMIT, req_len); in flush_submit_list()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Deap_server_peap.c238 size_t req_len; in eap_peap_build_phase2_req() local
249 req_len = wpabuf_len(buf); in eap_peap_build_phase2_req()
251 req, req_len); in eap_peap_build_phase2_req()
256 req_len -= sizeof(struct eap_hdr); in eap_peap_build_phase2_req()
259 wpabuf_set(&msgbuf, req, req_len); in eap_peap_build_phase2_req()
274 size_t req_len; in eap_peap_build_phase2_soh() local
290 req_len = wpabuf_len(buf); in eap_peap_build_phase2_soh()
293 req, req_len); in eap_peap_build_phase2_soh()
296 req_len -= sizeof(struct eap_hdr); in eap_peap_build_phase2_soh()
297 wpabuf_set(&msgbuf, req, req_len); in eap_peap_build_phase2_soh()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Deap_server_peap.c238 size_t req_len; in eap_peap_build_phase2_req() local
249 req_len = wpabuf_len(buf); in eap_peap_build_phase2_req()
251 req, req_len); in eap_peap_build_phase2_req()
256 req_len -= sizeof(struct eap_hdr); in eap_peap_build_phase2_req()
259 wpabuf_set(&msgbuf, req, req_len); in eap_peap_build_phase2_req()
274 size_t req_len; in eap_peap_build_phase2_soh() local
290 req_len = wpabuf_len(buf); in eap_peap_build_phase2_soh()
293 req, req_len); in eap_peap_build_phase2_soh()
296 req_len -= sizeof(struct eap_hdr); in eap_peap_build_phase2_soh()
297 wpabuf_set(&msgbuf, req, req_len); in eap_peap_build_phase2_soh()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_mschapv2.c240 size_t req_len, u8 id) in eap_mschapv2_challenge() argument
250 if (req_len < sizeof(*req) + 1) { in eap_mschapv2_challenge()
252 "(len %lu)", (unsigned long) req_len); in eap_mschapv2_challenge()
258 len = req_len - sizeof(*req) - 1; in eap_mschapv2_challenge()
346 size_t req_len, u8 id) in eap_mschapv2_success() argument
353 len = req_len - sizeof(*req); in eap_mschapv2_success()
653 size_t req_len, u8 id) in eap_mschapv2_failure() argument
658 size_t len = req_len - sizeof(*req); in eap_mschapv2_failure()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_mschapv2.c240 size_t req_len, u8 id) in eap_mschapv2_challenge() argument
250 if (req_len < sizeof(*req) + 1) { in eap_mschapv2_challenge()
252 "(len %lu)", (unsigned long) req_len); in eap_mschapv2_challenge()
258 len = req_len - sizeof(*req) - 1; in eap_mschapv2_challenge()
346 size_t req_len, u8 id) in eap_mschapv2_success() argument
353 len = req_len - sizeof(*req); in eap_mschapv2_success()
653 size_t req_len, u8 id) in eap_mschapv2_failure() argument
658 size_t len = req_len - sizeof(*req); in eap_mschapv2_failure()
/third_party/lwip/src/apps/http/
Dhttp_client.c512 int req_len, req_len2; in httpc_init_connection_common() local
521 req_len = httpc_create_request_string(settings, server_name, server_port, uri, use_host, NULL, 0); in httpc_init_connection_common()
522 if ((req_len < 0) || (req_len > 0xFFFF)) { in httpc_init_connection_common()
533 if ((mem_alloc_len < alloc_len) || (req_len + 1 > 0xFFFF)) { in httpc_init_connection_common()
543 req->request = pbuf_alloc(PBUF_RAW, (u16_t)(req_len + 1), PBUF_RAM); in httpc_init_connection_common()
576 (char *)req->request->payload, req_len + 1); in httpc_init_connection_common()
577 if (req_len2 != req_len) { in httpc_init_connection_common()
/third_party/openssl/crypto/http/
Dhttp_client.c269 long req_len = 0; in set1_content() local
303 req_len = ftell(fp); in set1_content()
310 req_len = BIO_ctrl(req, BIO_CTRL_INFO, 0, NULL); in set1_content()
320 req_len > 0) in set1_content()
321 && BIO_printf(rctx->mem, "Content-Length: %ld\r\n", req_len) < 0) in set1_content()
/third_party/node/deps/openssl/openssl/crypto/http/
Dhttp_client.c269 long req_len = 0; in set1_content() local
303 req_len = ftell(fp); in set1_content()
310 req_len = BIO_ctrl(req, BIO_CTRL_INFO, 0, NULL); in set1_content()
320 req_len > 0) in set1_content()
321 && BIO_printf(rctx->mem, "Content-Length: %ld\r\n", req_len) < 0) in set1_content()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Duser_mbuf.c1403 m_adj(struct mbuf *mp, int req_len) in m_adj() argument
1405 int len = req_len; in m_adj()
1428 m->m_pkthdr.len -= (req_len - len); in m_adj()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dtlsv1_server_read.c50 const u8 *req, size_t req_len) in tls_process_status_request_item() argument
56 end = req + req_len; in tls_process_status_request_item()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dtlsv1_server_read.c50 const u8 *req, size_t req_len) in tls_process_status_request_item() argument
56 end = req + req_len; in tls_process_status_request_item()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dsme.c2324 u8 req_len = 2 + WLAN_SA_QUERY_TR_ID_LEN; in sme_send_sa_query_req() local
2344 if (ocv_insert_extended_oci(&ci, req + req_len) < 0) in sme_send_sa_query_req()
2347 req_len += OCV_OCI_EXTENDED_LEN; in sme_send_sa_query_req()
2353 req, req_len, 0) < 0) in sme_send_sa_query_req()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dsme.c2714 u8 req_len = 2 + WLAN_SA_QUERY_TR_ID_LEN; in sme_send_sa_query_req() local
2746 if (ocv_insert_extended_oci(&ci, req + req_len) < 0) in sme_send_sa_query_req()
2749 req_len += OCV_OCI_EXTENDED_LEN; in sme_send_sa_query_req()
2755 req, req_len, 0) < 0) in sme_send_sa_query_req()