/external/tensorflow/tensorflow/core/data/service/ |
D | url_test.cc | 15 #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/crates/url/src/ |
D | quirks.rs | 1 // 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 …]
|
D | lib.rs | 1 // 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 …]
|
D | path_segments.rs | 1 // 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/ |
D | url_utils_test.cc | 13 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 …]
|
D | url_utils.cc | 10 // 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/crates/url/tests/ |
D | unit.rs | 1 // Copyright 2013-2014 The rust-url developers. 15 use url::{form_urlencoded, Host, Origin, Url}; 20 assert_eq!(size_of::<Url>(), size_of::<Option<Url>>()); in size() 25 let base: Url = "sc://%C3%B1".parse().unwrap(); in test_relative() 26 let url = base.join("/resources/testharness.js").unwrap(); in test_relative() localVariable 27 assert_eq!(url.as_str(), "sc://%C3%B1/resources/testharness.js"); in test_relative() 32 let base: Url = "sc://%C3%B1".parse().unwrap(); in test_relative_empty() 33 let url = base.join("").unwrap(); in test_relative_empty() localVariable 34 assert_eq!(url.as_str(), "sc://%C3%B1"); in test_relative_empty() 39 let mut base: Url = "moz://foo:bar@servo/baz".parse().unwrap(); in test_set_empty_host() [all …]
|
/external/bazelbuild-rules_license/licenses/spdx/ |
D | BUILD | 72 url = "https://spdx.org/licenses/0BSD.html", 78 url = "https://spdx.org/licenses/AAL.html", 84 url = "https://spdx.org/licenses/Abstyles.html", 90 url = "https://spdx.org/licenses/Adobe-2006.html", 96 url = "https://spdx.org/licenses/Adobe-Glyph.html", 102 url = "https://spdx.org/licenses/ADSL.html", 108 url = "https://spdx.org/licenses/AFL-1.1.html", 114 url = "https://spdx.org/licenses/AFL-1.2.html", 120 url = "https://spdx.org/licenses/AFL-2.0.html", 126 url = "https://spdx.org/licenses/AFL-2.1.html", [all …]
|
/external/cronet/url/ |
D | url_constants.h | 12 namespace url { 14 COMPONENT_EXPORT(URL) extern const char kAboutBlankURL[]; 15 COMPONENT_EXPORT(URL) extern const char16_t kAboutBlankURL16[]; 16 COMPONENT_EXPORT(URL) extern const char kAboutSrcdocURL[]; 17 COMPONENT_EXPORT(URL) extern const char16_t kAboutSrcdocURL16[]; 19 COMPONENT_EXPORT(URL) extern const char kAboutBlankPath[]; 20 COMPONENT_EXPORT(URL) extern const char16_t kAboutBlankPath16[]; 21 COMPONENT_EXPORT(URL) extern const char kAboutSrcdocPath[]; 22 COMPONENT_EXPORT(URL) extern const char16_t kAboutSrcdocPath16[]; 24 COMPONENT_EXPORT(URL) extern const char kAboutScheme[]; [all …]
|
D | url_parse_perftest.cc | 8 #include "url/gurl.h" 9 #include "url/third_party/mozilla/url_parse.h" 10 #include "url/url_canon.h" 11 #include "url/url_canon_stdstring.h" 19 url::Parsed parsed; in TEST() 23 url::ParseStandardURL(kUrl.data(), kUrl.size(), &parsed); in TEST() 29 "search?q=url+parsing&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:" 41 url::Parsed parsed1; in TEST() 42 url::Parsed parsed2; in TEST() 43 url::Parsed parsed3; in TEST() [all …]
|
/external/cronet/net/third_party/quiche/src/quiche/quic/tools/ |
D | quic_url_test.cc | 20 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/ |
D | menudata.js | 26 {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/ |
D | menudata.js | 26 {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 Members",url:"functions.html",children:[ property 32 {text:"All",url:"functions.html",children:[ property 33 {text:"a",url:"functions.html#index_a"}, property 34 {text:"b",url:"functions.html#index_b"}, property 35 {text:"c",url:"functions.html#index_c"}, property [all …]
|
/external/python/cpython2/Lib/ |
D | urlparse.py | 8 RFC 2732 : "Format for Literal IPv6 Addresses in URL's by R.Hinden, B.Carpenter 14 RFC 2368: "The mailto URL scheme", by P.Hoffman , L Masinter, J. Zwinski, July 1998. 19 RFC 1738: "Uniform Resource Locators (URL)" by T. Berners-Lee, L. Masinter, M. 137 def urlparse(url, scheme='', allow_fragments=True): argument 138 """Parse a URL into 6 components: 143 tuple = urlsplit(url, scheme, allow_fragments) 144 scheme, netloc, url, query, fragment = tuple 145 if scheme in uses_params and ';' in url: 146 url, params = _splitparams(url) 149 return ParseResult(scheme, netloc, url, params, query, fragment) [all …]
|
/external/libwebsockets/test-apps/android/app/ |
D | app.iml | 27 <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/guava/guava/src/com/google/common/io/ |
D | Resources.java | 28 import java.net.URL; 35 * methods use {@link URL} parameters, they are usually not appropriate for HTTP or other 49 * Returns a {@link ByteSource} that reads from the given URL. 53 public static ByteSource asByteSource(URL url) { in asByteSource() argument 54 return new UrlByteSource(url); in asByteSource() 57 /** A byte source that reads from a URL using {@link URL#openStream()}. */ 60 private final URL url; field in Resources.UrlByteSource 62 private UrlByteSource(URL url) { in UrlByteSource() argument 63 this.url = checkNotNull(url); in UrlByteSource() 68 return url.openStream(); in openStream() [all …]
|
/external/guava/android/guava/src/com/google/common/io/ |
D | Resources.java | 28 import java.net.URL; 35 * methods use {@link URL} parameters, they are usually not appropriate for HTTP or other 49 * Returns a {@link ByteSource} that reads from the given URL. 53 public static ByteSource asByteSource(URL url) { in asByteSource() argument 54 return new UrlByteSource(url); in asByteSource() 57 /** A byte source that reads from a URL using {@link URL#openStream()}. */ 60 private final URL url; field in Resources.UrlByteSource 62 private UrlByteSource(URL url) { in UrlByteSource() argument 63 this.url = checkNotNull(url); in UrlByteSource() 68 return url.openStream(); in openStream() [all …]
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/docs/_data/ |
D | navigation.yml | 3 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/ |
D | navigation.yml | 3 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/cronet/net/base/ |
D | schemeful_site_unittest.cc | 11 #include "url/gurl.h" 12 #include "url/origin.h" 13 #include "url/url_util.h" 19 url::Origin kTestOrigins[] = { in TEST() 20 url::Origin::Create(GURL("http://a.foo.test")), in TEST() 21 url::Origin::Create(GURL("http://b.foo.test")), in TEST() 22 url::Origin::Create(GURL("http://foo.test")), in TEST() 23 url::Origin::Create(GURL("http://a.b.foo.test"))}; in TEST() 35 url::Origin kTestOrigins[] = { in TEST() 36 url::Origin::Create(GURL("data:text/html,<body>Hello World</body>")), in TEST() [all …]
|
/external/openthread/src/lib/url/ |
D | url.cpp | 29 #include "lib/url/url.hpp" 38 namespace Url { namespace 40 otError Url::Init(char *aUrl) in Init() 43 char * url = aUrl; in Init() local 48 url = strstr(aUrl, "://"); in Init() 49 VerifyOrExit(url != nullptr, error = OT_ERROR_PARSE); in Init() 50 *url = '\0'; in Init() 51 url += sizeof("://") - 1; in Init() 52 mPath = url; in Init() 54 url = strstr(url, "?"); in Init() [all …]
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Request.java | 21 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/cronet/components/cronet/android/test/javatests/src/org/chromium/net/urlconnection/ |
D | CronetHttpURLConnectionTest.java | 51 import java.net.URL; 96 URL url = new URL(NativeTestServer.getEchoMethodURL()); in testBasicGet() local 98 (HttpURLConnection) url.openConnection(); in testBasicGet() 110 URL url = new URL(NativeTestServer.getEchoMethodURL()); in testSetRequestMethod() local 111 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in testSetRequestMethod() 126 URL url = new URL(NativeTestServer.getEchoMethodURL()); in testConnectTimeout() local 127 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in testConnectTimeout() 140 // Add url interceptors. in testReadTimeout() 143 URL url = new URL(MockUrlRequestJobFactory.getMockUrlForHangingRead()); in testReadTimeout() local 144 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in testReadTimeout() [all …]
|
/external/curl/docs/libcurl/ |
D | curl_url_set.3 | 26 curl_url_set - set a URL part 31 CURLUcode curl_url_set(CURLU *url, 37 Given the \fIurl\fP handle of an already parsed URL, this function lets the 40 The \fIpart\fP argument should identify the particular URL part (see list 42 string with the new contents for that URL part. The contents should be in the 43 form and encoding they'd use in a URL: URL encoded. 54 set. Otherwise, this function returns \fICURLUE_UNSUPPORTED_SCHEME\fP on URL 64 Allows the full URL of the handle to be replaced. If the handle already is 65 populated with a URL, the new URL can be relative to the previous. 67 When successfully setting a new URL, relative or absolute, the handle contents [all …]
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/ |
D | Request.java | 22 import java.net.URL; 32 private final HttpUrl url; field in Request 40 private volatile URL javaNetUrl; // Lazily initialized. 45 this.url = builder.url; in Request() 53 return url; in httpUrl() 56 public URL url() { in url() method in Request 57 URL result = javaNetUrl; in url() 58 return result != null ? result : (javaNetUrl = url.url()); in url() 64 return result != null ? result : (javaNetUri = url.uri()); in uri() 71 return url.toString(); in urlString() [all …]
|