/external/libwebsockets/minimal-examples/api-tests/api-test-lws_tokenize/ |
D | main.c | 182 expected1, LWS_ARRAY_SIZE(expected1), 186 expected2, LWS_ARRAY_SIZE(expected2), 190 expected3, LWS_ARRAY_SIZE(expected3), 194 expected4, LWS_ARRAY_SIZE(expected4), 198 expected5, LWS_ARRAY_SIZE(expected5), 202 expected6, LWS_ARRAY_SIZE(expected6), 206 expected7, LWS_ARRAY_SIZE(expected7), 211 expected8, LWS_ARRAY_SIZE(expected8), 216 expected9, LWS_ARRAY_SIZE(expected9), 221 expected10, LWS_ARRAY_SIZE(expected10), [all …]
|
/external/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-alexa/ |
D | audio.c | 89 avhd->npos = (avhd->npos + 1) % LWS_ARRAY_SIZE(avhd->p); in spool_capture() 309 if (try > LWS_ARRAY_SIZE(vhd->p)) in callback_audio() 310 try = LWS_ARRAY_SIZE(vhd->p); in callback_audio() 356 n = snd_pcm_readi(vhd->pcm_capture, temp, LWS_ARRAY_SIZE(temp)); in callback_audio() 359 vhd->p[(vhd->wpos + s) % LWS_ARRAY_SIZE(vhd->p)] = temp[s]; in callback_audio() 382 for (s = 0; s < (int)LWS_ARRAY_SIZE(rands); s++) { in callback_audio() 389 avg = (avg / (int)LWS_ARRAY_SIZE(rands)) / 10000; in callback_audio() 430 s = (vhd->wpos - vhd->porcpos) % LWS_ARRAY_SIZE(vhd->p); in callback_audio() 437 LWS_ARRAY_SIZE(vhd->p); in callback_audio() 458 vhd->wpos = (vhd->wpos + n) % LWS_ARRAY_SIZE(vhd->p); in callback_audio()
|
/external/libwebsockets/lib/roles/dbus/ |
D | dbus.c | 161 for (n = 0; n < (int)LWS_ARRAY_SIZE(ctx->w); n++) in lws_dbus_add_watch() 165 if (n == (int)LWS_ARRAY_SIZE(ctx->w)) in lws_dbus_add_watch() 166 for (n = 0; n < (int)LWS_ARRAY_SIZE(ctx->w); n++) in lws_dbus_add_watch() 172 for (n = 0; n < (int)LWS_ARRAY_SIZE(ctx->w); n++) in lws_dbus_add_watch() 199 for (n = 0; n < (int)LWS_ARRAY_SIZE(ctx->w); n++) in check_destroy_shadow_wsi() 233 for (n = 0; n < (int)LWS_ARRAY_SIZE(ctx->w); n++) in lws_dbus_remove_watch() 239 for (n = 0; n < (int)LWS_ARRAY_SIZE(ctx->w); n++) in lws_dbus_remove_watch() 346 for (n = 0; n < (int)LWS_ARRAY_SIZE(ctx->w); n++) in lws_dbus_connection_setup() 453 for (n = 0; n < (int)LWS_ARRAY_SIZE(ctx->w); n++) in rops_handle_POLLIN_dbus()
|
/external/libwebsockets/lib/roles/h2/ |
D | minihuf.c | 19 #define LWS_ARRAY_SIZE(n) (sizeof(n) / sizeof(n[0])) macro 342 while (m < LWS_ARRAY_SIZE(state)) { in main() 350 while (n < LWS_ARRAY_SIZE(huf_literal)) { in main() 475 for (n = 0; n < LWS_ARRAY_SIZE(huf_literal); n++) { in main()
|
D | hpack.c | 225 if (ah->nfrag >= LWS_ARRAY_SIZE(ah->frag_index)) { in lws_frag_start() 381 if (index < (int)LWS_ARRAY_SIZE(static_token)) { in lws_token_from_index() 382 if (arg && index < (int)LWS_ARRAY_SIZE(http2_canned)) { in lws_token_from_index() 397 if (index >= (int)LWS_ARRAY_SIZE(static_token) + dyn->used_entries) { in lws_token_from_index() 399 (int)LWS_ARRAY_SIZE(static_token) + dyn->used_entries); in lws_token_from_index() 405 index -= (int)LWS_ARRAY_SIZE(static_token); in lws_token_from_index() 440 (uint32_t)LWS_ARRAY_SIZE(static_token), in lws_h2_dynamic_table_dump() 453 (int)(n + LWS_ARRAY_SIZE(static_token)), p, in lws_h2_dynamic_table_dump() 558 __func__, (long)LWS_ARRAY_SIZE(static_token), in lws_dynamic_token_insert() 738 if (idx < (int)LWS_ARRAY_SIZE(http2_canned)) in lws_hpack_use_idx_hdr()
|
/external/libwebsockets/lwsws/ |
D | main.c | 209 for (m = 0; m < (int)LWS_ARRAY_SIZE(pids); m++) in reload_handler() 222 for (m = 0; m < (int)LWS_ARRAY_SIZE(pids); m++) in reload_handler() 284 for (m = 0; m < (int)LWS_ARRAY_SIZE(pids); m++) in main() 295 for (m = 0; m < (int)LWS_ARRAY_SIZE(pids); m++) in main()
|
/external/libwebsockets/include/libwebsockets/ |
D | lws-struct.h | 152 LWS_ARRAY_SIZE(cmap), \ 164 LWS_ARRAY_SIZE(cmap), \ 176 LWS_ARRAY_SIZE(map), \ 188 LWS_ARRAY_SIZE(map), \
|
D | lws-lejp.h | 34 #if !defined(LWS_ARRAY_SIZE) 35 #define LWS_ARRAY_SIZE(_x) (sizeof(_x) / sizeof(_x[0])) macro
|
/external/libwebsockets/lib/roles/http/compression/ |
D | stream.c | 53 for (n = 0; n < LWS_ARRAY_SIZE(lcs_available); n++) in lws_http_compression_validate() 66 for (n = 0; n < LWS_ARRAY_SIZE(lcs_available); n++) { in lws_http_compression_apply() 81 if (n == LWS_ARRAY_SIZE(lcs_available)) in lws_http_compression_apply()
|
/external/libwebsockets/minimal-examples/ws-server/minimal-ws-server-pmd-corner/ |
D | protocol_lws_minimal.c | 231 if (pss->last > (int)LWS_ARRAY_SIZE(corner_lengths)) in callback_minimal() 292 c->count_protocols = LWS_ARRAY_SIZE(protocols); in init_protocol_minimal()
|
/external/libwebsockets/plugins/ |
D | protocol_post_demo.c | 139 for (n = 0; n < (int)LWS_ARRAY_SIZE(param_names); n++) { in format_result() 178 LWS_ARRAY_SIZE(param_names), 1024, in callback_post_demo() 301 c->count_protocols = LWS_ARRAY_SIZE(protocols); in init_protocol_post_demo()
|
/external/libwebsockets/minimal-examples/api-tests/api-test-async-dns/ |
D | main.c | 194 if (dtest == (int)LWS_ARRAY_SIZE(adt)) in cb1() 238 for (n = 0; n < (int)LWS_ARRAY_SIZE(ipt); n++) { in main() 263 for (n = 0; n < (int)LWS_ARRAY_SIZE(ipt); n++) { in main()
|
/external/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads/ |
D | protocol_lws_minimal.c | 188 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in callback_minimal() 200 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in callback_minimal() 314 c->count_protocols = LWS_ARRAY_SIZE(protocols); in init_protocol_minimal()
|
/external/libwebsockets/lib/system/ntpclient/ |
D | ntpclient.c | 55 botable, LWS_ARRAY_SIZE(botable), LWS_RETRY_CONCEAL_ALWAYS, 0, 0, 20 }; 66 botable2, LWS_ARRAY_SIZE(botable2), LWS_ARRAY_SIZE(botable2),
|
/external/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-smp/ |
D | protocol_lws_minimal.c | 189 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in callback_minimal() 201 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in callback_minimal() 321 c->count_protocols = LWS_ARRAY_SIZE(protocols); in init_protocol_minimal()
|
/external/libwebsockets/minimal-examples/api-tests/api-test-lws_struct-json/ |
D | main.c | 336 for (m = 0; m < (int)LWS_ARRAY_SIZE(json_tests); m++) { in main() 344 a.map_entries_st[0] = LWS_ARRAY_SIZE(lsm_schema_map); in main() 401 LWS_ARRAY_SIZE(lsm_schema_map), in main()
|
/external/libwebsockets/lib/roles/http/ |
D | header.c | 32 if ((unsigned int)token >= LWS_ARRAY_SIZE(set)) in lws_token_to_string() 300 if (code >= 400 && code < (400 + LWS_ARRAY_SIZE(err400))) in lws_add_http_header_status() 302 if (code >= 500 && code < (500 + LWS_ARRAY_SIZE(err500))) in lws_add_http_header_status() 315 if (wsi->http.request_version < LWS_ARRAY_SIZE(hver)) in lws_add_http_header_status() 342 headers = &pvo_hsbph[LWS_ARRAY_SIZE(pvo_hsbph) - 1]; in lws_add_http_header_status()
|
D | parsers.c | 696 if (wsi->http.ah->nfrag == LWS_ARRAY_SIZE(wsi->http.ah->frags)) { in lws_hdr_simple_create() 816 if (ah->nfrag >= LWS_ARRAY_SIZE(ah->frags)) in lws_parse_urldecode() 919 if (ah->nfrag >= LWS_ARRAY_SIZE(ah->frags)) in lws_parse_urldecode() 1012 for (m = 0; m < LWS_ARRAY_SIZE(methods); m++) in lws_parse() 1015 if (m == LWS_ARRAY_SIZE(methods)) in lws_parse() 1243 for (m = 0; m < LWS_ARRAY_SIZE(methods); m++) in lws_parse() 1256 if (m != LWS_ARRAY_SIZE(methods)) { in lws_parse() 1308 for (m = 0; m < LWS_ARRAY_SIZE(methods); m++) in lws_parse() 1354 if (ah->nfrag == LWS_ARRAY_SIZE(ah->frags)) { in lws_parse()
|
/external/libwebsockets/lib/jose/jwk/ |
D | jwk.c | 293 lws_jwk_destroy_elements(jwk->e, LWS_ARRAY_SIZE(jwk->e)); in lws_jwk_destroy() 294 lws_jwk_destroy_elements(jwk->meta, LWS_ARRAY_SIZE(jwk->meta)); in lws_jwk_destroy() 347 for (n = 0; n < LWS_ARRAY_SIZE(tok_map); n++) in cb_jwk() 550 LWS_ARRAY_SIZE(jwk_tok)); in lws_jwk_init_jps() 690 limit = LWS_ARRAY_SIZE(lexico_oct); in lws_jwk_export() 694 limit = LWS_ARRAY_SIZE(lexico_rsa); in lws_jwk_export() 699 limit = LWS_ARRAY_SIZE(lexico_ec); in lws_jwk_export()
|
/external/libwebsockets/lib/plat/optee/ |
D | lws-plat-optee.c | 106 int n, m = LWS_ARRAY_SIZE(colours) - 1; in lwsl_emit_optee() 110 n = 1 << (LWS_ARRAY_SIZE(colours) - 1); in lwsl_emit_optee()
|
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-form-post-lwsac/ |
D | minimal-http-server-form-post.c | 76 i.count_params = LWS_ARRAY_SIZE(param_names); in callback_http() 100 for (n = 0; n < (int)LWS_ARRAY_SIZE(param_names); n++) { in callback_http()
|
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-form-post/ |
D | minimal-http-server-form-post.c | 72 LWS_ARRAY_SIZE(param_names), 1024, in callback_http() 99 for (n = 0; n < (int)LWS_ARRAY_SIZE(param_names); n++) { in callback_http()
|
/external/libwebsockets/minimal-examples/ws-client/minimal-ws-client/ |
D | minimal-ws-client.c | 42 .retry_ms_table_count = LWS_ARRAY_SIZE(backoff_ms), 43 .conceal_count = LWS_ARRAY_SIZE(backoff_ms),
|
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-form-post-file/ |
D | minimal-http-server-form-post-file.c | 131 LWS_ARRAY_SIZE(param_names), 1024, in callback_http() 151 for (n = 0; n < (int)LWS_ARRAY_SIZE(param_names); n++) { in callback_http()
|
/external/libwebsockets/lib/core/ |
D | logs.c | 124 int n, m = LWS_ARRAY_SIZE(colours) - 1; in _lwsl_emit_stderr() 136 n = 1 << (LWS_ARRAY_SIZE(colours) - 1); in _lwsl_emit_stderr()
|