Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_docxmlrpc.py27 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 …]
Dtest_smtplib.py21 def server(evt, buf, serv): argument
22 serv.listen(5)
25 conn, addr = serv.accept()
40 serv.close()
106 def debugging_server(serv, serv_evt, client_evt): argument
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 …]
Dtest_socket.py49 self.serv = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
50 self.port = test_support.bind_port(self.serv)
51 self.serv.listen(1)
54 self.serv.close()
55 self.serv = None
60 self.serv = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
61 self.port = test_support.bind_port(self.serv)
64 self.serv.close()
65 self.serv = None
204 conn, addr = self.serv.accept()
[all …]
Dtest_xmlrpc.py303 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 …]
Dtest_httplib.py358 self.serv = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
359 self.port = test_support.bind_port(self.serv)
361 self.serv.listen(5)
368 self.serv.close()
369 self.serv = None
391 self.serv = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
392 TimeoutTest.PORT = test_support.bind_port(self.serv)
393 self.serv.listen(5)
396 self.serv.close()
397 self.serv = None
Dtest_poplib.py292 def server(self, evt, serv): argument
293 serv.listen(5)
295 conn, addr = serv.accept()
302 serv.close()
Dtest_telnetlib.py13 def server(evt, serv, dataq=None): argument
20 serv.listen(5)
23 conn, addr = serv.accept()
42 serv.close()
Dtest_asyncore.py65 def capture_server(evt, buf, serv): argument
67 serv.listen(5)
68 conn, addr = serv.accept()
86 serv.close()
Dtest_ftplib.py681 def server(self, evt, serv): argument
686 serv.listen(5)
690 conn, addr = serv.accept()
699 serv.close()
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dgetservent.c57 static struct servent serv; variable
247 serv.s_name = p; in getservent()
258 serv.s_port = htons((u_short)atoi(p)); in getservent()
259 serv.s_proto = cp; in getservent()
260 q = serv.s_aliases = serv_aliases; in getservent()
276 return (&serv); in getservent()
Dgetnameinfo.c144 char * serv, in getnameinfo() argument
154 serv, servlen, flags); in getnameinfo()
157 serv, servlen, flags); in getnameinfo()
175 char * serv, in getnameinfo_inet() argument
218 if (serv == NULL || servlen == 0) { in getnameinfo_inet()
240 strlcpy(serv, sp->s_name, servlen); in getnameinfo_inet()
245 strlcpy(serv, numserv, servlen); in getnameinfo_inet()
482 char * serv, argument
492 if (serv != NULL && servlen > 0)
493 *serv = '\0';
Dgetaddrinfo.c279 #define GET_PORT(ai, serv, svd) \ argument
282 error = get_port((ai), (serv), 0, (svd)); \
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dgetnameinfo.c97 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) in getnameinfo() argument
102 char *serv;
144 if (serv == NULL || servlen == 0) {
150 strcpy(serv, numserv);
156 strcpy(serv, sp->s_name);
/device/linaro/bootloader/edk2/StdLib/Include/net/
Dservent.h36 struct servent serv; member
/device/linaro/bootloader/edk2/StdLib/Efi/StdLib/etc/
Dservices471 zephyr-clt 2103/udp # Zephyr serv-hm connection