Home
last modified time | relevance | path

Searched refs:host_end (Results 1 – 6 of 6) sorted by relevance

/third_party/grpc/src/core/ext/filters/client_channel/
Dparse_address.cc142 char* host_end = in grpc_parse_ipv6_hostport() local
144 if (host_end != nullptr) { in grpc_parse_ipv6_hostport()
145 GPR_ASSERT(host_end >= host.c_str()); in grpc_parse_ipv6_hostport()
148 static_cast<size_t>(host_end - host.c_str()); in grpc_parse_ipv6_hostport()
169 if (gpr_parse_bytes_to_uint32(host_end + 1, in grpc_parse_ipv6_hostport()
172 if ((sin6_scope_id = grpc_if_nametoindex(host_end + 1)) == 0) { in grpc_parse_ipv6_hostport()
176 host_end + 1); in grpc_parse_ipv6_hostport()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtsp/
Dgstrtspurl.c105 gchar *host_end = NULL; in gst_rtsp_url_parse() local
156 host_end = strchr (++p, ']'); in gst_rtsp_url_parse()
157 if (!host_end || (delim && host_end >= delim)) in gst_rtsp_url_parse()
161 col = host_end[1] == ':' ? host_end + 1 : NULL; in gst_rtsp_url_parse()
172 host_end = col ? col : delim; in gst_rtsp_url_parse()
175 if (!host_end) in gst_rtsp_url_parse()
178 res->host = g_strndup (p, host_end - p); in gst_rtsp_url_parse()
/third_party/grpc/src/core/lib/iomgr/
Dparse_address.cc221 char* host_end = in grpc_parse_ipv6_hostport() local
223 if (host_end != nullptr) { in grpc_parse_ipv6_hostport()
224 GPR_ASSERT(host_end >= host.c_str()); in grpc_parse_ipv6_hostport()
227 static_cast<size_t>(host_end - host.c_str()); in grpc_parse_ipv6_hostport()
248 if (gpr_parse_bytes_to_uint32(host_end + 1, in grpc_parse_ipv6_hostport()
251 if ((sin6_scope_id = grpc_if_nametoindex(host_end + 1)) == 0) { in grpc_parse_ipv6_hostport()
255 host_end + 1); in grpc_parse_ipv6_hostport()
/third_party/curl/lib/
Dhostip.c1026 char *host_end; in Curl_loadhostpairs() local
1035 host_end = strchr(host_begin, ':'); in Curl_loadhostpairs()
1036 if(!host_end || in Curl_loadhostpairs()
1037 ((host_end - host_begin) >= (ptrdiff_t)sizeof(hostname))) in Curl_loadhostpairs()
1040 memcpy(hostname, host_begin, host_end - host_begin); in Curl_loadhostpairs()
1041 hostname[host_end - host_begin] = '\0'; in Curl_loadhostpairs()
1043 port_ptr = host_end + 1; in Curl_loadhostpairs()
/third_party/glib/gio/
Dgdummyfile.c606 const char *host_start, *host_end; in _g_decode_uri() local
637 host_end = port_start++; in _g_decode_uri()
643 host_end = authority_end; in _g_decode_uri()
647 decoded->host = g_strndup (host_start, host_end - host_start); in _g_decode_uri()
Dgosxappinfo.m204 char *host_end, *scheme, *host, *hostname;
208 host_end = strchr (host_start, '/');
210 if (host_end != NULL)
211 host = g_strndup (host_start, host_end - host_start);
217 ret = g_strconcat (scheme, "://", hostname, host_end, NULL);