Home
last modified time | relevance | path

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

12345678910>>...23

/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/boost/libs/signals2/doc/
Dexamples.xml1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE section PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
4 <!--
5 Copyright Douglas Gregor 2001-2004
6 Copyright Frank Mori Hess 2007-2009
10 -->
11 <section last-revision="$Date: 2007-06-12 14:01:23 -0400 (Tue, 12 Jun 2007) $" id="signals2.example…
14 <using-namespace name="boost::signals2"/>
15 <using-namespace name="boost"/>
26Download <ulink url="boost:/libs/signals2/example/hello_world_slot.cpp">hello_world_slot.cpp</ulin…
[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/curl/docs/examples/
Dchkspeed.c8 * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
23 * Show transfer timing info after download completes.
27 * download data into a chunk of memory instead of storing it in a file.
28 * After successful download we use curl_easy_getinfo() calls to get the
29 * amount of downloaded bytes, the time used for the whole download, and
30 * the average download speed.
31 * On Linux you can create the download test files with:
68 const char *url = URL_1M; in main() local
73 for(argc--, argv++; *argv; argc--, argv++) { in main()
74 if(strncasecmp(*argv, "-", 1) == 0) { in main()
[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/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/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/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/curl/docs/
DFEATURES.md1 # Features -- what curl can do
5 - config file support
6 - multiple URLs in a single command line
7 - range "globbing" support: [0-13], {one,two,three}
8 - multiple file upload on a single command line
9 - custom maximum transfer rate
10 - redirectable stderr
11 - parallel transfers
15 - full URL syntax with no length limit
16 - custom maximum download time
[all …]
DMANUAL.md5 Get the main page from a web-server:
9 Get the README file the user's home directory at funet's ftp-server:
35 curl --ftp-ssl ftp://files.are.secure.com/secrets.txt
39 curl -u username sftp://example.com/etc/issue
42 password-protected) to authenticate:
44 curl -u username: --key ~/.ssh/id_rsa scp://example.com/~/file.txt
47 (password-protected) to authenticate:
49 curl -u username: --key ~/.ssh/id_rsa --pass private_key_password
58 curl -u "domain\username:passwd" smb://server.example.com/share/file.txt
60 ## Download to a File
[all …]
/third_party/json/benchmarks/thirdparty/benchmark/
Dmingw.py2 # encoding: utf-8
45 'http://downloads.sourceforge.net/project/mingw-w64/Toolchains%20'
46 'targetting%20Win32/Personal%20Builds/mingw-builds/installer/'
48 'http://downloads.sourceforge.net/project/mingwbuilds/host-windows/'
52 A list of mingw-build repositories
57 Downloads and parse mingw-build repository files and parses them
59 log.info('getting mingw-builds repository')
63 for url in urls:
64 log.debug(' - requesting: %s', url)
65 socket = request.urlopen(url)
[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/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/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/curl/docs/cmdline-opts/
Dpage-header8 .\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
27 curl \- transfer a URL
43 curl is powered by libcurl for all transfer-related features. See
45 .SH URL
46 The URL syntax is protocol-dependent. You'll find a detailed description in
50 braces and quoting the URL as in:
56 "ftp://ftp.example.com/file[1-100].txt"
58 "ftp://ftp.example.com/file[001-100].txt" (with leading zeros)
60 "ftp://ftp.example.com/file[a-z].txt"
65 "http://example.com/archive[1996-1999]/vol[1-4]/part{a,b,c}.html"
[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/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/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/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/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/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/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('.'))

12345678910>>...23