Home
last modified time | relevance | path

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

12345678910>>...51

/third_party/python/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 …]
/third_party/python/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 …]
/third_party/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") {
/third_party/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 …]
/third_party/rust/rust/tests/ui/imports/
Dglob-resolve1.stderr2 --> $DIR/glob-resolve1.rs:26:5
8 --> $DIR/glob-resolve1.rs:7:5
14 --> $DIR/glob-resolve1.rs:27:5
20 --> $DIR/glob-resolve1.rs:9:9
26 --> $DIR/glob-resolve1.rs:28:5
32 --> $DIR/glob-resolve1.rs:14:5
44 --> $DIR/glob-resolve1.rs:29:5
50 --> $DIR/glob-resolve1.rs:18:5
56 --> $DIR/glob-resolve1.rs:30:5
67 --> $DIR/glob-resolve1.rs:32:11
[all …]
Dglob-shadowing.stderr2 --> $DIR/glob-shadowing.rs:11:17
7 …= note: ambiguous because of a conflict between a name from a glob import and an outer scope durin…
10 --> $DIR/glob-shadowing.rs:9:9
18 --> $DIR/glob-shadowing.rs:19:21
23 …= note: ambiguous because of a conflict between a name from a glob import and an outer scope durin…
26 --> $DIR/glob-shadowing.rs:17:13
33 --> $DIR/glob-shadowing.rs:29:21
38 …= note: ambiguous because of a conflict between a name from a glob import and an outer scope durin…
40 --> $DIR/glob-shadowing.rs:27:13
46 --> $DIR/glob-shadowing.rs:25:5
/third_party/mindspore/mindspore-src/source/tests/st/profiler/
Dtest_ascend_profiler.py16 import glob
109 … assert len(glob.glob(f"{tmpdir}/profiler*/*PROF*/mindstudio_profiler_output/op_summary*")) == 1
110 … assert len(glob.glob(f"{tmpdir}/profiler*/*PROF*/mindstudio_profiler_output/op_statistic*")) == 1
111 assert len(glob.glob(f"{tmpdir}/profiler*/*PROF*/device_*/data/l2_cache.data*")) >= 2
117 assert glob.glob(f"{tmpdir}/profiler*/*PROF*/host/sqlite*") == []
118 assert glob.glob(f"{tmpdir}/profiler*/*PROF*/mindstudio_profiler_output") == []
119 assert glob.glob(f"{tmpdir}/profiler*/*PROF*/mindstudio_profiler_log") == []
139 assert len(glob.glob(f"{tmpdir}/profiler*/ascend_timeline_display_*.json")) == 1
164 assert len(glob.glob(f"{tmpdir}/profiler*/dynamic_shape_*.json")) == 1
185 aicpu_intermediate_file_list = glob.glob(f"{tmpdir}/profiler/aicpu_intermediate_*.csv")
/third_party/mindspore/mindspore-src/source/tests/ut/python/dataset/
Dtest_decode.py18 import glob
89 unsupported_list = glob.glob('unsupported_image*')
99 assert len(glob.glob('unsupported_image.gif')) == 1
101 os.remove(glob.glob('unsupported_image.gif')[0])
109 abnormal_list = glob.glob('abnormal_image*')
113 assert len(glob.glob('unsupported_image.webp')) == 1
115 os.remove(glob.glob('unsupported_image.webp')[0])
124 assert len(glob.glob('abnormal_image.jpg')) == 1
126 os.remove(glob.glob('abnormal_image.jpg')[0])
/third_party/grpc/src/objective-c/examples/
DBUILD64 srcs = glob(["Sample/Sample/**/*.m"]),
65 hdrs = glob(["Sample/Sample/**/*.h"]),
66 data = glob([
87 srcs = glob(["InterceptorSample/InterceptorSample/**/*.m"]),
88 hdrs = glob(["InterceptorSample/InterceptorSample/**/*.h"]),
89 data = glob([
109 srcs = glob(["tvOS-sample/tvOS-sample/**/*.m"]),
110 hdrs = glob(["tvOS-sample/tvOS-sample/**/*.h"]),
111 data = glob([
128 srcs = glob(["watchOS-sample/watchOS-sample/**/*.m"]),
[all …]
/third_party/skia/m133/resources/
DBUILD.bazel30 ] + glob(
35 ) + glob(
40 ) + glob(
45 ) + glob(
50 ) + glob(
55 ) + glob(
60 ) + glob(
65 ) + glob(
70 ) + glob(
/third_party/skia/third_party/externals/sfntly/cpp/
DCMakeLists.txt45 file(GLOB SFNTLY_CORE_FILES src/sfntly/*.h src/sfntly/*.cc)
46 file(GLOB SFNTLY_PORT_FILES src/sfntly/port/*.h src/sfntly/port/*.cc)
47 file(GLOB SFNTLY_DATA_FILES src/sfntly/data/*.h src/sfntly/data/*.cc)
48 file(GLOB SFNTLY_MATH_FILES src/sfntly/math/*.h src/sfntly/math/*.cc)
49 file(GLOB SFNTLY_TABLE_COMMON_FILES src/sfntly/table/*.h src/sfntly/table/*.cc)
50 file(GLOB SFNTLY_TABLE_BITMAP_FILES src/sfntly/table/bitmap/*.h src/sfntly/table/bitmap/*.cc)
51 file(GLOB SFNTLY_TABLE_CORE_FILES src/sfntly/table/core/*.h src/sfntly/table/core/*.cc)
52 file(GLOB SFNTLY_TABLE_TTF_FILES src/sfntly/table/truetype/*.h src/sfntly/table/truetype/*.cc)
77 file(GLOB TINYXML src/test/tinyxml/*.cpp)
80 file(GLOB TEST_CASES src/test/*.cc src/test/autogenerated/*.cc)
[all …]
/third_party/rust/rust/tests/ui/resolve/
Dissue-107563-ambiguous-glob-reexports.stderr2 --> $DIR/issue-107563-ambiguous-glob-reexports.rs:25:24
7 = note: ambiguous because of multiple glob imports of a name in the same module
9 --> $DIR/issue-107563-ambiguous-glob-reexports.rs:19:13
15 --> $DIR/issue-107563-ambiguous-glob-reexports.rs:21:13
21 error: ambiguous glob re-exports
22 --> $DIR/issue-107563-ambiguous-glob-reexports.rs:12:9
31 --> $DIR/issue-107563-ambiguous-glob-reexports.rs:1:9
36 error: ambiguous glob re-exports
37 --> $DIR/issue-107563-ambiguous-glob-reexports.rs:19:13
/third_party/protobuf/python/dist/
Dsetup.py11 import glob
68 glob.glob('google/protobuf/*.c')
69 + glob.glob('python/*.c')
70 + glob.glob('upb/**/*.c', recursive=True)
71 + glob.glob('utf8_range/*.c'),
/third_party/grpc/templates/tools/doxygen/
DDoxyfile.php.include6 import glob
22 glob.glob('src/php/lib/Grpc/*.php'),
23 glob.glob('src/php/lib/Grpc/Internal/*.php') if internal else [],
24 glob.glob('doc/*.md'),
/third_party/openssl/util/perl/OpenSSL/
DGlob.pm1 package OpenSSL::Glob;
6 use File::Glob;
13 @EXPORT = qw(glob);
15 sub glob { subroutine
16 goto &File::Glob::bsd_glob if $^O ne "VMS";
17 goto &CORE::glob;
/third_party/lz4/tests/
Dtest-lz4-versions.py11 import glob
127 for lz4 in glob.glob("*.lz4"):
136 lz4s = sorted(glob.glob('*.lz4'))
143 lz4s = sorted(glob.glob('*.lz4'))
156 lz4s = sorted(glob.glob('*.lz4'))
162 lz4s = sorted(glob.glob('*.lz4'))
163 for dec in glob.glob("*.dec"):
174 decs = glob.glob('*.dec')
/third_party/grpc/src/benchmark/
Dgen_build_yaml.py19 import glob
33 "src": sorted(glob.glob("third_party/benchmark/src/*.cc")),
35 glob.glob("third_party/benchmark/src/*.h")
36 + glob.glob("third_party/benchmark/include/benchmark/*.h")
/third_party/vk-gl-cts/external/amber/src/tools/
Dcopyright.py55 for glob in skip_glob_list:
56 for match in fnmatch.filter(dirs, glob):
63 def filtered_descendants(glob): argument
64 """Returns glob-matching filenames under the current directory, but skips
66 return find('.', glob, ['third_party', 'external', 'build*', 'out*',
88 def insert_copyright(glob, comment_prefix): argument
89 """Finds all glob-matching files under the current directory and inserts the
97 for file in filtered_descendants(glob):
110 def alert_if_no_copyright(glob, comment_prefix): argument
113 Finds all glob-matching files under the current directory and checks if they
[all …]
/third_party/ffmpeg/compat/solaris/
Dmake_sunver.pl26 # Each glob pattern, C++ mangled pattern or literal in the input script is
120 if ($bind !~ /^(GLOB|WEAK)/ or $oth ne "D") {
168 # The various types of glob patterns.
170 # A glob pattern that is to be applied to the demangled name: 'cxx'.
171 # A glob patterns that applies directly to the name in the .o files: 'glob'.
175 my $glob = 'glob';
208 $glob = 'glob';
220 $glob = 'glob';
260 $glob = 'ign';
268 $glob = 'cxx';
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/kernel/cpu/
DCMakeLists.txt3 file(GLOB KERNEL_SRC
21 file(GLOB INT8_KERNEL_SRC
75 file(GLOB SPARSE_KERNEL_SRC
85 file(GLOB KERNEL_STRING_SRC
94 file(GLOB KERNEL_CONTROL_TENSORLIST
104 file(GLOB TRAIN_KERNEL_SRC ${CMAKE_CURRENT_SOURCE_DIR}/fp16_grad/*.cc)
105 file(GLOB TRAIN_KERNEL_SRC ${CMAKE_CURRENT_SOURCE_DIR}/fp32_grad/*.cc)
118 file(GLOB FP16_KERNEL_SRC ${CMAKE_CURRENT_SOURCE_DIR}/fp16/*.cc)
120 file(GLOB FP16_KERNEL_TRAIN_SRC ${CMAKE_CURRENT_SOURCE_DIR}/fp16_grad/*.cc)
126 file(GLOB OPT_KERNEL_SRC ${CMAKE_CURRENT_SOURCE_DIR}/int8/opt_op_handler.cc)
/third_party/skia/m133/resources/sksl/shared/
DScopedSymbol.sksl2 int glob;
14 int glob = 1;
16 return glob == 2;
34 int glob = 1;
35 return glob == 1;
39 glob = 2;
/third_party/skia/resources/sksl/shared/
DScopedSymbol.sksl2 int glob;
14 int glob = 1;
16 return glob == 2;
34 int glob = 1;
35 return glob == 1;
39 glob = 2;
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/
DBUILD.bazel128 hdrs = glob([
144 srcs = glob([
170 srcs = glob([
187 hdrs = glob(["source/opt/*.h"]),
193 srcs = glob(["source/opt/*.cpp"]),
212 srcs = glob(["source/reduce/*.cpp"]),
213 hdrs = glob(["source/reduce/*.h"]),
225 srcs = glob(["source/link/*.cpp"]),
238 srcs = glob(["source/lint/*.cpp", "source/lint/*.h"]),
251 srcs = glob(["tools/util/*.cpp"]),
[all …]
/third_party/skia/third_party/externals/spirv-tools/
DBUILD.bazel128 hdrs = glob([
144 srcs = glob([
170 srcs = glob([
187 hdrs = glob(["source/opt/*.h"]),
193 srcs = glob(["source/opt/*.cpp"]),
212 srcs = glob(["source/reduce/*.cpp"]),
213 hdrs = glob(["source/reduce/*.h"]),
225 srcs = glob(["source/link/*.cpp"]),
238 srcs = glob(["source/lint/*.cpp", "source/lint/*.h"]),
251 srcs = glob(["tools/util/*.cpp"]),
[all …]
/third_party/rust/rust/src/tools/clippy/tests/ui/
Denum_variants.stderr19 = help: remove the prefixes and use full paths to the variants instead of glob imports
49 = help: remove the prefixes and use full paths to the variants instead of glob imports
61 = help: remove the prefixes and use full paths to the variants instead of glob imports
73 = help: remove the prefixes and use full paths to the variants instead of glob imports
85 = help: remove the prefixes and use full paths to the variants instead of glob imports
97 = help: remove the prefixes and use full paths to the variants instead of glob imports
109 = help: remove the postfixes and use full paths to the variants instead of glob imports
121 = help: remove the postfixes and use full paths to the variants instead of glob imports
134 = help: remove the prefixes and use full paths to the variants instead of glob imports
146 = help: remove the postfixes and use full paths to the variants instead of glob imports

12345678910>>...51