/external/libmicrohttpd/src/testspdy/ |
H A D | test_daemon_start_stop.c | 21 * @brief starts and stops a SPDY daemon 34 struct SPDY_Daemon *daemon = SPDY_start_daemon(get_port(16123), local 39 if(NULL==daemon){ 40 printf("no daemon\n"); 44 SPDY_stop_daemon(daemon);
|
H A D | test_daemon_start_stop_many.c | 37 struct SPDY_Daemon *daemon[num_daemons]; local 45 daemon[j] = SPDY_start_daemon(port + j, 50 if(NULL==daemon[j]){ 51 printf("no daemon\n"); 59 SPDY_stop_daemon(daemon[j]);
|
/external/valgrind/memcheck/tests/solaris/ |
H A D | thr_daemon_exit_libc.stdout.exp | 6 non-daemon thread #0 running 7 non-daemon thread #1 running 8 non-daemon thread #2 running 9 non-daemon thread #3 running 10 non-daemon thread #4 running 11 non-daemon thread #5 running
|
/external/libmicrohttpd/src/microspdy/ |
H A D | daemon.c | 20 * @file microspdy/daemon.c 21 * @brief daemon functionality 71 * @param daemon daemon to clean up 74 spdyf_cleanup_sessions (struct SPDY_Daemon *daemon) argument 78 while (NULL != (session = daemon->cleanup_head)) 80 DLL_remove (daemon->cleanup_head, 81 daemon->cleanup_tail, 90 * Closing of all connections handled by the daemon. 92 * @param daemon SPD 95 spdyf_close_all_sessions(struct SPDY_Daemon *daemon) argument 120 spdyf_parse_options_va(struct SPDY_Daemon *daemon, va_list valist) argument 183 struct SPDY_Daemon *daemon = NULL; local 373 SPDYF_stop_daemon(struct SPDY_Daemon *daemon) argument 392 SPDYF_get_timeout(struct SPDY_Daemon *daemon, unsigned long long *timeout) argument 432 SPDYF_get_fdset(struct SPDY_Daemon *daemon, fd_set *read_fd_set, fd_set *write_fd_set, fd_set *except_fd_set, bool all) argument 474 SPDYF_run(struct SPDY_Daemon *daemon) argument [all...] |
H A D | daemon.h | 20 * @file daemon.h 21 * @brief daemon functionality 58 * @return NULL on error, handle to daemon on success 80 * @param daemon daemon to run 83 SPDYF_run (struct SPDY_Daemon *daemon); 87 * Obtain timeout value for select for this daemon. The returned value 91 * @param daemon daemon to query for timeout 97 SPDYF_get_timeout (struct SPDY_Daemon *daemon, [all...] |
H A D | io_openssl.c | 78 SPDYF_openssl_init(struct SPDY_Daemon *daemon) argument 82 if(NULL == (daemon->io_context = SSL_CTX_new(TLSv1_server_method()))) 89 //SSL_CTX_set_options(daemon->io_context, SSL_OP_SINGLE_DH_USE); 101 SSL_CTX_set_options(daemon->io_context, options); 102 if(1 != SSL_CTX_use_certificate_file(daemon->io_context, daemon->certfile , SSL_FILETYPE_PEM)) 105 SSL_CTX_free(daemon->io_context); 108 if(1 != SSL_CTX_use_PrivateKey_file(daemon->io_context, daemon->keyfile, SSL_FILETYPE_PEM)) 111 SSL_CTX_free(daemon 127 SPDYF_openssl_deinit(struct SPDY_Daemon *daemon) argument [all...] |
H A D | io.c | 32 SPDYF_io_set_daemon(struct SPDY_Daemon *daemon, argument 38 daemon->fio_init = &SPDYF_openssl_init; 39 daemon->fio_deinit = &SPDYF_openssl_deinit; 43 daemon->fio_init = &SPDYF_raw_init; 44 daemon->fio_deinit = &SPDYF_raw_deinit;
|
H A D | io.h | 76 * Initializing of io context for a specific daemon. 77 * Must be called when the daemon starts. 79 * @param daemon SPDY_Daemon for which io will be used. Daemon's 84 (*SPDYF_IOInit) (struct SPDY_Daemon *daemon); 88 * Deinitializing io context for a daemon. Should be called 91 * @param daemon SPDY_Daemon which is being stopped 94 (*SPDYF_IODeinit) (struct SPDY_Daemon *daemon); 192 * Sets callbacks for the daemon with regard to the IO subsystem. 194 * @param daemon 196 * be initialized and used by daemon [all...] |
H A D | io_raw.h | 49 * Must be called when the daemon starts. 51 * @param daemon SPDY_Daemon 55 SPDYF_raw_init(struct SPDY_Daemon *daemon); 62 * @param daemon SPDY_Daemon which is being stopped 65 SPDYF_raw_deinit(struct SPDY_Daemon *daemon);
|
H A D | io_raw.c | 46 SPDYF_raw_init(struct SPDY_Daemon *daemon) argument 48 (void)daemon; 55 SPDYF_raw_deinit(struct SPDY_Daemon *daemon) argument 57 (void)daemon; 74 if(SPDY_DAEMON_FLAG_NO_DELAY & session->daemon->flags) 163 if(0 == (SPDY_DAEMON_FLAG_NO_DELAY & session->daemon->flags)) 182 if(SPDY_YES == was_written && 0 == (SPDY_DAEMON_FLAG_NO_DELAY & session->daemon->flags))
|
/external/avahi/initscript/gentoo/ |
H A D | avahi-daemon.in | 14 ebegin "Starting avahi-daemon" 15 @sbindir@/avahi-daemon -D 20 ebegin "Stopping avahi-daemon" 21 @sbindir@/avahi-daemon -k 26 ebegin "Reloading avahi-daemon" 27 @sbindir@/avahi-daemon -r
|
/external/avahi/initscript/lfs/ |
H A D | avahi.in | 5 # Description : Avahi daemon loader 20 boot_mesg "Starting the Avahi daemon..." 21 loadproc avahi-daemon -D 25 boot_mesg "Stopping the Avahi daemon..." 26 avahi-daemon -k 31 boot_mesg "Reloading the Avahi daemon..." 32 reloadproc avahi-daemon -r 41 statusproc avahi-daemon
|
/external/libmicrohttpd/src/microhttpd/ |
H A D | daemon.c | 22 * @file microhttpd/daemon.c 162 * Trace up to and return master daemon. If the supplied daemon 163 * is a master, then return the daemon itself. 165 * @param daemon handle to a daemon 166 * @return master daemon handle 169 MHD_get_master (struct MHD_Daemon *daemon) argument 171 while (NULL != daemon->master) 172 daemon 217 MHD_ip_count_lock(struct MHD_Daemon *daemon) argument 232 MHD_ip_count_unlock(struct MHD_Daemon *daemon) argument 307 MHD_ip_limit_add(struct MHD_Daemon *daemon, const struct sockaddr *addr, socklen_t addrlen) argument 371 MHD_ip_limit_del(struct MHD_Daemon *daemon, const struct sockaddr *addr, socklen_t addrlen) argument 591 MHD_TLS_init(struct MHD_Daemon *daemon) argument 721 MHD_TLS_deinit(struct MHD_Daemon *daemon) argument 788 MHD_get_fdset(struct MHD_Daemon *daemon, fd_set *read_fd_set, fd_set *write_fd_set, fd_set *except_fd_set, MHD_socket *max_fd) argument 821 MHD_get_fdset2(struct MHD_Daemon *daemon, fd_set *read_fd_set, fd_set *write_fd_set, fd_set *except_fd_set, MHD_socket *max_fd, unsigned int fd_setsize) argument 1266 create_thread(MHD_thread_handle_ *thread, const struct MHD_Daemon *daemon, ThreadStartRoutine start_routine, void *arg) argument 1347 internal_add_connection(struct MHD_Daemon *daemon, MHD_socket client_socket, const struct sockaddr *addr, socklen_t addrlen, int external_add) argument 1720 struct MHD_Daemon *daemon; local 1782 struct MHD_Daemon *daemon; local 1814 resume_suspended_connections(struct MHD_Daemon *daemon) argument 1879 make_nonblocking_noninheritable(struct MHD_Daemon *daemon, MHD_socket sock) argument 1958 MHD_add_connection(struct MHD_Daemon *daemon, MHD_socket client_socket, const struct sockaddr *addr, socklen_t addrlen) argument 1985 MHD_accept_connection(struct MHD_Daemon *daemon) argument 2062 MHD_cleanup_connections(struct MHD_Daemon *daemon) argument 2158 MHD_get_timeout(struct MHD_Daemon *daemon, MHD_UNSIGNED_LONG_LONG *timeout) argument 2249 MHD_run_from_select(struct MHD_Daemon *daemon, const fd_set *read_fd_set, const fd_set *write_fd_set, const fd_set *except_fd_set) argument 2334 MHD_select(struct MHD_Daemon *daemon, int may_block) argument 2436 MHD_poll_all(struct MHD_Daemon *daemon, int may_block) argument 2618 MHD_poll_listen_socket(struct MHD_Daemon *daemon, int may_block) argument 2680 MHD_poll(struct MHD_Daemon *daemon, int may_block) argument 2718 MHD_epoll(struct MHD_Daemon *daemon, int may_block) argument 2931 MHD_run(struct MHD_Daemon *daemon) argument 2968 struct MHD_Daemon *daemon = cls; local 3029 struct MHD_Daemon *daemon; local 3059 MHD_quiesce_daemon(struct MHD_Daemon *daemon) argument 3148 parse_options(struct MHD_Daemon *daemon, const struct sockaddr **servaddr, ...) argument 3171 parse_options_va(struct MHD_Daemon *daemon, const struct sockaddr **servaddr, va_list ap) argument 3490 create_socket(struct MHD_Daemon *daemon, int domain, int type, int protocol) argument 3521 setup_epoll_to_listen(struct MHD_Daemon *daemon) argument 3623 struct MHD_Daemon *daemon; local 4323 struct MHD_Daemon *daemon = pos->daemon; local 4355 close_all_connections(struct MHD_Daemon *daemon) argument 4404 epoll_shutdown(struct MHD_Daemon *daemon) argument 4431 MHD_stop_daemon(struct MHD_Daemon *daemon) argument 4580 MHD_get_daemon_info(struct MHD_Daemon *daemon, enum MHD_DaemonInfoType info_type, ...) argument [all...] |
/external/dnsmasq/src/ |
H A D | dnsmasq.c | 19 struct daemon *daemon; variable in typeref:struct:daemon 117 if (daemon->edns_pktsz < PACKETSZ) 118 daemon->edns_pktsz = PACKETSZ; 119 daemon->packet_buff_sz = daemon->edns_pktsz > DNSMASQ_PACKETSZ ? 120 daemon->edns_pktsz : DNSMASQ_PACKETSZ; 121 daemon->packet = safe_malloc(daemon->packet_buff_sz); 124 if (!daemon [all...] |
H A D | forward.c | 126 for (serv = daemon->servers; serv; serv=serv->next) 184 (daemon->options & OPT_NODOTS_LOCAL) && !strchr(qdomain, '.') && namelen != 0) 211 unsigned int crc = questions_crc(header, plen, daemon->namebuff); 213 unsigned short gotname = extract_request(header, plen, daemon->namebuff, NULL); 217 if (!daemon->servers) 224 if (!(daemon->options & OPT_ORDER)) 227 daemon->last_server = NULL; 231 start = daemon->servers; /* at end of list, recycle */ 237 flags = search_servers(now, &addrp, gotname, daemon->namebuff, &type, &domain); 263 if (type != 0 || (daemon [all...] |
H A D | netlink.c | 54 if ((daemon->netlinkfd = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE)) != -1) 56 if (bind(daemon->netlinkfd, (struct sockaddr *)&addr, sizeof(addr)) == -1) 59 if (errno != EPERM || bind(daemon->netlinkfd, (struct sockaddr *)&addr, sizeof(addr)) == -1) 60 daemon->netlinkfd = -1; 64 if (daemon->netlinkfd == -1 || 65 getsockname(daemon->netlinkfd, (struct sockaddr *)&addr, &slen) == 1) 91 while ((rc = recvmsg(daemon->netlinkfd, &msg, MSG_PEEK | MSG_TRUNC)) == -1 && errno == EINTR); 108 while ((rc = recvmsg(daemon->netlinkfd, &msg, 0)) == -1 && errno == EINTR); 152 while((len = sendto(daemon->netlinkfd, (void *)&req, sizeof(req), 0, 243 if ((flags = fcntl(daemon [all...] |
H A D | tftp.c | 44 char *packet = daemon->packet; 53 int port = daemon->start_tftp_port; /* may be zero to use ephemeral port */ 78 iov.iov_len = daemon->packet_buff_sz; 81 daemon->srv_save = NULL; 86 if (daemon->options & OPT_NOWILD) 129 for (tmp = daemon->dhcp_except; tmp; tmp = tmp->next) 172 if (errno == EADDRINUSE && daemon->start_tftp_port != 0) 174 if (++port <= daemon->end_tftp_port) 205 !(daemon->options & OPT_TFTP_NOBLOCK)) 210 if (transfer->blocksize > (unsigned)daemon [all...] |
/external/dbus/bus/ |
H A D | rc.messagebus.in | 6 # description: This is a daemon which broadcasts notifications of system events \ 9 # processname: dbus-daemon 14 #[ -x @EXPANDED_BINDIR@/dbus-daemon ] || exit 0 20 #processname=dbus-daemon 31 if [ -x @EXPANDED_BINDIR@/dbus-daemon ];then 32 @EXPANDED_BINDIR@/dbus-daemon --system 34 #daemon --check $servicename $processname --system 46 killall dbus-daemon
|
/external/libmicrohttpd/doc/chapters/ |
H A D | hellobrowser.inc | 34 This parameter is set by the @emph{libmicrohttpd} daemon and holds the necessary information to 38 daemon to sent the reply. 91 With the primary task of our server implemented, we can start the actual server daemon which will listen 96 struct MHD_Daemon *daemon; 98 daemon = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY, PORT, NULL, NULL, 100 if (NULL == daemon) return 1; 105 The first parameter is one of three possible modes of operation. Here we want the daemon to run in 116 we do not need to pass extra options to the daemon so we just write the MHD_OPTION_END as the last parameter. 118 As the server daemon runs in the background in its own thread, the execution flow in our main 121 friendly manner by waiting for the enter key to be pressed. In the end, we stop the daemon s [all...] |
/external/v8/tools/testrunner/server/ |
H A D | local_handler.py | 62 with self.server.daemon.peer_list_lock: 63 response = [ p.Pack() for p in self.server.daemon.peers 68 self.server.daemon.DeletePeer(data[1]) 71 compression.Send([action, self.server.daemon.pubkey_fingerprint], 78 fingerprint = self.server.daemon.CopyToTrusted(data[1]) 86 self.server.daemon.AddPerfData(test_key, test_duration, arch, mode) 91 self.server.daemon.UpdatePeerPerformance(data[1], data[2]) 99 with self.server.daemon.peer_list_lock: 100 for p in self.server.daemon.peers: 103 (self.server.daemon [all...] |
H A D | presence_handler.py | 63 trusted = self.server.daemon.IsTrusted(pubkey_fingerprint) 64 response = [STARTUP_RESPONSE, self.server.daemon.jobs, 65 self.server.daemon.relative_perf, 66 self.server.daemon.pubkey_fingerprint, trusted] 72 self.server.daemon.AddPeer(p) 79 p.trusted = self.server.daemon.IsTrusted(pubkey_fingerprint) 81 self.server.daemon.AddPeer(p) 84 self.server.daemon.DeletePeer(self.client_address[0]) 85 if self.client_address[0] == self.server.daemon.ip: 90 def __init__(self, daemon) [all...] |
/external/libmicrohttpd/doc/examples/ |
H A D | hellobrowser.c | 40 struct MHD_Daemon *daemon; local 42 daemon = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY, PORT, NULL, NULL, 44 if (NULL == daemon) 49 MHD_stop_daemon (daemon);
|
H A D | logging.c | 44 struct MHD_Daemon *daemon; local 46 daemon = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY, PORT, NULL, NULL, 48 if (NULL == daemon) 53 MHD_stop_daemon (daemon);
|
/external/avahi/avahi-daemon/ |
H A D | Android.mk | 3 # Build avahi-daemon, install the conf file, and generate the init rc file. 7 LOCAL_MODULE := avahi-daemon 10 avahi-daemon.conf \ 11 avahi-daemon.rc \ 19 sd-daemon.c \ 77 -DAVAHI_CONFIG_FILE=\"/system/etc/avahi-daemon.conf\" \ 93 # /system/etc/avahi-daemon.conf 95 LOCAL_MODULE := avahi-daemon.conf 96 LOCAL_SRC_FILES := avahi-daemon.conf 101 # avahi-daemon [all...] |
/external/libweave/examples/ |
H A D | examples.mk | 25 examples/daemon/ledflasher/ledflasher.cc \ 26 examples/daemon/light/light.cc \ 27 examples/daemon/lock/lock.cc \ 28 examples/daemon/oven/oven.cc \ 29 examples/daemon/sample/sample.cc \ 30 examples/daemon/speaker/speaker.cc 63 out/$(BUILD_MODE)/weave_daemon_ledflasher : out/$(BUILD_MODE)/examples/daemon/ledflasher/ledflasher.o $(daemon_deps) 66 out/$(BUILD_MODE)/weave_daemon_light : out/$(BUILD_MODE)/examples/daemon/light/light.o $(daemon_deps) 69 out/$(BUILD_MODE)/weave_daemon_lock : out/$(BUILD_MODE)/examples/daemon/lock/lock.o $(daemon_deps) 72 out/$(BUILD_MODE)/weave_daemon_oven : out/$(BUILD_MODE)/examples/daemon/ove [all...] |