/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/ |
D | gopher.py | 41 def open_socket(host, port): argument 47 s.connect((host, port)) 51 def send_request(selector, host, port): argument 52 s = open_socket(host, port) 58 def get_menu(selector, host, port): argument 59 f = send_request(selector, host, port) 88 def get_textfile(selector, host, port): argument 90 get_alt_textfile(selector, host, port, list.append) 94 def get_alt_textfile(selector, host, port, func): argument 95 f = send_request(selector, host, port) [all …]
|
D | rpython.py | 17 host = sys.argv[1] 19 i = string.find(host, ':') 22 host = host[:i] 25 s.connect((host, port))
|
D | finger.py | 24 def finger(host, args): argument 26 s.connect((host, FINGER_PORT)) 49 host = arg[at+1:] 52 host = '' 53 finger(host, options + arg)
|
D | throughput.py | 51 conn, (host, remoteport) = s.accept() 59 print 'Done with', host, 'port', remoteport 66 host = sys.argv[3] 75 s.connect((host, port))
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
D | getnameinfo.c | 97 char * host, 142 char * host, in getnameinfo() argument 153 return getnameinfo_inet(sa, salen, host, hostlen, in getnameinfo() 156 return getnameinfo_link(sa, salen, host, hostlen, in getnameinfo() 173 char * host, in getnameinfo_inet() argument 286 if (host == NULL || hostlen == 0) { in getnameinfo_inet() 306 if ((error = ip6_parsenumeric(sa, addr, host, in getnameinfo_inet() 319 strlcpy(host, numaddr, hostlen); in getnameinfo_inet() 341 strlcpy(host, hp->h_name, hostlen); in getnameinfo_inet() 351 if ((error = ip6_parsenumeric(sa, addr, host, in getnameinfo_inet() [all …]
|
D | gethostbydns.c | 137 static struct hostent host; variable 213 host.h_name = NULL; in gethostanswer() 257 host.h_name = bp; in gethostanswer() 261 qname = host.h_name; in gethostanswer() 265 host.h_aliases = host_aliases; in gethostanswer() 268 host.h_addr_list = h_addr_ptrs; in gethostanswer() 325 host.h_name = bp; in gethostanswer() 385 host.h_name = bp; in gethostanswer() 401 host.h_name = bp; in gethostanswer() 410 _map_v4v6_hostent(&host, &bp, &buflen); in gethostanswer() [all …]
|
D | gethostbyht.c | 83 static struct hostent host; variable 151 host.h_addr_list = h_addr_ptrs; in gethostent() 152 host.h_length = len; in gethostent() 153 host.h_addrtype = af; in gethostent() 156 host.h_name = cp; in gethostent() 157 q = host.h_aliases = host_aliases; in gethostent() 172 return (&host); in gethostent()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | urllib.py | 191 host, selector = splithost(proxyhost) 192 url = (host, fullurl) # Signal special case to open_*() 293 host, selector = splithost(url) 294 if host: 295 user_passwd, host = splituser(host) 296 host = unquote(host) 297 realhost = host 299 host, selector = url 301 proxy_passwd, host = splituser(host) 315 host = realhost [all …]
|
D | urllib2.py | 179 host = urlparse.urlparse(url)[1] 180 if host == "": 181 host = request.get_header("Host", "") 184 host = _cut_port_re.sub("", host, 1) 185 return host.lower() 196 self.host = None 252 if self.host is None: 253 self.host, self.__r_host = splithost(self.__r_type) 254 if self.host: 255 self.host = unquote(self.host) [all …]
|
D | ftplib.py | 102 host = '' variable in FTP 113 def __init__(self, host='', user='', passwd='', acct='', argument 116 if host: 117 self.connect(host) 121 def connect(self, host='', port=0, timeout=-999): argument 126 if host != '': 127 self.host = host 132 self.sock = socket.create_connection((self.host, self.port), self.timeout) 251 def sendport(self, host, port): argument 255 hbytes = host.split('.') [all …]
|
D | smtplib.py | 227 def __init__(self, host='', port=0, local_hostname=None, argument 241 if host: 242 (code, msg) = self.connect(host, port) 272 def _get_socket(self, port, host, timeout): argument 276 print>>stderr, 'connect:', (host, port) 277 return socket.create_connection((port, host), timeout) 279 def connect(self, host='localhost', port=0): argument 290 if not port and (host.find(':') == host.rfind(':')): 291 i = host.rfind(':') 293 host, port = host[:i], host[i + 1:] [all …]
|
D | httplib.py | 680 def __init__(self, host, port=None, strict=None, argument 693 self._set_hostport(host, port) 697 def set_tunnel(self, host, port=None, headers=None): argument 703 self._tunnel_host = host 710 def _set_hostport(self, host, port): argument 712 i = host.rfind(':') 713 j = host.rfind(']') # ipv6 addresses have [...] 716 port = int(host[i+1:]) 718 raise InvalidURL("nonnumeric port: '%s'" % host[i+1:]) 719 host = host[:i] [all …]
|
D | netrc.py | 96 def authenticators(self, host): argument 98 if host in self.hosts: 99 return self.hosts[host] 108 for host in self.hosts.keys(): 109 attrs = self.hosts[host] 110 rep = rep + "machine "+ host + "\n\tlogin " + repr(attrs[0]) + "\n"
|
D | telnetlib.py | 187 def __init__(self, host=None, port=0, argument 196 self.host = host 208 if host is not None: 209 self.open(host, port, timeout) 211 def open(self, host, port=0, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): argument 222 self.host = host 225 self.sock = socket.create_connection((host, port), timeout) 239 print 'Telnet(%s,%s):' % (self.host, self.port), 640 host = 'localhost' 642 host = sys.argv[1] [all …]
|
D | poplib.py | 79 def __init__(self, host, port=POP3_PORT, argument 81 self.host = host 83 self.sock = socket.create_connection((host, port), timeout) 330 def __init__(self, host, port = POP3_SSL_PORT, keyfile = None, certfile = None): argument 331 self.host = host 338 for res in socket.getaddrinfo(self.host, self.port, 0, socket.SOCK_STREAM):
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/ |
D | rcsclient.py | 32 host = HOST 39 host = a 40 if ':' in host: 41 i = string.find(host, ':') 42 host, p = host[:i], host[i+1:] 59 address = (host, port)
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/ |
D | EfiPerf.h | 143 #define PERF_START(handle, token, host, ticker) StartMeasure (handle, token, host, ticker) argument 144 #define PERF_END(handle, token, host, ticker) EndMeasure (handle, token, host, ticker) argument 145 #define PERF_UPDATE(handle, token, host, handlenew, tokennew, hostnew) \ argument 148 host, \ 156 #define PERF_START(handle, token, host, ticker) argument 157 #define PERF_END(handle, token, host, ticker) argument 158 #define PERF_UPDATE(handle, token, host, handlenew, tokennew, hostnew) argument
|
/device/linaro/bootloader/edk2/StdLib/LibC/NetUtil/ |
D | inet_makeaddr.c | 59 inet_makeaddr(in_addr_t net, in_addr_t host) in __weak_alias() 65 addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST); in __weak_alias() 67 addr = (net << IN_CLASSB_NSHIFT) | (host & IN_CLASSB_HOST); in __weak_alias() 69 addr = (net << IN_CLASSC_NSHIFT) | (host & IN_CLASSC_HOST); in __weak_alias() 71 addr = net | host; in __weak_alias()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/webchecker/ |
D | websucker.py | 91 host, path = urllib.splithost(rest) 93 user, host = urllib.splituser(host) 94 host, port = urllib.splitnport(host) 95 host = host.lower() 100 path = os.path.join(host, path)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/ssl/ |
D | get-remote-certificate.py | 11 def fetch_server_certificate (host, port): argument 55 (host, port, tfile)) 61 (host, port)) 67 (host, port)) 77 host, port = arg.split(":") variable 78 sys.stdout.write(fetch_server_certificate(host, int(port)))
|
/device/generic/goldfish-opengl/system/renderControl_enc/ |
D | README | 2 on the android guest into a stream and get decoded and executed on the host. 3 It is used in order to query the host renderer as well as send the host renderer 10 This function queries the host renderer version number. 13 This function queries the host renderer for the EGL version 17 This function queries the host for EGL string (.i.e EGL_EXTENSIONS). 24 queries the host for the number of supported EGL configs. 29 This function queries the host for the all set of supported configs 43 This function triggers an eglChooseConfig on the host, to get a list of 52 queries the host for framebuffer parameter, see renderControl_types.h 56 This function creates a rendering context on the host and returns its [all …]
|
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/ |
D | SourceLevelDebugPkg.uni | 6 // to communicate with host side modules, Debug Communication Library and 8 // and host, PeCoffExtraActionLib instance to report symbol path information, 27 … "to communicate with host side modules, Debug Communication Library and\n" 29 … "and host, PeCoffExtraActionLib instance to report symbol path information,\n" 36 …mory BAR of USB debug port, it may be different from the memory BAR of EHCI host controller.<BR>\n" 39 …aceGuid_PcdUsbEhciMemorySpaceBase_PROMPT #language en-US "Configure EHCI host controller memory B… 41 …d_PcdUsbEhciMemorySpaceBase_HELP #language en-US "The memory BAR of EHCI host controller, in whic… 44 …kenSpaceGuid_PcdUsbEhciPciAddress_PROMPT #language en-US "Configure EHCI host controller PCI addr… 46 …eGuid_PcdUsbEhciPciAddress_HELP #language en-US "The PCI address of EHCI host controller, in whic… 73 …aceGuid_PcdUsbXhciMemorySpaceBase_PROMPT #language en-US "Configure ehci host controller memory B… [all …]
|
D | SourceLevelDebugPkg.dec | 4 # to communicate with host side modules, Debug Communication Library and 6 # and host, PeCoffExtraActionLib instance to report symbol path information, 53 …## The memory BAR of usb debug port, it may be different with the memory bar of ehci host controll… 58 ## The memory BAR of ehci host controller, in which usb debug feature is enabled. 60 # @Prompt Configure ehci host controller memory BAR. 63 ## The pci address of ehci host controller, in which usb debug feature is enabled. 71 # @Prompt Configure ehci host controller pci address. 93 ## The memory BAR of xhci host controller, in which usb debug feature is enabled. 95 # @Prompt Configure ehci host controller memory BAR. 98 ## The pci address of xhci host controller, in which usb debug feature is enabled. [all …]
|
/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 100 char *host; 178 if (host == NULL || hostlen == 0) { 186 strcpy(host, numaddr); 206 strcpy(host, hp->h_name); 218 strcpy(host, numaddr);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/wsgiref/ |
D | simple_server.py | 85 host = self.address_string() 86 if host != self.client_address[0]: 87 env['REMOTE_HOST'] = host 141 host, port, app, server_class=WSGIServer, handler_class=WSGIRequestHandler argument 144 server = server_class((host, port), handler_class)
|