Home
last modified time | relevance | path

Searched refs:ssi (Results 1 – 25 of 50) sorted by relevance

12

/third_party/lwip/src/apps/http/
Dhttpd.c264 struct http_ssi_state *ssi; member
388 if (hs->next->ssi != NULL) { in http_kill_oldest_connection()
435 http_ssi_state_free(struct http_ssi_state *ssi) in http_ssi_state_free() argument
437 if (ssi != NULL) { in http_ssi_state_free()
438 HTTP_FREE_SSI_STATE(ssi); in http_ssi_state_free()
497 if (hs->ssi) { in http_state_eof()
498 http_ssi_state_free(hs->ssi); in http_state_eof()
499 hs->ssi = NULL; in http_state_eof()
767 struct http_ssi_state *ssi; local
773 ssi = hs->ssi;
[all …]
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-avs/
Davs.c299 lws_ss_info_t ssi; in ss_avs_event_state() local
319 memset(&ssi, 0, sizeof(ssi)); in ss_avs_event_state()
320 ssi.handle_offset = offsetof(ss_avs_metadata_t, ss); in ss_avs_event_state()
321 ssi.opaque_user_data_offset = offsetof(ss_avs_metadata_t, in ss_avs_event_state()
323 ssi.rx = ss_avs_metadata_rx; in ss_avs_event_state()
324 ssi.tx = ss_avs_metadata_tx; in ss_avs_event_state()
325 ssi.state = ss_avs_metadata_state; in ss_avs_event_state()
326 ssi.user_alloc = sizeof(ss_avs_metadata_t); in ss_avs_event_state()
327 ssi.streamtype = "avs_metadata"; in ss_avs_event_state()
339 if (lws_ss_create(context, 0, &ssi, context, &hss_avs_sync, in ss_avs_event_state()
[all …]
/third_party/libwebsockets/lib/secure-streams/cpp/
Dlss.cxx54 lws_ss_info_t ssi; in lss() local
57 memset(&ssi, 0, sizeof(ssi)); in lss()
71 ssi.handle_offset = offsetof(lssPriv, lssPriv::m_ss); in lss()
72 ssi.opaque_user_data_offset = offsetof(lssPriv, lssPriv::m_plss); in lss()
74 ssi.user_alloc = sizeof(lssPriv); in lss()
75 ssi.rx = rx; in lss()
76 ssi.tx = tx; in lss()
77 ssi.state = state; in lss()
78 ssi.policy = &pol; /* we will provide our own policy */ in lss()
122 if (lws_ss_create(ctx, 0, &ssi, (void *)this, &m_ss, NULL, NULL)) in lss()
/third_party/libwebsockets/lib/secure-streams/system/fetch-policy/
Dfetch-policy.c137 lws_ss_info_t ssi; in lws_ss_sys_fetch_policy() local
144 memset(&ssi, 0, sizeof(ssi)); in lws_ss_sys_fetch_policy()
145 ssi.handle_offset = offsetof(ss_fetch_policy_t, ss); in lws_ss_sys_fetch_policy()
146 ssi.opaque_user_data_offset = offsetof(ss_fetch_policy_t, opaque_data); in lws_ss_sys_fetch_policy()
147 ssi.rx = ss_fetch_policy_rx; in lws_ss_sys_fetch_policy()
148 ssi.tx = ss_fetch_policy_tx; in lws_ss_sys_fetch_policy()
149 ssi.state = ss_fetch_policy_state; in lws_ss_sys_fetch_policy()
150 ssi.user_alloc = sizeof(ss_fetch_policy_t); in lws_ss_sys_fetch_policy()
151 ssi.streamtype = "fetch_policy"; in lws_ss_sys_fetch_policy()
153 if (lws_ss_create(context, 0, &ssi, context, &context->hss_fetch_policy, in lws_ss_sys_fetch_policy()
/third_party/libwebsockets/lib/secure-streams/
Dsecure-streams-client.c83 if (!h->ssi.state) in lws_sspc_event_helper()
87 ret = h->ssi.state((void *)((uint8_t *)&h[1]), NULL, cs, flags); in lws_sspc_event_helper()
132 lws_metrics_tag_add(&h->cal_txn.mtags_owner, "ss", h->ssi.streamtype); in lws_sspc_sul_retry_cb()
236 if (h->ssi.state) { in callback_sspc_client()
241 r = h->ssi.state(lws_sspc_to_user_object(h), NULL, in callback_sspc_client()
252 lwsl_sspc_info(h, "CONNECTED (%s)", h->ssi.streamtype); in callback_sspc_client()
281 if (h->ss_dangling_connected && h->ssi.state) { in callback_sspc_client()
286 r = h->ssi.state(ss_to_userobj(h), NULL, in callback_sspc_client()
335 &h->ssi, 1); in callback_sspc_client()
404 n = (int)strlen(h->ssi.streamtype) + 1 + 4 + 4; in callback_sspc_client()
[all …]
Dsecure-streams.c937 lws_ss_create(struct lws_context *context, int tsi, const lws_ss_info_t *ssi, in lws_ss_create() argument
954 pol = ssi->policy; in lws_ss_create()
969 lws_fi_inherit_copy(&temp_fic, &context->fic, "ss", ssi->streamtype); in lws_ss_create()
974 pol = lws_ss_policy_lookup(context, ssi->streamtype); in lws_ss_create()
978 pol = lws_ss_policy_lookup(context, ssi->streamtype); in lws_ss_create()
982 ssi->streamtype); in lws_ss_create()
990 if (ssi->flags & LWSSSINFLAGS_REGISTER_SINK) { in lws_ss_create()
1004 __func__, ssi->streamtype); in lws_ss_create()
1029 size = sizeof(*h) + ssi->user_alloc + in lws_ss_create()
1030 (ssi->streamtype ? strlen(ssi->streamtype): 0) + 1; in lws_ss_create()
[all …]
Dsecure-streams-serialize.c363 lws_ss_handle_t **pss, lws_ss_info_t *ssi, char client) in lws_ss_deserialize_parse() argument
618 client_pss_to_sspc_h(pss, ssi) && in lws_ss_deserialize_parse()
619 ssi->rx) { in lws_ss_deserialize_parse()
623 ret = ssi->rx(client_pss_to_userdata(pss), in lws_ss_deserialize_parse()
628 if (lws_fi(&client_pss_to_sspc_h(pss, ssi)->fic, in lws_ss_deserialize_parse()
764 if (ssi->rx && client_pss_to_sspc_h(pss, ssi)) { in lws_ss_deserialize_parse()
768 ret = ssi->rx(client_pss_to_userdata(pss), in lws_ss_deserialize_parse()
771 if (client_pss_to_sspc_h(pss, ssi) && in lws_ss_deserialize_parse()
772 lws_fi(&client_pss_to_sspc_h(pss, ssi)->fic, "sspc_rx_fake_destroy_me")) in lws_ss_deserialize_parse()
1041 client_pss_to_sspc_h(pss, ssi); in lws_ss_deserialize_parse()
[all …]
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-seq/
Dminimal-secure-streams.c234 lws_ss_info_t ssi; in min_sec_str_sequencer_cb() local
246 memset(&ssi, 0, sizeof(ssi)); in min_sec_str_sequencer_cb()
247 ssi.handle_offset = offsetof(myss_t, ss); in min_sec_str_sequencer_cb()
248 ssi.opaque_user_data_offset = offsetof(myss_t, opaque_data); in min_sec_str_sequencer_cb()
249 ssi.rx = myss_rx; in min_sec_str_sequencer_cb()
250 ssi.tx = myss_tx; in min_sec_str_sequencer_cb()
251 ssi.state = myss_state; in min_sec_str_sequencer_cb()
252 ssi.user_alloc = sizeof(myss_t); in min_sec_str_sequencer_cb()
256 ssi.streamtype = "mintest-fail"; in min_sec_str_sequencer_cb()
260 ssi.streamtype = "minpost"; in min_sec_str_sequencer_cb()
[all …]
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-alexa/
Dalexa.c620 lws_ss_info_t ssi; in avs_query_start() local
624 memset(&ssi, 0, sizeof(ssi)); in avs_query_start()
625 ssi.handle_offset = offsetof(ss_avs_metadata_t, ss); in avs_query_start()
626 ssi.opaque_user_data_offset = offsetof(ss_avs_metadata_t, opaque_data); in avs_query_start()
627 ssi.rx = ss_avs_metadata_rx; in avs_query_start()
628 ssi.tx = ss_avs_metadata_tx; in avs_query_start()
629 ssi.state = ss_avs_metadata_state; in avs_query_start()
630 ssi.user_alloc = sizeof(ss_avs_metadata_t); in avs_query_start()
631 ssi.streamtype = "avs_metadata"; in avs_query_start()
633 ssi.manual_initial_tx_credit = 8192; in avs_query_start()
[all …]
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-metadata/
Dminimal-secure-streams.c230 lws_ss_info_t ssi; in app_system_state_nf() local
234 memset(&ssi, 0, sizeof(ssi)); in app_system_state_nf()
235 ssi.handle_offset = offsetof(myss_t, ss); in app_system_state_nf()
236 ssi.opaque_user_data_offset = offsetof(myss_t, in app_system_state_nf()
238 ssi.rx = myss_rx; in app_system_state_nf()
239 ssi.tx = myss_tx; in app_system_state_nf()
240 ssi.state = myss_state; in app_system_state_nf()
241 ssi.user_alloc = sizeof(myss_t); in app_system_state_nf()
242 ssi.streamtype = "mintest"; in app_system_state_nf()
244 if (lws_ss_create(context, 0, &ssi, NULL, NULL, in app_system_state_nf()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/
Dminimal-secure-streams.c150 lws_ss_info_t ssi; in app_system_state_nf() local
154 memset(&ssi, 0, sizeof(ssi)); in app_system_state_nf()
155 ssi.handle_offset = offsetof(myss_t, ss); in app_system_state_nf()
156 ssi.opaque_user_data_offset = offsetof(myss_t, in app_system_state_nf()
158 ssi.rx = myss_rx; in app_system_state_nf()
159 ssi.tx = myss_tx; in app_system_state_nf()
160 ssi.state = myss_state; in app_system_state_nf()
161 ssi.user_alloc = sizeof(myss_t); in app_system_state_nf()
162 ssi.streamtype = "mintest"; in app_system_state_nf()
164 if (lws_ss_create(context, 0, &ssi, NULL, NULL, in app_system_state_nf()
/third_party/typescript/tests/baselines/reference/
DspreadMethods.js25 let ssi = { ...i, ...i }; variable
29 ssi.p;
30 ssi.m(); // ok
31 ssi.g; // ok
63 let ssi = { ...i, ...i };
67 ssi.p;
68 ssi.m(); // ok
69 ssi.g; // ok
DspreadMethods.symbols73 let ssi = { ...i, ...i };
74 >ssi : Symbol(ssi, Decl(spreadMethods.ts, 23, 3))
93 ssi.p;
94 >ssi.p : Symbol(I.p, Decl(spreadMethods.ts, 5, 13))
95 >ssi : Symbol(ssi, Decl(spreadMethods.ts, 23, 3))
98 ssi.m(); // ok
99 >ssi.m : Symbol(I.m, Decl(spreadMethods.ts, 6, 14))
100 >ssi : Symbol(ssi, Decl(spreadMethods.ts, 23, 3))
103 ssi.g; // ok
104 >ssi.g : Symbol(g, Decl(spreadMethods.ts, 7, 14))
[all …]
DspreadMethods.types89 let ssi = { ...i, ...i };
90 >ssi : { p: number; m(): void; g: number; }
111 ssi.p;
112 >ssi.p : number
113 >ssi : { p: number; m(): void; g: number; }
116 ssi.m(); // ok
117 >ssi.m() : void
118 >ssi.m : () => void
119 >ssi : { p: number; m(): void; g: number; }
122 ssi.g; // ok
[all …]
/third_party/libwebsockets/lib/secure-streams/system/auth-api.amazon.com/
Dauth.c266 lws_ss_info_t ssi; in lws_ss_sys_auth_api_amazon_com() local
273 memset(&ssi, 0, sizeof(ssi)); in lws_ss_sys_auth_api_amazon_com()
274 ssi.handle_offset = offsetof(ss_api_amazon_auth_t, ss); in lws_ss_sys_auth_api_amazon_com()
275 ssi.opaque_user_data_offset = offsetof(ss_api_amazon_auth_t, opaque_data); in lws_ss_sys_auth_api_amazon_com()
276 ssi.rx = ss_api_amazon_auth_rx; in lws_ss_sys_auth_api_amazon_com()
277 ssi.tx = ss_api_amazon_auth_tx; in lws_ss_sys_auth_api_amazon_com()
278 ssi.state = ss_api_amazon_auth_state; in lws_ss_sys_auth_api_amazon_com()
279 ssi.user_alloc = sizeof(ss_api_amazon_auth_t); in lws_ss_sys_auth_api_amazon_com()
280 ssi.streamtype = "api_amazon_com_auth"; in lws_ss_sys_auth_api_amazon_com()
282 if (lws_ss_create(context, 0, &ssi, context, &context->hss_auth, in lws_ss_sys_auth_api_amazon_com()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-post/
Dminimal-secure-streams-post.c429 lws_ss_info_t ssi; in app_system_state_nf() local
433 memset(&ssi, 0, sizeof(ssi)); in app_system_state_nf()
434 ssi.handle_offset = offsetof(myss_t, ss); in app_system_state_nf()
435 ssi.opaque_user_data_offset = offsetof(myss_t, in app_system_state_nf()
437 ssi.rx = myss_rx; in app_system_state_nf()
438 ssi.tx = myss_tx; in app_system_state_nf()
439 ssi.state = myss_state; in app_system_state_nf()
440 ssi.user_alloc = sizeof(myss_t); in app_system_state_nf()
441 ssi.streamtype = "minpost"; in app_system_state_nf()
443 if (lws_ss_create(context, 0, &ssi, NULL, NULL, in app_system_state_nf()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-perf/
Dminimal-secure-streams.c366 lws_ss_info_t ssi; in app_system_state_nf() local
370 memset(&ssi, 0, sizeof(ssi)); in app_system_state_nf()
371 ssi.handle_offset = offsetof(myss_t, ss); in app_system_state_nf()
372 ssi.opaque_user_data_offset = offsetof(myss_t, in app_system_state_nf()
374 ssi.rx = myss_rx; in app_system_state_nf()
375 ssi.tx = myss_tx; in app_system_state_nf()
376 ssi.state = myss_state; in app_system_state_nf()
377 ssi.user_alloc = sizeof(myss_t); in app_system_state_nf()
378 ssi.streamtype = test_respmap ? "respmap" : streamtype; in app_system_state_nf()
380 if (lws_ss_create(context, 0, &ssi, NULL, NULL, in app_system_state_nf()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams/
Dminimal-secure-streams.c462 lws_ss_info_t ssi; in app_system_state_nf() local
466 memset(&ssi, 0, sizeof(ssi)); in app_system_state_nf()
467 ssi.handle_offset = offsetof(myss_t, ss); in app_system_state_nf()
468 ssi.opaque_user_data_offset = offsetof(myss_t, in app_system_state_nf()
470 ssi.rx = myss_rx; in app_system_state_nf()
471 ssi.tx = myss_tx; in app_system_state_nf()
472 ssi.state = myss_state; in app_system_state_nf()
474 ssi.dump = myss_headers_dump; in app_system_state_nf()
476 ssi.user_alloc = sizeof(myss_t); in app_system_state_nf()
477 ssi.streamtype = test_ots ? "mintest-ots" : in app_system_state_nf()
[all …]
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-blob/
Dminimal-secure-streams.c423 lws_ss_info_t ssi; in app_system_state_nf() local
427 memset(&ssi, 0, sizeof(ssi)); in app_system_state_nf()
428 ssi.handle_offset = offsetof(myss_t, ss); in app_system_state_nf()
429 ssi.opaque_user_data_offset = offsetof(myss_t, in app_system_state_nf()
431 ssi.rx = myss_rx; in app_system_state_nf()
432 ssi.tx = myss_tx; in app_system_state_nf()
433 ssi.state = myss_state; in app_system_state_nf()
434 ssi.user_alloc = sizeof(myss_t); in app_system_state_nf()
435 ssi.streamtype = test_ots ? "mintest-ots" : in app_system_state_nf()
439 if (lws_ss_create(context, 0, &ssi, NULL, NULL, in app_system_state_nf()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-testsfail/
Dminimal-secure-streams-testsfail.c716 lws_ss_info_t ssi; in tests_start_next() local
736 memset(&ssi, 0, sizeof(ssi)); in tests_start_next()
737 ssi.handle_offset = offsetof(myss_t, ss); in tests_start_next()
738 ssi.opaque_user_data_offset = offsetof(myss_t, opaque_data); in tests_start_next()
739 ssi.rx = myss_rx; in tests_start_next()
740 ssi.tx = myss_tx; in tests_start_next()
741 ssi.state = myss_state; in tests_start_next()
742 ssi.user_alloc = sizeof(myss_t); in tests_start_next()
743 ssi.streamtype = ts->streamtype; in tests_start_next()
747 if (lws_ss_create(context, 0, &ssi, ts, &h, NULL, NULL)) { in tests_start_next()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-stress/
Dminimal-secure-streams.c404 lws_ss_info_t ssi; in create_ss() local
411 memset(&ssi, 0, sizeof(ssi)); in create_ss()
412 ssi.handle_offset = offsetof(myss_t, ss); in create_ss()
413 ssi.opaque_user_data_offset = offsetof(myss_t, opaque_data); in create_ss()
414 ssi.rx = myss_rx; in create_ss()
415 ssi.tx = myss_tx; in create_ss()
416 ssi.state = myss_state; in create_ss()
418 ssi.dump = myss_headers_dump; in create_ss()
420 ssi.user_alloc = sizeof(myss_t); in create_ss()
421 ssi.streamtype = test_ots ? "mintest-ots" : in create_ss()
[all …]
/third_party/libwebsockets/minimal-examples/api-tests/api-test-secure-streams/
Dmain.c124 const lws_ss_info_t *ssi; member
239 if (!(++next_test)->ssi) { in myss_state()
245 if (lws_ss_create(context, 0, next_test->ssi, in myss_state()
294 { .ssi = &ssi_get },
295 { .ssi = &ssi_get404, .expect_nack = 1 },
296 { .ssi = &ssi_post, .send = 4096 },
297 { .ssi = NULL }
319 if (lws_ss_create(context, 0, next_test->ssi, in app_system_state_nf()
/third_party/lzma/C/
D7zArcIn.c861 static SRes ReadSubStreamsInfo(CSzAr *p, CSzData *sd, CSubStreamInfo *ssi) in ReadSubStreamsInfo() argument
875 ssi->sdNumSubStreams.Data = sd->Data; in ReadSubStreamsInfo()
890 ssi->sdNumSubStreams.Size = (size_t)(sd->Data - ssi->sdNumSubStreams.Data); in ReadSubStreamsInfo()
898 if (!ssi->sdNumSubStreams.Data) in ReadSubStreamsInfo()
905 ssi->NumTotalSubStreams = numUnpackStreams; in ReadSubStreamsInfo()
906 ssi->NumSubDigests = numSubDigests; in ReadSubStreamsInfo()
910 ssi->sdSizes.Data = sd->Data; in ReadSubStreamsInfo()
912 ssi->sdSizes.Size = (size_t)(sd->Data - ssi->sdSizes.Data); in ReadSubStreamsInfo()
922 ssi->sdCRCs.Data = sd->Data; in ReadSubStreamsInfo()
924 ssi->sdCRCs.Size = (size_t)(sd->Data - ssi->sdCRCs.Data); in ReadSubStreamsInfo()
[all …]
/third_party/typescript/tests/cases/conformance/types/spread/
DspreadMethods.ts27 let ssi = { ...i, ...i }; variable
31 ssi.p;
32 ssi.m(); // ok
33 ssi.g; // ok
/third_party/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
55 .altsize=ssi, \
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

12