Home
last modified time | relevance | path

Searched refs:daemon (Results 1 – 25 of 365) sorted by relevance

12345678910>>...15

/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
Ddaemon.c169 MHD_get_master (struct MHD_Daemon *daemon) in MHD_get_master() argument
171 while (NULL != daemon->master) in MHD_get_master()
172 daemon = daemon->master; in MHD_get_master()
173 return daemon; in MHD_get_master()
217 MHD_ip_count_lock (struct MHD_Daemon *daemon) in MHD_ip_count_lock() argument
219 if (MHD_YES != MHD_mutex_lock_(&daemon->per_ip_connection_mutex)) in MHD_ip_count_lock()
232 MHD_ip_count_unlock (struct MHD_Daemon *daemon) in MHD_ip_count_unlock() argument
234 if (MHD_YES != MHD_mutex_unlock_(&daemon->per_ip_connection_mutex)) in MHD_ip_count_unlock()
307 MHD_ip_limit_add (struct MHD_Daemon *daemon, in MHD_ip_limit_add() argument
316 daemon = MHD_get_master (daemon); in MHD_ip_limit_add()
[all …]
Dconnection.c271 struct MHD_Daemon *daemon; in MHD_connection_close() local
273 daemon = connection->daemon; in MHD_connection_close()
274 if (0 == (connection->daemon->options & MHD_USE_EPOLL_TURBO)) in MHD_connection_close()
279 if ( (NULL != daemon->notify_completed) && in MHD_connection_close()
281 daemon->notify_completed (daemon->notify_completed_cls, in MHD_connection_close()
302 MHD_DLOG (connection->daemon, emsg); in connection_close_error()
349 (0 == (connection->daemon->options & MHD_USE_SSL)) ) in try_ready_normal_body()
411 size = connection->daemon->pool_size; in try_ready_chunked_body()
614 new_size = connection->daemon->pool_size / 2;
691 if ( (0 == (connection->daemon->options & MHD_SUPPRESS_DATE_NO_CLOCK)) &&
[all …]
Ddigestauth.c309 mod = connection->daemon->nonce_nc_size; in check_nonce_nc()
327 (void) MHD_mutex_lock_ (&connection->daemon->nnc_lock); in check_nonce_nc()
330 strcpy(connection->daemon->nnc[off].nonce, in check_nonce_nc()
332 connection->daemon->nnc[off].nc = 0; in check_nonce_nc()
333 (void) MHD_mutex_unlock_ (&connection->daemon->nnc_lock); in check_nonce_nc()
336 if ( (nc <= connection->daemon->nnc[off].nc) || in check_nonce_nc()
337 (0 != strcmp(connection->daemon->nnc[off].nonce, nonce)) ) in check_nonce_nc()
339 (void) MHD_mutex_unlock_ (&connection->daemon->nnc_lock); in check_nonce_nc()
341 MHD_DLOG (connection->daemon, in check_nonce_nc()
346 connection->daemon->nnc[off].nc = nc; in check_nonce_nc()
[all …]
/third_party/skia/third_party/externals/microhttpd/src/microspdy/
Ddaemon.c74 spdyf_cleanup_sessions (struct SPDY_Daemon *daemon) in spdyf_cleanup_sessions() argument
78 while (NULL != (session = daemon->cleanup_head)) in spdyf_cleanup_sessions()
80 DLL_remove (daemon->cleanup_head, in spdyf_cleanup_sessions()
81 daemon->cleanup_tail, in spdyf_cleanup_sessions()
95 spdyf_close_all_sessions (struct SPDY_Daemon *daemon) in spdyf_close_all_sessions() argument
99 while (NULL != (session = daemon->sessions_head)) in spdyf_close_all_sessions()
108 spdyf_cleanup_sessions(daemon); in spdyf_close_all_sessions()
120 spdyf_parse_options_va (struct SPDY_Daemon *daemon, in spdyf_parse_options_va() argument
127 if(opt & daemon->options) in spdyf_parse_options_va()
132 daemon->options |= opt; in spdyf_parse_options_va()
[all …]
Dio_openssl.c78 SPDYF_openssl_init(struct SPDY_Daemon *daemon) in SPDYF_openssl_init() argument
82 if(NULL == (daemon->io_context = SSL_CTX_new(TLSv1_server_method()))) in SPDYF_openssl_init()
101 SSL_CTX_set_options(daemon->io_context, options); in SPDYF_openssl_init()
102 if(1 != SSL_CTX_use_certificate_file(daemon->io_context, daemon->certfile , SSL_FILETYPE_PEM)) in SPDYF_openssl_init()
105 SSL_CTX_free(daemon->io_context); in SPDYF_openssl_init()
108 if(1 != SSL_CTX_use_PrivateKey_file(daemon->io_context, daemon->keyfile, SSL_FILETYPE_PEM)) in SPDYF_openssl_init()
111 SSL_CTX_free(daemon->io_context); in SPDYF_openssl_init()
114 … SSL_CTX_set_next_protos_advertised_cb(daemon->io_context, &spdyf_next_protos_advertised_cb, NULL); in SPDYF_openssl_init()
115 if (1 != SSL_CTX_set_cipher_list(daemon->io_context, "HIGH")) in SPDYF_openssl_init()
118 SSL_CTX_free(daemon->io_context); in SPDYF_openssl_init()
[all …]
Dapplicationlayer.c72 struct SPDY_Daemon *daemon; in spdy_handler_new_stream() local
74 daemon = stream->session->daemon; in spdy_handler_new_stream()
77 if(NULL == daemon->new_request_cb) in spdy_handler_new_stream()
160 daemon->new_request_cb(daemon->cls, in spdy_handler_new_stream()
193 return stream->session->daemon->received_data_cb(cls, stream->cls, buf, size, more); in spdy_handler_new_data()
275 SPDY_run (struct SPDY_Daemon *daemon) in SPDY_run() argument
277 if(NULL == daemon) in SPDY_run()
283 SPDYF_run(daemon); in SPDY_run()
288 SPDY_get_timeout (struct SPDY_Daemon *daemon, in SPDY_get_timeout() argument
291 if(NULL == daemon) in SPDY_get_timeout()
[all …]
Dio_raw.c46 SPDYF_raw_init(struct SPDY_Daemon *daemon) in SPDYF_raw_init() argument
48 (void)daemon; in SPDYF_raw_init()
55 SPDYF_raw_deinit(struct SPDY_Daemon *daemon) in SPDYF_raw_deinit() argument
57 (void)daemon; in SPDYF_raw_deinit()
74 if(SPDY_DAEMON_FLAG_NO_DELAY & session->daemon->flags) in SPDYF_raw_new_session()
163 if(0 == (SPDY_DAEMON_FLAG_NO_DELAY & session->daemon->flags)) in SPDYF_raw_before_write()
182 if(SPDY_YES == was_written && 0 == (SPDY_DAEMON_FLAG_NO_DELAY & session->daemon->flags)) in SPDYF_raw_after_write()
Dio.c32 SPDYF_io_set_daemon(struct SPDY_Daemon *daemon, in SPDYF_io_set_daemon() argument
38 daemon->fio_init = &SPDYF_openssl_init; in SPDYF_io_set_daemon()
39 daemon->fio_deinit = &SPDYF_openssl_deinit; in SPDYF_io_set_daemon()
43 daemon->fio_init = &SPDYF_raw_init; in SPDYF_io_set_daemon()
44 daemon->fio_deinit = &SPDYF_raw_deinit; in SPDYF_io_set_daemon()
Dsession.c153 if(SPDY_YES != session->daemon->fnew_stream_cb(session->daemon->fcls, session->streams_head)) in spdyf_handler_read_syn_stream()
367 if(NULL == stream || stream->is_in_closed || NULL == session->daemon->received_data_cb) in spdyf_handler_read_data()
369 if(NULL == session->daemon->received_data_cb) in spdyf_handler_read_data()
381 ret = session->daemon->freceived_data_cb(session->daemon->cls, in spdyf_handler_read_data()
1164 && session->daemon->session_timeout in SPDYF_session_idle()
1165 && (session->last_activity + session->daemon->session_timeout < SPDYF_monotonic_time())) in SPDYF_session_idle()
1362 struct SPDY_Daemon *daemon = session->daemon; in SPDYF_session_close() local
1372 DLL_remove (daemon->sessions_head, in SPDYF_session_close()
1373 daemon->sessions_tail, in SPDYF_session_close()
1376 DLL_insert (daemon->cleanup_head, in SPDYF_session_close()
[all …]
/third_party/skia/third_party/externals/microhttpd/src/examples/
Dspdy_event_loop.c320 struct SPDY_Daemon *daemon = SPDY_start_daemon(atoi(argv[1]), in main() local
328 if(NULL==daemon){ in main()
366 if(run && daemon != NULL) in main()
373 ret = SPDY_get_timeout(daemon, &timeoutlong); in main()
389 maxfd = SPDY_get_fdset (daemon, in main()
410 SPDY_run(daemon); in main()
415 else if(daemon != NULL){ in main()
418 SPDY_stop_daemon(daemon); in main()
419 daemon=NULL; in main()
476 if(daemon != NULL){ in main()
[all …]
Dspdy_response_with_callback.c164 struct SPDY_Daemon *daemon; in main() local
173 daemon = SPDY_start_daemon(atoi(argv[1]), in main()
185 if(NULL==daemon){ in main()
196 ret = SPDY_get_timeout(daemon, &timeoutlong); in main()
208 maxfd = SPDY_get_fdset (daemon, in main()
223 SPDY_run(daemon); in main()
230 SPDY_stop_daemon(daemon); in main()
Dmhd2spdy.c76 struct MHD_Daemon *daemon; in run_everything() local
114 daemon = MHD_start_daemon ( in run_everything()
121 if(NULL==daemon) in run_everything()
140 ret = MHD_get_timeout(daemon, &timeoutlong); in run_everything()
149 if(MHD_NO == MHD_get_fdset (daemon, in run_everything()
184 MHD_run(daemon); in run_everything()
190 MHD_run(daemon); in run_everything()
197 MHD_stop_daemon (daemon); in run_everything()
/third_party/musl/libc-test/src/functionalext/supplement/legacy/
Ddaemon.c31 int result = daemon(0, 0); in daemon_0100()
43 int result = daemon(7, 0); in daemon_0200()
58 int result = daemon(0, -1); in daemon_0300()
71 int result = daemon(-1, -1); in daemon_0400()
85 int result = daemon(0, 0); in daemon_0500()
99 int result = daemon(0, 0); in daemon_0600()
/third_party/skia/third_party/externals/microhttpd/src/testspdy/
Dtest_session_timeout.c131 struct SPDY_Daemon *daemon; in parentproc() local
137 daemon = SPDY_start_daemon(port, in parentproc()
149 if(NULL==daemon){ in parentproc()
161 ret = SPDY_get_timeout(daemon, &timeoutlong); in parentproc()
216 maxfd = SPDY_get_fdset (daemon, in parentproc()
234 SPDY_run(daemon); in parentproc()
254 ret = SPDY_get_timeout(daemon, &timeoutlong); in parentproc()
261 SPDY_stop_daemon(daemon); in parentproc()
Dtest_misc.c211 struct SPDY_Daemon *daemon; in parentproc() local
213 daemon = SPDY_start_daemon(port, in parentproc()
225 if(NULL==daemon){ in parentproc()
238 ret = SPDY_get_timeout(daemon, &timeoutlong); in parentproc()
250 maxfd = SPDY_get_fdset (daemon, in parentproc()
265 SPDY_run(daemon); in parentproc()
272 SPDY_stop_daemon(daemon); in parentproc()
/third_party/pulseaudio/ohosbuild/src/daemon/
DBUILD.gn22 "../../../src/daemon",
38 "../../../src/daemon/caps.c",
39 "../../../src/daemon/cmdline.c",
40 "../../../src/daemon/cpulimit.c",
41 "../../../src/daemon/ohos_daemon-conf.c",
42 "../../../src/daemon/ohos_pa_main.c",
/third_party/pulseaudio/po/
Dbg.po19 #: src/daemon/cmdline.c:113
32 " --start Start the daemon if it is not "
34 " -k --kill Kill a running daemon\n"
35 " --check Check for a running daemon (only "
53 " --exit-idle-time=SECS Terminate the daemon when idle and "
121 " --exit-idle-time=SECS Terminate the daemon when idle and "
157 #: src/daemon/cmdline.c:246
161 #: src/daemon/cmdline.c:254
165 #: src/daemon/cmdline.c:265
174 #: src/daemon/cmdline.c:277
[all …]
Dpulseaudio.pot21 #: src/daemon/cmdline.c:113
33 " --start Start the daemon if it is not running\n"
34 " -k --kill Kill a running daemon\n"
35 " --check Check for a running daemon (only returns exit "
51 " --exit-idle-time=SECS Terminate the daemon when idle and this\n"
83 #: src/daemon/cmdline.c:246
87 #: src/daemon/cmdline.c:254
91 #: src/daemon/cmdline.c:265
97 #: src/daemon/cmdline.c:277
101 #: src/daemon/cmdline.c:285
[all …]
Daf.po20 #: src/daemon/cmdline.c:113
33 " --start Start the daemon if it is not "
35 " -k --kill Kill a running daemon\n"
36 " --check Check for a running daemon (only "
54 " --exit-idle-time=SECS Terminate the daemon when idle and "
92 #: src/daemon/cmdline.c:246
96 #: src/daemon/cmdline.c:254
100 #: src/daemon/cmdline.c:265
106 #: src/daemon/cmdline.c:277
110 #: src/daemon/cmdline.c:285
[all …]
Dsi.po23 #: src/daemon/cmdline.c:113
36 " --start Start the daemon if it is not "
38 " -k --kill Kill a running daemon\n"
39 " --check Check for a running daemon (only "
57 " --exit-idle-time=SECS Terminate the daemon when idle and "
95 #: src/daemon/cmdline.c:246
99 #: src/daemon/cmdline.c:254
103 #: src/daemon/cmdline.c:265
109 #: src/daemon/cmdline.c:277
113 #: src/daemon/cmdline.c:285
[all …]
Dhe.po23 #: src/daemon/cmdline.c:113
36 " --start Start the daemon if it is not "
38 " -k --kill Kill a running daemon\n"
39 " --check Check for a running daemon (only "
57 " --exit-idle-time=SECS Terminate the daemon when idle and "
95 #: src/daemon/cmdline.c:246
99 #: src/daemon/cmdline.c:254
103 #: src/daemon/cmdline.c:265
109 #: src/daemon/cmdline.c:277
113 #: src/daemon/cmdline.c:285
[all …]
Dka.po21 #: src/daemon/cmdline.c:113
34 " --start Start the daemon if it is not "
36 " -k --kill Kill a running daemon\n"
37 " --check Check for a running daemon (only "
55 " --exit-idle-time=SECS Terminate the daemon when idle and "
93 #: src/daemon/cmdline.c:246
97 #: src/daemon/cmdline.c:254
101 #: src/daemon/cmdline.c:265
107 #: src/daemon/cmdline.c:277
111 #: src/daemon/cmdline.c:285
[all …]
Deo.po23 #: src/daemon/cmdline.c:113
36 " --start Start the daemon if it is not "
38 " -k --kill Kill a running daemon\n"
39 " --check Check for a running daemon (only "
57 " --exit-idle-time=SECS Terminate the daemon when idle and "
95 #: src/daemon/cmdline.c:246
99 #: src/daemon/cmdline.c:254
103 #: src/daemon/cmdline.c:265
109 #: src/daemon/cmdline.c:277
113 #: src/daemon/cmdline.c:285
[all …]
Dkk.po22 #: src/daemon/cmdline.c:113
35 " --start Start the daemon if it is not "
37 " -k --kill Kill a running daemon\n"
38 " --check Check for a running daemon (only "
56 " --exit-idle-time=SECS Terminate the daemon when idle and "
94 #: src/daemon/cmdline.c:246
98 #: src/daemon/cmdline.c:254
102 #: src/daemon/cmdline.c:265
108 #: src/daemon/cmdline.c:277
112 #: src/daemon/cmdline.c:285
[all …]
/third_party/skia/third_party/externals/microhttpd/src/include/
Dmicrohttpd.h1084 struct MHD_Daemon *daemon; member
1511 MHD_quiesce_daemon (struct MHD_Daemon *daemon);
1521 MHD_stop_daemon (struct MHD_Daemon *daemon);
1554 MHD_add_connection (struct MHD_Daemon *daemon,
1580 MHD_get_fdset (struct MHD_Daemon *daemon,
1609 MHD_get_fdset2 (struct MHD_Daemon *daemon,
1636 #define MHD_get_fdset(daemon,read_fd_set,write_fd_set,except_fd_set,max_fd) \ argument
1637 MHD_get_fdset2((daemon),(read_fd_set),(write_fd_set),(except_fd_set),(max_fd),FD_SETSIZE)
1655 MHD_get_timeout (struct MHD_Daemon *daemon,
1679 MHD_run (struct MHD_Daemon *daemon);
[all …]

12345678910>>...15