| /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
| D | HttpUrlTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 22 import java.net.URL; 42 assertEquals(expected, HttpUrl.parse("http://host/").resolve(" ")); in parseTrimsAsciiWhitespace() 43 assertEquals(expected, HttpUrl.parse("http://host/").resolve(" . ")); in parseTrimsAsciiWhitespace() 59 assertEquals("/%C2%A0", HttpUrl.parse("http://h/\u00a0").encodedPath()); // non-breaking space in parseDoesNotTrimOtherWhitespaceCharacters() 66 … assertEquals("/%E2%80%84", HttpUrl.parse("http://h/\u2004").encodedPath()); // three-per-em space in parseDoesNotTrimOtherWhitespaceCharacters() 67 assertEquals("/%E2%80%85", HttpUrl.parse("http://h/\u2005").encodedPath()); // four-per-em space in parseDoesNotTrimOtherWhitespaceCharacters() 68 assertEquals("/%E2%80%86", HttpUrl.parse("http://h/\u2006").encodedPath()); // six-per-em space in parseDoesNotTrimOtherWhitespaceCharacters() 73 assertEquals("/%E2%80%8B", HttpUrl.parse("http://h/\u200b").encodedPath()); // zero-width space in parseDoesNotTrimOtherWhitespaceCharacters() 74 …assertEquals("/%E2%80%8C", HttpUrl.parse("http://h/\u200c").encodedPath()); // zero-width non-join… in parseDoesNotTrimOtherWhitespaceCharacters() [all …]
|
| /external/chromium-trace/catapult/third_party/polymer/components/iron-location/test/ |
| D | initialization-tests.html | 1 <!-- 9 --> 14 <meta charset="utf-8"> 17 <script src="../../web-component-tester/browser.js"></script> 18 <script src="../../test-fixture/test-fixture-mocha.js"></script> 21 <link rel="import" href="../../promise-polyfill/promise-polyfill.html"> 22 <link rel="import" href="../../test-fixture/test-fixture.html"> 23 <link rel="import" href="../iron-location.html"> 31 return new Promise(function(resolve, reject) { 36 iframe.src = './initialization-iframe.html'; [all …]
|
| /external/jsoup/src/main/java/org/jsoup/ |
| D | Jsoup.java | 15 import java.net.URL; 29 …@param baseUri The URL where the HTML was retrieved from. Used to resolve relative URLs to absolut… 39 (non-HTML) parser. 42 …@param baseUri The URL where the HTML was retrieved from. Used to resolve relative URLs to absolut… 53 …(non-HTML) parser. As no base URI is specified, absolute URL resolution, if required, relies on t… 66 …Parse HTML into a Document. As no base URI is specified, absolute URL resolution, if required, rel… 79 …* Creates a new {@link Connection} (session), with the defined request URL. Use to fetch and parse… 86 * @param url URL to connect to. The protocol must be {@code http} or {@code https}. 87 …* @return the connection. You can add data, cookies, and headers; set the user-agent, referrer, me… 91 public static Connection connect(String url) { in connect() argument [all …]
|
| /external/curl/tests/http/clients/ |
| D | tls-session-reuse.c | 21 * SPDX-License-Identifier: curl 54 #define TRC_IDS_FORMAT_IDS_1 "[%" CURL_FORMAT_CURL_OFF_T "-x] " 55 #define TRC_IDS_FORMAT_IDS_2 "[%" CURL_FORMAT_CURL_OFF_T "-%" \ 91 for(i = 0; i < size - 1; i++) { in debug_cb() 96 (void)fwrite(data + st, i - st + 1, 1, output); in debug_cb() 103 (void)fwrite(data + st, i - st + 1, 1, output); in debug_cb() 105 newl = (size && (data[size - 1] != '\n')) ? 1 : 0; in debug_cb() 113 newl = (size && (data[size - 1] != '\n')) ? 1 : 0; in debug_cb() 145 struct curl_slist *resolve, in add_transfer() argument 146 const char *url, int http_version) in add_transfer() argument [all …]
|
| D | upload-pausing.c | 21 * SPDX-License-Identifier: curl 53 #define TRC_IDS_FORMAT_IDS_1 "[%" CURL_FORMAT_CURL_OFF_T "-x] " 54 #define TRC_IDS_FORMAT_IDS_2 "[%" CURL_FORMAT_CURL_OFF_T "-%" \ 90 for(i = 0; i < size - 1; i++) { in debug_cb() 95 (void)fwrite(data + st, i - st + 1, 1, output); in debug_cb() 102 (void)fwrite(data + st, i - st + 1, 1, output); in debug_cb() 104 newl = (size && (data[size - 1] != '\n')) ? 1 : 0; in debug_cb() 112 newl = (size && (data[size - 1] != '\n')) ? 1 : 0; in debug_cb() 173 fprintf(stderr, "something unexpected went wrong - bailing out!\n"); in err() 184 struct curl_slist *resolve = NULL; in main() local [all …]
|
| D | h2-pausing.c | 21 * SPDX-License-Identifier: curl 56 #define TRC_IDS_FORMAT_IDS_1 "[%" CURL_FORMAT_CURL_OFF_T "-x] " 57 #define TRC_IDS_FORMAT_IDS_2 "[%" CURL_FORMAT_CURL_OFF_T "-%" \ 93 for(i = 0; i < size - 1; i++) { in debug_cb() 98 (void)fwrite(data + st, i - st + 1, 1, output); in debug_cb() 105 (void)fwrite(data + st, i - st + 1, 1, output); in debug_cb() 107 newl = (size && (data[size - 1] != '\n')) ? 1 : 0; in debug_cb() 115 newl = (size && (data[size - 1] != '\n')) ? 1 : 0; in debug_cb() 141 fprintf(stderr, "something unexpected went wrong - bailing out!\n"); in err() 150 "usage: [options] url\n" in usage() [all …]
|
| /external/perfetto/src/traced/probes/ftrace/test/ |
| D | explorer.html | 2 # Loading... <!-- 9 # http://www.apache.org/licenses/LICENSE-2.0 18 python3 -m webbrowser -t "http://localhost:8000/$(basename $0)" 19 python3 -m http.server 21 <<-EOF 22 --> 26 box-sizing: border-box; 31 …font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "L… 32 font-weight: 300; 36 font-size: 12px; [all …]
|
| /external/python/google-api-python-client/docs/dyn/ |
| D | drive_v2.replies.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| D | drive_v2.comments.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| /external/perfetto/ui/src/frontend/ |
| D | router_unittest.ts | 7 // http://www.apache.org/licenses/LICENSE-2.0 21 describe('Router#resolve', () => { 33 expect(router.resolve().tag).toBe(mockComponent); 43 expect(router.resolve().tag).toBe(nonDefaultComponent); 44 expect(router.resolve().attrs.subpage).toBe('/subpage'); 47 test('Pass empty subpage if not found in URL', () => { 54 expect(router.resolve().tag).toBe(nonDefaultComponent); 55 expect(router.resolve().attrs.subpage).toBe(''); 62 const url = 'http://localhost?p=123&s=42&url=a?b?c'; constant 63 const route = Router.parseUrl(url); [all …]
|
| /external/cronet/url/ |
| D | gurl_fuzzer.cc | 2 // Use of this source code is governed by a BSD-style license that can be 9 #include "url/gurl.h" 22 void CheckIdempotency(const GURL& url) { in CheckIdempotency() argument 23 if (!url.is_valid()) in CheckIdempotency() 25 const std::string& spec = url.spec(); in CheckIdempotency() 31 // Checks that |url.spec()| is preserved across a call to ReplaceComponents with 34 void CheckReplaceComponentsPreservesSpec(const GURL& url) { in CheckReplaceComponentsPreservesSpec() argument 36 GURL copy = url.ReplaceComponents(*no_op); in CheckReplaceComponentsPreservesSpec() 37 CHECK_EQ(url.is_valid(), copy.is_valid()); in CheckReplaceComponentsPreservesSpec() 38 if (url.is_valid()) { in CheckReplaceComponentsPreservesSpec() [all …]
|
| /external/cronet/net/tools/quic/ |
| D | synchronous_host_resolver.cc | 2 // Use of this source code is governed by a BSD-style license that can be 25 #include "third_party/abseil-cpp/absl/types/optional.h" 26 #include "url/scheme_host_port.h" 43 int Resolve(url::SchemeHostPort scheme_host_port, AddressList* addresses); 52 url::SchemeHostPort scheme_host_port_; 72 resolver->CreateRequest(scheme_host_port_, NetworkAnonymizationKey(), in Run() 76 rv_ = request->Start(base::BindOnce(&ResolverThread::OnResolutionComplete, in Run() 86 *addresses_ = *request->GetAddressResults(); in Run() 90 int ResolverThread::Resolve(url::SchemeHostPort scheme_host_port, in Resolve() function in net::__anon9e953de30111::ResolverThread 94 this->Start(); in Resolve() [all …]
|
| /external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
| D | UrlTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 28 import java.net.URL; 39 * Tests that {@link URL} instances can be created and used from jimfs URIs. 51 URL url = path.toUri().toURL(); in creatUrl() local 52 assertThat(url).isNotNull(); in creatUrl() 59 URL url = path.toUri().toURL(); in readFromUrl() local 60 assertThat(Resources.asCharSource(url, UTF_8).read()) in readFromUrl() 67 Files.createFile(path.resolve("a.txt")); in readDirectoryContents() 68 Files.createFile(path.resolve("b.txt")); in readDirectoryContents() 69 Files.createDirectory(path.resolve("c")); in readDirectoryContents() [all …]
|
| /external/curl/docs/cmdline-opts/ |
| D | doh-url.md | 1 --- 3 SPDX-License-Identifier: curl 4 Long: doh-url 5 Arg: <URL> 6 Help: Resolve hostnames over DoH 10 See-also: 11 - doh-insecure 13 - --doh-url https://doh.example $URL 14 --- 16 # `--doh-url` [all …]
|
| /external/autotest/client/site_tests/power_LoadTest/extension/ |
| D | task_monitor.js | 4 return new Promise(function(resolve) { argument 5 chrome.tabs.get(tabId, resolve); 10 return new Promise(function(resolve) { argument 11 chrome.tabs.sendMessage(tabId, message, options, resolve); 81 // Record url, audio, muted, and video count 87 tabInfo.url = tab.url; 122 const url = 'http://localhost:8001/task-monitor'; 124 req.open('POST', url, true);
|
| /external/guava/guava-tests/test/com/google/common/reflect/ |
| D | ClassPathTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 48 import java.net.URL; 78 assertThat(ClassPath.getClassPathEntries(new URLClassLoader(new URL[0], null)).keySet()) in testClassPathEntries_emptyURLClassLoader_noParent() 84 URL url1 = new URL("file:/a"); in testClassPathEntries_URLClassLoader_noParent() 85 URL url2 = new URL("file:/b"); in testClassPathEntries_URLClassLoader_noParent() 86 URLClassLoader classloader = new URLClassLoader(new URL[] {url1, url2}, null); in testClassPathEntries_URLClassLoader_noParent() 93 URL url1 = new URL("file:/a"); in testClassPathEntries_URLClassLoader_withParent() 94 URL url2 = new URL("file:/b"); in testClassPathEntries_URLClassLoader_withParent() 95 URLClassLoader parent = new URLClassLoader(new URL[] {url1}, null); in testClassPathEntries_URLClassLoader_withParent() 96 URLClassLoader child = new URLClassLoader(new URL[] {url2}, parent) {}; in testClassPathEntries_URLClassLoader_withParent() [all …]
|
| /external/ow2-asm/benchmarks/src/jmh/java/org/objectweb/asm/benchmarks/ |
| D | AbstractBenchmark.java | 2 // Copyright (c) 2000-2011 INRIA, France Telecom 35 import java.net.URL; 61 private static final String ASM_TREE_CURRENT = "/asm-tree/build/classes/java/main/"; 65 "/benchmarks/build/input-classes-java8/io/vavr/control/"; 93 URL[] getUrls(final String baseUrl) throws MalformedURLException { in getUrls() 96 return new URL[] {new URL(baseUrl + ASM4_0)}; in getUrls() 98 return new URL[] {new URL(baseUrl + ASM5_0)}; in getUrls() 100 return new URL[] {new URL(baseUrl + ASM6_0)}; in getUrls() 102 return new URL[] {new URL(baseUrl + ASM7_0)}; in getUrls() 104 return new URL[] {new URL(baseUrl + ASM8_0)}; in getUrls() [all …]
|
| /external/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ |
| D | UserAuthorizer.java | 49 import java.net.URL; 56 /** Handles an interactive 3-Legged-OAuth2 (3LO) user consent authorization. */ 139 * place so this can be used to resolve it relative to another URI. 141 * @param baseUri The URI to resolve the callback URI relative to. 152 return baseUri.resolve(callbackUri); in getCallbackUri() 165 * Return an URL that performs the authorization consent prompt web UI. 169 * @param baseUri The URI to resolve the OAuth2 callback URI relative to. 170 * @return The URL that can be navigated or redirected to. 172 public URL getAuthorizationUrl(String userId, String state, URI baseUri) { in getAuthorizationUrl() 177 * Return an URL that performs the authorization consent prompt web UI. [all …]
|
| /external/jsoup/src/main/java/org/jsoup/internal/ |
| D | StringUtil.java | 7 import java.net.URL; 15 …A minimal String utility class. Designed for <b>internal</b> jsoup use only - the API and outcome … 129 * @param maxPaddingWidth maximum padding to apply. Set to {@code -1} for unlimited. 134 Validate.isTrue(maxPaddingWidth >= -1); in padding() 135 if (maxPaddingWidth != -1) in padding() 176 * @return true if only digit chars, false if empty or null or contains non-digit chars 207 // 160 is (non-breaking space). Not in the spec but expected. in isActuallyWhitespace() 212 …// previously also included zw non join, zw join - but removing those breaks semantic meaning of t… in isInvisibleChar() 271 @return true if all characters are in range 0 - 127 286 … * Create a new absolute URL, from a provided existing absolute URL and a relative URL component. [all …]
|
| /external/autotest/server/hosts/ |
| D | labstation_host.py | 2 # Use of this source code is governed by a BSD-style license that can be 50 'grep -q labstation /etc/lsb-release', 132 lumpy-release/R29-4279.0.0/autotest/packages" claims to have the 133 autotest package for lumpy-release/R29-4279.0.0. If this isn't the case, 134 download and extract it. If the devserver embedded in the url is 138 @param job_repo_url: A url pointing to the devserver where the autotest 141 <job_id>-<user>/<hostname>, or <hostless> for a server job. 143 @raises DevServerException: If we could not resolve a devserver. 153 logging.warning('No job repo url set on host %s', self.hostname) 156 logging.info('Verifying job repo url %s', job_repo_url) [all …]
|
| /external/cronet/net/data/websocket/ |
| D | connect_check.html | 7 var pageConnection = new Promise((resolve, reject) => { 9 var url = protocol + '//' + location.host + '/echo-with-no-extension'; 10 var ws = new WebSocket(url); 12 ws.onopen = resolve; 16 var workerConnection = new Promise((resolve, reject) => { 20 resolve();
|
| /external/robolectric/robolectric/src/main/java/org/robolectric/internal/ |
| D | MavenManifestFactory.java | 5 import java.net.URL; 17 * should follow http://robolectric.org/build-system-integration/ to provide integration with 34 final URL resourceUrl = getClass().getResource(resourceName); in identify() 41 manifestFile = getBaseDir().resolve(manifestPath); in identify() 45 final Path resDir = baseDir.resolve(config.resourceDir()); in identify() 46 final Path assetDir = baseDir.resolve(config.assetDir()); in identify() 59 Path libDir = baseDir.resolve(libraryDirName); in identify() 63 libDir.resolve(Config.DEFAULT_MANIFEST_NAME), in identify() 64 libDir.resolve(Config.DEFAULT_RES_FOLDER), in identify() 65 libDir.resolve(Config.DEFAULT_ASSET_FOLDER), in identify() [all …]
|
| /external/grpc-grpc-java/googleapis/src/main/java/io/grpc/googleapis/ |
| D | GoogleCloudToProdNameResolver.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 42 import java.net.URL; 57 "http://metadata.google.internal/computeMetadata/v1/instance/network-interfaces/0/ipv6s"; 58 static final String C2P_AUTHORITY = "traffic-director-c2p.xds.googleapis.com"; 84 // Delegate to DNS if user-provided bootstrap is found. 138 resolve(); in start() 141 private void resolve() { in resolve() method in GoogleCloudToProdNameResolver 156 class Resolve implements Runnable { in resolve() class 191 executor.execute(new Resolve()); in resolve() 196 nodeBuilder.put("id", "C2P-" + (rand.nextInt() & Integer.MAX_VALUE)); in generateBootstrap() [all …]
|
| /external/dokka/core/src/main/kotlin/Kotlin/ |
| D | ExternalDocumentationLinkResolver.kt | 16 import org.jetbrains.kotlin.resolve.DescriptorUtils in <lambda>() 17 import org.jetbrains.kotlin.resolve.descriptorUtil.fqNameSafe in <lambda>() 18 import org.jetbrains.kotlin.resolve.descriptorUtil.parents in <lambda>() 22 import java.net.URL in <lambda>() 41 …class ExternalDocumentationRoot(val rootUrl: URL, val resolver: InboundExternalLinkResolutionServi… 45 … val cacheDir: Path? = options.cacheRoot?.resolve("packageListCache")?.apply { toFile().mkdirs() } in toString() 49 …fun URL.doOpenConnectionToReadContent(timeout: Int = 10000, redirectsAllowed: Int = 16): URLConnec… in doOpenConnectionToReadContent() method 55 is HttpURLConnection -> { in doOpenConnectionToReadContent() 57 in 200..299 -> { in doOpenConnectionToReadContent() 62 HttpURLConnection.HTTP_SEE_OTHER -> { in doOpenConnectionToReadContent() [all …]
|
| /external/bazelbuild-rules_rust/crate_universe/src/metadata/ |
| D | metadata_annotation.rs | 23 /// The crate's node in the Cargo "resolve" graph. 50 pub(crate) fn new(metadata: CargoMetadata) -> MetadataAnnotation { in new() 54 let resolve = metadata in new() localVariable 55 .resolve in new() 57 .expect("The metadata provided requires a resolve graph") in new() 60 let is_node_workspace_member = |node: &Node, metadata: &CargoMetadata| -> bool { in new() 64 let workspace_members: BTreeSet<PackageId> = resolve in new() 71 let crates = resolve in new() 97 fn annotate_crate(node: Node, metadata: &CargoMetadata) -> CrateAnnotation { in annotate_crate() 109 /// The Git url where to clone the source from. [all …]
|