| /external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
| D | AArch64ConditionalCompares.cpp | 1 //===-- AArch64ConditionalCompares.cpp --- CCMP formation for AArch64 -----===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 14 // if-conversion, and this pass should run immediately before the early 15 // if-conversion pass. 17 //===----------------------------------------------------------------------===// 43 #define DEBUG_TYPE "aarch64-ccmp" 48 "aarch64-ccmp-limit", cl::init(30), cl::Hidden, 51 // Stress testing mode - disable heuristics. 52 static cl::opt<bool> Stress("aarch64-stress-ccmp", cl::Hidden, [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AArch64/ |
| D | AArch64ConditionalCompares.cpp | 1 //===-- AArch64ConditionalCompares.cpp --- CCMP formation for AArch64 -----===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 14 // if-conversion, and this pass should run immediately before the early 15 // if-conversion pass. 17 //===----------------------------------------------------------------------===// 42 #define DEBUG_TYPE "aarch64-ccmp" 47 "aarch64-ccmp-limit", cl::init(30), cl::Hidden, 50 // Stress testing mode - disable heuristics. 51 static cl::opt<bool> Stress("aarch64-stress-ccmp", cl::Hidden, [all …]
|
| /external/llvm/lib/Target/AArch64/ |
| D | AArch64ConditionalCompares.cpp | 1 //===-- AArch64ConditionalCompares.cpp --- CCMP formation for AArch64 -----===// 8 //===----------------------------------------------------------------------===// 15 // if-conversion, and this pass should run immediately before the early 16 // if-conversion pass. 18 //===----------------------------------------------------------------------===// 42 #define DEBUG_TYPE "aarch64-ccmp" 47 "aarch64-ccmp-limit", cl::init(30), cl::Hidden, 50 // Stress testing mode - disable heuristics. 51 static cl::opt<bool> Stress("aarch64-stress-ccmp", cl::Hidden, 58 STATISTIC(NumHeadBranchRejs, "Number of ccmps rejected (Head branch)"); [all …]
|
| /external/pytorch/.github/scripts/ |
| D | test_tryrebase.py | 10 def mocked_rev_parse(branch: str) -> str: 11 return branch 29 ) -> None: 35 mock.call("fetch", "origin", "pull/31093/head:pull/31093/head"), 36 mock.call("rebase", MAIN_BRANCH, "pull/31093/head"), 39 "-f", 41 "pull/31093/head:master", 60 ) -> None: 66 mock.call("fetch", "origin", "pull/31093/head:pull/31093/head"), 67 mock.call("rebase", VIABLE_STRICT_BRANCH, "pull/31093/head"), [all …]
|
| /external/tensorflow/tensorflow/tools/git/ |
| D | gen_git_source.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 19 remember what branch git was on so when the branch changes we can 27 from builtins import bytes # pylint: disable=redefined-builtin 35 """Given a filename of a .git/HEAD file return ref path. 37 In particular, if git is in detached head state, this will 38 return None. If git is in attached head, it will return 39 the branch reference. E.g. if on 'master', the HEAD will 43 Example: parse_branch_ref(".git/HEAD") 45 filename: file to treat as a git HEAD file 47 None if detached head, otherwise ref subpath [all …]
|
| /external/autotest/client/common_lib/ |
| D | revision_control.py | 58 repo is up-to-date, if not update. It delegates the install to 72 In such repos the -git-dir option should point to 73 the .git directory and -work-tree should point to 77 (.git) in the same directory. This class assumes non-bare 107 raise ValueError('Unsupported operation -- this object was not' 118 gitcmdbase = '%s --git-dir=%s' % (self.git_base_cmd, 121 gitcmdbase += ' --work-tree=%s' % self.work_tree 177 @param remote_branch: Specify the remote branch to clone. None if to 178 clone main branch. 186 cmd += '-b %s' % remote_branch [all …]
|
| /external/crosvm/tools/tests/ |
| D | cl_tests.py | 3 # Use of this source code is governed by a BSD-style license that can be 33 # Check out a detached head and delete all branches. 34 git("checkout -d HEAD").fg(quiet=True) 35 branch_list = git("branch").lines() 36 for branch in branch_list: 37 if not branch.startswith("*"): 38 git("branch -D", branch).fg(quiet=True) 41 git("remote set-url origin https://chromium.googlesource.com/crosvm/crosvm").fg(quiet=True) 42 git("fetch -q origin main").fg(quiet=True) 43 git("fetch -q origin chromeos").fg(quiet=True) [all …]
|
| /external/openthread/tools/gerrit/ |
| D | README.md | 1 # git-squash-merge tool 3 `git-squash-merge` is a bash script to help squash merge a given branch into the current branch. Th… 5 This command squash merges all commits from a given branch into the current branch. By default the … 10 git-squash-merge [--no-list] [--no-commit] <branch> [<commit msg>]" 15 - `<branch>` specifies the name of branch to merge into current branch. 16 - `<commit msg>` is an optional parameter specifying text to add to the commit message. 20 - `--no-list` when used the commit message will not include the list of squashed commits. 21 - `--no-commit` when used, the tool squashes and stages the changes but does not commit" 26 ~/sw/openthread $ ./tools/gerrit/git-squash-merge.sh github/master "OpenThread GitHub sync" 27 commit 977287e73a3fcae297306b1e68da50d4bbee0d14 (HEAD) [all …]
|
| D | git-squash-merge.sh | 38 echo "Squash merge a given branch into the current branch" 40 echo "This command squash merges all commits from a given branch into the current branch" 42 echo "(use --no-commit and --no-list options to change default behavior)." 44 echo "Usage: $(basename "$0") [--no-list] [--no-commit] <branch> [<commit msg>]" 46 echo " <branch> Specifies the name of branch to merge into current branch" 49 echo " --no-list The commit message will not include the list of squashed commits" 50 echo " --no-commit Squash and stage the changes but do not commit " 59 --help | -h | -[?]) 64 --no-list) 67 --no-commit) [all …]
|
| /external/swiftshader/third_party/ |
| D | update-llvm-10.sh | 3 # llvm now lives in a mono-repo along with clang, libc, lldb and a whole bunch 8 # * The llvm10-clean branch is fetched and checked out. 10 # * The third_party/llvm-10.0/llvm is replaced with the latest LLVM version. 12 # * The original branch is checked out again, and a merge from llvm10-clean to 13 # the original branch is made. 16 STAGING_DIR="/tmp/llvm-10-update" 17 CLEAN_BRANCH="llvm10-clean" 19 TARGET_DIR="${THIRD_PARTY_DIR}/llvm-10.0/llvm" 23 SWIFTSHADER_HEAD=`git rev-parse HEAD` 26 if ! git diff --quiet HEAD; then [all …]
|
| D | update-llvm-16.sh | 3 # llvm now lives in a mono-repo along with clang, libc, lldb and a whole bunch 8 # * The llvm16-clean branch is fetched and checked out. 10 # * The third_party/llvm-16.0/llvm is replaced with the latest LLVM version. 12 # * The original branch is checked out again, and a merge from llvm16-clean to 13 # the original branch is made. 16 STAGING_DIR="/tmp/llvm-16-update" 17 CLEAN_BRANCH="llvm16-clean" 19 TARGET_DIR="${THIRD_PARTY_DIR}/llvm-16.0/llvm" 23 SWIFTSHADER_HEAD=`git rev-parse HEAD` 26 if ! git diff --quiet HEAD; then [all …]
|
| /external/autotest/utils/frozen_chromite/lib/ |
| D | git.py | 1 # -*- coding: utf-8 -*- 3 # Use of this source code is governed by a BSD-style license that can be 50 """Returns the nearest higher-level repo dir from the specified path. 78 ['git', '--git-dir', path, 'config', 'remote.%s.url' % remote], 80 check=False, encoding='utf-8').output.strip() 113 cmd = ['fsck', '--no-progress', '--no-dangling'] 129 If full is True, then it must be full length- 40 chars. If False, >=6, and 148 def GetGitRepoRevision(cwd, branch='HEAD', short=False): argument 149 """Find the revision of a branch. 153 branch: Branch name. Defaults to current branch. [all …]
|
| /external/openscreen/docs/ |
| D | advanced_gerrit.md | 16 [Change-Id commit-msg hook](https://gerrit-documentation.storage.googleapis.com/Documentation/2.14.… 17 This adds a `Change-Id` line to each commit message locally, which Gerrit uses 21 To download the commit-msg hook for the Open Screen repository, use the 25 curl -Lo .git/hooks/commit-msg https://chromium-review.googlesource.com/tools/hooks/commit-msg 26 chmod a+x .git/hooks/commit-msg 31 You should run `git cl presubmit --upload` in the root of the repository before pushing for 39 current branch. If you upload again, it uploads on the same issue (which is tied 40 to the branch, not the commit). See the [git-cl](https://chromium.googlesource.com/chromium/tools/d… 47 of the commit you are pushing has a Change-Id line, that change will also be the 52 Change-Id: aaa and this is in the process of being reviewed on Gerrit. Now [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/ |
| D | EarlyIfConversion.cpp | 1 //===-- EarlyIfConversion.cpp - If-conversion on SSA form machine code ----===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // Early if-conversion is for out-of-order CPUs that don't have a lot of 13 // Instructions from both sides of the branch are executed specutatively, and a 16 //===----------------------------------------------------------------------===// 43 #define DEBUG_TYPE "early-ifcvt" 48 BlockInstrLimit("early-ifcvt-limit", cl::init(30), cl::Hidden, 51 // Stress testing mode - disable heuristics. 52 static cl::opt<bool> Stress("stress-early-ifcvt", cl::Hidden, [all …]
|
| /external/libva/doc/ |
| D | ghdeploydoxy.sh | 5 # - Packages doxygen doxygen-doc doxygen-latex doxygen-gui graphviz 7 # - Doxygen configuration file must have the destination directory empty and 9 # - A gh-pages branch should already exist. 12 # - DOXYFILE : The Doxygen configuration file. 13 # - GH_REPO_NAME : The name of the repository. 14 # - GH_REPO_REF : The GitHub reference to the repository. 15 # - GH_REPO_TOKEN : The GitHub application token. 18 # the gh-pages branch of a repository specified by GH_REPO_REF. 19 # Before this script is used there should already be a gh-pages branch in the 25 ##### Setup this script and get the current gh-pages branch. ##### [all …]
|
| /external/llvm/lib/CodeGen/ |
| D | EarlyIfConversion.cpp | 1 //===-- EarlyIfConversion.cpp - If-conversion on SSA form machine code ----===// 8 //===----------------------------------------------------------------------===// 10 // Early if-conversion is for out-of-order CPUs that don't have a lot of 14 // Instructions from both sides of the branch are executed specutatively, and a 17 //===----------------------------------------------------------------------===// 42 #define DEBUG_TYPE "early-ifcvt" 47 BlockInstrLimit("early-ifcvt-limit", cl::init(30), cl::Hidden, 50 // Stress testing mode - disable heuristics. 51 static cl::opt<bool> Stress("stress-early-ifcvt", cl::Hidden, 59 //===----------------------------------------------------------------------===// [all …]
|
| /external/pytorch/.ci/pytorch/ |
| D | python_doc_push_script.sh | 10 set -ex 12 # for statements like ${1:-${DOCS_INSTALL_PATH:-docs/}} 22 version="${2:-${DOCS_VERSION:-main}}" 23 if [ -z "$version" ]; then 30 install_path="${1:-${DOCS_INSTALL_PATH:-${DOCS_VERSION}}}" 31 if [ -z "$install_path" ]; then 41 # Argument 3: The branch to push to. Usually is "site" 42 branch="${3:-${DOCS_BRANCH:-site}}" 43 if [ -z "$branch" ]; then 44 echo "error: python_doc_push_script.sh: branch (arg3) not specified" [all …]
|
| /external/pigweed/pw_cli/py/pw_cli/ |
| D | git_repo.py | 7 # https://www.apache.org/licenses/LICENSE-2.0 32 _NON_TRACKING_FALLBACK = 'HEAD~10' 36 """A Git-raised exception.""" 40 ) -> None: 46 def __init__(self, tool_runner: ToolRunner, working_dir: Path) -> None: 50 def __call__(self, *args, **kwargs) -> str: 51 cmd = ('-C', str(self._working_dir), *args) 74 ) -> str | None: 75 """Returns the tracking branch of the current branch. 79 branch. [all …]
|
| /external/skia/experimental/documentation/ |
| D | gerrit.md | 1 Using Gerrit without git-cl 5 ----- 9 This command sets up a Git commit-message hook to add a unique Change-Id to 10 each commit. Gerrit only accepts changes with a Change-Id and uses it to 13 experimental/tools/set-change-id-hook 20 git remote set-url origin 'https://skia.googlesource.com/skia.git' 24 -------------- 26 Go to [skia.googlesource.com/new-password](https://skia.googlesource.com/new-password) 31 ----------------- 33 1. Create a topic branch [all …]
|
| /external/crosvm/tools/chromeos/ |
| D | merge_bot | 3 # Use of this source code is governed by a BSD-style license that can be 9 # account (and are enabled with --is-bot). 11 # See `./tools/chromeos/merge_bot -h` for details. 32 git_log = git("log --decorate=no --color=never") 33 curl = cmd("curl --silent --fail") 36 mkdir = cmd("mkdir -p") 44 MERGE_TAG = "testing-crosvm-merge" 45 DRY_RUN_TAG = "testing-crosvm-merge-dry-run" 47 MERGE_TAG = "crosvm-merge" # type: ignore 48 DRY_RUN_TAG = "crosvm-merge-dry-run" # type: ignore [all …]
|
| /external/mbedtls/docs/architecture/psa-migration/ |
| D | outcome-analysis.sh | 12 # - First, commit any uncommited changes. (Also, see warning below.) 13 # - Then launch --> [SKIP_SSL_OPT=1] docs/architecture/psa-migration/outcome-analysis.sh 14 # - SKIP_SSL_OPT=1 can optionally be set to skip ssl-opt.sh tests 16 # WARNING: this script checks out a commit other than the head of the current 17 # branch; it checks out the current branch again when running successfully, 21 # NOTE: you can comment out parts that don't need to be re-done when 22 # re-running this script (for example "get numbers before this PR"). 24 set -eu 30 git checkout -- include/mbedtls/mbedtls_config.h include/psa/crypto_config.h 34 export MBEDTLS_TEST_OUTCOME_FILE="$PWD/outcome-$1.csv" [all …]
|
| /external/openthread/third_party/mbedtls/repo/docs/architecture/psa-migration/ |
| D | outcome-analysis.sh | 12 # - First, commit any uncommited changes. (Also, see warning below.) 13 # - Then launch --> [SKIP_SSL_OPT=1] docs/architecture/psa-migration/outcome-analysis.sh 14 # - SKIP_SSL_OPT=1 can optionally be set to skip ssl-opt.sh tests 16 # WARNING: this script checks out a commit other than the head of the current 17 # branch; it checks out the current branch again when running successfully, 21 # NOTE: you can comment out parts that don't need to be re-done when 22 # re-running this script (for example "get numbers before this PR"). 24 set -eu 30 git checkout -- include/mbedtls/mbedtls_config.h include/psa/crypto_config.h 34 export MBEDTLS_TEST_OUTCOME_FILE="$PWD/outcome-$1.csv" [all …]
|
| /external/cronet/tot/third_party/cpu_features/src/scripts/ |
| D | make_release.sh | 3 set -e # Fail on error 4 set -u # Treat unset variables as an error and exit immediately 11 echo -e "${ACTION}Checking environnement${NOCOLOR}" 12 if [[ ! $1 =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] 14 echo -e "${ERROR}Invalid version number. Aborting. ${NOCOLOR}" 18 declare -r VERSION=$1 19 declare -r GIT_TAG="v$1" 21 BRANCH=$(git rev-parse --abbrev-ref HEAD) 22 if [[ "${BRANCH}" != "main" ]] 24 echo -e "${ERROR}Not on main. Aborting. ${NOCOLOR}" [all …]
|
| /external/cronet/stable/third_party/cpu_features/src/scripts/ |
| D | make_release.sh | 3 set -e # Fail on error 4 set -u # Treat unset variables as an error and exit immediately 11 echo -e "${ACTION}Checking environnement${NOCOLOR}" 12 if [[ ! $1 =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] 14 echo -e "${ERROR}Invalid version number. Aborting. ${NOCOLOR}" 18 declare -r VERSION=$1 19 declare -r GIT_TAG="v$1" 21 BRANCH=$(git rev-parse --abbrev-ref HEAD) 22 if [[ "${BRANCH}" != "main" ]] 24 echo -e "${ERROR}Not on main. Aborting. ${NOCOLOR}" [all …]
|
| /external/cpu_features/scripts/ |
| D | make_release.sh | 3 set -e # Fail on error 4 set -u # Treat unset variables as an error and exit immediately 11 echo -e "${ACTION}Checking environnement${NOCOLOR}" 12 if [[ ! $1 =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] 14 echo -e "${ERROR}Invalid version number. Aborting. ${NOCOLOR}" 18 declare -r VERSION=$1 19 declare -r GIT_TAG="v$1" 21 BRANCH=$(git rev-parse --abbrev-ref HEAD) 22 if [[ "${BRANCH}" != "main" ]] 24 echo -e "${ERROR}Not on main. Aborting. ${NOCOLOR}" [all …]
|