Home
last modified time | relevance | path

Searched +full:rev +full:- +full:parse (Results 1 – 25 of 278) sorted by relevance

12345678910>>...12

/external/u-boot/scripts/
Dobjdiff3 # objdiff - a small script for validating that a commit or series of commits
28 SRCTREE=$(cd $(git rev-parse --show-toplevel 2>/dev/null); pwd)
30 if [ -z "$SRCTREE" ]; then
63 [ ! -d "$dir" ] && mkdir -p $dir
66 # http://dummdida.tumblr.com/post/60924060451/binary-diff-between-libc-from-scientificlinux-and
67 $STRIP -g $1 -R __bug_table -R .note -R .comment -o $stripped
68 $OBJDUMP -D $stripped | sed -e "s/^[[:space:]]\+[0-9a-f]\+//" -e "s:^$stripped:$1:" > $dis
72 [ $# -eq 0 ] && usage
76 CMT="`git rev-parse --short HEAD`"
82 if [ -d "$d" ]; then
[all …]
Dsetlocalversion8 # <nico-linuxsetlocalversion -at- schottelius.org>.
13 echo "Usage: $0 [--save-scmversion] [srctree]" >&2
19 if test "$1" = "--save-scmversion"; then
23 if test $# -gt 0; then
27 if test $# -gt 0 -o ! -d "$srctree"; then
37 if test -e .scmversion; then
41 if test "$1" = "--short"; then
46 if test -z "$(git rev-parse --show-cdup 2>/dev/null)" &&
47 head=`git rev-parse --verify --short HEAD 2>/dev/null`; then
49 # If we are at a tagged commit (like "v2.6.30-rc6"), we ignore
[all …]
/external/autotest/tko/
Dsite_parse.py1 #!/usr/bin/python -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/swiftshader/third_party/llvm-7.0/llvm/utils/git-svn/
Dgit-llvm3 # ======- git-llvm - LLVM Git Help Integration ---------*- python -*--========#
10 # ==------------------------------------------------------------------------==#
13 git-llvm integration
37 'clang-tools-extra',
38 'compiler-rt',
39 'debuginfo-tests',
51 'parallel-libs',
112 elapsed = time.time() - start
151 # git branch --set-upstream-to See http://serverfault.com/a/352236/38694.
152 cur_branch = git('rev-parse', '--symbolic-full-name', 'HEAD')
[all …]
/external/pdfium/testing/tools/
Dgithelper.py2 # Use of this source code is governed by a BSD-style license that can be
29 output = RunCommandPropagateErr(['git', 'stash', '--include-untracked'],
41 self.stashed -= 1
46 ['git', 'rev-parse', '--abbrev-ref', 'HEAD'],
51 ['git', 'rev-parse', 'HEAD'], exit_status_on_error=1).strip()
54 output = RunCommandPropagateErr(['git', 'status', '--porcelain'],
60 output = RunCommandPropagateErr(['git', 'rev-parse', '--verify',
/external/python/setuptools/setuptools/
Dpackage_index.py29 EGG_FRAGMENT = re.compile(r'^egg=([-A-Za-z0-9_.+!]+)$')
34 'href="[^?]+\\?:action=show_md5&amp;digest=([0-9a-f]{32})">md5</a>\\)'
36 URL_SCHEME = re.compile('([-+.a-z0-9]{2,}):', re.I).match
46 _tmpl = "setuptools/{setuptools.__version__} Python-urllib/{py_major}"
52 return Requirement.parse(spec)
67 base = name[:-10]
69 elif lower.startswith('.win32-py', -16):
70 py_ver = name[-7:-4]
71 base = name[:-16]
73 elif lower.endswith('.win-amd64.exe'):
[all …]
/external/skia/experimental/documentation/
Dgerrit.md1 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 curl -Lo "$(git rev-parse --git-dir)/hooks/commit-msg"
14 'https://gerrit-review.googlesource.com/tools/hooks/commit-msg'
15 chmod +x "$(git rev-parse --git-dir)/hooks/commit-msg"
22 git remote set-url origin 'https://skia.googlesource.com/skia.git'
26 --------------
28 Go to [skia.googlesource.com/new-password](https://skia.googlesource.com/new-password)
[all …]
/external/skqp/experimental/documentation/
Dgerrit.md1 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 curl -Lo "$(git rev-parse --git-dir)/hooks/commit-msg"
14 'https://gerrit-review.googlesource.com/tools/hooks/commit-msg'
15 chmod +x "$(git rev-parse --git-dir)/hooks/commit-msg"
22 git remote set-url origin 'https://skia.googlesource.com/skia.git'
26 --------------
28 Go to [skia.googlesource.com/new-password](https://skia.googlesource.com/new-password)
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/cmake/modules/
DVersionFromVCS.cmake22 set(result "${result}-r${Project_WC_REVISION}")
33 execute_process(COMMAND ${git_executable} rev-parse --git-dir
39 # Try to get a ref-id
59 execute_process(COMMAND ${git_executable} svn find-rev HEAD
67 set(git_svn_rev "-svn-${git_head_svn_rev_number}")
75 ${git_executable} rev-parse --short HEAD
84 set(result "${result}${git_svn_rev}-${git_ref_id}")
/external/python/cpython2/Tools/faqwiz/
Dfaqwiz.py3 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/deqp-deps/SPIRV-Tools/utils/
Dupdate_build_version.py9 # 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"
85 # Match the first well-formed version-and-date line.
86 # Allow trailing whitespace in the checked-out source code has
87 # unexpected carriage returns on a linefeed-only system such as
89 pattern = re.compile(r'^(v\d+\.\d+(-dev)?) \d\d\d\d-\d\d-\d\d\s*$')
103 Runs 'git describe', or alternately 'git rev-parse HEAD', in directory. If
[all …]
/external/swiftshader/third_party/SPIRV-Tools/utils/
Dupdate_build_version.py9 # 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"
85 # Match the first well-formed version-and-date line.
86 # Allow trailing whitespace in the checked-out source code has
87 # unexpected carriage returns on a linefeed-only system such as
89 pattern = re.compile(r'^(v\d+\.\d+(-dev)?) \d\d\d\d-\d\d-\d\d\s*$')
103 Runs 'git describe', or alternately 'git rev-parse HEAD', in directory. If
[all …]
/external/mesa3d/bin/
Dgit_sha1_gen.py17 """Try to get the git SHA1 with git rev-parse."""
22 '--git-dir=' + git_dir,
23 'rev-parse',
32 parser.add_argument('--output', help='File to write the #define in',
/external/syzkaller/sys/syz-sysgen/
Dsysgen.go59 flag.Parse()
108 rev := hash.String(out.Bytes())
109 fmt.Fprintf(out, "const revision_%v = %q\n", job.Target.Arch, rev)
112 job.ArchData = generateExecutorSyscalls(job.Target, prog.Syscalls, rev)
155 runtime.GC() // get up-to-date statistics
216 func generateExecutorSyscalls(target *targets.Target, syscalls []*prog.Syscall, rev string) ArchDat…
218 Revision: rev,
286 var defsTempl = template.Must(template.New("").Parse(`// AUTOGENERATED FILE
305 var syscallsTempl = template.Must(template.New("").Parse(`// AUTOGENERATED FILE
/external/skia/tools/skqp/
Dget_gold_results.py4 # Use of this source code is governed by a BSD-style license that can be
22 return 'https://public-gold.skia.org/json/export?' + urllib.urlencode(query)
24 def git_rev_parse(rev): argument
25 return subprocess.check_output(['git', 'rev-parse', rev]).strip()
/external/skqp/tools/skqp/
Dget_gold_results.py4 # Use of this source code is governed by a BSD-style license that can be
22 return 'https://public-gold.skia.org/json/export?' + urllib.urlencode(query)
24 def git_rev_parse(rev): argument
25 return subprocess.check_output(['git', 'rev-parse', rev]).strip()
/external/ImageMagick/
D.travis.yml7 - 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/syzkaller/docs/
Dwindows.md3 To update descriptions run (assumes `cl` cross-compiler is in PATH):
5 syz-extract -os=windows
6 syz-sysgen
9 `sys/windows/windows.txt` was auto-extracted from windows headers with `tools/syz-declextract`.
14 REV=git rev-parse HEAD
15 cl executor\executor_windows.cc /EHsc -o bin\windows_amd64\syz-executor.exe \
16 -DGIT_REVISION=\"$REV\" \
25 To run `syz-stress`:
27 bin\windows_amd64\syz-stress.exe -executor c:\full\path\to\bin\windows_amd64\syz-executor.exe
33- Enable serial console debugging (see [this](https://docs.microsoft.com/en-us/windows-hardware/dr…
[all …]
/external/dtc/scripts/
Dsetlocalversion2 # Print additional version information for non-release trees.
9 cd "${1:-.}" || usage
12 if head=`git rev-parse --verify HEAD 2>/dev/null`; then
14 if git name-rev --tags HEAD | grep -E '^HEAD[[:space:]]+(.*~[0-9]*|undefined)$' > /dev/null; then
15 printf '%s%s' -g `echo "$head" | cut -c1-8`
19 if git diff-index HEAD | read dummy; then
20 printf '%s' -dirty
/external/skia/infra/bots/
Drecipes.py13 This is a copy of https://chromium.googlesource.com/infra/luci/recipes-py/+/master/recipes.py.
33 # url (str) - the url to the engine repo we want to use.
34 # revision (str) - the git revision for the engine to get.
35 # branch (str) - the branch to fetch for the engine as an absolute ref (e.g.
47 def parse(repo_root, recipes_cfg_path): function
48 """Parse is a lightweight a recipes.cfg file parser.
51 repo_root (str) - native path to the root of the repo we're trying to run
53 recipes_cfg_path (str) - native path to the recipes.cfg file to process.
58 recipes_path (str) - native path to where the recipes live inside of the
125 * an override for the recipe engine in the form of `-O recipe_engine=/path`
[all …]
/external/skqp/infra/bots/
Drecipes.py13 This is a copy of https://chromium.googlesource.com/infra/luci/recipes-py/+/master/recipes.py.
33 # url (str) - the url to the engine repo we want to use.
34 # revision (str) - the git revision for the engine to get.
35 # branch (str) - the branch to fetch for the engine as an absolute ref (e.g.
47 def parse(repo_root, recipes_cfg_path): function
48 """Parse is a lightweight a recipes.cfg file parser.
51 repo_root (str) - native path to the root of the repo we're trying to run
53 recipes_cfg_path (str) - native path to the recipes.cfg file to process.
58 recipes_path (str) - native path to where the recipes live inside of the
122 * an override for the recipe engine in the form of `-O recipe_engine=/path`
[all …]
/external/autotest/client/site_tests/kernel_CheckArmErrata/
Dkernel_CheckArmErrata.py2 # Use of this source code is governed by a BSD-style license that can be
25 Parse the contents of /proc/cpuinfo
35 ... model name : ARMv7 Processor rev 1 (v7l)
44 ... model name : ARMv7 Processor rev 1 (v7l)
62 ... "model name": "ARMv7 Processor rev 1 (v7l)",
70 ... "model name": "ARMv7 Processor rev 1 (v7l)",
110 Parse the contents of /sys/kernel/debug/arm_coprocessor_debug
121 "taskset -c %d cat /sys/kernel/debug/arm_coprocessor_debug" %
141 Check the errata for a Cortex-A12.
150 ... "model name": "ARMv7 Processor rev 1 (v7l)",
[all …]
/external/chromium-trace/catapult/systrace/systrace/
Dupdate_systrace_trace_viewer.py4 # Use of this source code is governed by a BSD-style license that can be
19 #pylint: disable=wrong-import-position
32 return '<!--' + CATAPULT_REV_ + '=' + str(revision) + '-->'
37 rev = ''
40 for line in lines[::-1]:
43 rev = re.sub(r'[=\->]', '', tokens[1]).strip()
45 return rev
51 'git rev-parse HEAD',
70 NO_AUTO_UPDATE_. Future auto-updates will be skipped.
109 encoding='utf-8', mode='w') as f:
[all …]
/external/swiftshader/third_party/subzero/
DCMakeLists.txt9 -DPNACL_LLVM
13 include_directories(pnacl-llvm/include)
14 file(GLOB pnacl_llvm_SRCS "pnacl-llvm/*.cpp")
26 add_llvm_tool(pnacl-sz ${pnacl_sz_SRCS} ${pnacl_llvm_SRCS})
30 -DALLOW_DUMP=0
31 -DALLOW_LLVM_CL=0
32 -DALLOW_LLVM_IR=0
33 -DALLOW_LLVM_IR_AS_INPUT=0
34 -DALLOW_TIMERS=0
35 -DALLOW_MINIMAL_BUILD=1
[all …]
/external/cldr/tools/scripts/web/
Dbugdiffs1 #!/usr/bin/perl -w
2 #--*-Perl-*--
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
49 #---------------------------------------------------------------------
53 $DEBUG = $QUERY->param('debug');
[all …]

12345678910>>...12