/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/go/internal/modfetch/codehost/ |
D | git.go | 2 // Use of this source code is governed by a BSD-style 83 if _, err := Run(ctx, r.dir, "git", "init", "--bare"); err != nil { 91 if _, err := Run(ctx, r.dir, "git", "remote", "add", "origin", "--", r.remote); err != nil { 104 …// See https://github.com/git-for-windows/git/wiki/Git-cannot-create-a-file-or-directory-with-a-lo… 116 // that's rcp-style host:path syntax and sometimes it's not (c:\work). 165 fetchAll // "fetch -t origin": get all remote branches and tags 171 // The git protocol sends all known refs and ls-remote filters them on the client side, 174 out, err := Run(ctx, r.dir, "git", "tag", "-l") 203 return fmt.Errorf("non-specific origin") 241 // The git protocol sends all known refs and ls-remote filters them on the client side, [all …]
|
D | vcs.go | 2 // Use of this source code is governed by a BSD-style 67 …mu lockedfile.Mutex // protects all commands, so we don't have to decide which are safe on a per-V… 133 …e string) []string // cmd to list local tags 135 …ring) []string // cmd to list local branches 138 …statLocal func(rev, remote string) []string … 139 …parseStat func(rev, out string) (*RevInfo, error) … 142 …readFile func(rev, file, remote string) []string … 143 …readZip func(rev, subdir, remote, target string) []string … 144 …x context.Context, dst io.Writer, workDir, rev, subdir, remote string) error // arbitrary function… 153 return []string{"hg", "clone", "-U", "--", remote, "."} [all …]
|
/aosp_15_r20/external/toolchain-utils/llvm_tools/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/go/internal/modfetch/ |
D | coderepo.go | 2 // Use of this source code is governed by a BSD-style 40 // If pathMajor is non-empty and codeRoot is not the full modPath, 48 // ".vN-unstable" for modules resolved using gopkg.in. 55 // pseudo-versions for this module, derived from the module path. pseudoMajor 95 // One is when a go-import meta tag resolves the complete module path, 141 // Special case: gopkg.in/macaroon-bakery.v2-unstable 142 // does not use the v2 tags (those are for macaroon-bakery.v2). 144 if strings.HasPrefix(r.modPath, "gopkg.in/") && strings.HasSuffix(r.modPath, "-unstable") { 163 var list, incompatible []string 164 for _, tag := range tags.List { [all …]
|
D | coderepo_test.go | 2 // Use of this source code is governed by a BSD-style 48 dir, err := os.MkdirTemp("", "gitrepo-test-") 79 vgotest1hg = "vcs-test.golang.org/hg/vgotest1.hg" 90 rev string member 108 rev: "v0.0.0", 124 rev: "v0.0.0-20180219231006-80d85c5d4d17", 125 version: "v0.0.0-20180219231006-80d85c5d4d17", 140 rev: "v0.0.1-0.20180219231006-80d85c5d4d17", 141 …-0.20180219231006-80d85c5d4d17: invalid pseudo-version: tag (v0.0.0) found on revision 80d85c5d4d1… 146 rev: "v1.0.0", [all …]
|
D | cache.go | 2 // Use of this source code is governed by a BSD-style 55 return "", fmt.Errorf("non-semver module version %q", m.Version) 58 return "", fmt.Errorf("non-canonical module version %q", m.Version) 84 return "", fmt.Errorf("non-semver module version %q", m.Version) 87 return "", fmt.Errorf("non-canonical module version %q", m.Version) 118 // to re-calculate it. Note that checkMod will repopulate the ziphash 228 List: append([]string(nil), v.List...), 237 func (r *cachingRepo) Stat(ctx context.Context, rev string) (*RevInfo, error) { 240 return r.repo(ctx).Stat(ctx, rev) 242 info, err := r.statCache.Do(rev, func() (*RevInfo, error) { [all …]
|
D | proxy.go | 2 // Use of this source code is governed by a BSD-style 41 https://golang.org/ref/mod#goproxy-protocol. 47 list []proxySpec 56 // in the list after any error from this proxy. If fallBackOnError is false, 65 proxyOnce.list = append(proxyOnce.list, proxySpec{url: "noproxy"}) 86 // "off" always fails hard, so can stop walking list. 87 proxyOnce.list = append(proxyOnce.list, proxySpec{url: "off"}) 91 proxyOnce.list = append(proxyOnce.list, proxySpec{url: "direct"}) 94 // subsequent entries for forward-compatibility. 98 // Single-word tokens are reserved for built-in behaviors, and anything [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pip/_internal/vcs/ |
D | versioncontrol.py | 14 List, 57 def is_url(name: str) -> bool: 68 repo_url: str, rev: str, project_name: str, subdir: Optional[str] = None 69 ) -> str: 77 egg_project_name = project_name.replace("-", "_") 78 req = f"{repo_url}@{rev}#egg={egg_project_name}" 87 ) -> Optional[str]: 127 Encapsulates a VCS-specific revision to install, along with any VCS 136 rev: Optional[str] = None, 138 ) -> None: [all …]
|
D | git.py | 7 from typing import List, Optional, Tuple 34 r".*$" # Suffix, including any pre- and post-release segments we don't care about. 37 HASH_REGEX = re.compile("^[a-fA-F0-9]{40}$") 46 # The server-side path. e.g. 'user/project.git'. Must start with an 55 def looks_like_hash(sha: str) -> bool: 76 def get_base_rev_args(rev: str) -> List[str]: 77 return [rev] 79 def is_immutable_rev_checkout(self, url: str, dest: str) -> bool: 81 if not rev_options.rev: 83 if not self.is_commit_id_equal(dest, rev_options.rev): [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pip/_internal/vcs/ |
D | versioncontrol.py | 14 List, 57 def is_url(name: str) -> bool: 68 repo_url: str, rev: str, project_name: str, subdir: Optional[str] = None 69 ) -> str: 77 egg_project_name = project_name.replace("-", "_") 78 req = f"{repo_url}@{rev}#egg={egg_project_name}" 87 ) -> Optional[str]: 127 Encapsulates a VCS-specific revision to install, along with any VCS 136 rev: Optional[str] = None, 138 ) -> None: [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/pip/_internal/vcs/ |
D | versioncontrol.py | 14 List, 57 def is_url(name: str) -> bool: 68 repo_url: str, rev: str, project_name: str, subdir: Optional[str] = None 69 ) -> str: 77 egg_project_name = project_name.replace("-", "_") 78 req = f"{repo_url}@{rev}#egg={egg_project_name}" 87 ) -> Optional[str]: 127 Encapsulates a VCS-specific revision to install, along with any VCS 136 rev: Optional[str] = None, 138 ) -> None: [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pip/_internal/vcs/ |
D | versioncontrol.py | 14 List, 57 def is_url(name: str) -> bool: 68 repo_url: str, rev: str, project_name: str, subdir: Optional[str] = None 69 ) -> str: 77 egg_project_name = project_name.replace("-", "_") 78 req = f"{repo_url}@{rev}#egg={egg_project_name}" 87 ) -> Optional[str]: 127 Encapsulates a VCS-specific revision to install, along with any VCS 136 rev: Optional[str] = None, 138 ) -> None: [all …]
|
D | git.py | 7 from typing import List, Optional, Tuple 34 r".*$" # Suffix, including any pre- and post-release segments we don't care about. 37 HASH_REGEX = re.compile("^[a-fA-F0-9]{40}$") 46 # The server-side path. e.g. 'user/project.git'. Must start with an 55 def looks_like_hash(sha: str) -> bool: 76 def get_base_rev_args(rev: str) -> List[str]: 77 return [rev] 79 def is_immutable_rev_checkout(self, url: str, dest: str) -> bool: 81 if not rev_options.rev: 83 if not self.is_commit_id_equal(dest, rev_options.rev): [all …]
|
/aosp_15_r20/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 …]
|
/aosp_15_r20/hardware/ril/libril/ |
H A D | ril_event.cpp | 9 ** http://www.apache.org/licenses/LICENSE-2.0 40 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \ 41 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \ 42 if ((vvp)->tv_usec >= 1000000) { \ 43 (vvp)->tv_sec++; \ 44 (vvp)->tv_usec -= 1000000; \ 51 ((a)->tv_sec == (b)->tv_sec \ 52 ? (a)->tv_usec op (b)->tv_usec \ 53 : (a)->tv_sec op (b)->tv_sec) 59 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ [all …]
|
/aosp_15_r20/device/google/cuttlefish/guest/hals/ril/reference-libril/ |
D | ril_event.cpp | 9 ** http://www.apache.org/licenses/LICENSE-2.0 40 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \ 41 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \ 42 if ((vvp)->tv_usec >= 1000000) { \ 43 (vvp)->tv_sec++; \ 44 (vvp)->tv_usec -= 1000000; \ 51 ((a)->tv_sec == (b)->tv_sec \ 52 ? (a)->tv_usec op (b)->tv_usec \ 53 : (a)->tv_sec op (b)->tv_sec) 59 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ [all …]
|
/aosp_15_r20/external/toolchain-utils/rust_tools/ |
H A 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 …]
|
/aosp_15_r20/external/bazelbuild-rules_rust/crate_universe/private/ |
H A 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, 121 … version (str, optional): The version or semver-conditions to match with a crate. The wildcard `*` 128 …build_script_data (list, optional): A list of labels to add to a crate's `cargo_build_script::data… [all …]
|
/aosp_15_r20/libcore/ojluni/src/test/java/util/SequencedCollection/ |
H A D | Basic.java | 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 52 static final List<String> ORIGINAL = List.of("a", "b", "c", "d", "e", "f", "g"); 54 static List<String> cklist(List<String> contents) { in cklist() 66 static SequencedSet<String> setFromMap(List<String> contents) { in setFromMap() 77 static SequencedCollection<String> ulist(List<String> list) { in ulist() argument 78 return Collections.unmodifiableList(list); in ulist() 93 static <T> List<T> copyReversed(List<T> list) { in copyReversed() argument 94 var r = new ArrayList<T>(list); in copyReversed() 130 new Object[] { "ArrayDeque", new ArrayDeque<>(), List.of() }, in empties() 131 new Object[] { "ArrayList", new ArrayList<>(), List.of() }, in empties() [all …]
|
/aosp_15_r20/development/vndk/snapshot/ |
H A D | check_gpl_license.py | 9 # http://www.apache.org/licenses/LICENSE-2.0 47 gpl_projects: list of strings, names of libraries under GPL 85 """Parses manifest.xml file and returns list of 'project' tags.""" 95 manifest_projects: list of xml_tree.Element, list of 'project' tags 117 logging.info('Checking if revision {rev} exists in {proj}'.format( 118 rev=revision, proj=git_project_path)) 121 'git', '-C', path, 'rev-list', 'HEAD..{}'.format(revision) 130 '{proj} does not have the following revisions: {rev}'. 131 format(proj=git_project_path, rev=output)) 135 'Found revision {rev} in project {proj}'.format( [all …]
|
/aosp_15_r20/external/cldr/tools/scripts/web/ |
H A 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 …]
|
/aosp_15_r20/external/mesa3d/bin/ci/ |
H A D | ci_run_n_monitor.py | 2 # Copyright © 2020 - 2022 Collabora Ltd. 8 # SPDX-License-Identifier: MIT 71 ) -> None: 93 def job_duration(job: gitlab.v4.objects.ProjectPipelineJob) -> float: 102 return time.perf_counter() - time.mktime(job.started_at.timetuple()) 106 def pretty_wait(sec: int) -> None: 108 for val in range(sec, 0, -1): 121 ) -> tuple[Optional[int], Optional[int], Dict[str, Dict[int, Tuple[float, str, str]]]]: 127 target_id: int = -1 132 # Pre-populate the stress status counter for already completed target jobs. [all …]
|
/aosp_15_r20/external/toybox/www/ |
H A 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 …]
|