Home
last modified time | relevance | path

Searched refs:serv (Results 1 – 25 of 50) sorted by relevance

12

/external/dnsmasq/src/
Ddbus.c102 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 …]
Dnetwork.c1044 struct server *serv; in set_servers() local
1053 for (serv = daemon->servers; serv;) in set_servers()
1055 struct server *tmp = serv->next; in set_servers()
1056 if (serv->flags & SERV_FROM_RESOLV) in set_servers()
1058 serv->next = old_servers; in set_servers()
1059 old_servers = serv; in set_servers()
1061 server_gone(serv); in set_servers()
1065 serv->next = new_servers; in set_servers()
1066 new_servers = serv; in set_servers()
1068 serv = tmp; in set_servers()
[all …]
Dforward.c123 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 …]
Dcache.c1127 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()
Doption.c1388 struct server *serv, *newlist = NULL; in one_opt() local
1404 serv = opt_malloc(sizeof(struct server)); in one_opt()
1405 memset(serv, 0, sizeof(struct server)); in one_opt()
1406 serv->next = newlist; in one_opt()
1407 newlist = serv; in one_opt()
1408 serv->domain = domain; in one_opt()
1409 serv->flags = domain ? SERV_HAS_DOMAIN : SERV_FOR_NODOTS; in one_opt()
1507 serv = newlist; in one_opt()
1508 while (serv->next) in one_opt()
1510 serv->next->flags = serv->flags; in one_opt()
[all …]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/fortress/
DServicesTest.java41 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/
Dconfig.c85 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/
Dradius_client.c961 struct sockaddr_in serv, claddr; in radius_change_server() local
1018 os_memset(&serv, 0, sizeof(serv)); in radius_change_server()
1019 serv.sin_family = AF_INET; in radius_change_server()
1020 serv.sin_addr.s_addr = nserv->addr.u.v4.s_addr; in radius_change_server()
1021 serv.sin_port = htons(nserv->port); in radius_change_server()
1022 addr = (struct sockaddr *) &serv; in radius_change_server()
1023 addrlen = sizeof(serv); in radius_change_server()
1418 struct hostapd_radius_server *serv, in radius_client_dump_auth_server() argument
1448 serv->index, in radius_client_dump_auth_server()
1449 hostapd_ip_txt(&serv->addr, abuf, sizeof(abuf)), in radius_client_dump_auth_server()
[all …]
/external/libpcap/Win32/Src/
Dgetservent.c53 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()
Dgetaddrinfo.c233 #define GET_PORT(ai, serv) \ argument
236 error = get_port((ai), (serv), 0); \
/external/qemu/android/
Dadb-qemud.c277 QemudService* serv, in _adb_service_connect() argument
286 qemud_client_new(serv, channel, client_param, adb_client, in _adb_service_connect()
352 QemudService* serv, in _adb_debug_service_connect() argument
362 qemud_client_new(serv, channel, client_param, adb_dbg_client, in _adb_debug_service_connect()
388 QemudService* serv = qemud_service_register(SERVICE_NAME, 0, NULL, in android_adb_service_init() local
391 if (serv == NULL) { in android_adb_service_init()
399 serv = qemud_service_register(DEBUG_SERVICE_NAME, 0, NULL, in android_adb_service_init()
401 if (serv != NULL) { in android_adb_service_init()
Dboot-properties.c320 QemudService* serv, in boot_property_service_connect() argument
326 client = qemud_client_new( serv, channel, client_param, NULL, in boot_property_service_connect()
339 QemudService* serv = qemud_service_register( SERVICE_NAME, in boot_property_init_service() local
344 if (serv == NULL) { in boot_property_init_service()
/external/tcpdump/missing/
Dgetnameinfo.c100 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) in getnameinfo() argument
105 char *serv;
143 if (serv == NULL || servlen == 0) {
160 strcpy(serv, sp->s_name);
165 strcpy(serv, numserv);
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/
DTestOptions.java203 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/
Dpolicy_parse.y381 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);
Dipsec_dump_policy.c401 char serv[NI_MAXSERV]; local
407 serv, sizeof(serv), niflags) != 0)
411 snprintf(buf, len, "%s[%s]", host, serv);
/external/qemu/android/camera/
Dcamera-service.c1241 QemudService* serv, in _camera_service_connect() argument
1252 client = qemud_client_new(serv, channel, client_param, csd, in _camera_service_connect()
1259 client = qemud_client_new(serv, channel, client_param, cc, in _camera_service_connect()
1275 QemudService* serv = qemud_service_register( SERVICE_NAME, 0, in android_camera_service_init() local
1279 if (serv == NULL) { in android_camera_service_init()
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
DTestCertUtils.java578 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/linux-tools-perf/perf-3.12.0/tools/perf/Documentation/
Dexamples.txt97 0.90% git-update-serv /lib64/libc-2.5.so
98 0.73% git-update-serv /lib64/ld-2.5.so
/external/qemu/include/android/
Dsockets.h254 char* serv,
/external/qemu/ui/
Dvnc-android.c55 char serv[32]; in addr_to_string() local
61 serv, sizeof(serv)); in addr_to_string()
70 serv, sizeof(serv), in addr_to_string()
80 addrlen = strlen(format) + strlen(host) + strlen(serv); in addr_to_string()
82 snprintf(addr, addrlen, format, host, serv); in addr_to_string()
Dvnc.c54 char serv[NI_MAXSERV]; in addr_to_string() local
60 serv, sizeof(serv), in addr_to_string()
69 addrlen = strlen(format) + strlen(host) + strlen(serv); in addr_to_string()
71 snprintf(addr, addrlen, format, host, serv); in addr_to_string()
/external/icu/icu4c/source/common/
DAndroid.mk79 schriter.cpp serv.cpp \
DMakefile.in104 serv.o servnotf.o servls.o servlk.o servlkf.o servrbf.o servslkf.o \
/external/chromium_org/third_party/icu/source/common/
DMakefile.in98 serv.o servnotf.o servls.o servlk.o servlkf.o servrbf.o servslkf.o \

12