Searched refs:portstr (Results 1 – 7 of 7) sorted by relevance
/third_party/ffmpeg/libavformat/ |
D | tcp.c | 112 char portstr[10]; in tcp_open() local 148 snprintf(portstr, sizeof(portstr), "%d", port); in tcp_open() 152 ret = getaddrinfo(NULL, portstr, &hints, &ai); in tcp_open() 154 ret = getaddrinfo(hostname, portstr, &hints, &ai); in tcp_open()
|
D | sctp.c | 191 char portstr[10]; in sctp_open() local 212 snprintf(portstr, sizeof(portstr), "%d", port); in sctp_open() 213 ret = getaddrinfo(hostname, portstr, &hints, &ai); in sctp_open()
|
D | libsrt.c | 391 char portstr[10]; in libsrt_setup() local 417 snprintf(portstr, sizeof(portstr), "%d", port); in libsrt_setup() 420 ret = getaddrinfo(hostname[0] ? hostname : NULL, portstr, &hints, &ai); in libsrt_setup()
|
/third_party/ltp/lib/ |
D | safe_net.c | 27 char portstr[8]; in tst_sock_addr() local 38 snprintf(portstr, sizeof(portstr), ":%d", in tst_sock_addr() 40 strcat(res, portstr); in tst_sock_addr() 54 snprintf(portstr, sizeof(portstr), "]:%d", in tst_sock_addr() 56 strcat(res, portstr); in tst_sock_addr()
|
/third_party/python/Lib/ |
D | telnetlib.py | 666 portstr = sys.argv[2] 668 port = int(portstr) 670 port = socket.getservbyname(portstr, 'tcp')
|
/third_party/node/deps/cares/src/lib/ |
D | ares_update_servers.c | 289 char portstr[6]; in parse_nameserver() local 302 status = ares__buf_tag_fetch_string(buf, portstr, sizeof(portstr)); in parse_nameserver() 307 sconfig->udp_port = (unsigned short)atoi(portstr); in parse_nameserver()
|
/third_party/nghttp2/src/ |
D | shrpx_config.cc | 134 auto portstr = StringRef{sep + 1, std::end(hostport)}; in split_host_port() 135 auto d = util::parse_uint(portstr); in split_host_port() 141 LOG(ERROR) << opt << ": Port is invalid: " << portstr; in split_host_port()
|