| /external/toolchain-utils/llvm_tools/ |
| D | git_llvm_rev.py | 3 # Use of this source code is governed by a BSD-style license that can be 17 from typing import IO, Iterable, List, NamedTuple, Optional, Tuple, Union 30 # llvm-svn: 375505 38 # The first element is the first non-`llvm-svn` commit that exists. Later ones 50 # - |dir| is the directory of the LLVM checkout 51 # - |remote| is the name of the LLVM remote. Generally it's "origin". 57 class Rev(NamedTuple("Rev", (("branch", str), ("number", int)))): class 61 def parse(rev: str) -> "Rev": 62 """Parses a Rev from the given string. 71 if rev.startswith("r"): [all …]
|
| D | get_upstream_patch.py | 3 # Use of this source code is governed by a BSD-style license that can be 28 get_upstream_patch --chromeos_path ~/chromiumos --platform chromiumos \ 29 --sha 1234567 --sha 890abdc 34 """A ValueError that highlights the cherry-pick has been seen before""" 38 """A ValueError that highlights the cherry-pick is before the start_sha""" 49 subprocess.run(["git", "-C", llvm_dir, "checkout", start_sha], check=True) 78 start_version: git_llvm_rev.Rev, argument 80 rev: t.Union[git_llvm_rev.Rev, str], argument 93 rev: An LLVM revision (git_llvm_rev.Rev) for a cherrypicking, or a 99 platforms: List of platforms this patch applies to. [all …]
|
| D | llvm_bisection.py | 3 # Use of this source code is governed by a BSD-style license that can be 38 # Create parser and add optional command-line arguments. 44 # which has a change list of updating a package's git hash. 46 "--parallel", 55 "--start_rev", 63 "--end_rev", 72 "--last_tested", 79 "--src_path", 86 # which has a change list of updating a package's git hash. 88 "--extra_change_lists", [all …]
|
| D | get_patch_unittest.py | 3 # Use of this source code is governed by a BSD-style license that can be 11 from typing import Any, Dict, Generator, List, Set 19 COMMIT_FIXTURES: List[Dict[str, Any]] = [ 20 {"subject": "A commit subject", "sha": "abcdef1234567890", "rev": 5}, 21 {"subject": "Another commit subject", "sha": "feed9999", "rev": 9}, 24 JSON_FIXTURE: List[Dict[str, Any]] = [ 34 def _mock_get_commit_subj(_, sha: str) -> str: 41 def _mock_to_rev(sha: get_patch.LLVMGitRef, _) -> git_llvm_rev.Rev: 45 return git_llvm_rev.Rev("main", next(gen)["rev"]) 48 def _mock_from_rev(_, rev: git_llvm_rev.Rev) -> get_patch.LLVMGitRef: argument [all …]
|
| D | nightly_revert_checker.py | 3 # Use of this source code is governed by a BSD-style license that can be 8 If any reverts are found that were previously unknown, this cherry-picks them or 22 from typing import Any, Callable, Dict, List, NamedTuple, Set, Tuple 52 def from_json(cls, json_object: Any) -> "HeadInfo": 55 def to_json(self) -> Any: 63 # Mapping of LLVM SHA -> List of reverts that have been seen for it 64 seen_reverts: Dict[str, List[str]] = dataclasses.field(default_factory=dict) 65 # Mapping of friendly HEAD name (e.g., main-legacy) to last-known info 70 def from_json(cls, json_object: Any) -> "State": 86 def to_json(self) -> Any: [all …]
|
| /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]+') 75 list = [] 81 list.append(escape(text[i:j])) 84 while url[-1] in '();:,.?\'"<>': 85 url = url[:-1] 95 list.append(repl) 97 list.append(escape(text[i:j])) 98 return ''.join(list) [all …]
|
| /external/bazelbuild-rules_rust/crate_universe/private/ |
| D | crate.bzl | 30 rev = None): 35 [sd]: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html 42 default_features (bool, optional): Maps to the `default-features` flag. 43 features (list, optional): A list of features to use for the crate 45 …the `git` param. Only one of branch, tag or rev may be specified. Specifying `rev` is recommended … 46 …the `git` param. Only one of branch, tag or rev may be specified. Specifying `rev` is recommended … 47 …rev (str, optional): The git revision of the remote crate. Tied with the `git` param. Only one of … 62 "rev": rev, 120 … version (str, optional): The version or semver-conditions to match with a crate. The wildcard `*` 127 …build_script_data (list, optional): A list of labels to add to a crate's `cargo_build_script::data… [all …]
|
| /external/python/cpython2/Demo/classes/ |
| D | Rev.py | 7 >>> chars = list(Rev('Hello World!')) 13 If you give it a non-anonymous mutable sequence, the reverse sequence 14 will track the updated values. ( but not reassignment! - another 20 >>> rnn = Rev(nnn) 35 >>> nnn = nnn[1:-1] 47 >>> WH = Rev('Hello World!') 50 >>> nnn = Rev(range(1, 10)) 56 >>> rrr = Rev(nnn) 62 class Rev: class 71 return self.forw[-(j + 1)] [all …]
|
| /external/toolchain-utils/rust_tools/ |
| D | auto_update_rust_bootstrap.py | 3 # Use of this source code is governed by a BSD-style license that can be 6 """Automatically maintains the rust-bootstrap package. 9 - uploading new rust-bootstrap prebuilts 10 - adding new versions of rust-bootstrap to keep up with dev-lang/rust 11 - removing versions of rust-bootstrap that are no longer depended on by 12 dev-lang/rust 30 from typing import Dict, Iterable, List, Optional, Tuple, Union 47 """Represents an ebuild version, simplified for rust-bootstrap versions. 55 rev: int 57 def prior_minor_version(self) -> "EbuildVersion": [all …]
|
| /external/toybox/www/ |
| D | cleanup.html | 2 <!--#include file="header.html" --> 23 <p>Toybox <a href=http://landley.net/notes.html#31-03-2013>hasn't always</a> 38 posting explanations of each change to the mailing list. 47 command name links to a commit list with the bulk of the changes, it may 60 links to mailing list messages that cover various programming topics 64 <li><a href=http://lists.landley.net/pipermail/toybox-landley.net/2013-April/000850.html>Error mess… 65 <li><a href=http://lists.landley.net/pipermail/toybox-landley.net/2013-April/000891.html>Why not "c… 69 <li><a href=http://lists.landley.net/pipermail/toybox-landley.net/2013-April/000893.html>Why not to… 70 <li><a href=http://lists.landley.net/pipermail/toybox-landley.net/2013-June/001044.html>Relationshi… 72 sight does not really help readability."</a> - [all …]
|
| /external/python/cpython2/Demo/pdist/ |
| D | rcslib.py | 30 - The instance always represents the current directory so it's not 36 okchars = string.ascii_letters + string.digits + '-_=+' 46 # --- Informational methods about a single file/revision --- 59 elif data[-1] == '\n': 60 data = data[:-1] 69 """Return a dictionary of info (from rlog -h) for NAME_REV 78 f = self._open(name_rev, 'rlog -h') 96 # --- Methods that change files --- 100 name, rev = self.checkfile(name_rev) 101 cmd = "rcs -l%s %s" % (rev, name) [all …]
|
| /external/perfetto/tools/ |
| D | bisect_ui_releases | 8 # http://www.apache.org/licenses/LICENSE-2.0 20 channels, as they make the history non-linear. 23 - It first obtains an unordered list of versions from gs://ui.perfetto.dev 24 - Then obtains the list of ordered commits from git 25 - Intersects the two lists, keeping only git commits that have a corresponding 27 - Proceeds with a guided bisect in the range. 35 COMMIT_ABBR_LEN = 9 # UI truncates commitish to 9 chars, e.g. v45.0-38b7c2b12. 41 '--good', 43 help='Last good release (e.g. v44.0-257a02990).' + 46 '--bad', [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 4 if [[ ${1} = "--repo" ]]; 7 GITHUB_REPO=$(echo -n "${1}" | tr -c 'A-Za-z0-9_.-/' '-') 11 GITHUB_REPO=unicode-org/cldr 17 WORKDIR=${TMPDIR-/tmp} # keep all random files here 22 git config --global advice.detachedHead false 23 rm -f ${WORKDIR}/git-list.txt 34 git fetch -p "${GIT_PREFETCH}" "${GITHUB_SHA}" || exit 1 35 git clean -f -d || echo 'warning: err on cleanup' [all …]
|
| /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
| D | CMSUtils.java | 10 import java.util.List; 26 // Android-removed: Unsupported algorithms 58 // BEGIN Android-removed: Unsupported algorithms 86 // END Android-removed: Unsupported algorithms 104 // BEGIN Android-removed: Unsupported algorithms 111 // END Android-removed: Unsupported algorithms 158 static List getCertificatesFromStore(Store certStore) in getCertificatesFromStore() 161 List certs = new ArrayList(); in getCertificatesFromStore() 180 static List getAttributeCertificatesFromStore(Store attrStore) in getAttributeCertificatesFromStore() 183 List certs = new ArrayList(); in getAttributeCertificatesFromStore() [all …]
|
| /external/bouncycastle/repackaged_platform/bcpkix/src/main/java/com/android/internal/org/bouncycastle/cms/ |
| D | CMSUtils.java | 11 import java.util.List; 27 // Android-removed: Unsupported algorithms 59 // BEGIN Android-removed: Unsupported algorithms 87 // END Android-removed: Unsupported algorithms 105 // BEGIN Android-removed: Unsupported algorithms 112 // END Android-removed: Unsupported algorithms 159 static List getCertificatesFromStore(Store certStore) in getCertificatesFromStore() 162 List certs = new ArrayList(); in getCertificatesFromStore() 181 static List getAttributeCertificatesFromStore(Store attrStore) in getAttributeCertificatesFromStore() 184 List certs = new ArrayList(); in getAttributeCertificatesFromStore() [all …]
|
| /external/python/pyfakefs/ |
| D | .pre-commit-config.yaml | 5 - repo: https://github.com/codespell-project/codespell 6 rev: v2.2.5 8 - id: codespell 10 - --ignore-words-list=wronly,afile 11 - repo: https://github.com/psf/black 12 rev: 23.7.0 14 - id: black 15 args: [ --safe, --quiet ] 16 - repo: https://github.com/asottile/blacken-docs 17 rev: 1.16.0 [all …]
|
| /external/autotest/tko/ |
| D | site_parse.py | 1 #!/usr/bin/python3 -u 4 # Use of this source code is governed by a BSD-style license that can be 63 _CACHE_DIR = 'tmp/symbol-cache' 121 """Returns a tuple of (board, rev, version) parsed from the job name. 123 Handles job names of the form "<board-rev>-<version>...", 124 "<board-rev>-<rev>-<version>...", and 125 "<board-rev>-<rev>-<version_0>_to_<version>..." 131 A tuple of (board, rev, version) parsed from the job name. 133 version = job_name.rsplit('-', 3)[1].split('_')[-1] 134 arch, board, rev = job_name.split('-', 3)[:3] [all …]
|
| /external/llvm/utils/git/ |
| D | find-rev | 8 parser.add_option("", "--branch", dest="branch", 10 action="store", default="git-svn") 16 repo,rev = args 19 rev = int(rev) 24 p = subprocess.Popen(['git', 'rev-list', opts.branch, '--pretty'], 32 elif ln.startswith(' git-svn-id: '): 36 if lrev<=rev: 41 if lrev == rev:
|
| /external/python/google-api-python-client/docs/dyn/ |
| D | apigee_v1.organizations.environments.sharedflows.revisions.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| D | apigee_v1.organizations.environments.apis.revisions.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| /external/rust/crates/quiche/deps/boringssl/src/crypto/x509/ |
| D | t_crl.c | 1 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 8 * This library is free for commercial and non-commercial use as long as 26 * notice, this list of conditions and the following disclaimer. 28 * notice, this list of conditions and the following disclaimer in the 35 * being used are not cryptographic related :-). 78 STACK_OF(X509_REVOKED) *rev; in X509_CRL_print() 84 BIO_printf(out, "Certificate Revocation List (CRL):\n"); in X509_CRL_print() 109 rev = X509_CRL_get_REVOKED(x); in X509_CRL_print() 111 if (sk_X509_REVOKED_num(rev) > 0) in X509_CRL_print() 116 for (i = 0; i < sk_X509_REVOKED_num(rev); i++) { in X509_CRL_print() [all …]
|
| /external/mesa3d/bin/ci/ |
| D | ci_run_n_monitor.py | 2 # Copyright © 2020 - 2022 Collabora Ltd. 8 # SPDX-License-Identifier: MIT 64 def print_job_status(job, new_status=False) -> None: 75 duration = time.perf_counter() - time.mktime(job.started_at.timetuple()) 89 def pretty_wait(sec: int) -> None: 91 for val in range(sec, 0, -1): 103 ) -> tuple[Optional[int], Optional[int]]: 113 for job in pipeline.jobs.list(all=True, sort="desc"): 163 print("---------------------------------", flush=False) 197 ) -> gitlab.v4.objects.ProjectPipelineJob: [all …]
|
| D | update_traces_checksum.py | 7 # SPDX-License-Identifier: MIT 33 ) -> None: 36 target_jobs_regex = re.compile(".*-traces([:].*)?$") 38 for job in pipeline.jobs.list(all=True, sort="desc"): 43 log: list[str] = cur_job.trace().decode("unicode_escape").splitlines() 63 with open(traces_file[0], 'r', encoding='utf-8') as target_file: 73 results_json = bz2.decompress(results_json_bz2).decode("utf-8", errors="replace") 104 with open(traces_file[0], 'w', encoding='utf-8') as target_file: 109 def parse_args() -> None: 113 epilog="Example: update_traces_checksum.py --rev $(git rev-parse HEAD) " [all …]
|
| /external/cldr/tools/scripts/web/ |
| D | bugdiffs | 1 #!/usr/bin/perl -w 2 #--*-Perl-*-- 10 # given a tag and a list of bugs, and helping to incorporate those bug 12 # tag within the bug list must be contiguous and must begin in the tag's 16 # debug - if set, output debugging info 17 # user - user name 18 # path_info - override actual path info, for debugging, e.g., "/form" 19 # mod - module(s) list 20 # include_attic - if set, include Attic during search (ignored by default) 24 #use CGI::Carp qw(fatalsToBrowser); # Do NOT use this -- doesn't work [all …]
|
| /external/cronet/third_party/boringssl/src/crypto/x509/ |
| D | x_crl.c | 1 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 8 * This library is free for commercial and non-commercial use as long as 26 * notice, this list of conditions and the following disclaimer. 28 * notice, this list of conditions and the following disclaimer in the 35 * being used are not cryptographic related :-). 94 if (!a || !a->revoked) { in crl_inf_cb() 101 (void)sk_X509_REVOKED_set_cmp_func(a->revoked, X509_REVOKED_cmp); in crl_inf_cb() 131 X509_REVOKED *rev = sk_X509_REVOKED_value(revoked, i); variable 135 gtmp = X509_REVOKED_get_ext_d2i(rev, NID_certificate_issuer, &j, NULL); 136 if (!gtmp && (j != -1)) { [all …]
|