Home
last modified time | relevance | path

Searched refs:hostname (Results 1 – 17 of 17) sorted by relevance

/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dns_addr.c67 char *hostname, *socketname, *cp; in ns_addr() local
79 if ((hostname = strchr(buf, '#')) != NULL) in ns_addr()
82 hostname = strchr(buf, '.'); in ns_addr()
84 ((hostname && cp < hostname) || (hostname == 0))) { in ns_addr()
85 hostname = cp; in ns_addr()
90 if (hostname) in ns_addr()
91 *hostname++ = 0; in ns_addr()
95 if (hostname == 0) in ns_addr()
98 socketname = strchr(hostname, separator); in ns_addr()
104 Field(hostname, addr.x_host.c_host, 6); in ns_addr()
Dgetaddrinfo.c95 #define nsdispatch(pResult,dtab,database,routine,files,hostname,pai) NS_NOTFOUND argument
354 getaddrinfo(const char *hostname, const char *servname, in getaddrinfo() argument
385 if (hostname == NULL && servname == NULL) in getaddrinfo()
476 if (hostname == NULL) in getaddrinfo()
480 error = explore_numeric_scope(pai, hostname, servname, in getaddrinfo()
498 if (hostname == NULL) in getaddrinfo()
529 error = explore_fqdn(pai, hostname, servname, &cur->ai_next, in getaddrinfo()
570 explore_fqdn(const struct addrinfo *pai, const char *hostname, in explore_fqdn() argument
591 default_dns_files, hostname, pai)) { in explore_fqdn()
692 explore_numeric(const struct addrinfo *pai, const char *hostname, in explore_numeric() argument
[all …]
/device/generic/goldfish-opengl/tests/gles_android_wrapper/
DServerConnection.cpp97 char *hostname; in create() local
99 hostname = strdup(defaultServer); in create()
101 hostname = strdup(s); in create()
104 if (tcpStream->connect(hostname, CODEC_SERVER_PORT) < 0) { in create()
105 ALOGE("couldn't connect to %s\n", hostname); in create()
106 free(hostname); in create()
110 LOGI("connecting to server %s\n", hostname); in create()
111 free(hostname); in create()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/
Dftp.py40 hostname = sys.argv[1]
41 control(hostname)
46 def control(hostname): argument
51 s.connect((hostname, FTP_PORT))
91 hostname = gethostname()
92 hostaddr = gethostbyname(hostname)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_urlparse.py55 self.assertEqual(result3.hostname, result.hostname)
79 self.assertEqual(result3.hostname, result.hostname)
336 for url, hostname, port in [
359 self.assertEqual((urlparsed.hostname, urlparsed.port) , (hostname, port))
394 self.assertEqual(p.hostname, "www.python.org")
409 self.assertEqual(p.hostname, "www.python.org")
426 self.assertEqual(p.hostname, "www.python.org")
452 self.assertEqual(p.hostname, None)
460 self.assertEqual(p.hostname, None)
472 self.assertEqual(type(p.hostname), type(uri))
Dtest_mailbox.py617 hostname = socket.gethostname()
618 if '/' in hostname:
619 hostname = hostname.replace('/', r'\057')
620 if ':' in hostname:
621 hostname = hostname.replace(':', r'\072')
649 self.assertTrue(groups[4] == hostname,
651 (groups[4], hostname))
Dtest_socket.py329 hostname = socket.gethostname()
331 ip = socket.gethostbyname(hostname)
341 all_host_names = [hostname, hname] + aliases
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dgetaddrinfo.c236 getaddrinfo(const char*hostname, const char*servname, in getaddrinfo() argument
276 if (hostname == NULL && servname == NULL) in getaddrinfo()
383 if (hostname == NULL) { in getaddrinfo()
415 if (inet_pton(gai_afdl[i].a_af, hostname, pton)) { in getaddrinfo()
466 error = get_addr(hostname, pai->ai_family, &top, pai, port); in getaddrinfo()
530 get_addr(hostname, af, res, pai, port0) in get_addr() argument
531 const char *hostname; in get_addr()
550 hp = getipnodebyname(hostname, AF_INET6,
553 hp = getipnodebyname(hostname, af, AI_ADDRCONFIG, &h_error);
555 hp = gethostbyname(hostname);
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DTcpStream.cpp118 int TcpStream::connect(const char* hostname, unsigned short port) in connect() argument
120 m_sock = socket_network_client(hostname, port, SOCK_STREAM); in connect()
DTcpStream.h27 int connect(const char* hostname, unsigned short port);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dsocket.py141 hostname, aliases, ipaddrs = gethostbyaddr(name)
145 aliases.insert(0, hostname)
150 name = hostname
Durlparse.py96 def hostname(self): member in ResultMixin
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dsocket.py137 hostname, aliases, ipaddrs = gethostbyaddr(name)
141 aliases.insert(0, hostname)
146 name = hostname
Dmailbox.py457 hostname = socket.gethostname()
458 if '/' in hostname:
459 hostname = hostname.replace('/', r'\057')
460 if ':' in hostname:
461 hostname = hostname.replace(':', r'\072')
463 Maildir._count, hostname)
Durlparse.py90 def hostname(self): member in ResultMixin
/device/google/cuttlefish_vmm/x86_64/
Dbuilder-packages.txt64 hostname 3.18+b1
/device/linaro/bootloader/edk2/StdLib/Efi/StdLib/etc/
Dservices63 hostnames 101/tcp hostname # usually from sri-nic