/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | 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 …]
|
D | test_smtplib.py | 21 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 …]
|
D | test_socket.py | 49 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 …]
|
D | 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 …]
|
D | test_httplib.py | 358 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
|
D | test_poplib.py | 292 def server(self, evt, serv): argument 293 serv.listen(5) 295 conn, addr = serv.accept() 302 serv.close()
|
D | test_telnetlib.py | 13 def server(evt, serv, dataq=None): argument 20 serv.listen(5) 23 conn, addr = serv.accept() 42 serv.close()
|
D | test_asyncore.py | 65 def capture_server(evt, buf, serv): argument 67 serv.listen(5) 68 conn, addr = serv.accept() 86 serv.close()
|
D | test_ftplib.py | 681 def server(self, evt, serv): argument 686 serv.listen(5) 690 conn, addr = serv.accept() 699 serv.close()
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
D | getservent.c | 57 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()
|
D | getnameinfo.c | 144 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';
|
D | getaddrinfo.c | 279 #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/ |
D | getnameinfo.c | 97 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/ |
D | servent.h | 36 struct servent serv; member
|
/device/linaro/bootloader/edk2/StdLib/Efi/StdLib/etc/ |
D | services | 471 zephyr-clt 2103/udp # Zephyr serv-hm connection
|