Home
last modified time | relevance | path

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

12345678910>>...44

/aosp_15_r20/build/blueprint/pathtools/
H A Dglob.go7 // http://www.apache.org/licenses/LICENSE-2.0
32 // GlobResult is a container holding the results of a call to Glob.
34 // Pattern is the pattern that was passed to Glob.
36 // Excludes is the list of excludes that were passed to Glob.
42 // Deps is the list of files or directories that must be depended on to regenerate the glob.
46 // FileList returns the list of files matched by a glob for writing to an output file.
71 panic(fmt.Errorf("failed to marshal glob results to json: %w", err))
85 // Glob returns the list of files and directories that match the given pattern
88 // list. The supported glob and exclude patterns are equivalent to
89 // filepath.Glob, with an extension that recursive glob (** matching zero or
[all …]
H A Dfs.go7 // http://www.apache.org/licenses/LICENSE-2.0
52 if tokens := strings.SplitN(f, "->", 2); len(tokens) == 2 {
58 dir := filepath.Dir(f)
59 for dir != "." && dir != "/" {
60 fs.dirs[dir] = true
61 dir = filepath.Dir(dir)
63 fs.dirs[dir] = true
104 Glob(pattern string, excludes []string, follow ShouldFollowSymlinks) (GlobResult, error) methodSpec
105 glob(pattern string) (matches []string, err error) methodSpec
148 fs.openFilesChan <- true
[all …]
/aosp_15_r20/external/rust/android-crates-io/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 …]
/aosp_15_r20/prebuilts/go/linux-x86/src/io/fs/
Dglob.go2 // Use of this source code is governed by a BSD-style
11 // A GlobFS is a file system with a Glob method.
15 // Glob returns the names of all files matching pattern,
16 // providing an implementation of the top-level
17 // Glob function.
18 Glob(pattern string) ([]string, error) methodSpec
21 // Glob returns the names of all files matching pattern or nil
26 // Glob ignores file system errors such as I/O errors reading directories.
30 // If fs implements [GlobFS], Glob calls fs.Glob.
31 // Otherwise, Glob uses [ReadDir] to traverse the directory tree
[all …]
Dsub.go2 // Use of this source code is governed by a BSD-style
16 // Sub returns an FS corresponding to the subtree rooted at dir.
17 Sub(dir string) (FS, error)
20 // Sub returns an [FS] corresponding to the subtree rooted at fsys's dir.
22 // If dir is ".", Sub returns fsys unchanged.
23 // Otherwise, if fs implements [SubFS], Sub returns fsys.Sub(dir).
25 // in effect, implements sub.Open(name) as fsys.Open(path.Join(dir, name)).
26 // The implementation also translates calls to ReadDir, ReadFile, and Glob appropriately.
33 // chroot-style security mechanism, and Sub does not change that fact.
34 func Sub(fsys FS, dir string) (FS, error) {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/testing/fstest/
Dtestfs.go2 // Use of this source code is governed by a BSD-style
42 dir, dirSlash := name[:i], name[:i+1]
49 sub, err := fs.Sub(fsys, dir)
54 return fmt.Errorf("testing fs.Sub(fsys, %s): %w", dir, err)
56 break // one sub-test is enough
67 for _, dir := range t.dirs {
68 found[dir] = true
111 func (t *fsTester) openDir(dir string) fs.ReadDirFile {
112 f, err := t.fsys.Open(dir)
114 t.errorf("%s: Open: %w", dir, err)
[all …]
/aosp_15_r20/external/clang/utils/analyzer/
H A 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 …]
/aosp_15_r20/prebuilts/go/linux-x86/src/path/filepath/
Dmatch_test.go2 // Use of this source code is governed by a BSD-style
41 {"ab[b-d]", "abc", true, nil},
42 {"ab[e-g]", "abc", false, nil},
44 {"ab[^b-d]", "abc", false, nil},
45 {"ab[^e-g]", "abc", true, nil},
52 {"[a-ζ]*", "α", true, nil},
53 {"*[a-ζ]", "A", false, nil},
57 {"[\\-]", "-", true, nil},
58 {"[x\\-]", "x", true, nil},
59 {"[x\\-]", "-", true, nil},
[all …]
Dmatch.go2 // Use of this source code is governed by a BSD-style
26 // '*' matches any sequence of non-Separator characters
27 // '?' matches any single non-Separator character
28 // '[' [ '^' ] { character-range } ']'
29 // character class (must be non-empty)
33 // character-range:
34 // c matches character c (c != '\\', '-', ']')
36 // lo '-' hi matches character c for lo <= c <= hi
89 // scanChunk gets the next segment of pattern, which is a non-star string
123 // Chunk is all single-character operators: literals, char classes, and ?.
[all …]
/aosp_15_r20/external/bazelbuild-rules_go/tests/core/go_library/
H A Dembedsrcs_test.go7 // http://www.apache.org/licenses/LICENSE-2.0
28 //go:embed embedsrcs_static/file embedsrcs_static/dir embedsrcs_static/glob/*
31 //go:embed embedsrcs_dynamic/file embedsrcs_dynamic/dir embedsrcs_dynamic/glob/*
74 "embedsrcs_static/dir",
75 "embedsrcs_static/dir/f",
77 "embedsrcs_static/glob",
78 "embedsrcs_static/glob/_hidden",
79 "embedsrcs_static/glob/f",
88 "embedsrcs_dynamic/dir",
89 "embedsrcs_dynamic/dir/f",
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/go/internal/fsys/
Dfsys.go2 // Use of this source code is governed by a BSD-style
31 // For debugging, if the $GODEBUG setting gofsystracestack is non-empty, then trace events for paths
32 // matching that glob pattern (using path.Match) will be followed by a full stack trace.
75 // It is the value of the -overlay flag.
100 // TODO(matloob): encapsulate these in an io/fs-like interface
101 var overlay map[string]*node // path -> file or directory node
166 // Remove any potential non-determinism from iterating over map by sorting it.
192 dir, base := filepath.Dir(from), filepath.Base(from)
214 dirNode := overlay[dir]
217 overlay[dir] = dirNode
[all …]
/aosp_15_r20/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 …]
/aosp_15_r20/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 …]
/aosp_15_r20/external/tensorflow/tensorflow/lite/tools/cmake/modules/gemmlowp/
H A 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 …]
/aosp_15_r20/external/grpc-grpc/templates/
H A Dgrpc.gemspec.template2 --- |
3 # -*- ruby -*-
4 # encoding: utf-8
12 s.email = 'grpc-[email protected]'
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 …]
/aosp_15_r20/development/vndk/snapshot/
H A Dupdate.py9 # http://www.apache.org/licenses/LICENSE-2.0
20 import glob
40 branch_name = 'update-' + (build or 'local')
41 logging.info('Creating branch {branch} in {dir}'.format(
42 branch=branch_name, dir=os.getcwd()))
48 for file in glob.glob('{}/*'.format(install_dir)):
68 local_dir: string or None, local dir to pull artifacts from
73 artifact_pattern = 'android-vndk-*.zip'
93 artifacts = glob.glob(os.path.join(artifact_dir, artifact_pattern))
96 utils.check_call(['unzip', '-qn', artifact, '-d', install_dir])
[all …]
/aosp_15_r20/development/tools/findunused/
H A Dfind_unused_resources.rb5 # find_unused_resources.rb [-html]
7 # If -html is specified, the output will be HTML, otherwise it will be plain text
15 @@stringIdPattern = Regexp.new("name=\"([@_a-zA-Z0-9 ]*)\"")
16 @@layoutIdPattern = Regexp.new("android:id=\".*id/([_a-zA-Z0-9]*)\"")
19 Regexp.new("@string/([_a-zA-Z0-9]*)"),
20 Regexp.new("@array/([_a-zA-Z0-9]*)"),
24 Regexp.new("R.id.([_a-zA-Z0-9]+)"),
25 Regexp.new("R.string.([_a-zA-Z0-9]+)"),
26 Regexp.new("R.array.([_a-zA-Z0-9]+)"),
27 Regexp.new("R.color.([_a-zA-Z0-9]+)"),
[all …]
/aosp_15_r20/build/soong/java/
H A Dprebuilt_apis.go7 // http://www.apache.org/licenses/LICENSE-2.0
47 // files incompatibility-tracking files are stored for the current
49 // a <module>-incompatibilities.api.<scope>.latest module created.
84 scopeIdx := len(elements) - 2
86 scopeIdx--
89 …lic" && scope != "system" && scope != "test" && scope != "module-lib" && scope != "system-server" {
93 version = elements[scopeIdx-1]
105 …ctx.ModuleErrorf("Found unexpected version '%v' for incremental prebuilts - expect MM.m format for…
121 ctx.ModuleErrorf("Found finalized API files in non-numeric dir '%v'", v)
201 // globApiDirs collects all the files in all api_dirs and all scopes that match the given glob, e.g…
[all …]
/aosp_15_r20/tools/acloud/internal/lib/
H A Dcvd_utils_test.py1 # Copyright 2022 - The Android Open Source Project
7 # http://www.apache.org/licenses/LICENSE-2.0
31 # pylint: disable=too-many-public-methods
39 _REMOTE_HOSTNAME_2 = "host.NAME-1234"
41 "host-192.0.2.1-1-2263051-aosp_cf_x86_64_phone")
43 "host-host.NAME_1234-2-2263051-aosp_cf_x86_64_phone")
84 cvd_utils.UploadArtifacts(mock_ssh, "dir", "/mock/img.zip",
86 mock_ssh.Run.assert_any_call("/usr/bin/install_zip.sh dir < "
88 mock_ssh.Run.assert_any_call("tar -xzf - -C dir < /mock/cvd.tar.gz")
90 @mock.patch("acloud.internal.lib.cvd_utils.glob")
[all …]
/aosp_15_r20/external/toybox/tests/
H A 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 …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/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
143 def _already_tagged(self, version: str) -> bool:
148 def _safe_tags(self) -> str:
153 def tags(self) -> str:
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/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
143 def _already_tagged(self, version: str) -> bool:
148 def _safe_tags(self) -> str:
153 def tags(self) -> str:
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/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
143 def _already_tagged(self, version: str) -> bool:
148 def _safe_tags(self) -> str:
153 def tags(self) -> str:
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/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
143 def _already_tagged(self, version: str) -> bool:
148 def _safe_tags(self) -> str:
153 def tags(self) -> str:
[all …]
/aosp_15_r20/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 …]

12345678910>>...44