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 145 snprintf(portstr, sizeof(portstr), "%d", port); in tcp_open() 149 ret = getaddrinfo(NULL, portstr, &hints, &ai); in tcp_open() 151 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 | 376 char portstr[10]; in libsrt_setup() local 402 snprintf(portstr, sizeof(portstr), "%d", port); in libsrt_setup() 405 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/gstreamer/gstplugins_good/gst/rtpmanager/ |
D | gstrtpjitterbuffer.c | 1480 const gchar *host, *portstr; in gst_jitter_buffer_sink_parse_caps() local 1487 portstr = strchr (host, ']'); in gst_jitter_buffer_sink_parse_caps() 1488 if (portstr && portstr[1] == ':') in gst_jitter_buffer_sink_parse_caps() 1489 portstr = portstr + 1; in gst_jitter_buffer_sink_parse_caps() 1491 portstr = NULL; in gst_jitter_buffer_sink_parse_caps() 1493 portstr = strrchr (host, ':'); in gst_jitter_buffer_sink_parse_caps() 1497 if (!portstr || sscanf (portstr, ":%u", &port) != 1) in gst_jitter_buffer_sink_parse_caps() 1500 if (portstr) in gst_jitter_buffer_sink_parse_caps() 1501 hostname = g_strndup (host, (portstr - host)); in gst_jitter_buffer_sink_parse_caps()
|
/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()
|