/external/dnsmasq/src/ |
dbus.c | 102 struct server *serv, *tmp, **up; local 110 for (serv = daemon->servers; serv; serv = serv->next) 111 if (serv->flags & SERV_FROM_DBUS) 112 serv->flags |= SERV_MARK; 184 for (serv = daemon->servers; serv; serv = serv->next [all...] |
network.c | 1046 struct server *serv; local 1055 for (serv = daemon->servers; serv;) 1057 struct server *tmp = serv->next; 1058 if (serv->flags & SERV_FROM_RESOLV) 1060 serv->next = old_servers; 1061 old_servers = serv; 1063 server_gone(serv); 1067 serv->next = new_servers; 1068 new_servers = serv; 1153 struct server *serv; local [all...] |
forward.c | 123 struct server *serv; local 126 for (serv = daemon->servers; serv; serv=serv->next) 128 if ((serv->flags & SERV_FOR_NODOTS) && *type != SERV_HAS_DOMAIN && !strchr(qdomain, '.') && namelen != 0) 130 unsigned short sflag = serv->addr.sa.sa_family == AF_INET ? F_IPV4 : F_IPV6; 132 if (serv->flags & SERV_NO_ADDR) 134 else if (serv->flags & SERV_LITERAL_ADDRESS) 139 if (serv->addr.sa.sa_family == AF_INET) [all...] |
cache.c | 1127 struct server *serv, *serv1; local 1139 for (serv = daemon->servers; serv; serv = serv->next) 1140 serv->flags &= ~SERV_COUNTED; 1142 for (serv = daemon->servers; serv; serv = serv->next [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/fortress/ |
ServicesTest.java | 41 Provider.Service serv = Services.getService("Service.ALGORITHM"); local 42 if (serv == null) { 45 if (serv.getProvider() != p || 46 !"org.apache.harmony.security.tests.fortress.SomeClass".equals(serv.getClassName())) { 50 serv = Services.getService("Service.ALGORITHM"); 51 if (serv != null) { 60 Provider.Service serv = Services.getService("Service.ALGORITHM"); local 62 serv = Services.getService("Service.ALGORITHM"); 63 if (serv == null) { 69 serv = Services.getService("Service.ALGORITHM") [all...] |
/external/ppp/pppd/plugins/radius/ |
config.c | 85 SERVER *serv; local 95 serv = (SERVER *) option->val; 97 for (i = 0; i < serv->max; i++) { 98 free(serv->name[i]); 100 serv->max = 0; 107 serv->port[serv->max] = atoi(q); 111 serv->port[serv->max] = PW_AUTH_UDP_PORT; 113 serv->port[serv->max] = ntohs ((unsigned int) svp->s_port) [all...] |
/external/libpcap/Win32/Src/ |
getservent.c | 53 static struct servent serv; variable in typeref:struct:servent 95 serv.s_name = p; 106 serv.s_port = htons((u_short)atoi(p)); 107 serv.s_proto = cp; 108 q = serv.s_aliases = serv_aliases; 124 return (&serv);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_docxmlrpc.py | 27 serv = DocXMLRPCServer(("localhost", 0), logRequests=False) 31 PORT = serv.socket.getsockname()[1] 34 serv.set_server_title("DocXMLRPCServer Test Documentation") 35 serv.set_server_name("DocXMLRPCServer Test Docs") 36 serv.set_server_documentation( 46 serv.register_introspection_functions() 47 serv.register_instance(TestClass()) 57 serv.register_function(add) 58 serv.register_function(lambda x, y: x-y) 61 serv.handle_request( [all...] |
test_socket.py | 50 self.serv = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 51 self.port = test_support.bind_port(self.serv) 52 self.serv.listen(1) 55 self.serv.close() 56 self.serv = None 61 self.serv = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 62 self.port = test_support.bind_port(self.serv) 65 self.serv.close() 66 self.serv = None 204 conn, addr = self.serv.accept( [all...] |
test_smtplib.py | 21 def server(evt, buf, serv): 22 serv.listen(5) 25 conn, addr = serv.accept() 40 serv.close() 106 def debugging_server(serv, serv_evt, client_evt): 122 serv.close() 133 serv.close() 159 self.serv = smtpd.DebuggingServer((HOST, 0), ('nowhere', -1)) 161 self.port = self.serv.socket.getsockname()[1] 162 serv_args = (self.serv, self.serv_evt, self.client_evt [all...] |
test_xmlrpc.py | 303 serv = MyXMLRPCServer(("localhost", 0), requestHandler, 306 serv.socket.settimeout(3) 307 serv.server_bind() 309 ADDR, PORT = serv.socket.getsockname() 315 serv.server_activate() 316 serv.register_introspection_functions() 317 serv.register_multicall_functions() 318 serv.register_function(pow) 319 serv.register_function(lambda x,y: x+y, 'add') 320 serv.register_function(my_function [all...] |
test_httplib.py | 421 self.serv = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 422 self.port = test_support.bind_port(self.serv) 424 self.serv.listen(5) 431 self.serv.close() 432 self.serv = None 454 self.serv = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 455 TimeoutTest.PORT = test_support.bind_port(self.serv) 456 self.serv.listen(5) 459 self.serv.close() 460 self.serv = Non [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_docxmlrpc.py | 27 serv = DocXMLRPCServer(("localhost", 0), logRequests=False) 31 PORT = serv.socket.getsockname()[1] 34 serv.set_server_title("DocXMLRPCServer Test Documentation") 35 serv.set_server_name("DocXMLRPCServer Test Docs") 36 serv.set_server_documentation( 46 serv.register_introspection_functions() 47 serv.register_instance(TestClass()) 57 serv.register_function(add) 58 serv.register_function(lambda x, y: x-y) 61 serv.handle_request( [all...] |
test_socket.py | 50 self.serv = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 51 self.port = test_support.bind_port(self.serv) 52 self.serv.listen(1) 55 self.serv.close() 56 self.serv = None 61 self.serv = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 62 self.port = test_support.bind_port(self.serv) 65 self.serv.close() 66 self.serv = None 204 conn, addr = self.serv.accept( [all...] |
test_smtplib.py | 21 def server(evt, buf, serv): 22 serv.listen(5) 25 conn, addr = serv.accept() 40 serv.close() 106 def debugging_server(serv, serv_evt, client_evt): 122 serv.close() 133 serv.close() 159 self.serv = smtpd.DebuggingServer((HOST, 0), ('nowhere', -1)) 161 self.port = self.serv.socket.getsockname()[1] 162 serv_args = (self.serv, self.serv_evt, self.client_evt [all...] |
test_xmlrpc.py | 303 serv = MyXMLRPCServer(("localhost", 0), requestHandler, 306 serv.socket.settimeout(3) 307 serv.server_bind() 309 ADDR, PORT = serv.socket.getsockname() 315 serv.server_activate() 316 serv.register_introspection_functions() 317 serv.register_multicall_functions() 318 serv.register_function(pow) 319 serv.register_function(lambda x,y: x+y, 'add') 320 serv.register_function(my_function [all...] |
test_httplib.py | 421 self.serv = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 422 self.port = test_support.bind_port(self.serv) 424 self.serv.listen(5) 431 self.serv.close() 432 self.serv = None 454 self.serv = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 455 TimeoutTest.PORT = test_support.bind_port(self.serv) 456 self.serv.listen(5) 459 self.serv.close() 460 self.serv = Non [all...] |
/bionic/libc/dns/net/ |
getnameinfo.c | 110 char* serv, size_t servlen, int flags) 112 return android_getnameinfofornet(sa, salen, host, hostlen, serv, servlen, flags, 117 size_t hostlen, char* serv, size_t servlen, int flags, unsigned netid, 124 serv, servlen, flags, netid, mark); 127 serv, servlen, flags); 140 char *host, socklen_t hostlen, char *serv, socklen_t servlen, 150 if (serv != NULL && servlen > 0) 151 serv[0] = '\0'; 167 char *serv, socklen_t servlen, 182 /* serv may be NULL * [all...] |
/packages/apps/Music/src/com/android/music/ |
MusicBrowserActivity.java | 73 IMediaPlaybackService serv = IMediaPlaybackService.Stub.asInterface(obj); 74 if (serv != null) { 76 serv.setShuffleMode(MediaPlaybackService.SHUFFLE_AUTO);
|
/frameworks/base/services/core/java/com/android/server/am/ |
BackupRecord.java | 31 final BatteryStatsImpl.Uid.Pkg.Serv stats; 39 BackupRecord(BatteryStatsImpl.Uid.Pkg.Serv _agentStats, ApplicationInfo _appInfo,
|
/external/wpa_supplicant_8/src/radius/ |
radius_client.c | 1008 struct sockaddr_in serv, claddr; local 1065 os_memset(&serv, 0, sizeof(serv)); 1066 serv.sin_family = AF_INET; 1067 serv.sin_addr.s_addr = nserv->addr.u.v4.s_addr; 1068 serv.sin_port = htons(nserv->port); 1069 addr = (struct sockaddr *) &serv; 1070 addrlen = sizeof(serv); 1592 struct hostapd_radius_server *serv; local [all...] |
/external/tcpdump/missing/ |
getnameinfo.c | 100 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) 105 char *serv; 143 if (serv == NULL || servlen == 0) { 147 * "||" here: RFC2553 says that serv == NULL OR servlen == 0 160 strcpy(serv, sp->s_name); 165 strcpy(serv, numserv);
|
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
ProviderTest.java | 117 p.put("serv.alg", "aaaaaaaaaaaaa"); 118 p.put("serv.alg KeySize", "11111"); 120 p.remove("serv.alg");
|
/external/openssh/openbsd-compat/ |
fake-rfc2553.c | 48 size_t hostlen, char *serv, size_t servlen, int flags) 56 if (serv != NULL) { 58 if (strlcpy(serv, tmpserv, servlen) >= servlen)
|
/external/ipsec-tools/src/libipsec/ |
policy_parse.y | 381 char *serv = NULL; 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);
|