/external/dnsmasq/src/ |
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->lease_file [all...] |
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->options & OPT_ORDER) [all...] |
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->netlinkfd, F_GETFL)) == -1 | [all...] |
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->packet_buff_sz - 4 [all...] |
option.c | 35 { "daemon", LOG_DAEMON }, 116 { "no-daemon", 0, 0, 'd' }, 299 { '8', ARG_ONE, "<facilty>|<file>", gettext_noop("Log to this syslog facility or file. (defaults to DAEMON)"), NULL }, 587 r->next = daemon->txt; 588 daemon->txt = r; 962 new->next = daemon->dhcp_match; 963 daemon->dhcp_match = new; 968 new->next = daemon->dhcp_opts; 969 daemon->dhcp_opts = new; [all...] |
lease.c | 34 daemon->dhcp_buff = safe_malloc(256); 35 daemon->dhcp_buff2 = safe_malloc(256); 37 leases_left = daemon->dhcp_max; 39 if (daemon->options & OPT_LEASE_RO) 46 if (daemon->lease_change_command) 48 strcpy(daemon->dhcp_buff, daemon->lease_change_command); 49 strcat(daemon->dhcp_buff, " init"); 50 leasestream = popen(daemon->dhcp_buff, "r"); 63 leasestream = daemon->lease_stream = fopen(daemon->lease_file, "a+") [all...] |
helper.c | 81 if (!(daemon->options & OPT_DEBUG) && uid != 0) 88 if (daemon->options & OPT_NO_FORK) 89 /* send error to daemon process if no-fork */ 93 /* kill daemon */ 114 unsigned char *buf = (unsigned char *)daemon->namebuff; 131 p = daemon->dhcp_buff; 144 for (p = daemon->packet, i = 0; i < data.clid_len; i++) 153 sprintf(daemon->dhcp_buff2, "%u ", data.length); 155 sprintf(daemon->dhcp_buff2, "%lu ", (unsigned long)data.expires); 196 my_setenv("DNSMASQ_CLIENT_ID", daemon->packet, &err) [all...] |
dbus.c | 69 for (w = daemon->watches; w; w = w->next) 77 w->next = daemon->watches; 78 daemon->watches = w; 88 for (up = &(daemon->watches), w = daemon->watches; w; w = w->next) 110 for (serv = daemon->servers; serv; serv = serv->next) 132 source_addr.in.sin_port = htons(daemon->query_port); 163 source_addr.in6.sin6_port = htons(daemon->query_port); 184 for (serv = daemon->servers; serv; serv = serv->next) 217 serv->next = daemon->servers [all...] |
network.c | 64 for (bridge = daemon->bridges; bridge; bridge = bridge->next) 88 if (daemon->if_names || (addr && daemon->if_addrs)) 92 for (tmp = daemon->if_names; tmp; tmp = tmp->next) 96 for (tmp = daemon->if_addrs; tmp; tmp = tmp->next) 111 for (tmp = daemon->if_except; tmp; tmp = tmp->next) 155 if (daemon->if_names && loopback) 158 for (lo = daemon->if_names; lo; lo = lo->next) 171 lo->next = daemon->if_names; 172 daemon->if_names = lo [all...] |
dhcp.c | 57 if (daemon->options & OPT_NOWILD) 70 saddr.sin_port = htons(daemon->dhcp_server_port); 79 daemon->dhcpfd = fd; 86 if (daemon->options & OPT_NO_PING) 87 daemon->dhcp_icmp_fd = -1; 88 else if ((daemon->dhcp_icmp_fd = make_icmp_sock()) == -1 || 89 setsockopt(daemon->dhcp_icmp_fd, SOL_SOCKET, SO_RCVBUF, &oneopt, sizeof(oneopt)) == -1 ) 98 daemon->dhcp_packet.iov_len = sizeof(struct dhcp_packet); 99 daemon->dhcp_packet.iov_base = safe_malloc(daemon->dhcp_packet.iov_len) [all...] |
rfc2131.c | 130 struct dhcp_packet *mess = (struct dhcp_packet *)daemon->dhcp_packet.iov_base; 174 so reassign mess from daemon->packet. Also, the size 185 if (expand_buf(&daemon->dhcp_packet, size)) 187 mess = (struct dhcp_packet *)daemon->dhcp_packet.iov_base; 223 for (vendor = daemon->dhcp_vendors; vendor; vendor = vendor->next) 273 for (mac = daemon->dhcp_macs; mac; mac = mac->next) 320 for (context_tmp = daemon->dhcp; context_tmp; context_tmp = context_tmp->next) 345 if (daemon->options & OPT_LOG_OPTS) 350 strcpy(daemon->namebuff, inet_ntoa(context_tmp->start)); 353 ntohl(mess->xid), daemon->namebuff, inet_ntoa(context_tmp->netmask)) [all...] |
log.c | 61 log_stderr = !!(daemon->options & OPT_DEBUG); 63 if (daemon->log_fac != -1) 64 log_fac = daemon->log_fac; 66 else if (daemon->options & OPT_DEBUG) 70 if (daemon->log_file) 73 daemon->max_logs = 0; 76 max_logs = daemon->max_logs; 78 if (!log_reopen(daemon->log_file))
|
/external/chromium_org/v8/tools/testrunner/server/ |
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...] |
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.jobs, self.server.daemon.relative_perf) [all...] |
status_handler.py | 85 response = self.server.daemon.ListTrusted() 89 response = self.server.daemon.SignTrusted(data[1]) 93 self.server.daemon.AcceptNewTrusted(data[1:]) 97 self.server.daemon.MarkPeerAsTrusting(self.client_address[0]) 101 response = self.server.daemon.IsTrusted(data[1]) 109 def __init__(self, daemon): 110 address = (daemon.ip, constants.STATUS_PORT) 112 self.daemon = daemon
|
/hardware/samsung_slsi/exynos5/mobicore/ |
Android.mk | 22 # Include the Daemon 23 include $(MOBICORE_PROJECT_PATH)/daemon/Android.mk 27 $(MOBICORE_PROJECT_PATH)/daemon/ClientLib/public \ 28 $(MOBICORE_PROJECT_PATH)/daemon/Registry/Public
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
ThreadFactoryBuilder.java | 30 * <li> whether threads should be marked as {@linkplain Thread#setDaemon daemon} 47 private Boolean daemon = null; field in class:ThreadFactoryBuilder 74 * Sets daemon or not for new threads created with this ThreadFactory. 76 * @param daemon whether or not new Threads created with this ThreadFactory 77 * will be daemon threads 80 public ThreadFactoryBuilder setDaemon(boolean daemon) { 81 this.daemon = daemon; 148 final Boolean daemon = builder.daemon; local [all...] |
/external/chromium_org/third_party/skia/experimental/webtry/sys/ |
webtry_init | 15 # environment variables and updated the start-stop-daemon calls 24 DAEMON=/home/webtry/skia/experimental/webtry/$NAME 30 [ -x "$DAEMON" ] || exit 0 44 # Function that starts the daemon/service 49 # 0 if daemon has been started 50 # 1 if daemon was already running 51 # 2 if daemon could not be started 52 start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON --make-pidfile --background --chuid webtry --test > /dev/null \ 54 start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON --make-pidfile --background --chuid webtry --exec $DAEMO (…) [all...] |
/external/skia/experimental/webtry/sys/ |
webtry_init | 15 # environment variables and updated the start-stop-daemon calls 24 DAEMON=/home/webtry/skia/experimental/webtry/$NAME 30 [ -x "$DAEMON" ] || exit 0 44 # Function that starts the daemon/service 49 # 0 if daemon has been started 50 # 1 if daemon was already running 51 # 2 if daemon could not be started 52 start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON --make-pidfile --background --chuid webtry --test > /dev/null \ 54 start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON --make-pidfile --background --chuid webtry --exec $DAEMO (…) [all...] |
/sdk/eclipse/scripts/ |
build_adt.sh | 35 ./gradlew --no-daemon publishLocal 40 ./tools/gradlew -i -b sdk/eclipse/build.gradle --no-daemon copydeps 44 ( set -x ; BUILD_NUMBER="$BNUM" ./tools/gradlew -i -b sdk/eclipse/build.gradle --no-daemon buildEclipse)
|
/bionic/libc/bionic/ |
daemon.c | 32 int daemon( int nochdir, int noclose ) function
|
/external/chromium_org/v8/tools/ |
test-server.py | 114 if os.path.exists(os.path.join(testrunner_dir, "server/daemon.py")): 162 def _StartDaemon(daemon): 166 daemon.start() 173 daemon = main.Server(PIDFILE, ROOT) 174 _StartDaemon(daemon) 176 daemon = main.Server(PIDFILE, ROOT) 177 daemon.stop() 179 daemon = main.Server(PIDFILE, ROOT) 180 daemon.stop() 181 _StartDaemon(daemon) [all...] |
/external/mdnsresponder/mDNSPosix/ |
mdnsd.sh | 18 # Linux /etc/init.d script to start/stop the mdnsd daemon. 26 DAEMON=/usr/sbin/mdnsd 28 DAEMON=/usr/local/sbin/mdnsd 31 test -r $DAEMON || exit 0 33 # Some systems have start-stop-daemon, some don't. 34 if [ -r /sbin/start-stop-daemon ]; then 35 START="start-stop-daemon --start --quiet --exec" 38 # STOP="start-stop-daemon --stop -s TERM --quiet --oknodo --exec" 39 STOP="start-stop-daemon --stop --quiet --oknodo --exec" 50 echo -n "Starting Apple Darwin Multicast DNS / DNS Service Discovery daemon: [all...] |
/developers/build/ |
sample-create | 42 # Note: Daemon disabled since the script reads for System.console. This overrides user settings. 43 $GRADLE -b $SCRIPTPATH/build.gradle --info --no-daemon create -Pout=$SAMPLE_PATH \
|
/hardware/akm/AK8975_FS/akmdfs/ |
Android.mk | 6 ##### AKM daemon ###############################################################
|