Home
last modified time | relevance | path

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

12345678910>>...33

/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/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/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/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/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/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/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/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 …]
Dcheck_language.py100 for glob in skip_glob_list:
101 for match in fnmatch.filter(dirs, glob):
110 def filtered_descendants(glob): argument
111 """Returns glob-matching filenames under the current directory, but skips
113 return find('.', glob, ['third_party', 'external', 'build*', 'out*',
146 def alert_if_lang_matches(glob): argument
149 Finds all glob-matching files under the current directory and checks if they
157 for file in filtered_descendants(glob):
173 for glob in globs:
174 count += alert_if_lang_matches(glob)
/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/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/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/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/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/mindspore/mindspore-src/source/tests/ut/python/graph_syntax/
Dtest_environment_variable_of_ir_print.py17 import glob
63 ir_files = glob.glob(os.path.join("graph_save_path", '*_validate*.ir'))
64 ir_files_not_exist = glob.glob(
95 ir_files_1 = glob.glob(os.path.join("graph_save_path_1", '*_validate*.ir'))
102 ir_files_2 = glob.glob(os.path.join("graph_save_path_2", '*_validate*.ir'))
/third_party/spirv-tools/
DBUILD.bazel134 srcs = glob([
163 ] + glob([
193 srcs = glob(["source/opt/*.cpp"]) + [
196 hdrs = glob(["source/opt/*.h"]) + [
209 srcs = glob(["source/reduce/*.cpp"]),
210 hdrs = glob(["source/reduce/*.h"]),
220 srcs = glob(["source/link/*.cpp"]),
233 srcs = glob([
237 hdrs = ["include/spirv-tools/linter.hpp"] + glob([
263 srcs = glob(["tools/util/*.cpp"]),
[all …]
/third_party/skia/infra/bots/assets/chromebook_x86_64_gles/
Dcreate.py14 import glob
47 to_copy = glob.glob(os.path.join(gl_path,'libGL*'))
48 to_copy.extend(glob.glob(os.path.join(gl_path,'libEGL*')))
49 to_copy.extend(glob.glob(os.path.join(gl_path,'libdrm*')))
/third_party/skia/infra/bots/assets/chromebook_arm_gles/
Dcreate.py14 import glob
47 to_copy = glob.glob(os.path.join(gl_path,'libGL*'))
48 to_copy.extend(glob.glob(os.path.join(gl_path,'libEGL*')))
49 to_copy.extend(glob.glob(os.path.join(gl_path,'libmali*')))
/third_party/skia/tools/
DBUILD_simulator.py9 # mostly to see the effects of glob().
13 import glob
37 # If pattern doesn't include **, glob.glob more-or-less does the right
39 return glob.glob(pattern)
61 # Simulates BUILD file glob().
77 'glob': BUILD_glob,
/third_party/skia/third_party/externals/freetype/builds/meson/
Dgenerate_reference_docs.py17 import glob
48 glob.glob(os.path.join(args.input_dir, "include", "freetype", "*.h"))
49 + glob.glob(
54 + glob.glob(
/third_party/python/Tools/peg_generator/scripts/
Dtest_pypi_packages.py5 import glob
32 glob.glob("./data/pypi/*.tar.gz")
33 + glob.glob("./data/pypi/*.zip")
34 + glob.glob("./data/pypi/*.tgz")
/third_party/skia/third_party/externals/brotli/
DBUILD65 srcs = glob(["c/include/brotli/*.h"]),
70 srcs = glob(["c/common/*.h"]),
75 srcs = glob(["c/common/*.c"]),
80 srcs = glob(["c/dec/*.h"]),
85 srcs = glob(["c/dec/*.c"]),
90 srcs = glob(["c/enc/*.h"]),
95 srcs = glob(["c/enc/*.c"]),
/third_party/skia/tests/sksl/metal/
DSwizzleHelper.metal10 half2 glob;
13 …out, thread Globals& _globals, half _var0, thread half3& b, thread half2& glob, thread half3x3& d)…
15 half2 _var2 = glob.yx;
19 glob.yx = _var2;
25 b = _out.sk_FragColor.yz - _globals.glob.y;
38 … _out.sk_FragColor = _skOutParamHelper0_fn_h4hh2h2h3(_out, _globals, a.x, b, _globals.glob, d);

12345678910>>...33