/external/dnsmasq/src/ |
D | dnsmasq.c | 19 struct daemon *daemon; variable 117 if (daemon->edns_pktsz < PACKETSZ) in main() 118 daemon->edns_pktsz = PACKETSZ; in main() 119 daemon->packet_buff_sz = daemon->edns_pktsz > DNSMASQ_PACKETSZ ? in main() 120 daemon->edns_pktsz : DNSMASQ_PACKETSZ; in main() 121 daemon->packet = safe_malloc(daemon->packet_buff_sz); in main() 124 if (!daemon->lease_file) in main() 126 if (daemon->dhcp) in main() 127 daemon->lease_file = LEASEFILE; in main() 141 if (!(daemon->options & OPT_NOWILD)) in main() [all …]
|
D | forward.c | 126 for (serv = daemon->servers; serv; serv=serv->next) in search_servers() 184 (daemon->options & OPT_NODOTS_LOCAL) && !strchr(qdomain, '.') && namelen != 0) in search_servers() 211 unsigned int crc = questions_crc(header, plen, daemon->namebuff); in forward_query() 213 unsigned short gotname = extract_request(header, plen, daemon->namebuff, NULL); in forward_query() 217 if (!daemon->servers) in forward_query() 224 if (!(daemon->options & OPT_ORDER)) in forward_query() 227 daemon->last_server = NULL; in forward_query() 231 start = daemon->servers; /* at end of list, recycle */ in forward_query() 237 flags = search_servers(now, &addrp, gotname, daemon->namebuff, &type, &domain); in forward_query() 263 if (type != 0 || (daemon->options & OPT_ORDER)) in forward_query() [all …]
|
D | tftp.c | 44 char *packet = daemon->packet; in tftp_request() 53 int port = daemon->start_tftp_port; /* may be zero to use ephemeral port */ in tftp_request() 78 iov.iov_len = daemon->packet_buff_sz; in tftp_request() 81 daemon->srv_save = NULL; in tftp_request() 86 if (daemon->options & OPT_NOWILD) in tftp_request() 129 for (tmp = daemon->dhcp_except; tmp; tmp = tmp->next) in tftp_request() 172 if (errno == EADDRINUSE && daemon->start_tftp_port != 0) in tftp_request() 174 if (++port <= daemon->end_tftp_port) in tftp_request() 205 !(daemon->options & OPT_TFTP_NOBLOCK)) in tftp_request() 210 if (transfer->blocksize > (unsigned)daemon->packet_buff_sz - 4) in tftp_request() [all …]
|
D | option.c | 587 r->next = daemon->txt; in add_txt() 588 daemon->txt = r; in add_txt() 962 new->next = daemon->dhcp_match; in parse_dhcp_opt() 963 daemon->dhcp_match = new; in parse_dhcp_opt() 968 new->next = daemon->dhcp_opts; in parse_dhcp_opt() 969 daemon->dhcp_opts = new; in parse_dhcp_opt() 1010 daemon->options |= rept; in one_opt() 1111 daemon->log_file = opt_string_alloc(arg); in one_opt() 1122 daemon->log_fac = facilitynames[i].c_val; in one_opt() 1130 daemon->runfile = opt_string_alloc(arg); in one_opt() [all …]
|
D | lease.c | 34 daemon->dhcp_buff = safe_malloc(256); in lease_init() 35 daemon->dhcp_buff2 = safe_malloc(256); in lease_init() 37 leases_left = daemon->dhcp_max; in lease_init() 39 if (daemon->options & OPT_LEASE_RO) in lease_init() 46 if (daemon->lease_change_command) in lease_init() 48 strcpy(daemon->dhcp_buff, daemon->lease_change_command); in lease_init() 49 strcat(daemon->dhcp_buff, " init"); in lease_init() 50 leasestream = popen(daemon->dhcp_buff, "r"); in lease_init() 63 leasestream = daemon->lease_stream = fopen(daemon->lease_file, "a+"); in lease_init() 66 die(_("cannot open or create lease file %s: %s"), daemon->lease_file, EC_FILE); in lease_init() [all …]
|
D | netlink.c | 54 if ((daemon->netlinkfd = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE)) != -1) in netlink_init() 56 if (bind(daemon->netlinkfd, (struct sockaddr *)&addr, sizeof(addr)) == -1) in netlink_init() 59 if (errno != EPERM || bind(daemon->netlinkfd, (struct sockaddr *)&addr, sizeof(addr)) == -1) in netlink_init() 60 daemon->netlinkfd = -1; in netlink_init() 64 if (daemon->netlinkfd == -1 || in netlink_init() 65 getsockname(daemon->netlinkfd, (struct sockaddr *)&addr, &slen) == 1) in netlink_init() 91 while ((rc = recvmsg(daemon->netlinkfd, &msg, MSG_PEEK | MSG_TRUNC)) == -1 && errno == EINTR); in netlink_recv() 108 while ((rc = recvmsg(daemon->netlinkfd, &msg, 0)) == -1 && errno == EINTR); in netlink_recv() 152 while((len = sendto(daemon->netlinkfd, (void *)&req, sizeof(req), 0, in iface_enumerate() 243 if ((flags = fcntl(daemon->netlinkfd, F_GETFL)) == -1 || in netlink_multicast() [all …]
|
D | network.c | 64 for (bridge = daemon->bridges; bridge; bridge = bridge->next) in iface_check() 88 if (daemon->if_names || (addr && daemon->if_addrs)) in iface_check() 92 for (tmp = daemon->if_names; tmp; tmp = tmp->next) in iface_check() 96 for (tmp = daemon->if_addrs; tmp; tmp = tmp->next) in iface_check() 111 for (tmp = daemon->if_except; tmp; tmp = tmp->next) in iface_check() 155 if (daemon->if_names && loopback) in iface_allowed() 158 for (lo = daemon->if_names; lo; lo = lo->next) in iface_allowed() 171 lo->next = daemon->if_names; in iface_allowed() 172 daemon->if_names = lo; in iface_allowed() 180 for (tmp = daemon->dhcp_except; tmp; tmp = tmp->next) in iface_allowed() [all …]
|
D | dhcp.c | 57 if (daemon->options & OPT_NOWILD) in dhcp_init() 70 saddr.sin_port = htons(daemon->dhcp_server_port); in dhcp_init() 79 daemon->dhcpfd = fd; in dhcp_init() 86 if (daemon->options & OPT_NO_PING) in dhcp_init() 87 daemon->dhcp_icmp_fd = -1; in dhcp_init() 88 else if ((daemon->dhcp_icmp_fd = make_icmp_sock()) == -1 || in dhcp_init() 89 setsockopt(daemon->dhcp_icmp_fd, SOL_SOCKET, SO_RCVBUF, &oneopt, sizeof(oneopt)) == -1 ) in dhcp_init() 98 daemon->dhcp_packet.iov_len = sizeof(struct dhcp_packet); in dhcp_init() 99 daemon->dhcp_packet.iov_base = safe_malloc(daemon->dhcp_packet.iov_len); in dhcp_init() 132 msg.msg_iov = &daemon->dhcp_packet; in dhcp_packet() [all …]
|
D | helper.c | 81 if (!(daemon->options & OPT_DEBUG) && uid != 0) in create_helper() 88 if (daemon->options & OPT_NO_FORK) in create_helper() 114 unsigned char *buf = (unsigned char *)daemon->namebuff; in create_helper() 131 p = daemon->dhcp_buff; in create_helper() 144 for (p = daemon->packet, i = 0; i < data.clid_len; i++) in create_helper() 153 sprintf(daemon->dhcp_buff2, "%u ", data.length); in create_helper() 155 sprintf(daemon->dhcp_buff2, "%lu ", (unsigned long)data.expires); in create_helper() 196 my_setenv("DNSMASQ_CLIENT_ID", daemon->packet, &err); in create_helper() 202 my_setenv("DNSMASQ_LEASE_LENGTH", daemon->dhcp_buff2, &err); in create_helper() 204 my_setenv("DNSMASQ_LEASE_EXPIRES", daemon->dhcp_buff2, &err); in create_helper() [all …]
|
D | rfc2131.c | 130 struct dhcp_packet *mess = (struct dhcp_packet *)daemon->dhcp_packet.iov_base; in dhcp_reply() 185 if (expand_buf(&daemon->dhcp_packet, size)) in dhcp_reply() 187 mess = (struct dhcp_packet *)daemon->dhcp_packet.iov_base; in dhcp_reply() 223 for (vendor = daemon->dhcp_vendors; vendor; vendor = vendor->next) in dhcp_reply() 273 for (mac = daemon->dhcp_macs; mac; mac = mac->next) in dhcp_reply() 320 for (context_tmp = daemon->dhcp; context_tmp; context_tmp = context_tmp->next) in dhcp_reply() 345 if (daemon->options & OPT_LOG_OPTS) in dhcp_reply() 350 strcpy(daemon->namebuff, inet_ntoa(context_tmp->start)); in dhcp_reply() 353 ntohl(mess->xid), daemon->namebuff, inet_ntoa(context_tmp->netmask)); in dhcp_reply() 356 ntohl(mess->xid), daemon->namebuff, inet_ntoa(context_tmp->end)); in dhcp_reply() [all …]
|
D | dbus.c | 69 for (w = daemon->watches; w; w = w->next) in add_watch() 77 w->next = daemon->watches; in add_watch() 78 daemon->watches = w; in add_watch() 88 for (up = &(daemon->watches), w = daemon->watches; w; w = w->next) in remove_watch() 110 for (serv = daemon->servers; serv; serv = serv->next) in dbus_read_servers() 132 source_addr.in.sin_port = htons(daemon->query_port); in dbus_read_servers() 163 source_addr.in6.sin6_port = htons(daemon->query_port); in dbus_read_servers() 184 for (serv = daemon->servers; serv; serv = serv->next) in dbus_read_servers() 217 serv->next = daemon->servers; in dbus_read_servers() 218 daemon->servers = serv; in dbus_read_servers() [all …]
|
D | cache.c | 78 if (daemon->options & OPT_LOG) in cache_init() 81 bignames_left = daemon->cachesize/10; in cache_init() 83 if (daemon->cachesize > 0) in cache_init() 85 crecp = safe_malloc(daemon->cachesize*sizeof(struct crec)); in cache_init() 87 for (i=0; i < daemon->cachesize; i++, crecp++) in cache_init() 96 rehash(daemon->cachesize); in cache_init() 694 for (a = daemon->cnames; a; a = a->next) in add_hosts_entry() 756 char *token = daemon->namebuff, *domain_suffix = NULL; in read_hostsfile() 786 domain_suffix = daemon->domain_suffix; in read_hostsfile() 835 if ((daemon->options & OPT_EXPAND) && domain_suffix && !fqdn && in read_hostsfile() [all …]
|
D | rfc1035.c | 554 for (doctor = daemon->doctors; doctor; doctor = doctor->next) in do_doctor() 630 minttl = daemon->neg_ttl; in find_soa() 649 if (daemon->doctors) in extract_addresses() 730 if (!found && !(daemon->options & OPT_NO_NEG)) in extract_addresses() 810 if ((daemon->options & OPT_NO_REBIND) && in extract_addresses() 831 if (!found && !(daemon->options & OPT_NO_NEG)) in extract_addresses() 953 for (mx = daemon->mxnames; mx; mx = mx->next) in check_for_local_domain() 957 for (txt = daemon->txt; txt; txt = txt->next) in check_for_local_domain() 961 for (intr = daemon->int_names; intr; intr = intr->next) in check_for_local_domain() 965 for (ptr = daemon->ptr; ptr; ptr = ptr->next) in check_for_local_domain() [all …]
|
/external/chromium_org/v8/tools/testrunner/server/ |
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): argument [all …]
|
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.jobs, self.server.daemon.relative_perf)) [all …]
|
D | 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): argument 110 address = (daemon.ip, constants.STATUS_PORT) 112 self.daemon = daemon
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/ |
D | NamedThreadFactory.java | 49 private boolean daemon; field in NamedThreadFactory 57 public NamedThreadFactory( String name, boolean daemon ) in NamedThreadFactory() argument 59 this( name, daemon, Executors.defaultThreadFactory() ); in NamedThreadFactory() 67 public NamedThreadFactory( String name, boolean daemon, ThreadFactory delegate ) in NamedThreadFactory() argument 70 this.daemon = daemon; in NamedThreadFactory() 79 result.setDaemon(daemon); in newThread()
|
/external/chromium_org/v8/tools/ |
D | test-server.py | 162 def _StartDaemon(daemon): argument 166 daemon.start() 173 daemon = main.Server(PIDFILE, ROOT) variable 174 _StartDaemon(daemon) 176 daemon = main.Server(PIDFILE, ROOT) variable 177 daemon.stop() 179 daemon = main.Server(PIDFILE, ROOT) variable 180 daemon.stop() 181 _StartDaemon(daemon) 204 daemon = main.Server(PIDFILE, ROOT) variable [all …]
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | ThreadFactoryBuilder.java | 47 private Boolean daemon = null; field in ThreadFactoryBuilder 80 public ThreadFactoryBuilder setDaemon(boolean daemon) { in setDaemon() argument 81 this.daemon = daemon; in setDaemon() 148 final Boolean daemon = builder.daemon; in build() local 163 if (daemon != null) { in build() 164 thread.setDaemon(daemon); in build()
|
/external/oprofile/ |
D | ChangeLog-2004 | 11 * daemon/opd_cookie.c: Define __NR_lookup_dcookie for all three 44 * daemon/opd_stats.c: some statistics are useless, don't print them 49 * daemon/opd_sfile.c: sfile_clear_kenel() : clear also callgraph 54 * daemon/opd_sfile.h: 55 * daemon/opd_sfile.c: fix #971487, daemon was unable to retrieve 134 * daemon/opd_perfmon.c: autoconf for sched_setaffinity 295 * daemon/opd_mangling.c: 296 * daemon/opd_mangling.h: 297 * daemon/opd_sfile.c: 298 * daemon/opd_sfile.h: [all …]
|
D | ChangeLog-2003 | 53 * daemon/opd_sfile.c: we reversed to/from pc in call graph sample 83 * daemon/opd_mangling.c: oops, it's better to really open the cg file 85 * daemon/opd_sfile.c: 86 * daemon/opd_stats.c: 87 * daemon/opd_stats.h: 88 * daemon/liblegacy/opd_24_stats.c: 89 * daemon/liblegacy/opd_24_stats.h: 90 * daemon/liblegacy/opd_proc.c: log sample lost due to sample file open 95 * daemon/liblegacy/opd_parse_proc.c: always provide an image name 120 * daemon/oprofiled.c: [all …]
|
D | ChangeLog | 26 * oprofile/daemon/opd_ibs_trans.c: Fix non-x86 build issue 32 * oprofile/daemon/init.c: 33 * oprofile/daemon/opd_extended.h: 34 * oprofile/daemon/opd_extended.c: 35 * oprofile/daemon/opd_ibs.h: 36 * oprofile/daemon/opd_ibs.c: 37 * oprofile/daemon/opd_ibs_trans.h: 38 * oprofile/daemon/opd_ibs_trans.c: 40 * oprofile/daemon/opd_ibs_macro.h: Additional IBS supports for 178 * daemon/opd_pipe.c: Fix memory leak [all …]
|
D | ChangeLog-2005 | 30 * daemon/opd_cookie.c: use __MIPSEB__ not _MIPSEB 44 * daemon/opd_cookie.c: Handle MIPS o32 for both big and little endian. 103 * daemon/opd_trans.c: more static function 122 fast path used by the daemon. Sanity check inside the fast path has 125 * daemon/opd_sfile.c: 126 * daemon/liblegacy/opd_proc.c: 211 * daemon/opd_anon.c: 212 * daemon/opd_kernel.c: fix two scanf potential buffer overflow 251 * daemon/oprofiled.c: 252 * daemon/liblegacy/init.c: [all …]
|
D | ChangeLog-2006 | 15 * daemon/init.c: move open_opd_files call to initialization phase 104 * daemon/init.c: 105 * daemon/liblegacy/init.c: 106 * daemon/oprofiled.c: 248 * daemon/opd_anon.c: bump LRU size to avoid significant maps 253 * daemon/opd_anon.c: 254 * daemon/opd_sfile.h: 255 * daemon/opd_sfile.c: make sure we protect trans->last 286 * daemon/init.c: 287 * daemon/opd_interface.h: [all …]
|
/external/dropbear/debian/ |
D | dropbear.init | 34 start-stop-daemon --start --quiet --pidfile /var/run/"$NAME".pid \ 41 start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/"$NAME".pid 47 start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/"$NAME".pid 49 start-stop-daemon --start --quiet --pidfile /var/run/"$NAME".pid \
|