| /external/grpc-grpc-java/buildscripts/ |
| D | sonatype-upload.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 set -eu -o pipefail 18 if [ $# -ne 2 ]; then 20 Usage: $0 PROFILEID DIR 26 DIR Directory to upload to Sonatype as a new staging repository 28 ~/.config/sonatype-upload: Configuration file for Sonatype username and password 36 * Change the drop-down from "Summary" to "User Token" 43 DIR="$2" 44 if [ -z "$DIR" ]; then 45 echo "Must specify non-empty directory name" [all …]
|
| /external/curl/tests/data/ |
| D | test624 | 6 --ftp-create-dirs 11 # Server-side 16 # Client-side 22 SFTP put with --ftp-create-dirs 25 --ftp-create-dirs --key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub … 28 … %PWD/%LOGDIR/test%TESTNUMBER.dir/upload.%TESTNUMBER %PWD/%LOGDIR/upload.%TESTNUMBER rmdir %PWD/%L… 32 for ssh upload test 39 <upload> 41 for ssh upload test 42 </upload>
|
| D | test216 | 8 # Server-side 12 # Client-side 18 FTP upload two files to the same dir 21 -T %LOGDIR/upload.%TESTNUMBER ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER/ -T %LOGDIR/upload.%TESTNUM… 23 <file name="%LOGDIR/upload.%TESTNUMBER"> 24 upload this file twice 39 STOR upload.%TESTNUMBER
|
| /external/linux-kselftest/tools/testing/selftests/firmware/ |
| D | fw_upload.sh | 2 # SPDX-License-Identifier: GPL-2.0 3 # This validates the user-initiated fw upload mechanism of the firmware 7 set -e 13 errors="hw-error 15 device-busy 16 invalid-file-size 17 read-write-error 18 flash-wearout" 19 error_abort="user-abort" 36 if [ -e "$DIR/$name" ]; then [all …]
|
| /external/perfetto/tools/ |
| D | test_data | 6 file and change frequently. Instead we check-in only xxx.sha256 files, which 7 contain the SHA-256 of the actual binary file, and sync them from a GCS bucket. 9 File in the GCS bucket are content-indexed as gs://bucket/file_name-a1b2c3f4 . 13 ./test_data download # To sync remote>local (used by install-build-deps). 14 ./test_data upload # To upload newly created and modified files. 32 FS_NEW_FILE = 'needs upload' 46 subprocess.check_call(['curl', '-L', '-s', '-o', out_file, url]) 59 continue # Temporary files left around if CTRL-C-ing while downloading. 66 fpath = fpath[:-len(SUFFIX)] 89 '[%d/%d] %-60s' % (done, len(files), relpath(fs.path)[-60:]), [all …]
|
| /external/crosvm/tools/infra/ |
| D | binary_size | 3 # Use of this source code is governed by a BSD-style license that can be 24 # TODO(zihanchen): upload binary size to db for backup 31 "--base-dir", 32 help="Base dir of cargo target, used to convert target path to shorter relative path, must " 36 "--target-name", 40 "--target-path", 41 help="Path to binary, must be absolute if base dir is provided", 44 parser.add_argument("--upload", action="store_true") 46 "--catapult-tool-path", 47 help="Path to catapult dashboard upload tool", [all …]
|
| /external/libwebsockets/plugins/deaddrop/ |
| D | README.md | 1 # Deaddrop: File upload and sharing plugin 5 Just configure lws with `cmake .. -DLWS_WITH_PLUGINS=1` and build lws as normal. 10 |---|---| 11 |upload-dir|A writeable directory where uploaded files will go| 12 |max-size|Maximum individual file size in bytes| 13 |basic-auth|Path to basic auth credential file so wss can also be protected| 21 1) Set the basic-auth pvo to require valid credentials as described above 26 3) Add a callback mount into "lws-deaddrop" protocol at "upload"... so if your 27 URL for deaddrop is "/tools/share", this would be at "/tools/share/upload". 31 would be "/tools/share/get" whose origin matches the "upload-dir" pvo [all …]
|
| D | protocol_lws_deaddrop.c | 2 * libwebsockets - small server side websockets and web server implementation 4 * Copyright (C) 2010 - 2020 Andy Green <andy@warmcat.com> 102 "upload", 118 return (int)(p2->mtime - p1->mtime); in de_mtime_sort() 124 if (pss->vhd->lwsac_head) in start_sending_dir() 125 lwsac_reference(pss->vhd->lwsac_head); in start_sending_dir() 126 pss->lwsac_head = pss->vhd->lwsac_head; in start_sending_dir() 127 pss->dire = pss->vhd->dire_head; in start_sending_dir() 128 pss->filelist_version = pss->vhd->filelist_version; in start_sending_dir() 129 pss->first = 1; in start_sending_dir() [all …]
|
| /external/toolchain-utils/pgo_tools/ |
| D | create_chroot_and_generate_pgo_profile.py | 3 # Use of this source code is governed by a BSD-style license that can be 6 """This script generates a PGO profile for llvm-next. 33 def find_repo_root(base_dir: Path) -> Path: 46 """Creates a `--bootstrap` chroot without any updates applied.""" 50 "--replace", 51 f"--chroot={chroot_info.chroot_name}", 52 f"--out-dir={chroot_info.out_dir_name}", 53 "--bootstrap", 54 "--skip-chroot-upgrade", 70 f"--chroot={chroot_info.chroot_name}", [all …]
|
| /external/crosvm/infra/recipes/ |
| D | build_docs.py | 2 # Use of this source code is governed by a BSD-style license that can be 16 BOOK_URL = "gs://crosvm-dot-dev/book" 17 DOCS_URL = "gs://crosvm-dot-dev/doc" 25 $ luci-auth context ./infra/recipes.py run build_docs 29 "Build mdbook", ["mdbook", "build", "docs/book/", "--dest-dir", "../target"] 33 ["./tools/cargo-doc", "--target-dir", "docs/target"], 36 # Container generated files are root-owned, we need to make sure they will be readable by 40 ["chmod", "-R", "o+r", "docs/target"], 44 ["rsync", "-r", "-d", "./docs/target/html", BOOK_URL], 45 name="Upload book", [all …]
|
| /external/aws-sdk-java-v2/test/s3-benchmarks/.scripts/ |
| D | benchmark-dir | 22 echo " benchmark-dir download|upload fs|tmpfs|no-op [1B|4K|16M|5G]" 24 echo " ./benchmark-dir download fs" 25 echo " ./benchmark-dir upload tmpfs" 30 if [ -z "$1" ] || ([ "$1" != download ] && [ "$1" != upload ]); then 37 if [[ -z "$2" ]]; then 43 if ([ "$location_name" != fs ] && [ "$location_name" != tmpfs ] && [ "$location_name" != no-op ]); … 63 echo "Benchmark: $version - $size" 65 if [[ -z "$directory" ]]; then 66 mkdir -p "$directory" 70 cmd="java -jar ../target/s3-benchmarks.jar \ [all …]
|
| /external/skia/infra/bots/task_drivers/common/ |
| D | goldctl_steps_test.go | 3 // Use of this source code is governed by a BSD-style license that can be 31 …err := UploadToGold(ctx, utgArgs, "/path/to/skia/bazel-testlogs/some/test/target/test.outputs/outp… 40 …"Test did not produce an undeclared test outputs ZIP file or directory; nothing to upload to Gold", 47 test("post-submit task", UploadToGoldArgs{ 62 // These arguments are only used when there are images to upload, and are therefore 64 ChangelistID: "changelist-id", 66 TryjobID: "tryjob-id", 75 "image-with-invalid-json-file.png": "fake PNG", 76 "image-with-invalid-json-file.json": `{ 79 "image-with-no-json-file.png": "fake PNG", [all …]
|
| D | goldctl_steps.go | 3 // Use of this source code is governed by a BSD-style license that can be 27 // goldctlBazelLabelAllowList is the list of Bazel targets that are allowed to upload results to 59 …return skerr.Wrap(td.Do(ctx, td.Props(fmt.Sprintf("Bazel label %q is not allowlisted to upload to … 69 …not produce an undeclared test outputs ZIP file or directory; nothing to upload to Gold"), func(ct… 96 …ed test outputs ZIP file or directory contains no GM outputs; nothing to upload to Gold"), func(ct… 101 return td.Do(ctx, td.Props("Upload GM outputs to Gold"), func(ctx context.Context) error { 103 goldctlWorkDir, err := os_steps.TempDir(ctx, "", "goldctl-workdir-*") 110 …if err := goldctl(ctx, utgArgs.GoldctlPath, "auth", "--work-dir", goldctlWorkDir, "--luci"); err !… 114 // Prepare task-specific key:value pairs. 131 "--work-dir", goldctlWorkDir, [all …]
|
| /external/libwebsockets/minimal-examples/http-server/minimal-http-server-deaddrop/ |
| D | minimal-http-server-deaddrop.c | 2 * lws-minimal-http-server-deaddrop 4 * Written in 2010-2020 by Andy Green <andy@warmcat.com> 10 * secure, modern html5 file upload and sharing application. 43 &em2, NULL, ".tar.gz", "application/x-gzip" 46 /* wire up /upload URLs to the plugin (protected by basic auth) */ 50 /* .mountpoint */ "/upload", /* mountpoint URL */ 51 /* .origin */ "lws-deaddrop", 65 /* .basic_auth_login_file */ "./ba-passwords", 68 /* wire up /get URLs to the upload directory (protected by basic auth) */ 71 /* .mount_next */ &mount_upload, /* linked-list "next" */ [all …]
|
| /external/google-breakpad/src/tools/mac/upload_system_symbols/ |
| D | upload_system_symbols.sh | 38 set -ex 40 if [[ $# -ne 1 ]]; then 47 dir="$(dirname "$0")" 48 dir="$(cd "${dir}"; pwd)" 49 major_version=$(sw_vers -productVersion | cut -d . -f 1) 50 if [[ "${major_version}" -lt 13 ]]; then 56 working_dir=$(mktemp -d) 58 trap 'rm -rf "${working_dir}" "${destination_dir}"' EXIT 63 if [[ "${major_version}" -lt 13 ]] || [[ $(uname -p) == "arm" ]]; then 66 if [[ "${major_version}" -ge 11 ]]; then [all …]
|
| /external/fonttools/.github/workflows/ |
| D | wheels.yml | 7 …# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispat… 11 # skip binary wheels for pypy (preferable to use pure-python) and 32-bit Linux 17 CIBW_TEST_COMMAND: "tox -c {package}/tox.ini -e py-cy-noextra --installpkg {wheel}" 22 runs-on: ubuntu-latest 24 - uses: actions/checkout@v4 25 - name: Set up Python 26 uses: actions/setup-python@v5 28 python-version: '3.x' 29 - name: Install dependencies 32 - name: Build source distribution and pure-python wheel [all …]
|
| /external/flatbuffers/.github/workflows/ |
| D | build.yml | 2 permissions: read-all 9 - "*" # new tag version, like `0.8.4` or else 11 - master 14 - master 17 build-linux: 21 digests-gcc: ${{ steps.hash-gcc.outputs.hashes }} 22 digests-clang: ${{ steps.hash-clang.outputs.hashes }} 24 runs-on: ubuntu-latest 27 cxx: [g++-10, clang++-12] 28 fail-fast: false [all …]
|
| /external/cronet/third_party/protobuf/python/ |
| D | release.sh | 3 set -ex 6 grep "__version__ = '.*'" python/google/protobuf/__init__.py | sed -r "s/__version__ = '(.*)'/\1/" 14 virtualenv -p `which $PYTHON` test-venv 18 touch test-venv/bin/protoc 19 chmod +x test-venv/bin/protoc 21 source test-venv/bin/activate 22 …(pip install -i ${PYPI} protobuf==${VERSION} --no-cache-dir) || (retry_pip_install ${PYPI} ${VERSI… 24 rm -fr test-venv 31 …read -p "pip install failed, possibly due to delay between upload and availability on pip. Retry? … 37 …(pip install -i ${PYPI} protobuf==${VERSION} --no-cache-dir) || (retry_pip_install ${PYPI} ${VERSI… [all …]
|
| /external/protobuf/python/ |
| D | release.sh | 3 set -ex 6 grep "__version__ = '.*'" python/google/protobuf/__init__.py | sed -r "s/__version__ = '(.*)'/\1/" 14 virtualenv -p `which $PYTHON` test-venv 18 touch test-venv/bin/protoc 19 chmod +x test-venv/bin/protoc 21 source test-venv/bin/activate 22 …(pip install -i ${PYPI} protobuf==${VERSION} --no-cache-dir) || (retry_pip_install ${PYPI} ${VERSI… 24 rm -fr test-venv 31 …read -p "pip install failed, possibly due to delay between upload and availability on pip. Retry? … 37 …(pip install -i ${PYPI} protobuf==${VERSION} --no-cache-dir) || (retry_pip_install ${PYPI} ${VERSI… [all …]
|
| /external/autotest/cli/ |
| D | skylab_utils.py | 2 # Use of this source code is governed by a BSD-style license that can be 21 INTERNAL_GERRIT_HOST = 'chrome-internal-review.googlesource.com' 24 INTERNAL_INVENTORY_REPO_URL = ('https://chrome-internal.googlesource.com/' 27 r'https://chrome-internal-review.googlesource.com/c/chromeos/' 28 'infra_internal/skylab_inventory/\\+/([0-9]*)') 29 MSG_INVALID_IN_SKYLAB = 'This is currently not supported with --skylab.' 92 labels={'Code-Review': 2, 'Verified': 1}, 93 msg='Set TBR by "atest --skylab"', 112 """Initialize inventory repo at the given dir.""" 135 """Get path to the data dir.""" [all …]
|
| /external/icu/ |
| D | icu_version_upgrade.md | 4 https://github.com/unicode-org/icu/releases. 10 * See http://site.icu-project.org/repository 11 …* [git-lts](https://git-lfs.github.com/) has to be installed to pull binaries correctly from the g… 12 2. Generate a github read-access token and setup a local ~/.m2/setting.xml 16 * http://go/repo-init/aosp-main-with-phones 20 …* The branch is a staging branch to **rebase** Android-specific patches onto the new upstream vers… 21 … instruction at http://g3doc/company/teams/android-build-team/playbook/create_branch#creating-new-… 26 We use the **`aosp/upstream-release-cldr** as the mirror of the upstream release branch. 39 export UPSTREAM_CLDR_GIT=/media/user/disk/icu-git/cldr 40 export UPSTREAM_ICU_GIT=/media/user/disk/icu-git/icu [all …]
|
| /external/skia/infra/bots/assets/skimage/ |
| D | create_and_upload.py | 5 # Use of this source code is governed by a BSD-style license that can be 9 """Create the asset and upload it.""" 28 raise Exception('`sk` not found at %s; maybe you need to run bin/fetch-sk?') 31 # asset dir rather than /tmp. 35 # Allow the user to modify the contents of the target dir. 39 subprocess.check_call([sk, 'asset', 'upload', '--in', tmp, ASSET],
|
| /external/mesa3d/src/gfxstream/guest/fuchsia/ |
| D | releasepackage.py | 2 # Use of this source code is governed by a BSD-style license that can be 12 parser = argparse.ArgumentParser(description="Upload goldfish libvulkan to CIPD") 14 parser.add_argument("--release-dir") 15 parser.add_argument("--arch") 16 parser.add_argument("--dry-run", action="store_true") 17 parser.add_argument("--ignore-branch", action="store_true") 18 parser.add_argument("--ignore-rebuild", action="store_true") 19 parser.add_argument("--ignore-buildtype", action="store_true") 36 print "Release dir: %s doesn't exist" % release_dir 44 target_name = "%s-shared/libvulkan_goldfish.so" % arch [all …]
|
| /external/autotest/client/common_lib/ |
| D | packages.py | 5 upload and remove packages. 8 #pylint: disable=missing-docstring 88 repo_run_command(repo, 'mkdir -p %s' % remote_path, cd=False) 99 'df -PB %d . | tail -1' % 10 ** 9).stdout.split() 124 cmd = 'find . -type f -atime +%s -exec rm -f {} \;' % older_than_days 144 curl_cmd_pattern = 'curl --connect-timeout 15 -s %s -o %s' 160 target: Optional string that should either be 'file' or 'dir' 163 if target == 'dir': 164 test_cmd = 'test -d %s' 166 test_cmd = 'test -e %s' [all …]
|
| /external/curl/docs/libcurl/opts/ |
| D | CURLOPT_UPLOAD.md | 1 --- 3 SPDX-License-Identifier: curl 7 See-also: 8 - CURLOPT_INFILESIZE_LARGE (3) 9 - CURLOPT_PUT (3) 10 - CURLOPT_READFUNCTION (3) 12 - All 13 --- 17 CURLOPT_UPLOAD - data upload 24 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_UPLOAD, long upload); [all …]
|