Home
last modified time | relevance | path

Searched +full:download +full:- +full:url (Results 1 – 25 of 484) sorted by relevance

12345678910>>...20

/third_party/flutter/flutter/packages/flutter_tools/lib/src/base/
Dnet.dart2 // Use of this source code is governed by a BSD-style license that can be
17 /// Download a file from the given URL and return the bytes.
18 Future<List<int>> fetchUrl(Uri url, {int maxAttempts}) async {
23 final List<int> result = await _attempt(url);
27 printStatus('Download failed -- retry $attempts');
30 printStatus('Download failed -- attempting retry $attempts in '
38 /// Check if the given URL points to a valid endpoint.
39 Future<bool> doesRemoteFileExist(Uri url) async =>
40 (await _attempt(url, onlyHeaders: true)) != null;
42 Future<List<int>> _attempt(Uri url, { bool onlyHeaders = false }) async {
[all …]
/third_party/mesa3d/.gitlab-ci/piglit/
Dbuild-piglit_backport-s3-migration.diff1 diff --git a/framework/replay/download_utils.py b/framework/replay/download_utils.py
3 --- a/framework/replay/download_utils.py
5 @@ -31,6 +31,7 @@ import xml.etree.ElementTree as ET
13 @@ -88,7 +89,7 @@ def get_minio_credentials(url):
17 -def get_authorization_headers(url, resource):
18 +def get_minio_authorization_headers(url, resource):
19 minio_key, minio_secret, minio_token = get_minio_credentials(url)
21 content_type = 'application/octet-stream'
22 @@ -106,6 +107,17 @@ def get_authorization_headers(url, resource):
26 +def get_jwt_authorization_headers(url, resource):
[all …]
/third_party/skia/third_party/externals/freetype/tests/scripts/
Ddownload-test-fonts.py3 """Download test fonts used by the FreeType regression test programs. These
17 # The list of download items describing the font files to install. Each
18 # download item is a dictionary with one of the following schemas:
20 # - File item:
23 # Type: URL string.
25 # Description: URL to download the file from.
31 # it must be different from the original URL's basename.
38 # - Zip items:
44 # Type: URL string.
46 # Description: URL to download the zip archive from.
[all …]
/third_party/freetype/tests/scripts/
Ddownload-test-fonts.py3 """Download test fonts used by the FreeType regression test programs. These
17 # The list of download items describing the font files to install. Each
18 # download item is a dictionary with one of the following schemas:
20 # - File item:
23 # Type: URL string.
25 # Description: URL to download the file from.
31 # it must be different from the original URL's basename.
38 # - Zip items:
44 # Type: URL string.
46 # Description: URL to download the zip archive from.
[all …]
/third_party/node/deps/npm/node_modules/node-gyp/test/
Dtest-download.js12 const gyp = require('../lib/node-gyp')
17 test('download over http', function (t) {
21 t.strictEqual(req.headers['user-agent'],
22 'node-gyp v42 (node ' + process.version + ')')
34 var url = 'http://' + host + ':' + port
35 var req = install.test.download(gyp, {}, url)
49 test('download over https with custom ca', function (t) {
61 t.strictEqual(req.headers['user-agent'],
62 'node-gyp v42 (node ' + process.version + ')')
78 var url = 'https://' + host + ':' + port
[all …]
/third_party/skia/third_party/externals/swiftshader/tests/regres/llvm/
Dllvm.go7 // http://www.apache.org/licenses/LICENSE-2.0
63 // Download downloads and verifies the LLVM toolchain for the current OS.
64 func (v Version) Download() ([]byte, error) { func
70 url, sig, key, err := v.DownloadInfoForOS(osName)
75 resp, err := http.Get(url)
77 return nil, fmt.Errorf("Could not download LLVM from %v: %v", url, err)
83 return nil, fmt.Errorf("Could not download LLVM from %v: %v", url, err)
104 // DownloadInfoForOS returns the download url, signature and key for the given
106 func (v Version) DownloadInfoForOS(os string) (url, sig, key string, err error) {
112url = "https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/clang+llvm-10.0.0-x86…
[all …]
/third_party/node/deps/npm/node_modules/node-gyp/lib/
Dinstall.js3 const fs = require('graceful-fs')
12 const processRelease = require('./process-release')
19 // ensure no double-callbacks happen
27 // roll-back the install if anything went wrong
48 // 0.x.y-pre versions are not published yet and cannot be installed. Bail.
52 log.verbose('--nodedir flag was passed; skipping install', gyp.opts.nodedir)
55 … callback(new Error('"pre" versions of node cannot be installed, use the --nodedir flag instead'))
66 // If '--ensure' was passed, then don't *always* install the version;
69 log.verbose('install', '--ensure was passed, so won\'t reinstall if already installed')
131 // now download the node tarball
[all …]
Dprocess-release.js1 /* eslint-disable node/no-deprecated-api */
6 const url = require('url') constant
10 // versions where -headers.tar.gz started shipping
12 const bitsre = /\/win-(x86|x64|arm64)\//
13 const bitsreV3 = /\/win-(x86|ia32|x64)\// // io.js v3.x.x shipped with "ia32" but should
16 // Captures all the logic required to determine download URLs, local directory and
17 // file names. Inputs come from command-line switches (--target, --dist-url),
22 var overrideDistUrl = gyp.opts['dist-url'] || gyp.opts.disturl
44 // can't use process.release if we're using --target=x.y.z
53 // old node or alternative --target=
[all …]
/third_party/node/tools/configure.d/
Dnodedownload.py36 def retrievefile(url, targetfile): argument
37 """fetch file 'url' as 'targetfile'. Return targetfile or throw."""
39 sys.stdout.write(' <%s>\nConnecting...\r' % url)
41 ConfigOpener().retrieve(url, targetfile, reporthook=reporthook)
48 print(' ** Error occurred while downloading\n <%s>' % url)
84 packedsuffix = packedfile.lower().split('.')[-1] # .zip, .tgz etc
87 # List of possible "--download=" types.
90 # Default options for --download.
94 """This function calculates the '--help' text for '--download'."""
95 return """Select which packages may be auto-downloaded.
[all …]
/third_party/cef/tests/ceftests/
Ddownload_unittest.cc2 // reserved. Use of this source code is governed by a BSD-style license that
20 const char kTestDomain[] = "test-download.com";
21 const char kTestStartUrl[] = "http://test-download.com/test.html";
22 const char kTestDownloadUrl[] = "http://test-download.com/download.txt";
23 const char kTestNavUrl[] = "http://test-download-nav.com/nav.html";
28 const char kTestContent[] = "Download test text";
46 std::string url = request->GetURL(); in Open() local
47 if (url == kTestDownloadUrl) { in Open()
48 got_download_request_->yes(); in Open()
71 response->SetStatus(200); in GetResponseHeaders()
[all …]
/third_party/node/deps/npm/node_modules/agentkeepalive/
DREADME.md3 [![NPM version][npm-image]][npm-url]
4 [![build status][travis-image]][travis-url]
5 [![Appveyor status][appveyor-image]][appveyor-url]
6 [![Test coverage][codecov-image]][codecov-url]
7 [![David deps][david-image]][david-url]
8 [![Known Vulnerabilities][snyk-image]][snyk-url]
9 [![npm download][download-image]][download-url]
11 [npm-image]: https://img.shields.io/npm/v/agentkeepalive.svg?style=flat
12 [npm-url]: https://npmjs.org/package/agentkeepalive
13 [travis-image]: https://img.shields.io/travis/node-modules/agentkeepalive.svg?style=flat
[all …]
/third_party/python/Tools/peg_generator/scripts/
Ddownload_pypi_packages.py11 prog="download_pypi_packages", description="Helper program to download PyPI packages",
14 "-n", "--number", type=int, default=100, help="Number of packages to download"
17 "-a", "--all", action="store_true", help="Download all packages listed in the json file"
21 def load_json(filename: str) -> Dict[Any, Any]:
27 def remove_json(filename: str) -> None:
32 def download_package_json(package_name: str) -> None:
33 url = f"https://pypi.org/pypi/{package_name}/json"
34 urlretrieve(url, os.path.join("data", f"{package_name}.json"))
37 def download_package_code(name: str, package_json: Dict[Any, Any]) -> None:
38 source_index = -1
[all …]
/third_party/python/Tools/msi/
Dbuildrelease.bat17 rem This is the URL that will be used to download installation files.
18 rem The files available from the default URL *will* conflict with your
22 rem The following substitutions will be applied to the download URL:
33 set EXTERNALS=%D%..\..\externals\windows-installer\
39 set PGO=-m test -q --pgo
46 if "%1" EQU "-h" goto Help
47 if "%1" EQU "-c" (set CERTNAME=%~2) && shift && shift && goto CheckOpts
48 if "%1" EQU "--certificate" (set CERTNAME=%~2) && shift && shift && goto CheckOpts
49 if "%1" EQU "-o" (set OUTDIR=%~2) && shift && shift && goto CheckOpts
50 if "%1" EQU "--out" (set OUTDIR=%~2) && shift && shift && goto CheckOpts
[all …]
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/base/
Dnet_test.dart2 // Use of this source code is governed by a BSD-style license that can be
28 'Download failed -- attempting retry 1 in 1 second...\n'
29 'Download failed -- attempting retry 2 in 2 seconds...\n'
30 'Download failed -- attempting retry 3 in 4 seconds...\n'
31 'Download failed -- attempting retry 4 in 8 seconds...\n',
51 'Download failed -- attempting retry 1 in 1 second...\n'
52 'Download failed -- attempting retry 2 in 2 seconds...\n'
53 'Download failed -- attempting retry 3 in 4 seconds...\n'
54 'Download failed -- attempting retry 4 in 8 seconds...\n',
74 'Download failed -- attempting retry 1 in 1 second...\n'
[all …]
/third_party/cef/tools/automate/
Dautomate-git.py2 # reserved. Use of this source code is governed by a BSD-style license that
33 depot_tools_archive_url = 'https://storage.googleapis.com/chrome-infra/depot_tools.zip'
53 sys.stdout.write('--> ' + message + "\n")
63 sys.stdout.write('-------- Running "'+command_line+'" in "'+\
73 with open(output_file, 'w', encoding='utf-8') as fp:
135 sys.stdout.write("-------- Running \"%s\" in \"%s\"...\n" % (cmd, path))
150 return {'out': out.decode('utf-8'), 'err': err.decode('utf-8')}
155 cmd = "%s rev-parse %s" % (git_exe, branch)
164 cmd = "%s show -s --format=%%ct %s" % (git_exe, branch)
168 int(result['out'].strip())).strftime('%Y-%m-%d %H:%M:%S UTC')
[all …]
/third_party/skia/toolchain/
Dbuild_toolchain.bzl4 It currently makes use of musl and not glibc because the pre-compiled libraries from the latter
5 have absolute paths baked in and this makes linking difficult. The pre-compiled musl library
8 As inputs, it takes external URLs from which to download the clang binaries/libraries/includes
9 as well as the musl headers and pre-compiled binaries. Those files are downloaded and put
10 into one folder, with a little bit of re-arrangement so clang can find files (like the C runtime).
16 # https://docs.bazel.build/versions/main/skylark/lib/repository_ctx.html#download
17 download_info = ctx.download(
18 url = deb,
24 # This uses the extracted llvm-ar that comes with clang.
25 ctx.execute(["bin/llvm-ar", "x", "deb.ar"])
[all …]
/third_party/cef/include/
Dcef_download_item.h30 // ---------------------------------------------------------------------------
44 // Class used to represent a download item.
46 /*--cef(source=library)--*/
53 /*--cef()--*/
57 // Returns true if the download is in progress.
59 /*--cef()--*/
63 // Returns true if the download is complete.
65 /*--cef()--*/
69 // Returns true if the download has been canceled or interrupted.
71 /*--cef()--*/
[all …]
/third_party/node/deps/npm/test/tap/
Durl-dependencies.js1 var fs = require('graceful-fs')
4 var mr = require('npm-registry-mock')
7 var common = require('../common-tap')
13 name: 'url-dependencies',
16 underscore: common.registry + '/underscore/-/underscore-1.3.1.tgz'
22 '/underscore/-/underscore-1.3.1.tgz': [200]
27 `GET 200 ${common.registry}/underscore/-/underscore-1.3.1.tgz`)
53 test('url-dependencies: download first time', t =>
56 t.ok(tarballWasFetched(output), 'download first time')
60 t.notOk(tarballWasFetched(output), 'do not download second time')
/third_party/cef/include/capi/
Dcef_download_item_capi.h30 // ---------------------------------------------------------------------------
50 // Structure used to represent a download item.
65 // Returns true (1) if the download is in progress.
70 // Returns true (1) if the download is complete.
75 // Returns true (1) if the download has been canceled or interrupted.
85 // Returns the rough percent complete or -1 if the receive total size is
101 // Returns the time that the download started.
106 // Returns the time that the download ended.
118 // Returns the unique identifier for this download.
123 // Returns the URL.
[all …]
/third_party/flutter/flutter/packages/flutter_tools/lib/src/
Dcache.dart2 // Use of this source code is governed by a BSD-style license that can be
138 /// POSIX flock semantics). Long-lived commands should release the lock by
171 /// Releases the lock. This is not necessary unless the process is long-lived.
193 // Make the version string more customer-friendly.
194 // Changes '2.1.0-dev.8.0.flutter-4312ae32' to '2.1.0 (build 2.1.0-dev.8.0 4312ae32)'
197 final String noFlutter = match[2].replaceAll('.flutter-', ' ');
204 /// The current version of the Flutter engine the flutter tool will download.
213 /// Return the top-level directory in the cache; this is `bin/cache`.
231 /// Return the top-level directory for artifact downloads.
234 /// Return the top-level mutable directory in the cache; this is `bin/cache/artifacts`.
[all …]
/third_party/libxml2/doc/
Dxsa.xsl2 <!--
5 See http://www.garshol.priv.no/download/xsa/ for a description of XSA
6 -->
8 xmlns:xhtml="http://www.w3.org/1999/xhtml" exclude-result-prefixes="xhtml">
10 doctype-public="-//LM Garshol//DTD XML Software Autoupdate 1.0//EN//XML"
11 doctype-system="http://www.garshol.priv.no/download/xsa/xsa.dtd"
19 <url>http://veillard.com/</url>
23 <version><xsl:value-of select="substring-before(//xhtml:h3[2], ':')"/></version>
24 <last-release><xsl:value-of select="substring-after(//xhtml:h3[2], ':')"/></last-release>
25 <info-url>https://gitlab.gnome.org/GNOME/libxml2</info-url>
[all …]
/third_party/elfutils/doc/
Ddebuginfod-client-config.71 '\"! tbl | nroff \-man
5 .TH DEBUGINFOD-CLIENT-CONFIG 7
7 debuginfod-client-config \- debuginfod client environment variables, cache control files and etc.
12 .\" The preceding section permits this man page to be viewed as if self-contained.
25 This environment variable contains a list of URL prefixes for trusted
26 debuginfod instances. Alternate URL prefixes are separated by space.
33 downloaded files and cache-control files are kept. The default
58 This environment variable governs the download \fIcommencing\fP
66 \fIcomplete\fP the download a file found on a server in seconds. It is best
73 download in bytes. This is best used if the user would like to ensure
[all …]
/third_party/node/deps/npm/node_modules/mime-db/
DREADME.md1 # mime-db
3 [![NPM Version][npm-version-image]][npm-url]
4 [![NPM Downloads][npm-downloads-image]][npm-url]
5 [![Node.js Version][node-image]][node-url]
6 [![Build Status][travis-image]][travis-url]
7 [![Coverage Status][coveralls-image]][coveralls-url]
11 allowing it to remain as un-opinionated as possible with an API.
14 - http://www.iana.org/assignments/media-types/media-types.xhtml
15 - http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
16 - http://hg.nginx.org/nginx/raw-file/default/conf/mime.types
[all …]
/third_party/skia/tools/skqp/
Ddownload_model.py4 # Use of this source code is governed by a BSD-style license that can be
26 def download(md5, path): function
34 url = 'https://storage.googleapis.com/skia-skqp-assets/' + md5
36 shutil.copyfileobj(urllib2.urlopen(url), o)
54 download(md5, file_list_file)
63 pool.apply_async(download, record, callback=lambda x: sys.stderr.write('.'))
/third_party/flutter/skia/tools/skqp/
Ddownload_model4 # Use of this source code is governed by a BSD-style license that can be
26 def download(md5, path): function
36 url = 'https://storage.googleapis.com/skia-skqp-assets/' + md5
38 shutil.copyfileobj(urllib2.urlopen(url), o)
56 download(md5, file_list_file)
65 pool.apply_async(download, record, callback=lambda x: sys.stderr.write('.'))

12345678910>>...20