Home
last modified time | relevance | path

Searched full:glob (Results 1 – 25 of 4142) sorted by relevance

12345678910>>...166

/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/python/cpython2/Lib/test/
Dtest_glob.py1 import glob
45 def glob(self, *parts): member in GlobTests
51 res = glob.glob(p)
52 self.assertItemsEqual(glob.iglob(p), res)
54 self.assertItemsEqual(glob.glob(fsdecode(p)), ures)
55 self.assertItemsEqual(glob.iglob(fsdecode(p)), ures)
66 eq(self.glob('a'), [self.norm('a')])
67 eq(self.glob('a', 'D'), [self.norm('a', 'D')])
68 eq(self.glob('aab'), [self.norm('aab')])
69 eq(self.glob('zymurgy'), [])
[all …]
/external/bazelbuild-rules_rust/bindgen/3rdparty/patches/
Dllvm-project.incompatible_disallow_empty_glob.patch6 srcs = glob([
18 - td_srcs = glob(["include/clang/Basic/*.td"]),
19 + td_srcs = glob(["include/clang/Basic/*.td"], allow_empty = True),
27 - srcs = glob(["include/**/*.td"]),
28 + srcs = glob(["include/**/*.td"], allow_empty = True),
32 - glob(["include/**/*.td"]),
33 + glob(["include/**/*.td"], allow_empty = True),
39 hdrs = glob([
52 hdrs = glob([
61 ] + glob([
[all …]
Dllvm-project.cxx17.patch62 ] + glob([
75 hdrs = glob([
100 hdrs = glob([
105 textual_hdrs = glob([
119 ] + glob(["include/clang/Parse/*.h"]),
127 hdrs = glob(["include/clang/ASTMatchers/*.h"]),
135 hdrs = glob(["include/clang/ASTMatchers/Dynamic/*.h"]),
144 hdrs = glob(["include/clang/Rewrite/Core/*.h"]),
152 hdrs = glob(["include/clang/Testing/*.h"]),
160 hdrs = glob(["include/clang/Tooling/Core/*.h"]),
[all …]
/external/python/cpython3/Doc/library/
Dglob.rst1 :mod:`glob` --- Unix style pathname pattern expansion
4 .. module:: glob
7 **Source code:** :source:`Lib/glob.py`
14 single: * (asterisk); in glob-style wildcards
15 single: ? (question mark); in glob-style wildcards
16 single: [] (square brackets); in glob-style wildcards
17 single: ! (exclamation); in glob-style wildcards
18 single: - (minus); in glob-style wildcards
19 single: . (dot); in glob-style wildcards
21 The :mod:`glob` module finds all the pathnames matching a specified pattern
[all …]
/external/perfetto/src/trace_processor/metrics/sql/android/startup/
Dhsc.sql44 WHERE slices.name GLOB "animator*";
55 JOIN android_startups launches ON launches.package GLOB '*' || functions.process_name || '*'
56 WHERE functions.function_name GLOB "Choreographer#doFrame*" AND functions.ts > launches.ts;
67 JOIN android_startups launches ON launches.package GLOB '*' || functions.process_name || '*'
68 WHERE functions.function_name GLOB "DrawFrame*" AND functions.ts > launches.ts;
84 JOIN android_startups launches ON launches.package GLOB '*' || android_frame_times.name || '*'
85 WHERE android_frame_times.number = 2 AND android_frame_times.name GLOB "*roid.calcul*" AND android_…
95 JOIN android_startups launches ON launches.package GLOB '*' || android_render_frame_times.name || '…
96 WHERE android_render_frame_times.number = 5 AND android_render_frame_times.name GLOB "*id.calendar*…
105 JOIN android_startups launches ON launches.package GLOB '*' || android_frame_times.name || '*'
[all …]
/external/python/pyfakefs/pyfakefs/tests/
Dfake_filesystem_glob_test.py15 """Test for glob using fake_filesystem."""
17 import glob
35 self.assertEqual(glob.glob(""), [])
45 sorted(glob.glob("/xyzzy/*")),
49 self.assertEqual(["/xyzzy"], glob.glob("/xyzzy"))
50 self.assertEqual(["/xyzzy/subfile"], glob.glob("/xyzzy/subfile"))
60 sorted(glob.glob("/x?zz?/*")),
64 self.assertEqual(["/xyzzy"], glob.glob("/xyzzy"))
65 self.assertEqual(["/xyzzy/subdir"], glob.glob("/xyzzy/subdir"))
68 self.assertEqual([], glob.glob("nonexistent"))
[all …]
/external/sdv/vsomeip/third_party/boost/algorithm/string/doc/
DJamfile.v221 [ glob ../../../../boost/algorithm/string.hpp ]
22 [ glob ../../../../boost/algorithm/string_regex.hpp ]
24 [ glob ../../../../boost/algorithm/string/classification.hpp ]
25 [ glob ../../../../boost/algorithm/string/iterator_range.hpp ]
26 [ glob ../../../../boost/algorithm/string/sequence_traits.hpp ]
27 [ glob ../../../../boost/algorithm/string/std_containers_traits.hpp ]
28 [ glob ../../../../boost/algorithm/string/concept.hpp ]
29 [ glob ../../../../boost/algorithm/string/compare.hpp ]
30 [ glob ../../../../boost/algorithm/string/constants.hpp ]
31 [ glob ../../../../boost/algorithm/string/case_conv.hpp ]
[all …]
/external/python/cpython2/Doc/library/
Dglob.rst1 :mod:`glob` --- Unix style pathname pattern expansion
4 .. module:: glob
10 **Source code:** :source:`Lib/glob.py`
14 The :mod:`glob` module finds all the pathnames matching a specified pattern
20 :mod:`glob` treats filenames beginning with a dot (``.``) as special cases.
28 .. function:: glob(pathname)
39 Return an :term:`iterator` which yields the same values as :func:`glob`
45 :file:`1.gif`, :file:`2.txt`, and :file:`card.gif`. :func:`glob` will produce
49 >>> import glob
50 >>> glob.glob('./[0-9].*')
[all …]
/external/perfetto/src/trace_processor/perfetto_sql/stdlib/android/
Dcritical_blocking_calls.sql30 OR $name GLOB 'monitor contention with*'
31 OR $name GLOB 'SuspendThreadByThreadId*'
32 OR $name GLOB 'LoadApkAssetsFd*'
33 OR $name GLOB '*binder transaction*'
34 OR $name GLOB 'inflate*'
35 OR $name GLOB 'Lock contention on*'
36 OR $name GLOB 'android.os.Handler: kotlinx.coroutines*'
37 OR $name GLOB 'relayoutWindow*'
38 OR $name GLOB 'ImageDecoder#decode*'
39 OR $name GLOB 'NotificationStackScrollLayout#onMeasure'
[all …]
Dslices.sql40 WHEN $name GLOB "monitor contention with*" THEN "monitor contention with <...>"
41 WHEN $name GLOB "SuspendThreadByThreadId*" THEN "SuspendThreadByThreadId <...>"
42 WHEN $name GLOB "LoadApkAssetsFd*" THEN "LoadApkAssetsFd <...>"
43 WHEN $name GLOB "relayoutWindow*" THEN "relayoutWindow <...>"
44 WHEN $name GLOB "android.os.Handler: kotlinx.coroutines*" THEN "CoroutineContinuation"
45 WHEN $name GLOB "Choreographer#doFrame*" THEN "Choreographer#doFrame"
46 WHEN $name GLOB "DrawFrames*" THEN "DrawFrames"
47 WHEN $name GLOB "/data/app*.apk" THEN "APK load"
48 WHEN $name GLOB "OpenDexFilesFromOat*" THEN "OpenDexFilesFromOat"
49 WHEN $name GLOB "Open oat file*" THEN "Open oat file"
[all …]
/external/pigweed/pw_module/py/pw_module/
Dcheck.py19 import glob
144 module_python_files = glob.glob(f'{directory}/**/*.py', recursive=True)
145 module_setup_py = glob.glob(f'{directory}/**/setup.py', recursive=True)
152 module_cc_files = glob.glob(f'{directory}/**/*.cc', recursive=True)
153 module_cc_test_files = glob.glob(f'{directory}/**/*test.cc', recursive=True)
160 module_py_files = glob.glob(f'{directory}/**/*.py', recursive=True)
161 module_py_test_files = glob.glob(
170 if not glob.glob(f'{directory}/**/*.rst', recursive=True):
181 if not glob.glob(f'{directory}/**/*.cc', recursive=True) and not glob.glob(
189 has_public_cpp_headers = glob.glob(f'{directory}/public/{module_name}/*.h')
[all …]
/external/curl/.github/
Dlabeler.yml10 # Labels are added in two ways: the any-glob-to-all-files ones are added if all
11 # the files fit into the category, and the any-glob-to-any-file ones are added
17 # N.B. any-glob-to-all-files is misnamed; it acts like one-glob-to-all-files.
18 # Therefore, to get any-glob-to-all-files semantics, there must be a single glob
26 - any-glob-to-all-files:
32 - any-glob-to-all-files:
38 - any-glob-to-all-files:
44 - any-glob-to-any-file:
58 - any-glob-to-all-files:
64 - any-glob-to-any-file:
[all …]
/external/ComputeLibrary/tests/
DSConscript106 common_files = Glob('*.cpp')
109 files_benchmark = Glob('benchmark/*.cpp')
111 files_benchmark += Glob(env['external_tests_dir'] + '/tests/benchmark/*.cpp')
114 files_validation = Glob('validation/UNIT/*/*.cpp')
115 files_validation += Glob('validation/UNIT/*.cpp')
119 files_validation += Glob('validation/CPP/' + filter_pattern)
123 files_validation += Glob('validation/dynamic_fusion/gpu/' + filter_pattern)
124 files_validation += Glob('validation/dynamic_fusion/gpu/cl/' + filter_pattern)
130 files_benchmark += Glob('benchmark/CL/*/' + filter_pattern)
131 files_benchmark += Glob('benchmark/CL/' + filter_pattern)
[all …]
/external/python/pyserial/serial/tools/
Dlist_ports_posix.py21 import glob
37 # (such as 'open' call, explicit 'ls'), but 'glob.glob'
40 devices = glob.glob('/dev/ttyS*')
47 devices = glob.glob('/dev/cua*')
54 devices = glob.glob('/dev/cua*[!.init][!.lock]')
62 devices = glob.glob('/dev/dty*')
70 devices = glob.glob('/dev/ttyf*')
78 devices = glob.glob('/dev/tty*p0')
86 devices = glob.glob('/dev/tty*c')
94 devices = glob.glob('/dev/tty*')
Dlist_ports_linux.py13 import glob
92 devices = glob.glob('/dev/ttyS*') # built-in serial ports
93 devices.extend(glob.glob('/dev/ttyUSB*')) # usb-serial with own driver
94 devices.extend(glob.glob('/dev/ttyXRUSB*')) # xr-usb-serial port exar (DELL Edge 3001)
95 devices.extend(glob.glob('/dev/ttyACM*')) # usb-serial with CDC-ACM profile
96 devices.extend(glob.glob('/dev/ttyAMA*')) # ARM internal port (raspi)
97 devices.extend(glob.glob('/dev/rfcomm*')) # BT serial devices
98 devices.extend(glob.glob('/dev/ttyAP*')) # Advantech multi-port serial controllers
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/
Dlist_ports_posix.py22 import glob
34 devices = glob.glob('/dev/com*')
39 devices = glob.glob('/dev/cua*')
46 devices = glob.glob('/dev/cuad*')
55 devices = glob.glob('/dev/dty*')
61 devices = glob.glob('/dev/ttyf*')
67 devices = glob.glob('/dev/tty*p0')
73 devices = glob.glob('/dev/tty*c')
79 devices = glob.glob('/dev/tty*')
/external/curl/src/
Dtool_urlglob.c38 glob->error = string, glob->pos = column, code
40 static CURLcode glob_fixed(struct URLGlob *glob, char *fixed, size_t len) in glob_fixed() argument
42 struct URLPattern *pat = &glob->pattern[glob->size]; in glob_fixed()
90 static CURLcode glob_set(struct URLGlob *glob, char **patternp, in glob_set() argument
99 char *buf = glob->glob_buffer; in glob_set()
104 pat = &glob->pattern[glob->size]; in glob_set()
150 strdup(glob->glob_buffer); in glob_set()
161 buf = glob->glob_buffer; in glob_set()
185 static CURLcode glob_range(struct URLGlob *glob, char **patternp, in glob_range() argument
200 pat = &glob->pattern[glob->size]; in glob_range()
[all …]
/external/rust/crates/glob/
DREADME.md1 glob chapter
6 …gration](https://github.com/rust-lang/glob/actions/workflows/rust.yml/badge.svg)](https://github.c…
8 [Documentation](https://docs.rs/glob)
12 To use `glob`, add this to your `Cargo.toml`:
16 glob = "0.3.1"
22 extern crate glob;
30 use glob::glob;
32 for entry in glob("/media/**/*.jpg").expect("Failed to read glob pattern") {
/external/bazel-skylib/rules/directory/private/
Dglob.bzl15 """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)
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.
85 # Treat a glob as a nondeterministic finite state automata. We can be in
89 for chunk in glob.split("/"):
[all …]
/external/perfetto/src/trace_processor/metrics/sql/android/
Dandroid_frame_timeline_metric.sql53 jank_type GLOB '*App Deadline Missed*' AS missed_app_frame,
54 jank_type GLOB '*SurfaceFlinger CPU Deadline Missed*'
55 OR jank_type GLOB '*SurfaceFlinger GPU Deadline Missed*'
56 OR jank_type GLOB '*SurfaceFlinger Scheduling*'
57 OR jank_type GLOB '*Prediction Error*'
58 OR jank_type GLOB '*Display HAL*' AS missed_sf_frame,
59 jank_type GLOB '*App Deadline Missed*'
60 OR jank_type GLOB '*SurfaceFlinger CPU Deadline Missed*'
61 OR jank_type GLOB '*SurfaceFlinger GPU Deadline Missed*'
62 OR jank_type GLOB '*SurfaceFlinger Scheduling*'
[all …]
/external/apache-xml/test/java/src/org/apache/qetest/
DFilePatternFilter.java42 * @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()
80 startPattern = glob.substring(0, idx); in setPattern()
81 endPattern = glob.substring(idx + 1, glob.length()); in setPattern()
85 // Derivitave case: no glob char, so exact match in setPattern()
[all …]
/external/tensorflow/
Darm_compiler.BUILD5 srcs = glob(["bin/*-gcc"]),
10 srcs = glob(["bin/*-ar"]),
15 srcs = glob(["bin/*-ld"]),
20 srcs = glob(["bin/*-nm"]),
25 srcs = glob(["bin/*-objcopy"]),
30 srcs = glob(["bin/*-objdump"]),
35 srcs = glob(["bin/*-strip"]),
40 srcs = glob(["bin/*-as"]),
45 srcs = glob([
55 srcs = glob([
/external/rust/crates/grpcio-sys/grpc/tools/mkowners/
Dmkowners.py82 globs_list = [glob for glob in globs.split(' ') if glob]
135 # glob using git
139 def git_glob(glob): argument
141 if glob in gg_cache:
142 return gg_cache[glob]
145 'git', 'ls-files', os.path.join(git_root, glob)
147 gg_cache[glob] = r
153 # build a table of glob --> owners
155 for glob in directive.globs or ['**']:
156 if glob not in globs:
[all …]
/external/perfetto/src/trace_processor/metrics/sql/android/jank/
Dcujs.sql41 slice.name GLOB 'J<*>'
43 process.name GLOB 'com.google.android*'
44 OR process.name GLOB 'com.android.*')
53 WHEN cuj_state_marker.name GLOB '*FT#begin*' THEN 'begin'
54 WHEN cuj_state_marker.name GLOB '*FT#deferMonitoring*' THEN 'deferMonitoring'
55 WHEN cuj_state_marker.name GLOB '*FT#end*' THEN 'end'
56 WHEN cuj_state_marker.name GLOB '*FT#cancel*' THEN 'cancel'
57 WHEN cuj_state_marker.name GLOB '*FT#layerId*' THEN 'layerId'
68 cuj_state_marker.name GLOB (cujs.cuj_slice_name || "#FT#*")
69 OR (marker_track.name = cuj_slice_name and cuj_state_marker.name GLOB 'FT#*')
[all …]

12345678910>>...166