Home
last modified time | relevance | path

Searched full:url (Results 1 – 25 of 13813) sorted by relevance

12345678910>>...553

/external/tensorflow/tensorflow/core/data/service/
Durl_test.cc15 #include "tensorflow/core/data/service/url.h"
24 URL url("localhost"); in TEST() local
25 EXPECT_EQ(url.host(), "localhost"); in TEST()
26 EXPECT_FALSE(url.has_port()); in TEST()
30 URL url("http://localhost"); in TEST() local
31 EXPECT_EQ(url.host(), "http://localhost"); in TEST()
32 EXPECT_FALSE(url.has_port()); in TEST()
36 URL url("localhost:1234"); in TEST() local
37 EXPECT_EQ(url.host(), "localhost"); in TEST()
38 EXPECT_TRUE(url.has_port()); in TEST()
[all …]
/external/rust/android-crates-io/crates/url/src/
Dquirks.rs1 // Copyright 2016 The rust-url developers.
9 //! Getters and setters for URL components implemented per <https://url.spec.whatwg.org/#api>
12 //! you probably want to use `Url` method instead.
15 use crate::{Host, ParseError, Position, Url};
17 /// Internal components / offsets of a URL.
42 /// Internal component / parsed offsets of the URL.
45 /// for the URL.
47 pub fn internal_components(url: &Url) -> InternalComponents { in internal_components()
49 scheme_end: url.scheme_end, in internal_components()
50 username_end: url.username_end, in internal_components()
[all …]
Dlib.rs1 // Copyright 2013-2015 The rust-url developers.
11 rust-url is an implementation of the [URL Standard](http://url.spec.whatwg.org/)
15 # URL parsing and data structures
17 First, URL parsing may fail for various reasons and therefore returns a `Result`.
20 use url::{Url, ParseError};
22 assert!(Url::parse("http://[:::1]") == Err(ParseError::InvalidIpv6Address))
25 Let’s parse a valid URL and look at its components.
28 use url::{Url, Host, Position};
29 # use url::ParseError;
31 let issue_list_url = Url::parse(
[all …]
Dpath_segments.rs1 // Copyright 2016 The rust-url developers.
10 use crate::Url;
13 /// Exposes methods to manipulate the path of an URL that is not cannot-be-base.
21 /// use url::Url;
25 /// let mut url = Url::parse("mailto:me@example.com")?;
26 /// assert!(url.path_segments_mut().is_err());
28 /// let mut url = Url::parse("http://example.net/foo/index.html")?;
29 /// url.path_segments_mut().map_err(|_| "cannot be base")?
31 /// assert_eq!(url.as_str(), "http://example.net/foo/img/2%2F100%25.png");
38 url: &'a mut Url, field
[all …]
/external/libbrillo/brillo/
Durl_utils_test.cc13 url::Combine("http://sample.org", "path")); in TEST()
15 url::Combine("http://sample.org/", "path")); in TEST()
16 EXPECT_EQ("path1/path2", url::Combine("", "path1/path2")); in TEST()
17 EXPECT_EQ("path1/path2", url::Combine("path1", "path2")); in TEST()
18 EXPECT_EQ("http://sample.org", url::Combine("http://sample.org", "")); in TEST()
20 url::Combine("http://sample.org/", "/path")); in TEST()
22 url::Combine("http://sample.org", "//////path")); in TEST()
23 EXPECT_EQ("http://sample.org/", url::Combine("http://sample.org", "///")); in TEST()
25 url::Combine("http://sample.org/obj", "path1/path2")); in TEST()
27 url::Combine("http://sample.org/obj#tag", "path1/path2")); in TEST()
[all …]
Durl_utils.cc10 // Given a URL string, determine where the query string starts and ends.
13 // have a query string that is separated from the path by '?'. Finally, the URL
14 // could also have a '#'-separated URL fragment which is usually used by the
18 // http://server.com/path/to/object - is the URL of the object,
19 // ?k=v&foo=bar - URL query string
20 // #fragment - URL fragment string
24 bool GetQueryStringPos(const std::string& url, in GetQueryStringPos() argument
28 size_t query_start = url.find_first_of("?#"); in GetQueryStringPos()
30 *query_pos = url.size(); in GetQueryStringPos()
38 size_t query_end = url.size(); in GetQueryStringPos()
[all …]
/external/rust/android-crates-io/crates/url/tests/
Dunit.rs1 // Copyright 2013-2014 The rust-url developers.
16 use url::{form_urlencoded, Host, Origin, Url};
27 assert_eq!(size_of::<Url>(), size_of::<Option<Url>>()); in size()
32 let base: Url = "sc://%C3%B1".parse().unwrap(); in test_relative()
33 let url = base.join("/resources/testharness.js").unwrap(); in test_relative() localVariable
34 assert_eq!(url.as_str(), "sc://%C3%B1/resources/testharness.js"); in test_relative()
39 let base: Url = "sc://%C3%B1".parse().unwrap(); in test_relative_empty()
40 let url = base.join("").unwrap(); in test_relative_empty() localVariable
41 assert_eq!(url.as_str(), "sc://%C3%B1"); in test_relative_empty()
46 let mut url: Url = "data:space ?query".parse().unwrap(); in test_strip_trailing_spaces_from_opaque_path() localVariable
[all …]
/external/bazelbuild-rules_license/licenses/spdx/
DBUILD72 url = "https://spdx.org/licenses/0BSD.html",
78 url = "https://spdx.org/licenses/3D-Slicer-1.0.html",
84 url = "https://spdx.org/licenses/AAL.html",
90 url = "https://spdx.org/licenses/Abstyles.html",
96 url = "https://spdx.org/licenses/AdaCore-doc.html",
102 url = "https://spdx.org/licenses/Adobe-2006.html",
108 url = "https://spdx.org/licenses/Adobe-Display-PostScript.html",
114 url = "https://spdx.org/licenses/Adobe-Glyph.html",
120 url = "https://spdx.org/licenses/Adobe-Utopia.html",
126 url = "https://spdx.org/licenses/ADSL.html",
[all …]
/external/cronet/stable/net/third_party/quiche/src/quiche/quic/tools/
Dquic_url_test.cc20 QuicUrl url(url_str); in TEST_F() local
21 EXPECT_FALSE(url.IsValid()); in TEST_F()
25 url = QuicUrl(url_str); in TEST_F()
26 EXPECT_TRUE(url.IsValid()); in TEST_F()
27 EXPECT_EQ("http://www.example.com/", url.ToString()); in TEST_F()
28 EXPECT_EQ("http", url.scheme()); in TEST_F()
29 EXPECT_EQ("www.example.com", url.HostPort()); in TEST_F()
30 EXPECT_EQ("/", url.PathParamsQuery()); in TEST_F()
31 EXPECT_EQ(80u, url.port()); in TEST_F()
35 url = QuicUrl(url_str); in TEST_F()
[all …]
/external/cronet/tot/net/third_party/quiche/src/quiche/quic/tools/
Dquic_url_test.cc20 QuicUrl url(url_str); in TEST_F() local
21 EXPECT_FALSE(url.IsValid()); in TEST_F()
25 url = QuicUrl(url_str); in TEST_F()
26 EXPECT_TRUE(url.IsValid()); in TEST_F()
27 EXPECT_EQ("http://www.example.com/", url.ToString()); in TEST_F()
28 EXPECT_EQ("http", url.scheme()); in TEST_F()
29 EXPECT_EQ("www.example.com", url.HostPort()); in TEST_F()
30 EXPECT_EQ("/", url.PathParamsQuery()); in TEST_F()
31 EXPECT_EQ(80u, url.port()); in TEST_F()
35 url = QuicUrl(url_str); in TEST_F()
[all …]
/external/tinyxml2/docs/
Dmenudata.js26 {text:"Main Page",url:"index.html"}, property
27 {text:"Related Pages",url:"pages.html"}, property
28 {text:"Classes",url:"annotated.html",children:[ property
29 {text:"Class List",url:"annotated.html"}, property
30 {text:"Class Index",url:"classes.html"}, property
31 {text:"Class Hierarchy",url:"hierarchy.html"}, property
32 {text:"Class Members",url:"functions.html",children:[ property
33 {text:"All",url:"functions.html",children:[ property
34 {text:"a",url:"functions.html#index_a"}, property
35 {text:"b",url:"functions_b.html#index_b"}, property
[all …]
/external/angle/third_party/vulkan_memory_allocator/docs/html/
Dmenudata.js26 {text:"Main Page",url:"index.html"}, property
27 {text:"Related Pages",url:"pages.html"}, property
28 {text:"Modules",url:"modules.html"}, property
29 {text:"Classes",url:"annotated.html",children:[ property
30 {text:"Class List",url:"annotated.html"}, property
31 {text:"Class Index",url:"classes.html"}, property
32 {text:"Class Members",url:"functions.html",children:[ property
33 {text:"All",url:"functions.html",children:[ property
34 {text:"a",url:"functions.html#index_a"}, property
35 {text:"b",url:"functions.html#index_b"}, property
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/docs/_data/
Dnavigation.yml3 url: doc/reference/
5 url: https://github.com/google/ExoPlayer
7 url: https://medium.com/google-exoplayer
13 url: index.html
15 url: pros-and-cons.html
17 url: demo-application.html
19 url: supported-formats.html
21 url: supported-devices.html
23 url: glossary.html
27 url: hello-world.html
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/docs/_data/
Dnavigation.yml3 url: doc/reference/
5 url: https://github.com/google/ExoPlayer
7 url: https://medium.com/google-exoplayer
13 url: index.html
15 url: pros-and-cons.html
17 url: demo-application.html
19 url: supported-formats.html
21 url: supported-devices.html
23 url: glossary.html
27 url: hello-world.html
[all …]
/external/guava/android/guava/src/com/google/common/io/
DResources.java28 import java.net.URL;
36 * methods use {@link URL} parameters, they are usually not appropriate for HTTP or other
51 * Returns a {@link ByteSource} that reads from the given URL.
55 public static ByteSource asByteSource(URL url) { in asByteSource() argument
56 return new UrlByteSource(url); in asByteSource()
59 /** A byte source that reads from a URL using {@link URL#openStream()}. */
62 private final URL url; field in Resources.UrlByteSource
64 private UrlByteSource(URL url) { in UrlByteSource() argument
65 this.url = checkNotNull(url); in UrlByteSource()
70 return url.openStream(); in openStream()
[all …]
/external/guava/guava/src/com/google/common/io/
DResources.java28 import java.net.URL;
36 * methods use {@link URL} parameters, they are usually not appropriate for HTTP or other
51 * Returns a {@link ByteSource} that reads from the given URL.
55 public static ByteSource asByteSource(URL url) { in asByteSource() argument
56 return new UrlByteSource(url); in asByteSource()
59 /** A byte source that reads from a URL using {@link URL#openStream()}. */
62 private final URL url; field in Resources.UrlByteSource
64 private UrlByteSource(URL url) { in UrlByteSource() argument
65 this.url = checkNotNull(url); in UrlByteSource()
70 return url.openStream(); in openStream()
[all …]
/external/libwebsockets/test-apps/android/app/
Dapp.iml27 <output url="file://$MODULE_DIR$/build/intermediates/classes/debug" />
28 <output-test url="file://$MODULE_DIR$/build/intermediates/classes/test/debug" />
30 <content url="file://$MODULE_DIR$">
31 …<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/debug" isTestSource="false" genera…
32 …<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/debug" isTestSource="false" gen…
33 …<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/debug" isTestSource="fal…
34 …<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/debug" isTestSource="false" gener…
35 <sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/debug" type="java-resource" />
36 …<sourceFolder url="file://$MODULE_DIR$/build/generated/res/resValues/debug" type="java-resource" />
37 …<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/androidTest/debug" isTestSource="t…
[all …]
/external/googleapis/google/ads/googleads/v15/errors/
Durl_field_error.proto28 // Proto file describing url field errors.
30 // Container for enum describing possible url field errors.
32 // Enum describing possible url field errors.
40 // The tracking url template is invalid.
43 // The tracking url template contains invalid tag.
46 // The tracking url template must contain at least one tag (for example,
47 // {lpurl}), This applies only to tracking url template associated with
51 // The tracking url template must start with a valid protocol (or lpurl
55 // The tracking url template starts with an invalid protocol.
58 // The tracking url template contains illegal characters.
[all …]
/external/googleapis/google/ads/googleads/v14/errors/
Durl_field_error.proto28 // Proto file describing url field errors.
30 // Container for enum describing possible url field errors.
32 // Enum describing possible url field errors.
40 // The tracking url template is invalid.
43 // The tracking url template contains invalid tag.
46 // The tracking url template must contain at least one tag (for example,
47 // {lpurl}), This applies only to tracking url template associated with
51 // The tracking url template must start with a valid protocol (or lpurl
55 // The tracking url template starts with an invalid protocol.
58 // The tracking url template contains illegal characters.
[all …]
/external/googleapis/google/ads/googleads/v16/errors/
Durl_field_error.proto28 // Proto file describing url field errors.
30 // Container for enum describing possible url field errors.
32 // Enum describing possible url field errors.
40 // The tracking url template is invalid.
43 // The tracking url template contains invalid tag.
46 // The tracking url template must contain at least one tag (for example,
47 // {lpurl}), This applies only to tracking url template associated with
51 // The tracking url template must start with a valid protocol (or lpurl
55 // The tracking url template starts with an invalid protocol.
58 // The tracking url template contains illegal characters.
[all …]
/external/cronet/stable/net/base/
Dschemeful_site_unittest.cc16 #include "url/gurl.h"
17 #include "url/origin.h"
18 #include "url/url_util.h"
24 url::Origin kTestOrigins[] = { in TEST()
25 url::Origin::Create(GURL("http://a.foo.test")), in TEST()
26 url::Origin::Create(GURL("http://b.foo.test")), in TEST()
27 url::Origin::Create(GURL("http://foo.test")), in TEST()
28 url::Origin::Create(GURL("http://a.b.foo.test"))}; in TEST()
40 url::Origin kTestOrigins[] = { in TEST()
41 url::Origin::Create(GURL("data:text/html,<body>Hello World</body>")), in TEST()
[all …]
/external/cronet/tot/net/base/
Dschemeful_site_unittest.cc16 #include "url/gurl.h"
17 #include "url/origin.h"
18 #include "url/url_util.h"
24 url::Origin kTestOrigins[] = { in TEST()
25 url::Origin::Create(GURL("http://a.foo.test")), in TEST()
26 url::Origin::Create(GURL("http://b.foo.test")), in TEST()
27 url::Origin::Create(GURL("http://foo.test")), in TEST()
28 url::Origin::Create(GURL("http://a.b.foo.test"))}; in TEST()
40 url::Origin kTestOrigins[] = { in TEST()
41 url::Origin::Create(GURL("data:text/html,<body>Hello World</body>")), in TEST()
[all …]
/external/curl/docs/libcurl/
Dcurl_url_set.md21 curl_url_set - set a URL part
28 CURLUcode curl_url_set(CURLU *url,
36 The *url* handle to work on, passed in as the first argument, must be a
39 This function sets or updates individual URL components, or parts, held by the
40 URL object the handle identifies.
42 The *part* argument should identify the particular URL part (see list below)
44 new contents for that URL part. The contents should be in the form and
45 encoding they would use in a URL: URL encoded.
47 When setting a part in the URL object that was previously already set, it
61 When setting or updating contents of individual URL parts, curl_url_set(3)
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DRequest.java21 import java.net.URL;
29 private final HttpUrl url; field in Request
35 private volatile URL javaNetUrl; // Lazily initialized.
40 this.url = builder.url; in Request()
48 return url; in httpUrl()
51 public URL url() { in url() method in Request
52 URL result = javaNetUrl; in url()
53 return result != null ? result : (javaNetUrl = url.url()); in url()
59 return result != null ? result : (javaNetUri = url.uri()); in uri()
66 return url.toString(); in urlString()
[all …]
/external/openscreen/util/
Durl.cc5 #include "util/url.h"
16 Url::Url(const std::string& source) { in Url() function in openscreen::Url
19 const char* url = source.c_str(); in Url() local
26 if (!ExtractScheme(url, url_length, &scheme)) { in Url()
30 if (CompareSchemeComponent(url, scheme, kFileScheme) || in Url()
31 CompareSchemeComponent(url, scheme, kFileSystemScheme) || in Url()
32 CompareSchemeComponent(url, scheme, kMailtoScheme)) { in Url()
35 } else if (IsStandard(url, scheme)) { in Url()
36 ParseStandardURL(url, url_length, &parsed); in Url()
41 ParsePathURL(url, url_length, true, &parsed); in Url()
[all …]

12345678910>>...553