Home
last modified time | relevance | path

Searched refs:spa (Results 1 – 25 of 71) sorted by relevance

123

/external/libwebsockets/lib/roles/http/server/
Dlws-spa.c56 typedef int (*lws_urldecode_stateful_cb)(struct lws_spa *spa,
98 lws_urldecode_s_create(struct lws_spa *spa, struct lws *wsi, char *out, in lws_urldecode_s_create() argument
105 if (spa->i.ac) in lws_urldecode_s_create()
106 s = lwsac_use_zero(spa->i.ac, sizeof(*s), spa->i.ac_chunk_size); in lws_urldecode_s_create()
121 s->data = spa; in lws_urldecode_s_create()
454 lws_urldecode_s_destroy(struct lws_spa *spa, struct lws_urldecode_stateful *s) in lws_urldecode_s_destroy() argument
469 if (!spa->i.ac) in lws_urldecode_s_destroy()
476 lws_urldecode_spa_lookup(struct lws_spa *spa, const char *name) in lws_urldecode_spa_lookup() argument
478 const char * const *pp = spa->i.param_names; in lws_urldecode_spa_lookup()
481 for (n = 0; n < spa->i.count_params; n++) { in lws_urldecode_spa_lookup()
[all …]
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-form-post/
Dminimal-http-server-form-post.c24 struct lws_spa *spa; member
70 if (!pss->spa) { in callback_http()
71 pss->spa = lws_spa_create(wsi, param_names, in callback_http()
74 if (!pss->spa) in callback_http()
80 if (lws_spa_process(pss->spa, in, (int)len)) in callback_http()
85 if (pss->spa && lws_spa_destroy(pss->spa)) in callback_http()
94 lws_spa_finalize(pss->spa); in callback_http()
98 if (pss->spa) in callback_http()
100 if (!lws_spa_get_string(pss->spa, n)) in callback_http()
105 lws_spa_get_length(pss->spa, n), in callback_http()
[all …]
/external/libwebsockets/plugins/generic-sessions/
Dhandlers.c352 lws_spa_get_string(pss->spa, FGS_USERNAME), in lwsgs_handler_change_password()
353 lws_spa_get_string(pss->spa, FGS_CURPW))) { in lwsgs_handler_change_password()
360 lws_strncpy(u.username, lws_spa_get_string(pss->spa, FGS_USERNAME), in lwsgs_handler_change_password()
366 if (lws_spa_get_length(pss->spa, FGS_DELETE)) { in lwsgs_handler_change_password()
385 if (lwsgs_hash_password(vhd, lws_spa_get_string(pss->spa, FGS_PASSWORD), &u)) in lwsgs_handler_change_password()
421 lws_spa_get_string(pss->spa, FGS_USERNAME), in lwsgs_handler_forgot_pw_form()
422 lws_spa_get_string(pss->spa, FGS_EMAIL)); in lwsgs_handler_forgot_pw_form()
424 if (!lws_spa_get_string(pss->spa, FGS_USERNAME) && in lwsgs_handler_forgot_pw_form()
425 !lws_spa_get_string(pss->spa, FGS_EMAIL)) { in lwsgs_handler_forgot_pw_form()
431 if (!lws_spa_get_string(pss->spa, FGS_FORGOT_GOOD) || in lwsgs_handler_forgot_pw_form()
[all …]
Dprotocol_generic_sessions.c521 if (!pss->spa) { in callback_generic_sessions()
522 pss->spa = lws_spa_create(wsi, param_names, in callback_generic_sessions()
525 if (!pss->spa) in callback_generic_sessions()
529 if (lws_spa_process(pss->spa, in, len)) { in callback_generic_sessions()
539 if (!pss->spa) in callback_generic_sessions()
547 lws_spa_finalize(pss->spa); in callback_generic_sessions()
555 cp = lws_spa_get_string(pss->spa, FGS_GOOD); in callback_generic_sessions()
559 cp = lws_spa_get_string(pss->spa, FGS_BAD); in callback_generic_sessions()
561 lws_spa_get_string(pss->spa, FGS_USERNAME)); in callback_generic_sessions()
571 if (lws_spa_get_string(pss->spa, FGS_FORGOT) && in callback_generic_sessions()
[all …]
Dprotocol_lws_messageboard.c45 struct lws_spa *spa; member
141 lws_sql_purify(esc, lws_spa_get_string(pss->spa, MBSPA_MSG), in post_message()
308 if (!pss->spa) { in callback_messageboard()
309 pss->spa = lws_spa_create(wsi, param_names, in callback_messageboard()
312 if (!pss->spa) in callback_messageboard()
316 if (lws_spa_process(pss->spa, in, len)) { in callback_messageboard()
379 if (pss && pss->spa) { in callback_messageboard()
380 lws_spa_destroy(pss->spa); in callback_messageboard()
381 pss->spa = NULL; in callback_messageboard()
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-form-post-lwsac/
Dminimal-http-server-form-post.c24 struct lws_spa *spa; member
71 if (!pss->spa) { in callback_http()
80 pss->spa = lws_spa_create_via_info(wsi, &i); /* no file upload */ in callback_http()
81 if (!pss->spa) in callback_http()
87 if (lws_spa_process(pss->spa, in, (int)len)) in callback_http()
96 lws_spa_finalize(pss->spa); in callback_http()
101 if (!lws_spa_get_string(pss->spa, n)) in callback_http()
106 lws_spa_get_length(pss->spa, n), in callback_http()
107 lws_spa_get_string(pss->spa, n)); in callback_http()
125 if (pss->spa) { in callback_http()
[all …]
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-form-post-file/
Dminimal-http-server-form-post-file.c29 struct lws_spa *spa; /* lws helper decodes multipart form */ member
129 if (!pss->spa) { in callback_http()
130 pss->spa = lws_spa_create(wsi, param_names, in callback_http()
133 if (!pss->spa) in callback_http()
139 if (lws_spa_process(pss->spa, in, (int)len)) in callback_http()
147 lws_spa_finalize(pss->spa); in callback_http()
152 if (!lws_spa_get_string(pss->spa, n)) in callback_http()
157 lws_spa_get_length(pss->spa, n), in callback_http()
158 lws_spa_get_string(pss->spa, n)); in callback_http()
175 if (pss->spa) { in callback_http()
[all …]
/external/wpa_supplicant_8/src/ap/
Dpmksa_cache_auth.c103 MACSTR, MAC2STR(pmksa->pmksa->spa)); in pmksa_cache_auth_flush()
117 MACSTR, MAC2STR(pmksa->pmksa->spa)); in pmksa_cache_expire()
253 MAC2STR(entry->spa)); in pmksa_cache_link_entry()
282 const u8 *aa, const u8 *spa, int session_timeout, in pmksa_cache_auth_add() argument
288 aa, spa, session_timeout, eapol, in pmksa_cache_auth_add()
317 const u8 *spa, int session_timeout, in pmksa_cache_auth_create_entry() argument
337 rsn_pmkid_suite_b_192(kck, kck_len, aa, spa, entry->pmkid); in pmksa_cache_auth_create_entry()
339 rsn_pmkid_suite_b(kck, kck_len, aa, spa, entry->pmkid); in pmksa_cache_auth_create_entry()
341 rsn_pmkid(pmk, pmk_len, aa, spa, entry->pmkid, akmp); in pmksa_cache_auth_create_entry()
349 os_memcpy(entry->spa, spa, ETH_ALEN); in pmksa_cache_auth_create_entry()
[all …]
Dpmksa_cache_auth.h24 u8 spa[ETH_ALEN]; member
46 const u8 *spa, const u8 *pmkid);
48 struct rsn_pmksa_cache *pmksa, const u8 *spa, const u8 *aa,
54 const u8 *aa, const u8 *spa, int session_timeout,
59 const u8 *spa, int session_timeout,
/external/libwebsockets/plugins/
Dprotocol_post_demo.c38 struct lws_spa *spa; member
140 if (!lws_spa_get_string(pss->spa, n)) in format_result()
150 lws_spa_get_length(pss->spa, n), in format_result()
151 lws_spa_get_string(pss->spa, n)); in format_result()
176 if (!pss->spa) { in callback_post_demo()
177 pss->spa = lws_spa_create(wsi, param_names, in callback_post_demo()
180 if (!pss->spa) in callback_post_demo()
188 if (lws_spa_process(pss->spa, in, (int)len)) in callback_post_demo()
195 lws_spa_finalize(pss->spa); in callback_post_demo()
252 if (pss->spa) { in callback_post_demo()
[all …]
Dprotocol_esp32_lws_ota.c31 struct lws_spa *spa; member
204 if (!pss->spa) { in callback_esplws_ota()
205 pss->spa = lws_spa_create(wsi, ota_param_names, in callback_esplws_ota()
208 if (!pss->spa) in callback_esplws_ota()
217 if (lws_spa_process(pss->spa, in, len)) in callback_esplws_ota()
224 lws_spa_finalize(pss->spa); in callback_esplws_ota()
267 if (pss->spa) { in callback_esplws_ota()
268 lws_spa_destroy(pss->spa); in callback_esplws_ota()
269 pss->spa = NULL; in callback_esplws_ota()
Dprotocol_esp32_lws_scan.c48 struct lws_spa *spa; member
1024 if (!pss->spa) { in callback_esplws_scan()
1025 pss->spa = lws_spa_create(wsi, param_names, in callback_esplws_scan()
1028 if (!pss->spa) in callback_esplws_scan()
1036 if (lws_spa_process(pss->spa, in, len)) in callback_esplws_scan()
1043 lws_spa_finalize(pss->spa); in callback_esplws_scan()
1046 if (lws_spa_get_string(pss->spa, n)) in callback_esplws_scan()
1048 lws_spa_get_string(pss->spa, n)); in callback_esplws_scan()
1060 if (lws_spa_get_string(pss->spa, EPN_SERIAL)) { in callback_esplws_scan()
1061 if (lws_nvs_set_str(nvh, "serial", lws_spa_get_string(pss->spa, EPN_SERIAL)) != ESP_OK) { in callback_esplws_scan()
[all …]
/external/libwebsockets/include/libwebsockets/
Dlws-spa.h142 lws_spa_process(struct lws_spa *spa, const char *in, int len);
150 lws_spa_finalize(struct lws_spa *spa);
159 lws_spa_get_length(struct lws_spa *spa, int n);
167 lws_spa_get_string(struct lws_spa *spa, int n);
175 lws_spa_destroy(struct lws_spa *spa);
/external/llvm-project/flang/test/Semantics/
Dcall05.f9043 subroutine spa(x) subroutine
75 call spa(pa) ! ok
83 call spa(ma)
91 call spa(ua)
95 call spa(pa2)
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_self/
Dthreads_scenarii.c46 #define CASE(det,expl,scp,spa,sco,sta,gua,ssi,desc,res) \ argument
51 .schedparam=spa, \
59 #define CASE_POS(det,expl,scp,spa,sco,sta,gua,ssi,desc) CASE(det,expl,scp,spa,sco,sta,gua,ssi,desc,… argument
60 #define CASE_NEG(det,expl,scp,spa,sco,sta,gua,ssi,desc) CASE(det,expl,scp,spa,sco,sta,gua,ssi,desc,… argument
61 #define CASE_UNK(det,expl,scp,spa,sco,sta,gua,ssi,desc) CASE(det,expl,scp,spa,sco,sta,gua,ssi,desc,… argument
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_exit/
Dthreads_scenarii.c46 #define CASE(det,expl,scp,spa,sco,sta,gua,ssi,desc,res) \ argument
51 .schedparam=spa, \
59 #define CASE_POS(det,expl,scp,spa,sco,sta,gua,ssi,desc) CASE(det,expl,scp,spa,sco,sta,gua,ssi,desc,… argument
60 #define CASE_NEG(det,expl,scp,spa,sco,sta,gua,ssi,desc) CASE(det,expl,scp,spa,sco,sta,gua,ssi,desc,… argument
61 #define CASE_UNK(det,expl,scp,spa,sco,sta,gua,ssi,desc) CASE(det,expl,scp,spa,sco,sta,gua,ssi,desc,… argument
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/
Dthreads_scenarii.c46 #define CASE(det,expl,scp,spa,sco,sta,gua,ssi,desc,res) \ argument
51 .schedparam=spa, \
59 #define CASE_POS(det,expl,scp,spa,sco,sta,gua,ssi,desc) CASE(det,expl,scp,spa,sco,sta,gua,ssi,desc,… argument
60 #define CASE_NEG(det,expl,scp,spa,sco,sta,gua,ssi,desc) CASE(det,expl,scp,spa,sco,sta,gua,ssi,desc,… argument
61 #define CASE_UNK(det,expl,scp,spa,sco,sta,gua,ssi,desc) CASE(det,expl,scp,spa,sco,sta,gua,ssi,desc,… argument
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/testfrmw/
Dthreads_scenarii.c89 #define CASE(det, expl, scp, spa, sco, sta, gua, ssi, desc, res) \ argument
94 .schedparam = spa, \
103 #define CASE_POS(det, expl, scp, spa, sco, sta, gua, ssi, desc) \ argument
104 CASE(det, expl, scp, spa, sco, sta, gua, ssi, desc, 0)
105 #define CASE_NEG(det, expl, scp, spa, sco, sta, gua, ssi, desc) \ argument
106 CASE(det, expl, scp, spa, sco, sta, gua, ssi, desc, 1)
107 #define CASE_UNK(det, expl, scp, spa, sco, sta, gua, ssi, desc) \ argument
108 CASE(det, expl, scp, spa, sco, sta, gua, ssi, desc, 2)
/external/webrtc/media/sctp/
Dsctp_transport.cc229 struct sctp_sendv_spa spa = {0}; in CreateSctpSendParams() local
230 spa.sendv_flags |= SCTP_SEND_SNDINFO_VALID; in CreateSctpSendParams()
231 spa.sendv_sndinfo.snd_sid = params.sid; in CreateSctpSendParams()
232 spa.sendv_sndinfo.snd_ppid = rtc::HostToNetwork32(GetPpid(params.type)); in CreateSctpSendParams()
238 spa.sendv_sndinfo.snd_flags |= SCTP_EOR; in CreateSctpSendParams()
242 spa.sendv_sndinfo.snd_flags |= SCTP_UNORDERED; in CreateSctpSendParams()
244 spa.sendv_flags |= SCTP_SEND_PRINFO_VALID; in CreateSctpSendParams()
245 spa.sendv_prinfo.pr_policy = SCTP_PR_SCTP_RTX; in CreateSctpSendParams()
246 spa.sendv_prinfo.pr_value = params.max_rtx_count; in CreateSctpSendParams()
248 spa.sendv_flags |= SCTP_SEND_PRINFO_VALID; in CreateSctpSendParams()
[all …]
/external/libwebsockets/plugins/deaddrop/
Dprotocol_lws_deaddrop.c72 struct lws_spa *spa; member
560 if (!pss->spa) { in callback_deaddrop()
563 pss->spa = lws_spa_create(wsi, param_names, in callback_deaddrop()
566 if (!pss->spa) in callback_deaddrop()
583 if (lws_spa_process(pss->spa, in, (int)len)) { in callback_deaddrop()
586 lws_spa_finalize(pss->spa); in callback_deaddrop()
595 lws_spa_finalize(pss->spa); in callback_deaddrop()
654 if (pss->spa) { in callback_deaddrop()
655 lws_spa_destroy(pss->spa); in callback_deaddrop()
656 pss->spa = NULL; in callback_deaddrop()
/external/wpa_supplicant_8/src/common/
Dwpa_common.h398 int fils_pmk_to_ptk(const u8 *pmk, size_t pmk_len, const u8 *spa, const u8 *aa,
457 void rsn_pmkid(const u8 *pmk, size_t pmk_len, const u8 *aa, const u8 *spa,
461 const u8 *spa, u8 *pmkid);
464 const u8 *spa, u8 *pmkid) in rsn_pmkid_suite_b() argument
471 const u8 *spa, u8 *pmkid);
474 const u8 *aa, const u8 *spa, u8 *pmkid) in rsn_pmkid_suite_b_192() argument
634 const u8 *spa, const u8 *bssid,
/external/bcc/tests/python/
Dtest_xlate1.c45 orig_sip = arp->spa; in on_packet()
51 arp->spa = xleaf.xsip; in on_packet()
/external/usrsctp/programs/
Drtcweb.c508 struct sctp_sendv_spa spa; in send_user_message() local
519 memset(&spa, 0, sizeof(struct sctp_sendv_spa)); in send_user_message()
520 spa.sendv_sndinfo.snd_sid = channel->o_stream; in send_user_message()
523 spa.sendv_sndinfo.snd_flags = SCTP_EOR | SCTP_UNORDERED; in send_user_message()
525 spa.sendv_sndinfo.snd_flags = SCTP_EOR; in send_user_message()
527 spa.sendv_sndinfo.snd_ppid = htonl(DATA_CHANNEL_PPID_DOMSTRING); in send_user_message()
528 spa.sendv_flags = SCTP_SEND_SNDINFO_VALID; in send_user_message()
531 spa.sendv_prinfo.pr_policy = channel->pr_policy; in send_user_message()
532 spa.sendv_prinfo.pr_value = channel->pr_value; in send_user_message()
533 spa.sendv_flags |= SCTP_SEND_PRINFO_VALID; in send_user_message()
[all …]
/external/wpa_supplicant_8/src/rsn_supp/
Dpmksa_cache.h72 const u8 *aa, const u8 *spa, void *network_ctx, int akmp,
138 const u8 *aa, const u8 *spa, void *network_ctx, int akmp, in pmksa_cache_add() argument
/external/autotest/client/deps/lansim/src/py/
Dhost.py78 self.add_arp(hw_addr=pkt.arp.sha, ip_addr=pkt.arp.spa)
83 tpa = pkt.arp.spa, # Target Protocol Address.
85 spa = self._bin_ip_addr, # Source Protocol Address.

123