/freebsd-12-stable/crypto/heimdal/appl/test/ |
H A D | common.c | 40 static char *port_str; variable 49 { "port", 'p', arg_string, &port_str, "port to listen to", "port" }, 90 if(port_str){ 91 struct servent *s = roken_getservbyname(port_str, "tcp"); 97 port = strtol (port_str, &ptr, 10); 98 if (port == 0 && ptr == port_str) 99 errx (1, "Bad port `%s'", port_str);
|
H A D | nt_gss_server.c | 52 static char *port_str; variable 57 { "port", 'p', arg_string, &port_str, "port to listen to", "port" }, 209 if(port_str){ 210 struct servent *s = roken_getservbyname(port_str, "tcp"); 216 port = strtol (port_str, &ptr, 10); 217 if (port == 0 && ptr == port_str) 218 errx (1, "Bad port `%s'", port_str);
|
H A D | http_client.c | 116 static char *port_str = "http"; variable 121 { "port", 'p', arg_string, &port_str, "port to connect to", "port" }, 202 s = do_connect(host, port_str);
|
/freebsd-12-stable/crypto/heimdal/kadmin/ |
H A D | kadmind.c | 45 static char *port_str; variable 71 { "ports", 'p', arg_string, &port_str, 166 if(port_str == NULL) 170 debug_port = htons(atoi(port_str)); 175 start_server(context, port_str); 189 start_server(context, port_str);
|
H A D | kadm_conn.c | 225 start_server(krb5_context contextp, const char *port_str) argument 234 if (port_str == NULL) 235 port_str = "+"; 237 parse_ports(contextp, port_str);
|
/freebsd-12-stable/crypto/heimdal/kdc/ |
H A D | kdc_locl.h | 52 extern const char *port_str;
|
H A D | config.c | 79 { "ports", 'P', arg_string, rk_UNCONST(&port_str), 216 if(port_str == NULL){ 219 port_str = strdup(p); 269 if (port_str == NULL) 270 port_str = "+";
|
/freebsd-12-stable/contrib/gdb/gdb/ |
H A D | ser-tcp.c | 60 char *port_str, hostname[100]; local 75 port_str = strchr (name, ':'); 77 if (!port_str) 80 tmp = min (port_str - name, (int) sizeof hostname - 1); 83 port = atoi (port_str + 1);
|
/freebsd-12-stable/crypto/heimdal/appl/kf/ |
H A D | kf.c | 40 static char *port_str; variable 47 { "port", 'p', arg_string, &port_str, "port to connect to", "port" }, 95 if(port_str) { 96 struct servent *s = roken_getservbyname(port_str, "tcp"); 102 port = strtol (port_str, &ptr, 10); 103 if (port == 0 && ptr == port_str) 104 errx (1, "Bad port `%s'", port_str);
|
H A D | kfd.c | 42 static char *port_str; variable 48 { "port", 'p', arg_string, &port_str, "port to listen to", "port" }, 80 if(port_str){ 81 struct servent *s = roken_getservbyname(port_str, "tcp"); 87 port = strtol (port_str, &ptr, 10); 88 if (port == 0 && ptr == port_str) 89 errx (1, "Bad port `%s'", port_str);
|
/freebsd-12-stable/contrib/llvm-project/lldb/source/Host/common/ |
H A D | UDPSocket.cpp | 65 std::string port_str; local 67 if (!DecodeHostAndPort(name, host_str, port_str, port, &error)) 79 int err = ::getaddrinfo(host_str.c_str(), port_str.c_str(), &hints, 88 host_str.c_str(), port_str.c_str(), err, gai_strerror(err));
|
H A D | Socket.cpp | 177 std::string port_str; local 179 if (!DecodeHostAndPort(host_and_port, host_str, port_str, port, &error)) 282 std::string &host_str, std::string &port_str, 289 port_str = matches[2].str(); 294 port = StringConvert::ToUInt32(port_str.c_str(), UINT32_MAX, 10, &ok); 310 port_str.clear(); 312 port_str = host_and_port; 281 DecodeHostAndPort(llvm::StringRef host_and_port, std::string &host_str, std::string &port_str, int32_t &port, Status *error_ptr) argument
|
H A D | TCPSocket.cpp | 147 std::string port_str; local 149 if (!DecodeHostAndPort(name, host_str, port_str, port, &error)) 183 std::string port_str; local 185 if (!DecodeHostAndPort(name, host_str, port_str, port, &error))
|
/freebsd-12-stable/contrib/apr-util/test/ |
H A D | testuri.c | 33 const char *port_str; member in struct:aup_test 192 const char *port_str; member in struct:uph_test 237 " port_str: %s\n" 247 info->hostname, info->port_str, info->path, info->query, 277 ABTS_STR_EQUAL(tc, t->port_str, info.port_str); 293 ABTS_STR_EQUAL(tc, info.port_str, NULL); 316 ABTS_STR_EQUAL(tc, t->port_str, info.port_str);
|
/freebsd-12-stable/contrib/apr-util/uri/ |
H A D | apr_uri.c | 128 (uptr->port_str == NULL || 134 is_default_port ? "" : uptr->port_str, 883 uptr->port_str = apr_pstrmemdup(p, s, uri - s); 885 port = strtol(uptr->port_str, &endstr, 10); 953 uptr->port_str = apr_pstrdup(p, s); 955 uptr->port = (unsigned short) strtol(uptr->port_str, &endstr, 10);
|
/freebsd-12-stable/contrib/llvm-project/lldb/tools/lldb-server/ |
H A D | Acceptor.cpp | 98 std::string port_str; local 101 if (Socket::DecodeHostAndPort(name, host_str, port_str, port, nullptr))
|
/freebsd-12-stable/contrib/apr-util/include/ |
H A D | apr_uri.h | 97 char *port_str; member in struct:apr_uri_t 108 /** The port number, numeric, valid only if port_str != NULL */
|
/freebsd-12-stable/crypto/heimdal/lib/kadm5/ |
H A D | ipropd_master.c | 85 make_listen_socket (krb5_context context, const char *port_str) argument 98 if (port_str) { 100 port_str, "tcp", 106 port = strtol (port_str, &ptr, 10); 107 if (port == 0 && ptr == port_str) 108 krb5_errx (context, 1, "bad port `%s'", port_str); 123 make_listen6_socket (krb5_context context, const char *port_str) argument 136 if (port_str) { 138 port_str, "tcp", 144 port = strtol (port_str, 777 static char *port_str; variable [all...] |
H A D | ipropd_slave.c | 48 const char *port_str) 59 if (port_str == NULL) { 61 port_str = port; 64 error = getaddrinfo (master, port_str, &hints, &ai); 458 static char *port_str; variable 470 { "port", 0, arg_string, &port_str, 623 master_fd = connect_to_master (context, master, port_str); 47 connect_to_master(krb5_context context, const char *master, const char *port_str) argument
|
/freebsd-12-stable/contrib/gdb/gdb/gdbserver/ |
H A D | gdbreplay.c | 105 char *port_str; local 111 port_str = strchr (name, ':'); 113 port = atoi (port_str + 1);
|
H A D | remote-utils.c | 111 char *port_str; local 117 port_str = strchr (name, ':'); 119 port = atoi (port_str + 1);
|
/freebsd-12-stable/crypto/heimdal/appl/push/ |
H A D | push.c | 49 static char *port_str; variable 70 { "port", 'p', arg_string, &port_str, "Use this port", 754 if (port_str) { 755 struct servent *s = roken_getservbyname (port_str, "tcp"); 762 port = strtol (port_str, &ptr, 10); 763 if (port == 0 && ptr == port_str) 764 errx (1, "Bad port `%s'", port_str);
|
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Host/ |
H A D | Socket.h | 102 std::string &host_str, std::string &port_str,
|
/freebsd-12-stable/crypto/heimdal/kpasswd/ |
H A D | kpasswdd.c | 764 static char *port_str; variable 782 { "port", 'p', arg_string, &port_str, "port", NULL }, 826 if (port_str != NULL) { 827 struct servent *s = roken_getservbyname (port_str, "udp"); 834 port = strtol (port_str, &ptr, 10); 835 if (port == 0 && ptr == port_str) 836 krb5_errx (context, 1, "bad port `%s'", port_str);
|
/freebsd-12-stable/sys/netinet/libalias/ |
H A D | alias_smedia.c | 236 const char *port_str) 267 while (port_dlen > (int)strlen(port_str)) { 269 pos = search_string(port_data, port_dlen, port_str); 233 alias_rtsp_out(struct libalias *la, struct ip *pip, struct alias_link *lnk, char *data, const char *port_str) argument
|