Home
last modified time | relevance | path

Searched refs:lwsl_user (Results 1 – 25 of 117) sorted by relevance

12345

/external/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-foreign/
Dminimal-http-server-eventlib-foreign.c322 lwsl_user("Foreign 1Hz timer\n"); in foreign_timer_service()
329 lwsl_user("lws_destroy_context() done, continuing for 5s\n"); in foreign_timer_service()
347 lwsl_user("LWS Context created and will be active for 10s\n"); in foreign_timer_service()
353 lwsl_user("Destroying lws context and continuing loop for 5s\n"); in foreign_timer_service()
359 lwsl_user("Deciding to exit foreign loop too\n"); in foreign_timer_service()
397 lwsl_user("LWS minimal http server eventlib + foreign loop |" in main()
438 lwsl_user(" This app creates a foreign event loop with a timer +\n"); in main()
439 lwsl_user(" signalhandler, and performs a test in three phases:\n"); in main()
440 lwsl_user("\n"); in main()
441 lwsl_user(" 1) 5s: Runs the loop with just the timer\n"); in main()
[all …]
/external/libwebsockets/minimal-examples/raw/minimal-raw-netcat/
Dminimal-raw-netcat.c49 lwsl_user("LWS_CALLBACK_RAW_ADOPT_FILE\n"); in callback_raw_test()
53 lwsl_user("LWS_CALLBACK_RAW_CLOSE_FILE\n"); in callback_raw_test()
65 lwsl_user("LWS_CALLBACK_RAW_RX_FILE\n"); in callback_raw_test()
80 lwsl_user("LWS_CALLBACK_RAW_ADOPT\n"); in callback_raw_test()
85 lwsl_user("LWS_CALLBACK_RAW_CLOSE\n"); in callback_raw_test()
97 lwsl_user("LWS_CALLBACK_RAW_RX (%d)\n", (int)len); in callback_raw_test()
104 lwsl_user("LWS_CALLBACK_RAW_WRITEABLE\n"); in callback_raw_test()
116 lwsl_user("LWS_CALLBACK_TIMER\n"); in callback_raw_test()
154 lwsl_user("LWS minimal raw netcat [--server ip] [--port port] [-w ms]\n"); in main()
217 lwsl_user("Starting connect to %s:%s...\n", server, port); in main()
[all …]
/external/libwebsockets/minimal-examples/mqtt-client/minimal-mqtt-client/
Dminimal-mqtt-client.c168 lwsl_user("%s: CLIENT_CLOSED\n", __func__); in callback_mqtt()
173 lwsl_user("%s: MQTT_CLIENT_ESTABLISHED\n", __func__); in callback_mqtt()
179 lwsl_user("%s: MQTT_SUBSCRIBED\n", __func__); in callback_mqtt()
191 lwsl_user("%s: WRITEABLE: Subscribing\n", __func__); in callback_mqtt()
204 lwsl_user("%s: WRITEABLE: Publish\n", __func__); in callback_mqtt()
238 lwsl_user("%s: MQTT_ACK\n", __func__); in callback_mqtt()
257 lwsl_user("%s: MQTT_RESEND\n", __func__); in callback_mqtt()
270 lwsl_user("%s: MQTT_CLIENT_RX\n", __func__); in callback_mqtt()
312 lwsl_user("LWS minimal MQTT client %s [-d<verbosity>][-s]\n", in main()
339 lwsl_user("Completed: %s\n", bad ? "failed" : "OK"); in main()
/external/libwebsockets/minimal-examples/http-client/minimal-http-client-multi/
Dminimal-http-client-multi.c68 lwsl_user("LWS_CALLBACK_ESTABLISHED_CLIENT_HTTP: idx: %d, resp %u\n", in callback_http()
82 lwsl_user("RECEIVE_CLIENT_HTTP_READ: conn %d: read %d\n", idx, (int)len); in callback_http()
91 lwsl_user("%s: doing POST flow\n", __func__); in callback_http()
95 lwsl_user("%s: doing GET flow\n", __func__); in callback_http()
111 lwsl_user("LWS_CALLBACK_COMPLETED_CLIENT_HTTP %p: idx %d\n", in callback_http()
135 lwsl_user("LWS_CALLBACK_CLIENT_HTTP_WRITEABLE: %p, part %d\n", wsi, pss->body_part); in callback_http()
198 lwsl_user("Done: all OK\n"); in callback_http()
287 lwsl_user("Done: failed: %d\n", failed); in lws_try_client_connection()
291 lwsl_user("started connection %p: idx %d (%s)\n", in lws_try_client_connection()
355 lwsl_user("LWS minimal http client [-s (staggered)] [-p (pipeline)]\n"); in main()
[all …]
/external/libwebsockets/minimal-examples/mqtt-client/minimal-mqtt-client-multi/
Dminimal-mqtt-client-multi.c205 lwsl_user("%s: item %d: CLIENT_CLOSED %p\n", __func__, (int)(item - &items[0]), wsi); in callback_mqtt()
212 lwsl_user("%s: MQTT_CLIENT_ESTABLISHED: %p\n", __func__, wsi); in callback_mqtt()
218 lwsl_user("%s: MQTT_SUBSCRIBED\n", __func__); in callback_mqtt()
227 lwsl_user("%s: item %d: UNSUBSCRIBED: %p: Received unsuback\n", in callback_mqtt()
249 lwsl_user("%s: item %d: WRITEABLE: %p: Subscribing\n", __func__, (int)(item - &items[0]), wsi); in callback_mqtt()
262 lwsl_user("%s: item %d: WRITEABLE: %p: Publish\n", __func__, (int)(item - &items[0]), wsi); in callback_mqtt()
298 lwsl_user("%s: item %d: UNSUBSCRIBE: %p: Send unsub\n", in callback_mqtt()
313 lwsl_user("%s: item %d: MQTT_ACK (state %d)\n", __func__, (int)(item - &items[0]), pss->state); in callback_mqtt()
329 lwsl_user("%s: MQTT_RESEND\n", __func__); in callback_mqtt()
344 lwsl_user("%s: item %d: MQTT_CLIENT_RX (%s) pos %d/%d len %d\n", __func__, in callback_mqtt()
[all …]
/external/libwebsockets/minimal-examples/http-client/minimal-http-client-attach/
Dminimal-http-client-attach.c45 lwsl_user("Connected to %s, http response: %d\n", in callback_http()
52 lwsl_user("RECEIVE_CLIENT_HTTP_READ: read %d\n", (int)len); in callback_http()
80 lwsl_user("LWS_CALLBACK_COMPLETED_CLIENT_HTTP\n"); in callback_http()
123 lwsl_user("%s: called from tid %p\n", __func__, (void *)pthread_self()); in attach_callback()
181 lwsl_user("%s: tid %p\n", __func__, (void *)pthread_self()); in lws_create()
221 lwsl_user("%s: main thread tid %p\n", __func__, (void *)pthread_self()); in main()
222 lwsl_user("LWS minimal http client attach\n"); in main()
272 lwsl_user("%s: finished\n", __func__); in main()
/external/libwebsockets/minimal-examples/api-tests/api-test-dhcpc/
Dmain.c20 lwsl_user("%s: dhcp set OK\n", __func__); in lws_dhcpc_cb()
42 lwsl_user("LWS API selftest: DHCP Client\n"); in main()
57 lwsl_user("%s: requesting DHCP for %s\n", __func__, nif); in main()
73 lwsl_user("Completed: PASS: %d / %d, FAIL: %d\n", ok, exp, in main()
76 lwsl_user("Completed: ALL PASS: %d / %d\n", ok, exp); in main()
/external/libwebsockets/minimal-examples/http-client/minimal-http-client-post/
Dminimal-http-client-post.c62 lwsl_user("Connected with server response: %d\n", status); in callback_http()
66 lwsl_user("RECEIVE_CLIENT_HTTP_READ: read %d\n", (int)len); in callback_http()
78 lwsl_user("LWS_CALLBACK_COMPLETED_CLIENT_HTTP\n"); in callback_http()
100 lwsl_user("%s: doing POST flow\n", __func__); in callback_http()
104 lwsl_user("%s: doing GET flow\n", __func__); in callback_http()
110 lwsl_user("LWS_CALLBACK_CLIENT_HTTP_WRITEABLE\n"); in callback_http()
198 lwsl_user("LWS minimal http client - POST [-d<verbosity>] [-l] [--h1]\n"); in main()
268 lwsl_user("Completed: %s\n", bad ? "failed" : "OK"); in main()
/external/libwebsockets/minimal-examples/api-tests/api-test-lws_sequencer/
Dmain.c141 lwsl_user("%s: wsi %p: seq failed at CLOSED_CLIENT_HTTP\n", in callback_http()
264 lwsl_user("%s: test %d got expected timeout\n", in sequencer_cb()
268 lwsl_user("%s: seq timed out at step %d\n", __func__, s->state); in sequencer_cb()
276 lwsl_user("%s: test %d failed as expected\n", in sequencer_cb()
281 lwsl_user("%s: seq failed at step %d\n", __func__, s->state); in sequencer_cb()
291 lwsl_user("%s: seq failed at step %d\n", __func__, in sequencer_cb()
296 lwsl_user("%s: seq done step %d (resp %d)\n", __func__, in sequencer_cb()
304 lwsl_user("%s: sequence completed OK\n", __func__); in sequencer_cb()
341 lwsl_user("LWS API selftest: lws_sequencer\n"); in main()
394 lwsl_user("Completed: %s\n", !test_good ? "FAIL" : "PASS"); in main()
/external/libwebsockets/minimal-examples/ws-client/minimal-ws-client-echo/
Dprotocol_lws_minimal_client_echo.c78 lwsl_user("connecting to %s:%d/%s\n", i.address, i.port, i.path); in connect_client()
150 lwsl_user("LWS_CALLBACK_CLIENT_ESTABLISHED\n"); in callback_minimal_client_echo()
160 lwsl_user("LWS_CALLBACK_CLIENT_WRITEABLE\n"); in callback_minimal_client_echo()
169 lwsl_user(" (nothing in ring)\n"); in callback_minimal_client_echo()
185 lwsl_user(" wrote %d: flags: 0x%x first: %d final %d\n", in callback_minimal_client_echo()
210 lwsl_user("LWS_CALLBACK_CLIENT_RECEIVE: %4d (rpp %5d, first %d, last %d, bin %d)\n", in callback_minimal_client_echo()
223 lwsl_user("dropping!\n"); in callback_minimal_client_echo()
231 lwsl_user("OOM: dropping\n"); in callback_minimal_client_echo()
238 lwsl_user("dropping!\n"); in callback_minimal_client_echo()
262 lwsl_user("LWS_CALLBACK_CLIENT_CLOSED\n"); in callback_minimal_client_echo()
/external/libwebsockets/minimal-examples/raw/minimal-raw-adopt-tcp/
Dminimal-raw-adopt-tcp.c47 lwsl_user("LWS_CALLBACK_RAW_ADOPT\n"); in callback_raw_test()
52 lwsl_user("LWS_CALLBACK_RAW_CLOSE\n"); in callback_raw_test()
56 lwsl_user("LWS_CALLBACK_RAW_RX (%d)\n", (int)len); in callback_raw_test()
110 lwsl_user("LWS minimal raw adopt tcp\n"); in main()
162 lwsl_user("Starting connect...\n"); in main()
171 lwsl_user("Connected...\n"); in main()
/external/libwebsockets/minimal-examples/ws-server/minimal-ws-server-echo/
Dprotocol_lws_minimal_server_echo.c107 lwsl_user("LWS_CALLBACK_SERVER_WRITEABLE\n"); in callback_minimal_server_echo()
117 lwsl_user(" (nothing in ring)\n"); in callback_minimal_server_echo()
133 lwsl_user(" wrote %d: flags: 0x%x first: %d final %d\n", in callback_minimal_server_echo()
157 lwsl_user("LWS_CALLBACK_RECEIVE: %4d (rpp %5d, first %d, " in callback_minimal_server_echo()
176 lwsl_user("dropping!\n"); in callback_minimal_server_echo()
189 lwsl_user("OOM: dropping\n"); in callback_minimal_server_echo()
196 lwsl_user("dropping!\n"); in callback_minimal_server_echo()
208 lwsl_user("LWS_CALLBACK_CLOSED\n"); in callback_minimal_server_echo()
/external/libwebsockets/minimal-examples/ws-server/minimal-ws-server-timer/
Dminimal-ws-server.c28 lwsl_user("LWS_CALLBACK_ESTABLISHED\n"); in callback_protocol()
34 lwsl_user("LWS_CALLBACK_TIMER\n"); in callback_protocol()
40 lwsl_user("LWS_CALLBACK_CLOSED\n"); in callback_protocol()
107 lwsl_user("LWS minimal ws server | visit http://localhost:7681 (-s = use TLS / https)\n"); in main()
119 lwsl_user("Server using TLS\n"); in main()
/external/libwebsockets/minimal-examples/ws-client/minimal-ws-client-spam/
Dminimal-ws-client-spam.c47 lwsl_user("Reached limit... finishing\n"); in connect_client()
113 lwsl_user("%s: established (try %d, est %d, closed %d, err %d)\n", in callback_minimal_spam()
125 lwsl_user("%s: leaving CLOSED (try %d, est %d, sent %d, closed %d, err %d)\n", in callback_minimal_spam()
133 lwsl_user("%s: reopening (try %d, est %d, closed %d, err %d)\n", in callback_minimal_spam()
139 lwsl_user("CLOSED: can't find client wsi\n"); in callback_minimal_spam()
196 lwsl_user("LWS minimal ws client SPAM\n"); in main()
258 lwsl_user("Completed\n"); in main()
/external/libwebsockets/minimal-examples/ws-server/minimal-ws-server-ring/
Dprotocol_lws_minimal.c73 lwsl_user("Killing lagging client %p\n", (*ppss)->wsi); in cull_lagging_clients()
135 lwsl_user("%s: shrunk ring from %d to %d\n", __func__, before, most); in cull_lagging_clients()
185 lwsl_user("LWS_CALLBACK_ESTABLISHED: wsi %p\n", wsi); in callback_minimal()
192 lwsl_user("LWS_CALLBACK_CLOSED: wsi %p\n", wsi); in callback_minimal()
239 lwsl_user("LWS_CALLBACK_RECEIVE: free space %d\n", n); in callback_minimal()
245 lwsl_user("OOM: dropping\n"); in callback_minimal()
253 lwsl_user("dropping!\n"); in callback_minimal()
/external/libwebsockets/minimal-examples/ws-client/minimal-ws-client-pmd-bulk/
Dminimal-ws-client-pmd-bulk.c94 lwsl_user("LWS minimal ws client + permessage-deflate + multifragment bulk message\n"); in main()
95 lwsl_user(" needs minimal-ws-server-pmd-bulk running to communicate with\n"); in main()
96 lwsl_user(" %s [-n (no exts)] [-c (compressible)]\n", argv[0]); in main()
129 lwsl_user("Completed %s\n", interrupted == 2 ? "OK" : "failed"); in main()
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-form-post/
Dminimal-http-server-form-post.c93 lwsl_user("LWS_CALLBACK_HTTP_BODY_COMPLETION\n"); in callback_http()
101 lwsl_user("%s: undefined\n", param_names[n]); in callback_http()
103 lwsl_user("%s: (len %d) '%s'\n", in callback_http()
190 lwsl_user("LWS minimal http server POST | visit http://localhost:7681\n"); in main()
206 lwsl_user("%s: using 303 redirect\n", __func__); in main()
/external/libwebsockets/minimal-examples/http-client/minimal-http-client-custom-headers/
Dminimal-http-client-custom-headers.c55 lwsl_user("Connected with server response: %d\n", status); in callback_http()
81 lwsl_user("RECEIVE_CLIENT_HTTP_READ: read %d\n", (int)len); in callback_http()
108 lwsl_user("LWS_CALLBACK_COMPLETED_CLIENT_HTTP\n"); in callback_http()
165 lwsl_user("LWS minimal http client Custom Headers [-d<verbosity>] [-l] [--h1]\n"); in main()
225 lwsl_user("Completed: %s\n", bad ? "failed" : "OK"); in main()
/external/libwebsockets/minimal-examples/api-tests/api-test-lws_dsh/
Dmain.c340 lwsl_user("LWS API selftest: lws_dsh\n"); in main()
343 lwsl_user("%s: test1: %d\n", __func__, n); in main()
347 lwsl_user("%s: test2: %d\n", __func__, n); in main()
351 lwsl_user("%s: test3: %d\n", __func__, n); in main()
355 lwsl_user("%s: test4: %d\n", __func__, n); in main()
358 lwsl_user("Completed: %s\n", ret ? "FAIL" : "PASS"); in main()
/external/libwebsockets/lib/abstract/
Dtest-sequencer.c137 lwsl_user("%s: test %d got expected timeout\n", in test_sequencer_cb()
142 lwsl_user("%s: seq timed out at step %d\n", __func__, s->state); in test_sequencer_cb()
152 lwsl_user("%s: test %d failed as expected\n", in test_sequencer_cb()
158 lwsl_user("%s: seq failed at step %d\n", __func__, s->state); in test_sequencer_cb()
170 lwsl_user("%s: seq failed at step %d\n", __func__, in test_sequencer_cb()
188 lwsl_user("%s: sequence completed OK\n", __func__); in test_sequencer_cb()
/external/libwebsockets/minimal-examples/http-client/minimal-http-client/
Dminimal-http-client.c51 lwsl_user("Connected to %s, http response: %d\n", in callback_http()
56 lwsl_user("%s: Client entering long poll mode\n", __func__); in callback_http()
85 lwsl_user("RECEIVE_CLIENT_HTTP_READ: read %d\n", (int)len); in callback_http()
121 lwsl_user("LWS_CALLBACK_COMPLETED_CLIENT_HTTP\n"); in callback_http()
182 lwsl_user("%s: long poll mode\n", __func__); in system_notify_cb()
275 lwsl_user("LWS minimal http client [-d<verbosity>] [-l] [--h1]\n"); in main()
319 lwsl_user("Completed: %s\n", bad ? "failed" : "OK"); in main()
/external/libwebsockets/minimal-examples/ws-client/minimal-ws-client-tx/
Dminimal-ws-client.c85 lwsl_user("dropping!\n"); in thread_spam()
91 lwsl_user("OOM: dropping\n"); in thread_spam()
101 lwsl_user("dropping!\n"); in thread_spam()
212 lwsl_user("%s: established\n", __func__); in callback_minimal_broker()
314 lwsl_user("LWS minimal ws client tx\n"); in main()
315 lwsl_user(" Run minimal-ws-broker and browse to that\n"); in main()
339 lwsl_user("Completed\n"); in main()
/external/libwebsockets/minimal-examples/ws-client/minimal-ws-client-rx/
Dminimal-ws-client.c38 lwsl_user("%s: established\n", __func__); in callback_dumb_increment()
42 lwsl_user("RX: %s\n", (const char *)in); in callback_dumb_increment()
96 lwsl_user("LWS minimal ws client rx [-d <logs>] [--h2] [-t (test)]\n"); in main()
146 lwsl_user("Completed %s\n", rx_seen > 10 ? "OK" : "Failed"); in main()
/external/libwebsockets/minimal-examples/raw/minimal-raw-adopt-udp/
Dminimal-raw-adopt-udp.c50 lwsl_user("LWS_CALLBACK_RAW_ADOPT\n"); in callback_raw_test()
54 lwsl_user("LWS_CALLBACK_RAW_CLOSE\n"); in callback_raw_test()
58 lwsl_user("LWS_CALLBACK_RAW_RX (%d)\n", (int)len); in callback_raw_test()
149 lwsl_user("LWS minimal raw adopt udp | nc -u 127.0.0.1 7681\n"); in main()
/external/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-sink/
Dmain.c152 lwsl_user("%s: len %d, flags: %d\n", __func__, (int)len, flags); in myss_rx()
182 lwsl_user("%s: %s, ord 0x%x\n", __func__, lws_ss_state_name(state), in myss_state()
216 lwsl_user("LWS secure streams [-d<verb>] [-f] [-p] [--h1post]\n"); in main()
285 lwsl_user("Completed: %s\n", bad ? "failed" : "OK"); in main()

12345