/external/dnsmasq/src/ |
D | dbus.c | 102 struct server *serv, *tmp, **up; in dbus_read_servers() local 110 for (serv = daemon->servers; serv; serv = serv->next) in dbus_read_servers() 111 if (serv->flags & SERV_FROM_DBUS) in dbus_read_servers() 112 serv->flags |= SERV_MARK; in dbus_read_servers() 184 for (serv = daemon->servers; serv; serv = serv->next) in dbus_read_servers() 185 if ((serv->flags & SERV_FROM_DBUS) && in dbus_read_servers() 186 (serv->flags & SERV_MARK)) in dbus_read_servers() 188 if (!(serv->flags & SERV_HAS_DOMAIN) && !domain) in dbus_read_servers() 190 serv->flags &= ~SERV_MARK; in dbus_read_servers() 193 if ((serv->flags & SERV_HAS_DOMAIN) && in dbus_read_servers() [all …]
|
D | network.c | 1081 struct server *serv; in set_servers() local 1090 for (serv = daemon->servers; serv;) in set_servers() 1092 struct server *tmp = serv->next; in set_servers() 1093 if (serv->flags & SERV_FROM_RESOLV) in set_servers() 1095 serv->next = old_servers; in set_servers() 1096 old_servers = serv; in set_servers() 1098 server_gone(serv); in set_servers() 1102 serv->next = new_servers; in set_servers() 1103 new_servers = serv; in set_servers() 1105 serv = tmp; in set_servers() [all …]
|
D | forward.c | 123 struct server *serv; in search_servers() local 126 for (serv = daemon->servers; serv; serv=serv->next) in search_servers() 128 …if ((serv->flags & SERV_FOR_NODOTS) && *type != SERV_HAS_DOMAIN && !strchr(qdomain, '.') && namele… in search_servers() 130 unsigned short sflag = serv->addr.sa.sa_family == AF_INET ? F_IPV4 : F_IPV6; in search_servers() 132 if (serv->flags & SERV_NO_ADDR) in search_servers() 134 else if (serv->flags & SERV_LITERAL_ADDRESS) in search_servers() 139 if (serv->addr.sa.sa_family == AF_INET) in search_servers() 140 *addrpp = (struct all_addr *)&serv->addr.in.sin_addr; in search_servers() 143 *addrpp = (struct all_addr *)&serv->addr.in6.sin6_addr; in search_servers() 150 else if (serv->flags & SERV_HAS_DOMAIN) in search_servers() [all …]
|
D | cache.c | 1127 struct server *serv, *serv1; in dump_cache() local 1139 for (serv = daemon->servers; serv; serv = serv->next) in dump_cache() 1140 serv->flags &= ~SERV_COUNTED; in dump_cache() 1142 for (serv = daemon->servers; serv; serv = serv->next) in dump_cache() 1143 if (!(serv->flags & (SERV_NO_ADDR | SERV_LITERAL_ADDRESS | SERV_COUNTED))) in dump_cache() 1147 for (serv1 = serv; serv1; serv1 = serv1->next) in dump_cache() 1148 …SERV_NO_ADDR | SERV_LITERAL_ADDRESS | SERV_COUNTED)) && sockaddr_isequal(&serv->addr, &serv1->addr… in dump_cache() 1154 port = prettyprint_addr(&serv->addr, addrbuff); in dump_cache()
|
D | option.c | 1372 struct server *serv, *newlist = NULL; in one_opt() local 1388 serv = opt_malloc(sizeof(struct server)); in one_opt() 1389 memset(serv, 0, sizeof(struct server)); in one_opt() 1390 serv->next = newlist; in one_opt() 1391 newlist = serv; in one_opt() 1392 serv->domain = domain; in one_opt() 1393 serv->flags = domain ? SERV_HAS_DOMAIN : SERV_FOR_NODOTS; in one_opt() 1490 serv = newlist; in one_opt() 1491 while (serv->next) in one_opt() 1493 serv->next->flags = serv->flags; in one_opt() [all …]
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/fortress/ |
D | ServicesTest.java | 41 Provider.Service serv = Services.getService("Service.ALGORITHM"); in testInitServiceInfo() local 42 if (serv == null) { in testInitServiceInfo() 45 if (serv.getProvider() != p || in testInitServiceInfo() 46 … !"org.apache.harmony.security.tests.fortress.SomeClass".equals(serv.getClassName())) { in testInitServiceInfo() 50 serv = Services.getService("Service.ALGORITHM"); in testInitServiceInfo() 51 if (serv != null) { in testInitServiceInfo() 60 Provider.Service serv = Services.getService("Service.ALGORITHM"); in testRefresh() local 62 serv = Services.getService("Service.ALGORITHM"); in testRefresh() 63 if (serv == null) { in testRefresh() 69 serv = Services.getService("Service.ALGORITHM"); in testRefresh() [all …]
|
/external/ppp/pppd/plugins/radius/ |
D | config.c | 85 SERVER *serv; in set_option_srv() local 95 serv = (SERVER *) option->val; in set_option_srv() 97 for (i = 0; i < serv->max; i++) { in set_option_srv() 98 free(serv->name[i]); in set_option_srv() 100 serv->max = 0; in set_option_srv() 107 serv->port[serv->max] = atoi(q); in set_option_srv() 111 serv->port[serv->max] = PW_AUTH_UDP_PORT; in set_option_srv() 113 serv->port[serv->max] = ntohs ((unsigned int) svp->s_port); in set_option_srv() 116 serv->port[serv->max] = PW_ACCT_UDP_PORT; in set_option_srv() 118 serv->port[serv->max] = ntohs ((unsigned int) svp->s_port); in set_option_srv() [all …]
|
/external/wpa_supplicant_8/src/radius/ |
D | radius_client.c | 1043 struct sockaddr_in serv, claddr; in radius_change_server() local 1109 os_memset(&serv, 0, sizeof(serv)); in radius_change_server() 1110 serv.sin_family = AF_INET; in radius_change_server() 1111 serv.sin_addr.s_addr = nserv->addr.u.v4.s_addr; in radius_change_server() 1112 serv.sin_port = htons(nserv->port); in radius_change_server() 1113 addr = (struct sockaddr *) &serv; in radius_change_server() 1114 addrlen = sizeof(serv); in radius_change_server() 1535 struct hostapd_radius_server *serv, in radius_client_dump_auth_server() argument 1565 serv->index, in radius_client_dump_auth_server() 1566 hostapd_ip_txt(&serv->addr, abuf, sizeof(abuf)), in radius_client_dump_auth_server() [all …]
|
/external/libpcap/Win32/Src/ |
D | getservent.c | 53 static struct servent serv; variable 95 serv.s_name = p; in getservent() 106 serv.s_port = htons((u_short)atoi(p)); in getservent() 107 serv.s_proto = cp; in getservent() 108 q = serv.s_aliases = serv_aliases; in getservent() 124 return (&serv); in getservent()
|
/external/curl/lib/ |
D | memdebug.h | 121 #define ogetaddrinfo(host,serv,hint,res) \ argument 122 curl_dogetaddrinfo(host, serv, hint, res, __LINE__, __FILE__) 125 #define getaddrinfo(host,serv,hint,res) \ argument 126 curl_dogetaddrinfo(host, serv, hint, res, __LINE__, __FILE__) 132 #define getnameinfo(sa,salen,host,hostlen,serv,servlen,flags) \ argument 133 curl_dogetnameinfo(sa, salen, host, hostlen, serv, servlen, flags, \
|
D | hostip6.c | 77 char *serv, GETNAMEINFO_TYPE_ARG46 servlen, in curl_dogetnameinfo() argument 83 serv, servlen, in curl_dogetnameinfo()
|
D | hostip.h | 140 char *serv, GETNAMEINFO_TYPE_ARG46 servlen,
|
/external/tcpdump/missing/ |
D | getnameinfo.c | 95 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) in getnameinfo() argument 100 char *serv; 138 if (serv == NULL || servlen == 0) { 155 strcpy(serv, sp->s_name); 160 strcpy(serv, numserv);
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/IN/ |
D | WKS.py | 67 serv = int(token.value) 75 serv = socket.getservbyname(token.value, protocol_text) 76 i = serv // 8 81 bitmap[i] = chr(ord(bitmap[i]) | (0x80 >> (serv % 8)))
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/ |
D | TestOptions.java | 203 String serv; in getDebuggeeAgentOptions() local 205 serv = "n"; in getDebuggeeAgentOptions() 207 serv = "y"; in getDebuggeeAgentOptions() 217 "transport=dt_socket,address=" + address + ",server=" + serv in getDebuggeeAgentOptions()
|
/external/ipsec-tools/src/libipsec/ |
D | policy_parse.y | 381 char *serv = NULL; local 391 if (portbuf && ((serv = malloc(portbuf->len + 1)) == NULL)) { 402 strncpy(serv, portbuf->buf, portbuf->len); 403 serv[portbuf->len] = '\0'; 410 error = getaddrinfo(addr, serv, &hints, &res); 412 if (serv != NULL) 413 free(serv);
|
D | ipsec_dump_policy.c | 401 char serv[NI_MAXSERV]; local 407 serv, sizeof(serv), niflags) != 0) 411 snprintf(buf, len, "%s[%s]", host, serv);
|
/external/netperf/src/missing/ |
D | getaddrinfo.c | 517 getnameinfo(sa, salen, node, nodelen, serv, servlen, flags) in getnameinfo() argument 522 char *serv; 542 } else if (node == NULL && serv == NULL) { 547 if (serv != NULL && servlen > 0) { 560 strcpy(serv, servent->s_name); 566 sprintf(serv, "%d", ntohs(sa_in->sin_port));
|
/external/dbus/bus/ |
D | driver.c | 1268 BusService *serv; in bus_driver_handle_get_connection_unix_user() local 1289 serv = bus_registry_lookup (registry, &str); in bus_driver_handle_get_connection_unix_user() 1290 if (serv == NULL) in bus_driver_handle_get_connection_unix_user() 1298 conn = bus_service_get_primary_owners_connection (serv); in bus_driver_handle_get_connection_unix_user() 1344 BusService *serv; in bus_driver_handle_get_connection_unix_process_id() local 1365 serv = bus_registry_lookup (registry, &str); in bus_driver_handle_get_connection_unix_process_id() 1366 if (serv == NULL) in bus_driver_handle_get_connection_unix_process_id() 1374 conn = bus_service_get_primary_owners_connection (serv); in bus_driver_handle_get_connection_unix_process_id() 1420 BusService *serv; in bus_driver_handle_get_adt_audit_session_data() local 1441 serv = bus_registry_lookup (registry, &str); in bus_driver_handle_get_adt_audit_session_data() [all …]
|
/external/toybox/toys/pending/ |
D | tcpsvd.c | 354 char *serv = NULL, *clie = NULL; in tcpsvd_main() local 357 if (toys.optflags & FLAG_l) serv = xstrdup(TT.name); in tcpsvd_main() 358 else serv = sock_to_address((struct sockaddr*)&haddr, 0); in tcpsvd_main() 367 setenv("PROTOLOCALHOST", serv, 1); in tcpsvd_main() 378 if (toys.optflags & FLAG_h) xprintf(" (%s-%s)", serv, clie); in tcpsvd_main() 385 free(serv); in tcpsvd_main()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/support/ |
D | test_layer1.py | 42 service_codes = [serv['code'] for serv in services['services']]
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
D | socket_ops.hpp | 241 char* host, std::size_t hostlen, char* serv, 246 char* host, std::size_t hostlen, char* serv, 252 char* host, std::size_t hostlen, char* serv,
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
D | TestCertUtils.java | 578 private Provider.Service serv; field in TestCertUtils.TestProvider 582 serv = new Provider.Service(this, "CertificateFactory", "X.509", in TestProvider() 588 s.add(serv); in getServices()
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/ |
D | socket_ops.ipp | 1501 char* serv, std::size_t servlen, int flags, asio::error_code& ec) 1504 int error = ::getnameinfo(addr, addrlen, host, hostlen, serv, servlen, flags); 1510 char* host, std::size_t hostlen, char* serv, 1517 hostlen, serv, servlen, flags, ec); 1521 serv, servlen, flags | NI_NUMERICSERV, ec); 1530 char* host, std::size_t hostlen, char* serv, 1543 hostlen, serv, servlen, flags, ec); 1547 serv, servlen, flags | NI_NUMERICSERV, ec);
|
/external/icu/icu4c/source/common/ |
D | Android.mk | 150 serv.cpp \
|