/freebsd-10.1-release/contrib/ntp/libntp/ |
H A D | decodenetnum.c | 33 const char *port_str; local 44 port_str = NULL; 61 port_str = pp + 1; 70 port_str = &cp[2]; 82 if (NULL == port_str || 1 != sscanf(port_str, "%hu", &port))
|
/freebsd-10.1-release/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-10.1-release/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-10.1-release/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-10.1-release/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-10.1-release/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-10.1-release/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-10.1-release/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-10.1-release/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-10.1-release/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-10.1-release/contrib/llvm/tools/lldb/source/Core/ |
H A D | ConnectionFileDescriptor.cpp | 65 std::string &port_str, 74 regex_match.GetMatchAtIndex (host_and_port, 2, port_str)) 76 port = Args::StringToSInt32 (port_str.c_str(), INT32_MIN); 86 port_str.clear(); 1299 std::string port_str; 1301 if (!DecodeHostAndPort (host_and_port, host_str, port_str, port, error_ptr)) 1331 if (!listen_addr.getaddrinfo(host_str.c_str(), port_str.c_str(), family, socktype, protocol)) 1455 std::string port_str; 1457 if (!DecodeHostAndPort (host_and_port, host_str, port_str, port, error_ptr)) 1530 std::string port_str; 63 DecodeHostAndPort(const char *host_and_port, std::string &host_str, std::string &port_str, int32_t& port, Error *error_ptr) argument [all...] |
/freebsd-10.1-release/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-10.1-release/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-10.1-release/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-10.1-release/sys/netinet/libalias/ |
H A D | alias_smedia.c | 238 const char *port_str) 269 while (port_dlen > (int)strlen(port_str)) { 271 pos = search_string(port_data, port_dlen, port_str); 235 alias_rtsp_out(struct libalias *la, struct ip *pip, struct alias_link *lnk, char *data, const char *port_str) argument
|
/freebsd-10.1-release/usr.sbin/rpc.statd/ |
H A D | statd.c | 72 static void complete_service(struct netconfig *nconf, char *port_str); 513 complete_service(struct netconfig *nconf, char *port_str) argument 579 if ((aicode = getaddrinfo(NULL, port_str, &hints,
|
/freebsd-10.1-release/contrib/subversion/subversion/libsvn_ra_serf/ |
H A D | serf.c | 161 const char *port_str = NULL; 210 svn_config_get(config, &port_str, SVN_CONFIG_SECTION_GLOBAL, 273 svn_config_get(config, &port_str, server_group, 274 SVN_CONFIG_OPTION_HTTP_PROXY_PORT, port_str); 339 if (port_str) 342 const long int port = strtol(port_str, &endstr, 10); 159 const char *port_str = NULL; local
|
/freebsd-10.1-release/crypto/heimdal/appl/gssmask/ |
H A D | gssmask.c | 1164 static char *port_str; variable 1175 { "port", 'p', arg_string, &port_str, "Use this port", 1218 if (port_str) { 1221 port = strtol (port_str, &ptr, 10); 1222 if (port == 0 && ptr == port_str) 1223 errx (1, "Bad port `%s'", port_str);
|