Home
last modified time | relevance | path

Searched +full:dir +full:- +full:glob (Results 1 – 25 of 443) sorted by relevance

12345678910>>...18

/external/rust/crates/grpcio-sys/grpc/tools/mkowners/
Dmkowners.py8 # http://www.apache.org/licenses/LICENSE-2.0
27 git_root = (subprocess.check_output(['git', 'rev-parse', '--show-toplevel'
28 ]).decode('utf-8').strip())
37 argp.add_argument('--out',
38 '-o',
58 Owners = collections.namedtuple('Owners', 'parent directives dir')
82 globs_list = [glob for glob in globs.split(' ') if glob]
90 dir=os.path.relpath(os.path.dirname(filename), git_root))
94 key=operator.attrgetter('dir'))
109 rel = os.path.relpath(owners.dir, possible_parent.dir)
[all …]
/external/tensorflow/tensorflow/lite/tools/cmake/modules/gemmlowp/
DCMakeLists.txt8 # https://www.apache.org/licenses/LICENSE-2.0
33 file(GLOB GEMMLOWP_EIGHTBITINT_HEADERS
36 file(GLOB GEMMLOWP_EIGHTBITINT_SOURCES
39 file(GLOB GEMMLOWP_FIXEDPOINT_HEADERS "${GEMMLOWP_SOURCE_DIR}/fixedpoint/*.h")
40 file(GLOB GEMMLOWP_INTERNAL_HEADERS "${GEMMLOWP_SOURCE_DIR}/internal/*.h")
41 file(GLOB GEMMLOWP_META_HEADERS "${GEMMLOWP_SOURCE_DIR}/meta/*.h")
42 file(GLOB GEMMLOWP_PROFILING_HEADERS "${GEMMLOWP_SOURCE_DIR}/profiling/*.h")
43 file(GLOB GEMMLOWP_PUBLIC_HEADERS "${GEMMLOWP_SOURCE_DIR}/public/*.h")
57 get_filename_component(dir ${hdr} DIRECTORY)
58 file(RELATIVE_PATH dir ${GEMMLOWP_SOURCE_DIR} ${dir})
[all …]
/external/grpc-grpc/templates/
Dgrpc.gemspec.template2 --- |
3 # -*- ruby -*-
4 # encoding: utf-8
12 s.email = 'grpc-io@googlegroups.com'
16 s.license = 'Apache-2.0'
22 s.files += Dir.glob('src/ruby/bin/**/*')
23 s.files += Dir.glob('src/ruby/ext/**/*')
24 s.files += Dir.glob('src/ruby/lib/**/*')
25 s.files += Dir.glob('src/ruby/pb/**/*').reject do |f|
28 s.files += Dir.glob('include/grpc/**/*')
[all …]
/external/clang/utils/analyzer/
DSATestBuild.py12 - ProjectMap file
13 - Historical Performance Data
14 - Project Dir1
15 - ReferenceOutput
16 - Project Dir2
17 - ReferenceOutput
19 Note that the build tree must be inside the project dir.
22 - Copy over a copy of the Repository Directory. (TODO: Prefer to ensure that
24 - Build all projects, until error. Produce logs to report errors.
25 - Compare results.
[all …]
/external/apache-xml/test/java/src/org/apache/qetest/
DFilePatternFilter.java10 * http://www.apache.org/licenses/LICENSE-2.0
40 * @param inc semicolon-delimited string of inclusion name(s)
41 * @param exc semicolon-delimited string of exclusion name(s)
42 * @param glob simple pattern to look for
44 public FilePatternFilter(String inc, String exc, String glob) in FilePatternFilter() argument
48 setPattern(glob); in FilePatternFilter()
70 * @param glob file pattern we're looking for; if null, we
73 public void setPattern(String glob) in setPattern() argument
75 if (null != glob) in setPattern()
77 int idx = glob.indexOf(GLOB_CHAR); in setPattern()
[all …]
/external/toybox/tests/
Dfind.test3 [ -f testing.sh ] && . testing.sh
5 mkdir dir
6 cd dir
9 # fs timestamp granularity isn't always enough for -newer to tell, so wait
11 ln -s fifo link
16 touch perm/all-read-only
17 chmod a=r perm/all-read-only
23 testing "-type l -a -type d -o -type p" \
24 "find dir -type l -a -type d -o -type p" "dir/fifo\n" "" ""
25 testing "-type l -type d -o -type p" "find dir -type l -type d -o -type p" \
[all …]
/external/bazel-skylib/rules/directory/private/
Dglob.bzl7 # http://www.apache.org/licenses/LICENSE-2.0
15 """Skylib module containing glob operations on directories."""
17 _NO_GLOB_MATCHES = "{glob} failed to match any files in {dir}"
42 """Given a directory and a chunk of a glob, returns possible candidates.
46 chunk: (string) A chunk of a glob to look at.
61 fail("glob chunks with more than two asterixes are unsupported. Got", chunk)
70 …ight) and len(left) + len(right) <= len(name) and middle in name[len(left):len(name) - len(right)]:
74 def directory_single_glob(directory, glob):
75 """Calculates all files that are matched by a glob on a directory.
79 glob: (string) A glob to match.
[all …]
/external/OpenCL-CTS/test_conformance/spirv_new/
Dassemble_spirv.py10 # http://www.apache.org/licenses/LICENSE-2.0
19 """Assembles the SPIR-V assembly files used by spirv_new into binaries,
20 and validates them using spirv-val. Either run this from the parent
21 of the spirv_asm directory, or pass the --source-dir and --output-dir
27 import glob
35 """Print an error message and exit with a non-zero status, to
43 """Assemble SPIR-V source into binaries."""
50 for asm_file_path in glob.glob(os.path.join(asm_dir, '*.spvasm*')):
60 command = '"{}" --target-env spv1.0 "{}" -o "{}"'.format(
76 """Validates SPIR-V binaries. Ignores known failures."""
[all …]
/external/python/cpython3/Lib/test/
Dtest_glob.py1 import glob
53 def glob(self, *parts, **kwargs): member in GlobTests
59 res = glob.glob(p, **kwargs)
60 res2 = glob.iglob(p, **kwargs)
61 self.assertCountEqual(glob.iglob(p, **kwargs), res)
64 self.assertCountEqual(glob.glob(os.fsencode(p), **kwargs), bres)
65 self.assertCountEqual(glob.iglob(os.fsencode(p), **kwargs), bres)
68 res2 = glob.glob(pattern, **kwargs)
77 self.assertCountEqual(glob.iglob(pattern, **kwargs), res2)
80 self.assertCountEqual(glob.glob(bpattern, **kwargs), bres2)
[all …]
/external/autotest/client/bin/
Dos_dep.py2 import glob
6 'apt-cache search | apt-get install' ... or a less terrifying version of
7 the same. With added distro-independant pixie dust.
12 for dir in os.environ['PATH'].split(':'):
13 file = os.path.join(os.path.expandvars(os.path.expanduser(dir)), cmd)
34 glob_result = glob.glob(glob_pattern)
46 for dir in ['/lib', '/usr/lib', '/lib64', '/usr/lib64'] + lddirs:
47 file = os.path.join(dir, lib)
60 for dir in ['/usr/include', '/usr/local/include']:
61 file = os.path.join(dir, hdr)
/external/vulkan-validation-layers/build-gn/
Dgenerate_vulkan_layers_json.py9 # https://www.apache.org/licenses/LICENSE-2.0
23 import glob
31 """Like regular glob but replaces \ with / in returned paths."""
32 return [s.replace('\\', '/') for s in glob.glob(dirname)]
37 parser.add_argument('--icd', action='store_true')
59 # Copy the *.json files from source dir to target dir
61 print(glob.glob(os.path.join(source_dir, '*.json')))
62 print('.json list in gn file is out-of-date', file=sys.stderr)
91 vk_version = line.split()[-1]
101 relative_path_prefix = r'..\\' # json-escaped, hence two backslashes.
[all …]
/external/autotest/client/site_tests/power_CPUIdle/
Dpower_CPUIdle.py3 # Use of this source code is governed by a BSD-style license that can be
6 import glob, logging, os, time
31 idle_time_delta_ms = (idle_time_at_end - idle_time_at_start) / 1000
34 active_time_delta_ms = (active_time_at_end - active_time_at_start) \
64 dirs = glob.glob(self.__base_path)
68 for dir in dirs:
69 cpu = cpuidle(dir)
89 dirs = glob.glob(os.path.join(self.__base_path, 'state*'))
93 for dir in dirs:
94 state = cpuidle_state(dir)
[all …]
/external/freetype/builds/meson/
Dgenerate_reference_docs.py3 # Copyright (C) 2020-2023 by
17 import glob
27 "--input-dir",
29 help="Top-level FreeType source directory.",
33 "--version", required=True, help='FreeType version (e.g. "2.x.y").'
37 "--output-dir", required=True, help="Output directory."
48 glob.glob(os.path.join(args.input_dir, "include", "freetype", "*.h"))
49 + glob.glob(
54 + glob.glob(
70 "-m",
[all …]
/external/python/cpython2/Demo/tkinter/ttk/
Ddirbrowser.py6 import glob
18 special_dirs = [] if parent else glob.glob('.') + glob.glob('..')
39 dir = os.path.abspath('.').replace('\\', '/')
40 node = tree.insert('', 'end', text=dir, values=[dir, "directory"])
84 tree.bind('<Double-Button-1>', change_dir)
/external/mesa3d/src/nouveau/headers/
Dupdate-from-open-gpu-doc.py6 import glob
15 '/classes/dma-copy/': 'classes/',
17 '/classes/memory-to-memory-format/': 'classes/',
24 parser.add_argument('git_path', type=str, help='Path to the open-gpu-doc repo')
35 sys.exit(-1)
43 for dir in dirs.keys():
44 path = repo_path + dir
46 print(dir + " does not exist in repository. Was the correct repository choosen?")
47 sys.exit(-1)
53 for header in glob.glob(src + "*.h"):
/external/python/cpython2/Tools/msi/
Dmsi.py4 import msilib, schema, sequence, os, glob, time, re, shutil, zipfile
74 upgrade_code_snapshot='{92A24481-3ECB-40FC-8836-04B7966EC0D5}'
75 upgrade_code='{65E6DE48-A358-434D-AA4F-4AF72DB4718F}'
76 upgrade_code_64='{6A965A0C-6EE6-4E3A-9983-3263F56311EC}'
107 # Well-known component UUIDs
116 "24":"{9B81E618-2301-4035-AC77-75D9ABEB7301}",
117 "25":"{2e41b118-38bd-4c1b-a840-6977efd1b911}",
118 "26":"{34ebecac-f046-4e1c-b0e3-9bac3cdaacfa}",
119 "27":"{4fe21c76-1760-437b-a2f2-99909130a175}",
136 warning = "WARNING: %s - libpythonXX.a not built"
[all …]
/external/python/setuptools/setuptools/command/
Degg_info.py3 Create a distribution's .egg-info directory and contents"""
32 from setuptools.glob import glob
39 def translate_pattern(glob): # noqa: C901 # is too complex (14) # FIXME argument
41 Translate a file path glob like '*.txt' in to a regular expression.
49 chunks = glob.split(os.path.sep)
55 last_chunk = c == len(chunks) - 1
114 # Join each chunk with the dir separator
148 version += time.strftime("-%Y%m%d")
154 description = "create a distribution's .egg-info directory"
157 ('egg-base=', 'e', "directory containing .egg-info directories"
[all …]
/external/libchrome/build/
Dfind_isolated_tests.py3 # Use of this source code is governed by a BSD-style license that can be
14 https://sites.google.com/a/chromium.org/dev/developers/testing/isolated-testing
17 import glob
40 usage='%prog --build-dir <path> --output-json <path>',
43 '--build-dir',
46 '--output-json',
51 parser.error('--build-dir option is required')
53 parser.error('--output-json option is required')
59 for filepath in sorted(glob.glob(pattern)):
/external/compiler-rt/test/msan/Linux/
Dglob_altdirfunc.cc1 // RUN: %clangxx_msan -O0 %s -o %t && %run %t %p 2>&1 | FileCheck %s
2 // RUN: %clangxx_msan -O0 -D_FILE_OFFSET_BITS=64 %s -o %t && %run %t %p 2>&1 | FileCheck %s
3 // RUN: %clangxx_msan -O3 %s -o %t && %run %t %p 2>&1 | FileCheck %s
6 #include <glob.h>
19 static void my_gl_closedir(void *dir) { in my_gl_closedir() argument
20 if (!dir) in my_gl_closedir()
22 closedir((DIR *)dir); in my_gl_closedir()
25 static struct dirent *my_gl_readdir(void *dir) { in my_gl_readdir() argument
26 if (!dir) in my_gl_readdir()
28 struct dirent *d = readdir((DIR *)dir); in my_gl_readdir()
[all …]
/external/jsoncpp/devtools/
Dantglob.py2 # encoding: utf-8
16 # while doing the recursive traversal in the glob_impl method of glob function.
20 # while doing the recursive traversal in the glob_impl method of glob function.
24 # while doing the recursive traversal in the glob_impl method of glob function.
52 DIR = 1 variable
57 ALL_NO_LINK = DIR | FILE
58 ALL = DIR | FILE | LINKS
65 **/a: match 'a', 'dir/a', 'dir1/dir2/a'
99 def glob(dir_path, function
148 entry_type = is_file and FILE or DIR
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/dockerfile/grpc_clang_format/
Dclang_format_all_the_things.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -e
19 …e/ext src/cpp test/core test/cpp include src/compiler src/ruby src/objective-c tools/distrib/pytho…
22 GLOB="*.h *.c *.cc *.m *.mm"
25 CLANG_FORMAT=${CLANG_FORMAT:-clang-format}
31 for dir in $DIRS
33 for glob in $GLOB
35dir -name $glob -and -not -name '*.generated.*' -and -not -name '*.upb.h' -and -not -name '*.upb.c…
41 if [ -n "$CHANGED_FILES" ]; then
42 …files=$(comm -12 <(echo $files | tr ' ' '\n' | sort -u) <(echo $CHANGED_FILES | tr ' ' '\n' | sort…
[all …]
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/utils/
DSymbolSolverCollectionStrategy.java43 private PathMatcher javaMatcher = getPathMatcher("glob:**.java"); in collect()
44 private PathMatcher jarMatcher = getPathMatcher("glob:**.jar"); in collect()
59 … public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) throws IOException { in collect()
60 if (Files.isHidden(dir)) { in collect()
67 … public FileVisitResult postVisitDirectory(Path dir, IOException e) throws IOException { in collect()
68 if (current_root != null && Files.isSameFile(dir, current_root)) { in collect()
69 projectRoot.addSourceRoot(dir); in collect()
77 Log.error(e, "Unable to walk %s", () -> path); in collect()
/external/tensorflow/tensorflow/lite/g3doc/examples/modify/model_maker/
Dspeech_recognition.ipynb17 "id": "sKrlWr6Kh-mF"
25 "# https://www.apache.org/licenses/LICENSE-2.0\n",
49 "\u003ctable class=\"tfo-notebook-buttons\" align=\"left\"\u003e\n",
57 …ion.ipynb\"\u003e\u003cimg src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" /\u003eV…
73 … recognition model that can classify spoken words or short phrases using one-second sound samples.…
75 …mand Recognizer](https://github.com/tensorflow/tfjs-models/tree/master/speech-commands#speech-comm…
77 …t because the transfer learning process uses feature embeddings from the pre-trained model, you ca…
79 …"**Note:** The model we'll be training is optimized for speech recognition with one-second samples…
110 "!sudo apt -y install libportaudio2\n",
111 "!pip install tflite-model-maker"
[all …]
/external/grpc-grpc/tools/dockerfile/grpc_clang_format/
Dclang_format_all_the_things.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -e
19 …e/ext src/cpp test/core test/cpp include src/compiler src/ruby src/objective-c tools/distrib/pytho…
22 GLOB="*.h *.c *.cc *.m *.mm"
25 CLANG_FORMAT=${CLANG_FORMAT:-clang-format}
31 for dir in $DIRS
33 for glob in $GLOB
35 files="$files `find ${CLANG_FORMAT_ROOT}/$dir -name $glob \
36 -and -not -name '*.generated.*' \
37 -and -not -name '*.upb.h' \
[all …]
/external/python/cpython2/Lib/distutils/
Dfilelist.py20 dir
21 directory from which files will be taken -- only used if
39 def findall(self, dir=os.curdir): argument
40 self.allfiles = findall(dir)
50 # -- List-like methods ---------------------------------------------
67 # -- Other miscellaneous utility methods ---------------------------
71 for i in range(len(self.files) - 1, 0, -1):
72 if self.files[i] == self.files[i - 1]:
76 # -- "File template" methods ---------------------------------------
82 patterns = dir = dir_pattern = None
[all …]

12345678910>>...18