/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_tokenize/ |
D | main.c | 186 expected1, LWS_ARRAY_SIZE(expected1), 190 expected2, LWS_ARRAY_SIZE(expected2), 194 expected3, LWS_ARRAY_SIZE(expected3), 198 expected4, LWS_ARRAY_SIZE(expected4), 202 expected5, LWS_ARRAY_SIZE(expected5), 206 expected6, LWS_ARRAY_SIZE(expected6), 210 expected7, LWS_ARRAY_SIZE(expected7), 215 expected8, LWS_ARRAY_SIZE(expected8), 220 expected9, LWS_ARRAY_SIZE(expected9), 225 expected10, LWS_ARRAY_SIZE(expected10), [all …]
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lecp/ |
D | main.c | 4185 .seq = seq1, .seq_size = LWS_ARRAY_SIZE(seq1) }, 4187 .seq = seq2, .seq_size = LWS_ARRAY_SIZE(seq2) }, 4189 .seq = seq3, .seq_size = LWS_ARRAY_SIZE(seq3) }, 4191 .seq = seq4, .seq_size = LWS_ARRAY_SIZE(seq4) }, 4193 .seq = seq5, .seq_size = LWS_ARRAY_SIZE(seq5) }, 4195 .seq = seq6, .seq_size = LWS_ARRAY_SIZE(seq6) }, 4197 .seq = seq7, .seq_size = LWS_ARRAY_SIZE(seq7) }, 4199 .seq = seq8, .seq_size = LWS_ARRAY_SIZE(seq8) }, 4201 .seq = seq9, .seq_size = LWS_ARRAY_SIZE(seq9) }, 4203 .seq = seq10, .seq_size = LWS_ARRAY_SIZE(seq10) }, [all …]
|
/third_party/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()
|
/third_party/libwebsockets/lib/roles/dbus/ |
D | dbus.c | 169 for (n = 0; n < (int)LWS_ARRAY_SIZE(ctx->w); n++) in lws_dbus_add_watch() 173 if (n == (int)LWS_ARRAY_SIZE(ctx->w)) in lws_dbus_add_watch() 174 for (n = 0; n < (int)LWS_ARRAY_SIZE(ctx->w); n++) in lws_dbus_add_watch() 180 for (n = 0; n < (int)LWS_ARRAY_SIZE(ctx->w); n++) in lws_dbus_add_watch() 211 for (n = 0; n < (int)LWS_ARRAY_SIZE(ctx->w); n++) in __check_destroy_shadow_wsi() 246 for (n = 0; n < (int)LWS_ARRAY_SIZE(ctx->w); n++) in lws_dbus_remove_watch() 252 for (n = 0; n < (int)LWS_ARRAY_SIZE(ctx->w); n++) in lws_dbus_remove_watch() 391 for (n = 0; n < (int)LWS_ARRAY_SIZE(ctx->w); n++) in lws_dbus_connection_setup() 498 for (n = 0; n < (int)LWS_ARRAY_SIZE(ctx->w); n++) in rops_handle_POLLIN_dbus()
|
/third_party/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() 377 if (index < (int)LWS_ARRAY_SIZE(static_token)) { in lws_token_from_index() 378 if (arg && index < (int)LWS_ARRAY_SIZE(http2_canned)) { in lws_token_from_index() 393 if (index >= (int)LWS_ARRAY_SIZE(static_token) + dyn->used_entries) { in lws_token_from_index() 395 (int)LWS_ARRAY_SIZE(static_token) + dyn->used_entries); in lws_token_from_index() 401 index -= (int)LWS_ARRAY_SIZE(static_token); in lws_token_from_index() 436 (uint32_t)LWS_ARRAY_SIZE(static_token), in lws_h2_dynamic_table_dump() 449 (int)(n + LWS_ARRAY_SIZE(static_token)), p, in lws_h2_dynamic_table_dump() 556 __func__, (long)LWS_ARRAY_SIZE(static_token), in lws_dynamic_token_insert() 736 if (idx < (int)LWS_ARRAY_SIZE(http2_canned)) in lws_hpack_use_idx_hdr()
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-jose/ |
D | jws.c | 837 char der_buf[LWS_ARRAY_SIZE(rsa_cert)]; in test_jwt_RS256() 846 if (lws_x509_parse_from_pem(pub, rsa_cert, LWS_ARRAY_SIZE(rsa_cert))) { in test_jwt_RS256() 857 LWS_ARRAY_SIZE(rsa_key), NULL)) { in test_jwt_RS256() 863 LWS_ARRAY_SIZE(der_buf) - sizeof(*der_info) + in test_jwt_RS256() 877 LWS_ARRAY_SIZE(sha1sum), sha1_fingerprint, in test_jwt_RS256() 878 LWS_ARRAY_SIZE(sha1_fingerprint)); in test_jwt_RS256() 895 char jose_hdr[LWS_ARRAY_SIZE(hdr_fmt) + LWS_ARRAY_SIZE(sha1_fingerprint)]; in test_jwt_RS256() 900 ….jose_hdr_len = (size_t)lws_snprintf(jose_hdr, LWS_ARRAY_SIZE(jose_hdr), hdr_fmt, sha1_fingerprint… in test_jwt_RS256()
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-struct.h | 153 LWS_ARRAY_SIZE(cmap), \ 165 LWS_ARRAY_SIZE(cmap), \ 177 LWS_ARRAY_SIZE(map), \ 189 LWS_ARRAY_SIZE(map), \
|
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-c3dev/main/ |
D | devices.c | 43 .count_buttons = LWS_ARRAY_SIZE(bcm), 57 .count_pwm_map = LWS_ARRAY_SIZE(pwm_map) 91 .count_leds = LWS_ARRAY_SIZE(lgm)
|
/third_party/libwebsockets/lib/drivers/display/ |
D | ssd1306-i2c.c | 66 LWS_ARRAY_SIZE(ssd1306_128x64_init))) { in lws_display_ssd1306_i2c_init() 84 ba, LWS_ARRAY_SIZE(ba)); in lws_display_ssd1306_i2c_contrast() 112 ba, LWS_ARRAY_SIZE(ba))) { in lws_display_ssd1306_i2c_blit()
|
/third_party/libwebsockets/lwsws/ |
D | main.c | 215 for (m = 0; m < (int)LWS_ARRAY_SIZE(pids); m++) in reload_handler() 228 for (m = 0; m < (int)LWS_ARRAY_SIZE(pids); m++) in reload_handler() 294 for (m = 0; m < (int)LWS_ARRAY_SIZE(pids); m++) in main() 305 for (m = 0; m < (int)LWS_ARRAY_SIZE(pids); m++) in main()
|
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-heltec-wb32/main/ |
D | devices.c | 64 .count_buttons = LWS_ARRAY_SIZE(bcm), 78 .count_pwm_map = LWS_ARRAY_SIZE(pwm_map) 110 .count_leds = LWS_ARRAY_SIZE(lgm)
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_struct-json/ |
D | main.c | 534 for (m = 0; m < (int)LWS_ARRAY_SIZE(json_tests); m++) { in main() 542 a.map_entries_st[0] = LWS_ARRAY_SIZE(lsm_schema_map); in main() 599 LWS_ARRAY_SIZE(lsm_schema_map), in main() 687 a.map_entries_st[0] = LWS_ARRAY_SIZE(t2_map); in main() 724 LWS_ARRAY_SIZE(lsm_netdev_schema), 0, &netdevs); in main() 778 a.map_entries_st[0] = LWS_ARRAY_SIZE(lsm_jig_schema); in main()
|
/third_party/libwebsockets/lib/roles/http/ |
D | header.c | 32 if ((unsigned int)token >= LWS_ARRAY_SIZE(set)) in lws_token_to_string() 47 for (n = 0; n < (int)LWS_ARRAY_SIZE(set); n++) in lws_http_string_to_known_header() 335 if (code >= 400 && code < (400 + LWS_ARRAY_SIZE(err400))) in lws_add_http_header_status() 337 if (code >= 500 && code < (500 + LWS_ARRAY_SIZE(err500))) in lws_add_http_header_status() 350 if (wsi->http.request_version < LWS_ARRAY_SIZE(hver)) in lws_add_http_header_status() 377 headers = &pvo_hsbph[LWS_ARRAY_SIZE(pvo_hsbph) - 1]; in lws_add_http_header_status()
|
/third_party/libwebsockets/lib/cose/ |
D | cose_key.c | 162 if (!kty || kty >= (int)LWS_ARRAY_SIZE(kty_strings)) { in lws_cose_key_checks() 276 for (n = 0; n < (int)LWS_ARRAY_SIZE(cose_curves); n++) in lws_cose_curve_name_to_id() 288 for (n = 0; n < (int)LWS_ARRAY_SIZE(cose_curves); n++) in lws_cose_curve_id_to_name() 469 if (cps->seen_count >= (int)LWS_ARRAY_SIZE(cps->seen)) in cb_cose_key() 680 for (n = 0; n < LWS_ARRAY_SIZE(wk_algs); n++) in cb_cose_key() 687 if (n == LWS_ARRAY_SIZE(wk_algs)) in cb_cose_key() 744 lws_cose_key_destroy_elements(ck->e, LWS_ARRAY_SIZE(ck->e)); in lws_cose_key_destroy() 745 lws_cose_key_destroy_elements(ck->meta, LWS_ARRAY_SIZE(ck->meta)); in lws_cose_key_destroy() 1015 for (n = 0; n < (int)LWS_ARRAY_SIZE(ck->e); n++) in lws_cose_key_export() 1072 if (ctx->opaque[1] == LWS_ARRAY_SIZE(ck->e) + in lws_cose_key_export()
|
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-wrover-kit/main/ |
D | devices.c | 50 .count_buttons = LWS_ARRAY_SIZE(bcm), 67 .count_pwm_map = LWS_ARRAY_SIZE(pwm_map) 112 .count_leds = LWS_ARRAY_SIZE(lgm)
|
/third_party/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()
|
/third_party/libwebsockets/plugins/ |
D | protocol_post_demo.c | 149 for (n = 0; n < (int)LWS_ARRAY_SIZE(param_names); n++) { in format_result() 189 LWS_ARRAY_SIZE(param_names), 1024, in callback_post_demo() 310 .count_protocols = LWS_ARRAY_SIZE(post_demo_protocols),
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lejp/ |
D | main.c | 159 for (m = 0; m < (int)LWS_ARRAY_SIZE(json_tests); m++) { in main() 163 lejp_construct(&ctx, test_cb, NULL, tok, LWS_ARRAY_SIZE(tok)); in main()
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-foreign-libuv-smp/ |
D | protocol_lws_minimal.c | 92 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in thread_spam() 196 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in callback_minimal() 208 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in callback_minimal()
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-smp/ |
D | protocol_lws_minimal.c | 88 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in thread_spam() 193 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in callback_minimal() 205 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in callback_minimal()
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads/ |
D | protocol_lws_minimal.c | 88 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in thread_spam() 192 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in callback_minimal() 204 for (n = 0; n < (int)LWS_ARRAY_SIZE(vhd->pthread_spam); n++) in callback_minimal()
|
/third_party/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),
|
/third_party/libwebsockets/lib/jose/jwk/ |
D | jose_key.c | 230 for (n = 0; n < LWS_ARRAY_SIZE(tok_map); n++) in cb_jwk() 429 LWS_ARRAY_SIZE(jwk_tok)); in lws_jwk_import() 472 limit = LWS_ARRAY_SIZE(lexico_oct); in lws_jwk_export() 476 limit = LWS_ARRAY_SIZE(lexico_rsa); in lws_jwk_export() 481 limit = LWS_ARRAY_SIZE(lexico_ec); in lws_jwk_export()
|
/third_party/libwebsockets/lib/secure-streams/cpp/ |
D | lss.cxx | 87 for (n = 0; n < LWS_ARRAY_SIZE(pcols); n++) in lss() 91 if (n == LWS_ARRAY_SIZE(pcols)) in lss()
|