Home
last modified time | relevance | path

Searched refs:portstr (Results 1 – 7 of 7) sorted by relevance

/third_party/ffmpeg/libavformat/
Dtcp.c112 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()
Dsctp.c191 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()
Dlibsrt.c391 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/
Dsafe_net.c27 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/
Dtelnetlib.py666 portstr = sys.argv[2]
668 port = int(portstr)
670 port = socket.getservbyname(portstr, 'tcp')
/third_party/node/deps/cares/src/lib/
Dares_update_servers.c289 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/
Dshrpx_config.cc134 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()