/external/libwebsockets/lib/core/ |
D | context.c | 113 for (n = 0; n < context->count_threads; n++) in lws_state_notify_protocol_init() 199 int n, count_threads = 1; in lws_create_context() local 249 if (info->count_threads) in lws_create_context() 250 count_threads = info->count_threads; in lws_create_context() 252 if (count_threads > LWS_MAX_SMP) in lws_create_context() 253 count_threads = LWS_MAX_SMP; in lws_create_context() 259 size += count_threads * (s1 + sizeof(struct lws)); in lws_create_context() 292 context->count_threads = count_threads; in lws_create_context() 417 int mf = lpf * context->count_threads; in lws_create_context() 529 if (context->count_threads) in lws_create_context() [all …]
|
D | libwebsockets.c | 195 for (n = 0; n < context->count_threads; n++) { in lws_pthread_self_to_tsi() 251 return context->count_threads; in lws_get_count_threads()
|
D | private-lib-core.h | 516 short count_threads; member
|
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-smp/ |
D | minimal-http-server-smp.c | 97 info.count_threads = atoi(p); in main() 98 if (info.count_threads < 1 || info.count_threads > LWS_MAX_SMP) in main() 101 info.count_threads = COUNT_THREADS; in main()
|
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-smp/ |
D | minimal-http-server-eventlib-smp.c | 112 info.count_threads = atoi(p); in main() 113 if (info.count_threads < 1 || info.count_threads > LWS_MAX_SMP) in main() 116 info.count_threads = COUNT_THREADS; in main()
|
/external/libwebsockets/lib/plat/windows/ |
D | windows-init.c | 63 int i, n = context->count_threads; in lws_plat_init() 96 int n = context->count_threads; in lws_plat_context_early_destroy()
|
/external/libwebsockets/lib/core-net/ |
D | stats.c | 137 for (m = 0; m < context->count_threads; m++) { in lws_stats_log_dump() 149 for (m = 0; m < context->count_threads; m++) in lws_stats_log_dump() 180 for (n = 0; n < context->count_threads; n++) { in lws_stats_log_dump()
|
D | server.c | 240 for (n = 0; n < context->count_threads; n++) { in lws_json_dump_context() 301 for (n = 0; n < context->count_threads; n++) { in lws_json_dump_context()
|
D | wsi.c | 130 unsigned int n, m = context->count_threads; in lws_callback_all_protocol() 155 unsigned int n, m = context->count_threads; in lws_callback_all_protocol_vhost_args() 281 unsigned int n, m = context->count_threads; in lws_rx_flow_allow_all_protocol()
|
D | connect.c | 105 for (n = 0; n < i->context->count_threads; n++) in lws_client_connect_via_info()
|
D | vhost.c | 884 short m = context->count_threads; in lws_cancel_service() 910 for (n = 0; n < context->count_threads; n++) {
|
D | adopt.c | 33 for (; n < context->count_threads; n++) { in lws_get_idlest_tsi()
|
/external/libwebsockets/lib/event-libs/libuv/ |
D | libuv.c | 151 m = context->count_threads; in lws_libuv_stop() 229 for (n = 0; n < context->count_threads; n++) { in lws_uv_close_cb_sa() 484 for (n = 0; n < context->count_threads; n++) in elops_init_context_uv() 496 for (n = 0; n < context->count_threads; n++) { in elops_destroy_context1_uv() 524 for (n = 0; n < context->count_threads; n++) { in elops_destroy_context2_uv() 914 for (m = 0; m < context->count_threads; m++) in lws_libuv_closewsi()
|
/external/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-smp/ |
D | minimal-ws-server.c | 121 info.count_threads = COUNT_THREADS; in main()
|
/external/libwebsockets/lib/event-libs/libev/ |
D | libev.c | 253 for (n = 0; n < context->count_threads; n++) in elops_init_context_ev() 320 for (n = 0; n < context->count_threads; n++) { in elops_destroy_context2_ev()
|
/external/libwebsockets/lib/event-libs/glib/ |
D | glib.c | 233 for (n = 0; n < context->count_threads; n++) in elops_init_context_glib() 430 for (n = 0; n < (int)context->count_threads; n++) { in elops_destroy_context2_glib()
|
/external/libwebsockets/lib/event-libs/libevent/ |
D | libevent.c | 232 for (n = 0; n < context->count_threads; n++) in elops_init_context_event() 406 for (n = 0; n < context->count_threads; n++) { in elops_destroy_context2_event()
|
/external/libwebsockets/include/libwebsockets/ |
D | lws-context-vhost.h | 377 unsigned int count_threads; member
|
/external/libwebsockets/lib/roles/http/server/ |
D | lejp-conf.c | 310 a->info->count_threads = atoi(ctx->buf); in lejp_globals_cb() 387 i[0] = a->info->count_threads; in lejp_vhosts_cb() 405 a->info->count_threads = i[0]; in lejp_vhosts_cb()
|
D | server.c | 173 limit = vhost->context->count_threads; in _lws_vhost_init_server() 244 if (n && vhost->context->count_threads > 1) in _lws_vhost_init_server()
|
/external/libwebsockets/READMEs/ |
D | README.coding.md | 922 unsigned int count_threads; 927 Set count_threads to n to tell lws you will have n simultaneous service threads
|