/external/toolchain-utils/llvm_tools/ |
D | git_llvm_rev.py | 2 # -*- coding: utf-8 -*- 4 # Use of this source code is governed by a BSD-style license that can be 31 # llvm-svn: 375505 39 # - |dir| is the directory of the LLVM checkout 40 # - |remote| is the name of the LLVM remote. Generally it's "origin". 44 class Rev(t.NamedTuple('Rev', (('branch', str), ('number', int)))): class 48 def parse(rev: str) -> 'Rev': member in Rev 49 """Parses a Rev from the given string. 51 Raises a ValueError on a failed parse. 58 if rev.startswith('r'): [all …]
|
/external/armnn/docker/armnn-android/ |
D | docker-entrypoint.sh | 3 set -e 6 dComputeLib=/home/armnn-devenv/ComputeLibrary 7 dTensorflow=/home/armnn-devenv/google/tensorflow 8 dFlatBuffer=/home/armnn-devenv/flatbuffers 13 mkdir -p ${dArmNN}/armnn-devenv && cd ${dArmNN}/armnn-devenv 14 git clone https://github.com/ARM-software/armnn.git && cd armnn/ 16 CXX=aarch64-linux-android-clang++ \ 17 CC=aarch64-linux-android-clang \ 18 CXX_FLAGS="-fPIE -fPIC" \ 20 -DCMAKE_SYSTEM_NAME=Android \ [all …]
|
/external/cldr/tools/scripts/ansible/templates/ |
D | deploy-sh.j2 | 2 # Note: this is managed by Ansible, as deploy-sh.j2 3 # Don't modify this file unless its name is deploy-sh.j2 6 WORKDIR=${TMPDIR-/tmp} # keep all random files here 11 rm -f ${WORKDIR}/git-list.txt 17 git fetch -p || exit 1 18 git clean -f -d || echo 'warning: err on cleanup' 21 echo "cldr-trunk was at :" $(git rev-parse --short HEAD) 22 echo -n "you want to move to:" 23 git rev-parse --short "${GITHUB_SHA}" || exit 1 # fail on err 24 if [[ $(git rev-parse --short HEAD) = $(git rev-parse --short "${GITHUB_SHA}") ]]; [all …]
|
/external/autotest/tko/ |
D | site_parse.py | 1 #!/usr/bin/python2 -u 4 # Use of this source code is governed by a BSD-style license that can be 25 # Existing parse behavior is kept completely intact. If the site parser is not 39 from autotest_lib.tko import parse 58 _CACHE_DIR = 'tmp/symbol-cache' 116 """Returns a tuple of (board, rev, version) parsed from the job name. 118 Handles job names of the form "<board-rev>-<version>...", 119 "<board-rev>-<rev>-<version>...", and 120 "<board-rev>-<rev>-<version_0>_to_<version>..." 126 A tuple of (board, rev, version) parsed from the job name. [all …]
|
/external/pdfium/testing/tools/ |
D | githelper.py | 2 # Use of this source code is governed by a BSD-style license that can be 8 # pylint: disable=relative-import 29 output = RunCommandPropagateErr(['git', 'stash', '--include-untracked'], 41 self.stashed -= 1 45 return RunCommandPropagateErr(['git', 'rev-parse', '--abbrev-ref', 'HEAD'], 49 return RunCommandPropagateErr(['git', 'rev-parse', 'HEAD'], 53 output = RunCommandPropagateErr(['git', 'status', '--porcelain'], 60 ['git', 'rev-parse', '--verify', branch_name])
|
/external/toolchain-utils/ |
D | android_merge_from_upstream.sh | 1 #!/bin/bash -eu 3 # Use of this source code is governed by a BSD-style license that can be 7 # on their copy of toolchain-utils, this script will do all of the necessary 8 # merging/branch creation/etc. to make keeping things up-to-date trivial. 11 # https://android-review.googlesource.com/c/platform/external/toolchain-utils/+/1132504/1 16 remote_branch="${remote}/upstream-main" # nocheck 18 my_dir="$(dirname "$(readlink -m "$0")")" 23 current_rev="$(git rev-parse HEAD)" 24 main_rev="$(git rev-parse "${local_upstream}")" 32 if ! git rev-parse "${local_branch_name}" >& /dev/null; then [all …]
|
/external/python/setuptools/setuptools/ |
D | package_index.py | 15 import urllib.parse 33 EGG_FRAGMENT = re.compile(r'^egg=([-A-Za-z0-9_.+!]+)$') 37 r'href="[^?]+\?:action=show_md5&digest=([0-9a-f]{32})">md5</a>\)' 39 URL_SCHEME = re.compile('([-+.a-z0-9]{2,}):', re.I).match 49 _tmpl = "setuptools/{setuptools.__version__} Python-urllib/{py_major}" 56 return Requirement.parse(spec) 71 base = name[:-10] 73 elif lower.startswith('.win32-py', -16): 74 py_ver = name[-7:-4] 75 base = name[:-16] [all …]
|
/external/pigweed/pw_env_setup/py/pw_env_setup/cipd_setup/ |
D | wrapper.py | 8 # https://www.apache.org/licenses/LICENSE-2.0 36 import http.client as httplib # type: ignore[no-redef] 41 import urllib.parse as urlparse # type: ignore[no-redef] 44 # $ cipd ls infra/tools/cipd | perl -pe "s[.*/][];s/^/ '/;s/\s*$/',\n/;" 46 'aix-ppc64', 47 'linux-386', 48 'linux-amd64', 49 'linux-arm64', 50 'linux-armv6l', 51 'linux-mips64', [all …]
|
/external/skia/infra/bots/ |
D | check_deps.py | 5 # Use of this source code is governed by a BSD-style license that can be 30 utils.WHICH, utils.GCLIENT]).decode('utf-8') 36 [python, gclient_py, 'revinfo'], cwd=SKIA_DIR).decode('utf-8') 44 'Failed to parse `gclient revinfo` output; invalid format: %s' % e) 51 'Failed to parse `gclient revinfo` output; invalid format: %s' % e) 54 rev = split[1] 55 if 'chrome-infra-packages' in repo: 60 'See http://go/new-skia-git-mirror' % repo) 61 if not re.match(r'^[a-z0-9]{40}$', rev): 62 errs.append('%s: "%s" does not look like a commit hash.' % (repo, rev))
|
/external/python/cpython2/Tools/faqwiz/ |
D | faqwiz.py | 3 This is a CGI program that maintains a user-editable FAQ. It uses RCS 10 The actual script to place in cgi-bin is faqw.py. 71 r'\b(http|ftp|https)://\S+(\b|/)|\b[-.\w]+@[-.\w]+') 84 while url[-1] in '();:,.?\'"<>': 85 url = url[:-1] 101 return re.sub(r'\*([a-zA-Z]+)\*', r'<I>\1</I>', line) 105 def revparse(rev): argument 109 m = revparse_prog.match(rev) 146 author = '/'.join(words[:-2]) 147 email = words[-2] [all …]
|
/external/rust/crates/lru-cache/ |
D | deploy-docs.sh | 3 set -o errexit -o nounset 5 rev=$(git rev-parse --short HEAD) 13 git fetch upstream gh-pages 14 git reset upstream/gh-pages 18 git add -A . 19 git commit -m "rebuild pages at ${rev}" 20 git push -q upstream HEAD:gh-pages
|
/external/mesa3d/bin/ |
D | git_sha1_gen.py | 13 """Try to get the git SHA1 with git rev-parse.""" 18 '--git-dir=' + git_dir, 19 'rev-parse', 42 parser.add_argument('--output', help='File to write the #define in', 48 write_if_different('#define MESA_GIT_SHA1 " (git-' + git_sha1 + ')"')
|
/external/oss-fuzz/projects/monero/ |
D | Dockerfile | 7 # http://www.apache.org/licenses/LICENSE-2.0 20 FROM gcr.io/oss-fuzz-base/base-builder 22 RUN set -ex && \ 23 apt-get update && \ 24 apt-get --no-install-recommends --yes install \ 25 ca-certificates \ 29 pkg-config \ 34 libtool-bin \ 43 libsodium-dev \ 44 libreadline-dev \ [all …]
|
/external/eigen/bench/perf_monitoring/ |
D | run.sh | 10 # PREFIX="haswell-fma-" 11 # CXX_FLAGS="-mfma" 15 # -up : enforce the recomputation of existing data, and keep best results as a merging strategy 16 # -s : recompute selected changesets only and keep bests 17 # -np : no plotting of results, just generate the data 22 if [[ "$*" =~ '-up' ]]; then 28 if [[ "$*" =~ '-s' ]]; then 34 if [[ "$*" =~ '-np' ]]; then 43 if [ -z "$PREFIX" ]; then 46 WORKING_DIR_PREFIX="$WORKING_DIR/$PREFIX-" [all …]
|
/external/deqp-deps/SPIRV-Tools/utils/ |
D | update_build_version.py | 9 # http://www.apache.org/licenses/LICENSE-2.0 20 # Args: <spirv-tools_dir> <output-file> 24 # - The software version deduced from the CHANGES file in the given directory. 25 # - A longer string with the project name, the software version number, and 27 # is the output of "git describe" if that succeeds, or "git rev-parse HEAD" 83 # Match the first well-formed version-and-date line. 84 # Allow trailing whitespace in the checked-out source code has 85 # unexpected carriage returns on a linefeed-only system such as 87 pattern = re.compile(r'^(v\d+\.\d+(-dev)?) \d\d\d\d-\d\d-\d\d\s*$') 101 Runs 'git describe', or alternately 'git rev-parse HEAD', in directory. If [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/utils/ |
D | update_build_version.py | 9 # http://www.apache.org/licenses/LICENSE-2.0 20 # Args: <spirv-tools_dir> <output-file> 24 # - The software version deduced from the CHANGES file in the given directory. 25 # - A longer string with the project name, the software version number, and 27 # is the output of "git describe" if that succeeds, or "git rev-parse HEAD" 83 # Match the first well-formed version-and-date line. 84 # Allow trailing whitespace in the checked-out source code has 85 # unexpected carriage returns on a linefeed-only system such as 87 pattern = re.compile(r'^(v\d+\.\d+(-dev)?) \d\d\d\d-\d\d-\d\d\s*$') 101 Runs 'git describe', or alternately 'git rev-parse HEAD', in directory. If [all …]
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/utils/ |
D | update_build_version.py | 9 # http://www.apache.org/licenses/LICENSE-2.0 20 # Args: <changes-file> <output-file> 24 # - The software version deduced from the given CHANGES file. 25 # - A longer string with the project name, the software version number, and 28 # rev-parse HEAD" if that succeeds, or otherwise a message containing the 82 # Match the first well-formed version-and-date line. 83 # Allow trailing whitespace in the checked-out source code has 84 # unexpected carriage returns on a linefeed-only system such as 86 pattern = re.compile(r'^(v\d+\.\d+(-dev)?) \d\d\d\d-\d\d-\d\d\s*$') 99 Runs 'git describe', or alternately 'git rev-parse HEAD', in directory. If [all …]
|
/external/erofs-utils/scripts/ |
D | get-version-number | 2 # SPDX-License-Identifier: GPL-2.0 7 if test -z "$(git rev-parse --show-cdup 2>/dev/null)" && 8 head="$(git rev-parse --verify HEAD 2>/dev/null)"; then 10 if [ -z "$(git describe --exact-match 2>/dev/null)" ]; then 11 # Add -g and 8 hex chars. 12 printf '%s%s' -g "$(echo $head | cut -c1-8)" 16 # which might be read-only. 17 # You cannot use 'git describe --dirty' because it tries to 19 # First, with git-status, but --no-optional-locks is only 20 # supported in git >= 2.14, so fall back to git-diff-index if [all …]
|
/external/pigweed/pw_presubmit/py/pw_presubmit/ |
D | git_repo.py | 7 # https://www.apache.org/licenses/LICENSE-2.0 33 repo: PathOrStr = '.') -> str: 34 return log_run(['git', '-C', repo, *args], 40 def _ls_files(args: Collection[PathOrStr], repo: Path) -> Iterable[Path]: 41 """Returns results of git ls-files as absolute paths.""" 43 for file in git_stdout('ls-files', '--', *args, repo=repo).splitlines(): 48 repo: Path) -> Iterable[Path]: 52 '--name-only', 53 '--diff-filter=d', 55 '--', [all …]
|
/external/rust/cxx/.github/workflows/ |
D | site.yml | 6 - master 8 - book/** 9 - .github/workflows/site.yml 14 runs-on: ubuntu-latest 16 - uses: actions/checkout@v2 18 - name: Get mdBook 21 export MDBOOK_TARBALL="mdbook-${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz" 23 curl -Lf "${MDBOOK_URL}" | tar -xzC book 24 book/mdbook --version 26 - name: Build [all …]
|
/external/oss-fuzz/infra/base-images/base-builder/ |
D | srcmap | 1 #!/bin/bash -eux 8 # http://www.apache.org/licenses/LICENSE-2.0 23 # $1 - json file, $2 - jq program 35 for DOT_GIT_DIR in $(find $PATHS_TO_SCAN -name ".git" -type d); do 38 GIT_URL=$(git config --get remote.origin.url) 39 GIT_REV=$(git rev-parse HEAD) 40 jq_inplace $SRCMAP ".\"$GIT_DIR\" = { type: \"git\", url: \"$GIT_URL\", rev: \"$GIT_REV\" }" 44 for DOT_SVN_DIR in $(find $PATHS_TO_SCAN -name ".svn" -type d); do 48 SVN_REV=$(svn info -r HEAD | grep "^Revision:" | sed 's/Revision: //g') 49 jq_inplace $SRCMAP ".\"$SVN_DIR\" = { type: \"svn\", url: \"$SVN_URL\", rev: \"$SVN_REV\" }" [all …]
|
/external/robolectric/scripts/ |
D | update-cpp.sh | 3 set -e 5 #currentVersion=android-8.0.0_r36 6 #currentVersion=android-8.1.0_r22 7 currentVersion=android-9.0.0_r12 16 …x=$(echo "$line" | sed -e 's/.*https:\/\/android.googlesource.com\/\([^ ]*\)\/[+]\/\([^/]*\)\/\([^… 17 IFS=" " read -a parts <<< "$x" 22 curSha=$(cd "$frameworksBaseRepoDir" && git rev-parse --verify "$currentVersion") || true 23 if [[ -z "$curSha" ]]; then 28 thisSha=$(cd "$frameworksBaseRepoDir" && git rev-parse --verify "$version") || true 29 if [[ -z "$thisSha" ]]; then [all …]
|
/external/ImageMagick/ |
D | .travis.yml | 7 - clang 8 - gcc 11 - sudo add-apt-repository -y ppa:as-bahanta/raqm 12 - sudo add-apt-repository ppa:dns/gnu -y 13 - sudo apt-key update -q 14 - sudo apt-get update -q 15 - sudo apt-get install --only-upgrade autoconf 16 - sudo apt-get install -y libraqm-dev libfreetype6-dev libharfbuzz-dev libfribidi-dev 19 set -e 20 set -x [all …]
|
/external/libwebsockets/cmake/ |
D | FindGit.cmake | 16 # This file was originally developed by Jean-Christophe Fillion-Robin, Kitware Inc. 17 # and was partially funded by NIH grant 3P41RR013218-12S1 19 # AG 2013-02-18: I got it from here 27 # GIT_EXECUTABLE - path to git command line client 28 # GIT_FOUND - true if the command line client was found 31 # GIT_WC_INFO(<dir> <var-prefix>) 36 # <var-prefix>_WC_REVISION_HASH - Current SHA1 hash 37 # <var-prefix>_WC_REVISION - Current SHA1 hash 38 # <var-prefix>_WC_REVISION_NAME - Name associated with <var-prefix>_WC_REVISION_HASH 39 # <var-prefix>_WC_URL - output of command `git config --get remote.origin.url' [all …]
|
/external/armnn/scripts/ |
D | get_compute_library.sh | 4 # SPDX-License-Identifier: MIT 13 #DEFAULT_CLFRAMEWORKREVISION="75eea338eb232ebdafa2fb84d22e711b5f964785" #COMPMID-3961: Add Logical … 17 echo "Usage: $CMD -s <CLFRAMEWORK_SHA>" 18 echo "Usage: $CMD -p (Print current default clframework SHA)" 29 if [ $EXITCODE -ne 0 ]; then 31 echo "+++ Command exited with code $EXITCODE. Please fix the above errors and re-run" 41 g) DUMMY="$OPTARG";; # continue to accept -g for backward compatibility 45 shift $((OPTIND - 1)) 54 while [ -h "$SRC" ]; do 55 DIR="$( cd -P "$( dirname "$SRC" )" >/dev/null && pwd )" [all …]
|