Home
last modified time | relevance | path

Searched refs:lws_cmdline_option (Results 1 – 25 of 118) sorted by relevance

12345

/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client/
Dminimal-http-client.c234 if (!lws_cmdline_option(a->argc, a->argv, "-n")) { in system_notify_cb()
238 if (lws_cmdline_option(a->argc, a->argv, "--long-poll")) { in system_notify_cb()
245 if (lws_cmdline_option(a->argc, a->argv, "-l")) { in system_notify_cb()
254 if (lws_cmdline_option(a->argc, a->argv, "--nossl")) in system_notify_cb()
262 if (lws_cmdline_option(a->argc, a->argv, "--h1")) in system_notify_cb()
265 if (lws_cmdline_option(a->argc, a->argv, "--h2-prior-knowledge")) in system_notify_cb()
268 if ((p = lws_cmdline_option(a->argc, a->argv, "-p"))) in system_notify_cb()
271 if ((p = lws_cmdline_option(a->argc, a->argv, "--user"))) in system_notify_cb()
273 if ((p = lws_cmdline_option(a->argc, a->argv, "--password"))) in system_notify_cb()
276 if (lws_cmdline_option(a->argc, a->argv, "-j")) in system_notify_cb()
[all …]
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-jit-trust/
Dminimal-http-client.c94 if (!lws_cmdline_option(a->argc, a->argv, "-n")) { in try_connect()
98 if (lws_cmdline_option(a->argc, a->argv, "--long-poll")) { in try_connect()
105 if (lws_cmdline_option(a->argc, a->argv, "-l")) { in try_connect()
114 if (lws_cmdline_option(a->argc, a->argv, "--nossl")) in try_connect()
122 if (lws_cmdline_option(a->argc, a->argv, "--h1")) in try_connect()
125 if (lws_cmdline_option(a->argc, a->argv, "--h2-prior-knowledge")) in try_connect()
128 if ((p = lws_cmdline_option(a->argc, a->argv, "-p"))) in try_connect()
131 if ((p = lws_cmdline_option(a->argc, a->argv, "--user"))) in try_connect()
133 if ((p = lws_cmdline_option(a->argc, a->argv, "--password"))) in try_connect()
136 if (lws_cmdline_option(a->argc, a->argv, "-j")) in try_connect()
[all …]
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-jwk/
Dmain.c80 if ((p = lws_cmdline_option(argc, argv, "-d"))) in main()
86 if ((p = lws_cmdline_option(argc, argv, "-b"))) in main()
89 if ((p = lws_cmdline_option(argc, argv, "-t"))) { in main()
118 if ((p = lws_cmdline_option(argc, argv, "-v"))) in main()
127 if ((p = lws_cmdline_option(argc, argv, "--kid"))) in main()
130 if ((p = lws_cmdline_option(argc, argv, "--use"))) in main()
133 if ((p = lws_cmdline_option(argc, argv, "--alg"))) in main()
136 if ((p = lws_cmdline_option(argc, argv, "--key-ops"))) in main()
139 if ((p = lws_cmdline_option(argc, argv, "--public")) && in main()
158 if (lws_cmdline_option(argc, argv, "-c")) in main()
[all …]
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-h2-rxflow/
Dminimal-http-client.c166 if (!lws_cmdline_option(a->argc, a->argv, "-n")) in system_notify_cb()
169 if (lws_cmdline_option(a->argc, a->argv, "-l")) { in system_notify_cb()
178 if (lws_cmdline_option(a->argc, a->argv, "--nossl")) in system_notify_cb()
185 if (lws_cmdline_option(a->argc, a->argv, "--h1")) in system_notify_cb()
188 if ((p = lws_cmdline_option(a->argc, a->argv, "-p"))) in system_notify_cb()
191 if (lws_cmdline_option(a->argc, a->argv, "-j")) in system_notify_cb()
194 if (lws_cmdline_option(a->argc, a->argv, "-k")) in system_notify_cb()
197 if (lws_cmdline_option(a->argc, a->argv, "-m")) in system_notify_cb()
200 if (lws_cmdline_option(a->argc, a->argv, "-e")) in system_notify_cb()
203 if ((p = lws_cmdline_option(a->argc, a->argv, "-f"))) { in system_notify_cb()
[all …]
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-echo/
Dminimal-ws-client-echo.c107 if ((p = lws_cmdline_option(argc, argv, "-d"))) in main()
114 if ((p = lws_cmdline_option(argc, argv, "-u"))) in main()
117 if ((p = lws_cmdline_option(argc, argv, "-p"))) in main()
120 if (lws_cmdline_option(argc, argv, "-o")) in main()
123 if (lws_cmdline_option(argc, argv, "--ssl")) in main()
126 if ((p = lws_cmdline_option(argc, argv, "-s"))) in main()
129 if ((p = lws_cmdline_option(argc, argv, "-i"))) in main()
138 if (!lws_cmdline_option(argc, argv, "-n")) in main()
152 if (lws_cmdline_option(argc, argv, "--libuv")) in main()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-perf/
Dminimal-secure-streams.c443 if (lws_cmdline_option(argc, argv, "--force-portal")) in main()
446 if (lws_cmdline_option(argc, argv, "--force-no-internet")) in main()
449 if (lws_cmdline_option(argc, argv, "--respmap")) in main()
452 if (lws_cmdline_option(argc, argv, "--test404")) in main()
455 if (lws_cmdline_option(argc, argv, "--test404red")) in main()
458 if (lws_cmdline_option(argc, argv, "--test404redref")) in main()
461 if ((p = lws_cmdline_option(argc, argv, "--timeout_ms"))) in main()
473 if ((p = lws_cmdline_option(argc, argv, "-p"))) in main()
479 if ((p = lws_cmdline_option(argc, argv, "-i"))) in main()
483 if ((p = lws_cmdline_option(argc, argv, "-a"))) in main()
[all …]
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-multi/
Dminimal-http-client-multi.c536 if (lws_cmdline_option(argc, argv, "--uv")) in main()
539 if (lws_cmdline_option(argc, argv, "--event")) in main()
542 if (lws_cmdline_option(argc, argv, "--ev")) in main()
545 if (lws_cmdline_option(argc, argv, "--glib")) in main()
550 staggered = !!lws_cmdline_option(argc, argv, "-s"); in main()
583 if (lws_cmdline_option(argc, argv, "--no-tls-session-reuse")) in main()
586 if ((p = lws_cmdline_option(argc, argv, "--limit"))) in main()
589 if ((p = lws_cmdline_option(argc, argv, "--ssl-handshake-serialize"))) in main()
614 if (lws_cmdline_option(argc, argv, "--post")) { in main()
622 if (lws_cmdline_option(argc, argv, "-p")) { in main()
[all …]
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-foreign/
Dminimal-http-server-eventlib-foreign.c233 if ((p = lws_cmdline_option(argc, argv, "-d"))) in main()
248 if ((p = lws_cmdline_option(argc, argv, "-p"))) in main()
257 if (lws_cmdline_option(argc, argv, "-s")) { in main()
268 if (lws_cmdline_option(argc, argv, "--uv")) { in main()
275 if (lws_cmdline_option(argc, argv, "--event")) { in main()
282 if (lws_cmdline_option(argc, argv, "--ev")) { in main()
289 if (lws_cmdline_option(argc, argv, "--glib")) { in main()
296 if (lws_cmdline_option(argc, argv, "--sd")) { in main()
303 if (lws_cmdline_option(argc, argv, "--uloop")) { in main()
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-sign/
Dmain.c113 if ((p = lws_cmdline_option(argc, argv, "-d"))) in main()
131 if ((p = lws_cmdline_option(argc, argv, "--stdin"))) { in main()
139 if ((p = lws_cmdline_option(argc, argv, "--stdout"))) { in main()
152 if (lws_cmdline_option(argc, argv, "--cose-sign")) in main()
155 if (lws_cmdline_option(argc, argv, "--cose-sign1")) in main()
158 if (lws_cmdline_option(argc, argv, "--cose-mac")) in main()
161 if (lws_cmdline_option(argc, argv, "--cose-mac0")) in main()
166 if (lws_cmdline_option(argc, argv, "-s")) in main()
169 if ((p = lws_cmdline_option(argc, argv, "--kid"))) { in main()
175 if ((p = lws_cmdline_option(argc, argv, "--kid-hex"))) { in main()
[all …]
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-smp/
Dminimal-http-server-eventlib-smp.c101 if ((p = lws_cmdline_option(argc, argv, "-d"))) in main()
118 if ((p = lws_cmdline_option(argc, argv, "-t"))) { in main()
126 if (lws_cmdline_option(argc, argv, "-s")) { in main()
133 if (lws_cmdline_option(argc, argv, "--uv")) in main()
136 if (lws_cmdline_option(argc, argv, "--event")) in main()
139 if (lws_cmdline_option(argc, argv, "--ev")) in main()
142 if (lws_cmdline_option(argc, argv, "--glib")) in main()
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client/
Dminimal-ws-client.c174 if ((p = lws_cmdline_option(argc, argv, "--protocol"))) in main()
177 if ((p = lws_cmdline_option(argc, argv, "-s"))) in main()
180 if ((p = lws_cmdline_option(argc, argv, "-p"))) in main()
183 if (lws_cmdline_option(argc, argv, "-n")) in main()
186 if (lws_cmdline_option(argc, argv, "-j")) in main()
189 if (lws_cmdline_option(argc, argv, "-k")) in main()
192 if (lws_cmdline_option(argc, argv, "-m")) in main()
195 if (lws_cmdline_option(argc, argv, "-e")) in main()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib/
Dminimal-http-server-eventlib.c73 if ((p = lws_cmdline_option(argc, argv, "-d"))) in main()
90 if (lws_cmdline_option(argc, argv, "-s")) { in main()
97 if (lws_cmdline_option(argc, argv, "--uv")) in main()
100 if (lws_cmdline_option(argc, argv, "--event")) in main()
103 if (lws_cmdline_option(argc, argv, "--ev")) in main()
106 if (lws_cmdline_option(argc, argv, "--glib")) in main()
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-x509/
Dmain.c68 if ((p = lws_cmdline_option(argc, argv, "-d"))) in main()
87 p = lws_cmdline_option(argc, argv, "-c"); in main()
98 p = lws_cmdline_option(argc, argv, "-t"); in main()
130 if ((p = lws_cmdline_option(argc, argv, "--alg"))) in main()
147 if ((p = lws_cmdline_option(argc, argv, "--alg"))) in main()
152 if (!lws_cmdline_option(argc, argv, "-p")) { in main()
161 p = lws_cmdline_option(argc, argv, "-p"); in main()
177 if ((p = lws_cmdline_option(argc, argv, "--alg"))) in main()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-stress/
Dminimal-secure-streams.c568 if ((p = lws_cmdline_option(argc, argv, "-c"))) in main()
574 if ((p = lws_cmdline_option(argc, argv, "-d"))) in main()
604 if (lws_cmdline_option(argc, argv, "--force-portal")) in main()
607 if (lws_cmdline_option(argc, argv, "--force-no-internet")) in main()
610 if (lws_cmdline_option(argc, argv, "--respmap")) in main()
613 if (lws_cmdline_option(argc, argv, "--ots")) in main()
620 if ((p = lws_cmdline_option(argc, argv, "--timeout_ms"))) in main()
623 if ((p = lws_cmdline_option(argc, argv, "--budget"))) in main()
629 if ((p = lws_cmdline_option(argc, argv, "--pass-limit"))) in main()
641 if ((p = lws_cmdline_option(argc, argv, "-p"))) in main()
[all …]
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-demos/
Dminimal-http-server-eventlib-demos.c152 if ((p = lws_cmdline_option(argc, argv, "-d"))) in main()
169 if (lws_cmdline_option(argc, argv, "-s")) { in main()
177 if (lws_cmdline_option(argc, argv, "--uv")) in main()
180 if (lws_cmdline_option(argc, argv, "--event")) in main()
183 if (lws_cmdline_option(argc, argv, "--ev")) in main()
186 if (lws_cmdline_option(argc, argv, "--glib")) in main()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-blob/
Dminimal-secure-streams.c502 if (lws_cmdline_option(argc, argv, "--force-portal")) in main()
505 if (lws_cmdline_option(argc, argv, "--force-no-internet")) in main()
508 if (lws_cmdline_option(argc, argv, "--respmap")) in main()
511 if (lws_cmdline_option(argc, argv, "--ots")) in main()
518 if ((p = lws_cmdline_option(argc, argv, "--timeout_ms"))) in main()
521 if (lws_cmdline_option(argc, argv, "--blob")) { in main()
540 if ((p = lws_cmdline_option(argc, argv, "-p"))) in main()
546 if ((p = lws_cmdline_option(argc, argv, "-i"))) in main()
550 if ((p = lws_cmdline_option(argc, argv, "-a"))) in main()
633 if ((p = lws_cmdline_option(argc, argv, "--expected-exit"))) in main()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams/
Dminimal-secure-streams.c549 if (lws_cmdline_option(argc, argv, "--force-portal")) in main()
552 if (lws_cmdline_option(argc, argv, "--force-no-internet")) in main()
555 if (lws_cmdline_option(argc, argv, "--respmap")) in main()
558 if (lws_cmdline_option(argc, argv, "--ots")) in main()
565 if (lws_cmdline_option(argc, argv, "--local")) in main()
568 if ((p = lws_cmdline_option(argc, argv, "--timeout_ms"))) in main()
580 if ((p = lws_cmdline_option(argc, argv, "-p"))) in main()
586 if ((p = lws_cmdline_option(argc, argv, "-i"))) in main()
590 if ((p = lws_cmdline_option(argc, argv, "-a"))) in main()
673 if ((p = lws_cmdline_option(argc, argv, "--expected-exit"))) in main()
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-proxy-fallback/
Dminimal-raw-proxy-fallback.c86 if ((p = lws_cmdline_option(argc, argv, "-d"))) in main()
92 if ((p = lws_cmdline_option(argc, argv, "-r"))) { in main()
110 if (lws_cmdline_option(argc, argv, "-s")) { in main()
116 if (lws_cmdline_option(argc, argv, "-u")) in main()
119 if (lws_cmdline_option(argc, argv, "-h")) in main()
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-spam-tx-rx/
Dminimal-ws-client.c154 if (lws_cmdline_option(argc, argv, "-d")) in main()
171 if ((p = lws_cmdline_option(argc, argv, "-h"))) { in main()
175 if ((p = lws_cmdline_option(argc, argv, "-s"))) { in main()
182 if ((p = lws_cmdline_option(argc, argv, "-p"))) { in main()
188 if ((p = lws_cmdline_option(argc, argv, "-n"))) { in main()
199 if ((p = lws_cmdline_option(argc, argv, "-c"))) { in main()
204 if ((p = lws_cmdline_option(argc, argv, "-m"))) { in main()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-metadata/
Dminimal-secure-streams.c283 if (lws_cmdline_option(argc, argv, "--force-portal")) in main()
286 if (lws_cmdline_option(argc, argv, "--force-no-internet")) in main()
297 if ((p = lws_cmdline_option(argc, argv, "-p"))) in main()
303 if ((p = lws_cmdline_option(argc, argv, "-i"))) in main()
307 if ((p = lws_cmdline_option(argc, argv, "-a"))) in main()
315 if ((p = lws_cmdline_option(argc, argv, "-u"))) in main()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-smd/
Dminimal-secure-streams-smd.c265 if (lws_cmdline_option(argc, argv, "--multi")) in main()
271 if ((p = lws_cmdline_option(argc, argv, "--count"))) in main()
274 if ((p = lws_cmdline_option(argc, argv, "--interval"))) in main()
289 if ((p = lws_cmdline_option(argc, argv, "-p"))) in main()
295 if ((p = lws_cmdline_option(argc, argv, "-i"))) in main()
299 if ((p = lws_cmdline_option(argc, argv, "-a"))) in main()
363 if ((p = lws_cmdline_option(argc, argv, "--expected-exit"))) in main()
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-key/
Dmain.c124 if ((p = lws_cmdline_option(argc, argv, "-d"))) in main()
142 if ((p = lws_cmdline_option(argc, argv, "--stdin"))) { in main()
150 if ((p = lws_cmdline_option(argc, argv, "--stdout"))) { in main()
158 if ((p = lws_cmdline_option(argc, argv, "--kid"))) { in main()
164 if ((p = lws_cmdline_option(argc, argv, "--kid-hex"))) { in main()
250 p = lws_cmdline_option(argc, argv, "--kty"); in main()
275 crv = lws_cmdline_option(argc, argv, "--curve"); in main()
282 p = lws_cmdline_option(argc, argv, "--bits"); in main()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-echo/
Dminimal-ws-server-echo.c80 if ((p = lws_cmdline_option(argc, argv, "-d"))) in main()
88 if ((p = lws_cmdline_option(argc, argv, "-p"))) in main()
91 if (lws_cmdline_option(argc, argv, "-o")) in main()
98 if (!lws_cmdline_option(argc, argv, "-n")) in main()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server/
Dminimal-ws-server.c82 if ((p = lws_cmdline_option(argc, argv, "-d"))) in main()
100 if (lws_cmdline_option(argc, argv, "-s")) { in main()
108 if (lws_cmdline_option(argc, argv, "-h")) in main()
111 if (lws_cmdline_option(argc, argv, "-v")) in main()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-pmd-bulk/
Dminimal-ws-server-pmd-bulk.c105 if ((p = lws_cmdline_option(argc, argv, "-d"))) in main()
120 if (!lws_cmdline_option(argc, argv, "-n")) in main()
123 if (lws_cmdline_option(argc, argv, "-c")) in main()
126 if (lws_cmdline_option(argc, argv, "-b")) in main()

12345