/external/starlark-go/starlarkstruct/testdata/ |
D | struct.star | 21 hostport = gensym(name = "hostport") 22 assert.eq(type(hostport), "symbol") 23 assert.eq(str(hostport), "hostport") 26 http = hostport(host = "localhost", port = 80) 28 assert.eq(str(http), 'hostport(host = "localhost", port = 80)') # includes name of constructor 30 assert.eq(http, hostport(host = "localhost", port = 80)) 31 assert.ne(http, hostport(host = "localhost", port = 443)) 34 assert.fails(lambda : http.protocol, "hostport struct has no .protocol attribute") 42 hostport2 = gensym(name = "hostport") 43 assert.eq(hostport, hostport) [all …]
|
/external/libpcap/ |
D | sockutils.c | 913 char hostport[PCAP_ERRBUF_SIZE]; in get_gai_errstring() local 916 snprintf(hostport, PCAP_ERRBUF_SIZE, "host and port %s:%s", in get_gai_errstring() 919 snprintf(hostport, PCAP_ERRBUF_SIZE, "host %s", in get_gai_errstring() 922 snprintf(hostport, PCAP_ERRBUF_SIZE, "port %s", in get_gai_errstring() 925 snprintf(hostport, PCAP_ERRBUF_SIZE, "<no host or port!>"); in get_gai_errstring() 932 prefix, hostport); in get_gai_errstring() 939 prefix, hostport); in get_gai_errstring() 945 prefix, hostport); in get_gai_errstring() 951 prefix, hostport); in get_gai_errstring() 957 prefix, hostport); in get_gai_errstring() [all …]
|
/external/openthread/third_party/tcplp/bsdtcp/ |
D | tcp_var.h | 54 uint16_t tcplp_sys_hostswap16(uint16_t hostport); 55 uint32_t tcplp_sys_hostswap32(uint32_t hostport); 64 static inline uint16_t htons(uint16_t hostport) { in htons() argument 65 return tcplp_sys_hostswap16(hostport); in htons() 70 static inline uint16_t ntohs(uint16_t hostport) { in ntohs() argument 71 return tcplp_sys_hostswap16(hostport); in ntohs() 76 static inline uint32_t htonl(uint32_t hostport) { in htonl() argument 77 return tcplp_sys_hostswap32(hostport); in htonl() 82 static inline uint32_t ntohl(uint32_t hostport) { in ntohl() argument 83 return tcplp_sys_hostswap32(hostport); in ntohl()
|
/external/libevent/sample/ |
D | http-connect.c | 91 char hostport[URL_MAX]; in main() local 117 uri_hostport(location, hostport); in main() 120 evhttp_add_header(req->output_headers, "Host", hostport); in main() 121 evhttp_make_request(evcon, req, EVHTTP_REQ_CONNECT, hostport); in main()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/address_utils/ |
D | parse_address.cc | 150 bool grpc_parse_ipv4_hostport(absl::string_view hostport, in grpc_parse_ipv4_hostport() argument 156 if (!grpc_core::SplitHostPort(hostport, &host, &port)) { in grpc_parse_ipv4_hostport() 159 std::string(hostport).c_str()); in grpc_parse_ipv4_hostport() 202 bool grpc_parse_ipv6_hostport(absl::string_view hostport, in grpc_parse_ipv6_hostport() argument 208 if (!grpc_core::SplitHostPort(hostport, &host, &port)) { in grpc_parse_ipv6_hostport() 211 std::string(hostport).c_str()); in grpc_parse_ipv6_hostport()
|
D | parse_address.h | 56 bool grpc_parse_ipv4_hostport(absl::string_view hostport, 58 bool grpc_parse_ipv6_hostport(absl::string_view hostport,
|
/external/grpc-grpc/src/core/ext/filters/client_channel/ |
D | parse_address.h | 50 bool grpc_parse_ipv4_hostport(const char* hostport, grpc_resolved_address* addr, 52 bool grpc_parse_ipv6_hostport(const char* hostport, grpc_resolved_address* addr,
|
D | parse_address.cc | 92 bool grpc_parse_ipv4_hostport(const char* hostport, grpc_resolved_address* addr, in grpc_parse_ipv4_hostport() argument 98 if (!gpr_split_host_port(hostport, &host, &port)) return false; in grpc_parse_ipv4_hostport() 138 bool grpc_parse_ipv6_hostport(const char* hostport, grpc_resolved_address* addr, in grpc_parse_ipv6_hostport() argument 144 if (!gpr_split_host_port(hostport, &host, &port)) return false; in grpc_parse_ipv6_hostport()
|
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/ |
D | grpc_ares_wrapper.cc | 487 char** hostport) { in inner_resolve_as_ip_literal_locked() argument 507 GPR_ASSERT(gpr_join_host_port(hostport, *host, atoi(*port))); in inner_resolve_as_ip_literal_locked() 508 if (grpc_parse_ipv4_hostport(*hostport, &addr, false /* log errors */) || in inner_resolve_as_ip_literal_locked() 509 grpc_parse_ipv6_hostport(*hostport, &addr, false /* log errors */)) { in inner_resolve_as_ip_literal_locked() 525 char* hostport = nullptr; in resolve_as_ip_literal_locked() local 527 &host, &port, &hostport); in resolve_as_ip_literal_locked() 530 gpr_free(hostport); in resolve_as_ip_literal_locked()
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | remote_device_test.cc | 48 const string& hostport = cluster_->targets()[0]; in RemoteDeviceTest() local 50 TF_CHECK_OK(spec.AddHostPortsJob("localhost", {hostport})); in RemoteDeviceTest()
|
/external/toolchain-utils/crosperf/ |
D | suite_runner.py | 129 ) as hostport: 130 ret_tup = self.Tast_Run(hostport, label, benchmark)
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/ |
D | grpc_ares_wrapper.cc | 934 std::string* port, std::string* hostport) { in inner_resolve_as_ip_literal_locked() argument 953 *hostport = grpc_core::JoinHostPort(*host, atoi(port->c_str())); in inner_resolve_as_ip_literal_locked() 954 if (grpc_parse_ipv4_hostport(hostport->c_str(), &addr, in inner_resolve_as_ip_literal_locked() 956 grpc_parse_ipv6_hostport(hostport->c_str(), &addr, in inner_resolve_as_ip_literal_locked() 971 std::string hostport; in resolve_as_ip_literal_locked() local 973 &host, &port, &hostport); in resolve_as_ip_literal_locked()
|
/external/python/cpython2/Lib/ |
D | urllib2.py | 728 userinfo, hostport = splituser(authority) 733 return scheme, user, password, hostport 751 proxy_type, user, password, hostport = _parse_proxy(proxy) 763 hostport = unquote(hostport) 764 req.set_proxy(hostport, proxy_type)
|
/external/python/cpython3/Lib/urllib/ |
D | request.py | 784 userinfo, hostport = _splituser(authority) 789 return scheme, user, password, hostport 808 proxy_type, user, password, hostport = _parse_proxy(proxy) 820 hostport = unquote(hostport) 821 req.set_proxy(hostport, proxy_type)
|
/external/python/pycparser/utils/benchmark/inputs/ |
D | redis.c.ppout | 1826 int hostport; 1906 config.hostip, config.hostport); 2003 config.hostport = atoi(port + 1); 2326 context = redisConnect(config.hostip,config.hostport); 2334 fprintf(stderr,"%s:%d: %s\n",config.hostip,config.hostport,context->errstr); 2611 config.hostport = atoi(s+1); 2614 slot, config.hostip, config.hostport); 2760 c = redisConnect(config.hostip,config.hostport); 2800 config.hostport = atoi(argv[++i]); 3147 config.hostport = atoi(argv[2]); [all …]
|
/external/jemalloc_new/bin/ |
D | jeprof.in | 3293 my $hostport = $2; 3297 my $host = $hostport; 3300 my $baseurl = "$proto$hostport$prefix";
|
/external/jcommander/doc/ |
D | index.adoc | 330 @Parameter(names = "-hostport") 344 .parse("-hostport", "example.com:8080");
|
/external/owasp/java-encoder/core/src/test/resources/org/owasp/encoder/ |
D | benchmark-data-2.txt | 10 <hostport>
|