Searched refs:uri_text (Results 1 – 5 of 5) sorted by relevance
/third_party/grpc/test/core/client_channel/ |
D | parse_address_test.cc | 37 static void test_grpc_parse_unix(const char* uri_text, const char* pathname) { in test_grpc_parse_unix() argument 39 grpc_uri* uri = grpc_uri_parse(uri_text, 0); in test_grpc_parse_unix() 53 static void test_grpc_parse_unix(const char* uri_text, const char* pathname) {} in test_grpc_parse_unix() argument 57 static void test_grpc_parse_ipv4(const char* uri_text, const char* host, in test_grpc_parse_ipv4() argument 60 grpc_uri* uri = grpc_uri_parse(uri_text, 0); in test_grpc_parse_ipv4() 75 static void test_grpc_parse_ipv6(const char* uri_text, const char* host, in test_grpc_parse_ipv6() argument 78 grpc_uri* uri = grpc_uri_parse(uri_text, 0); in test_grpc_parse_ipv6() 95 static void test_grpc_parse_ipv6_invalid(const char* uri_text) { in test_grpc_parse_ipv6_invalid() argument 97 grpc_uri* uri = grpc_uri_parse(uri_text, 0); in test_grpc_parse_ipv6_invalid()
|
D | uri_parser_test.cc | 29 static void test_succeeds(const char* uri_text, const char* scheme, in test_succeeds() argument 33 grpc_uri* uri = grpc_uri_parse(uri_text, 0); in test_succeeds() 44 static void test_fails(const char* uri_text) { in test_fails() argument 46 GPR_ASSERT(nullptr == grpc_uri_parse(uri_text, 0)); in test_fails() 52 const char* uri_text = "http://foo/path?a&b=B&c=&#frag"; in test_query_parts() local 53 grpc_uri* uri = grpc_uri_parse(uri_text, 0); in test_query_parts() 86 const char* uri_text = "http://auth/path?foo=bar=baz&foobar=="; in test_query_parts() local 87 grpc_uri* uri = grpc_uri_parse(uri_text, 0); in test_query_parts() 104 const char* uri_text = "http://foo/path"; in test_query_parts() local 105 grpc_uri* uri = grpc_uri_parse(uri_text, 0); in test_query_parts()
|
D | parse_address_with_named_scope_id_test.cc | 63 struct sockaddr_in6 resolve_with_gettaddrinfo(const char* uri_text) { in resolve_with_gettaddrinfo() argument 64 grpc_uri* uri = grpc_uri_parse(uri_text, 0); in resolve_with_gettaddrinfo()
|
/third_party/grpc/src/core/lib/uri/ |
D | uri_parser.cc | 85 absl::StatusOr<URI> URI::Parse(absl::string_view uri_text) { in Parse() argument 87 absl::string_view remaining = uri_text; in Parse() 91 return MakeInvalidURIStatus("scheme", uri_text, "Scheme not found."); in Parse() 97 return MakeInvalidURIStatus("scheme", uri_text, in Parse() 102 "scheme", uri_text, in Parse() 126 return MakeInvalidURIStatus("query", uri_text, "Invalid query string."); in Parse() 129 return MakeInvalidURIStatus("query string", uri_text, in Parse() 145 return MakeInvalidURIStatus("fragment", uri_text, in Parse()
|
D | uri_parser.h | 47 static absl::StatusOr<URI> Parse(absl::string_view uri_text);
|