Home
last modified time | relevance | path

Searched refs:glob (Results 1 – 25 of 433) sorted by relevance

12345678910>>...18

/third_party/python/Lib/test/
Dtest_glob.py1 import glob
52 def glob(self, *parts, **kwargs): member in GlobTests
58 res = glob.glob(p, **kwargs)
59 self.assertCountEqual(glob.iglob(p, **kwargs), res)
61 self.assertCountEqual(glob.glob(os.fsencode(p), **kwargs), bres)
62 self.assertCountEqual(glob.iglob(os.fsencode(p), **kwargs), bres)
65 res2 = glob.glob(pattern, **kwargs)
74 self.assertCountEqual(glob.iglob(pattern, **kwargs), res2)
77 self.assertCountEqual(glob.glob(bpattern, **kwargs), bres2)
78 self.assertCountEqual(glob.iglob(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()
80 static CURLcode glob_set(struct URLGlob *glob, char **patternp, in glob_set() argument
89 char *buf = glob->glob_buffer; in glob_set()
94 pat = &glob->pattern[glob->size]; in glob_set()
140 strdup(glob->glob_buffer); in glob_set()
151 buf = glob->glob_buffer; in glob_set()
175 static CURLcode glob_range(struct URLGlob *glob, char **patternp, in glob_range() argument
190 pat = &glob->pattern[glob->size]; in glob_range()
[all …]
/third_party/node/deps/npm/node_modules/glob/
DREADME.md5 The most correct and second fastest glob implementation in
9 ![a fun cartoon logo made of glob characters](https://github.com/isaacs/node-glob/raw/main/logo/glo…
16 npm i glob
19 **Note** the npm package name is _not_ `node-glob` that's a
20 different thing that was abandoned years ago. Just `glob`.
24 import { glob, globSync, globStream, globStreamSync, Glob } from 'glob'
27 glob,
32 } = require('glob')
34 // the main glob() and globSync() resolve/return array of filenames
37 const jsfiles = await glob('**/*.js', { ignore: 'node_modules/**' })
[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/lz4/tests/
Dtest-lz4-versions.py10 import glob
97 for lz4 in glob.glob("*.lz4"):
106 lz4s = sorted(glob.glob('*.lz4'))
113 lz4s = sorted(glob.glob('*.lz4'))
126 lz4s = sorted(glob.glob('*.lz4'))
132 lz4s = sorted(glob.glob('*.lz4'))
133 for dec in glob.glob("*.dec"):
144 decs = glob.glob('*.dec')
/third_party/libffi/
Dmake_sunver.pl158 my $glob = 'glob';
189 $glob = 'glob';
201 $glob = 'glob';
241 $glob = 'ign';
249 $glob = 'cxx';
267 if ($glob eq 'ign') {
274 print "$ws##$ptn ($glob)\n";
278 if ($glob eq 'glob') {
292 } elsif ($glob eq 'cxx') {
/third_party/ffmpeg/compat/solaris/
Dmake_sunver.pl175 my $glob = 'glob';
208 $glob = 'glob';
220 $glob = 'glob';
260 $glob = 'ign';
268 $glob = 'cxx';
286 if ($glob eq 'ign') {
293 print "$ws##$ptn ($glob)\n";
297 if ($glob eq 'glob') {
311 } elsif ($glob eq 'cxx') {
/third_party/node/deps/minimatch/src/dist/mjs/
Dbrace-expressions.js33 export const parseClass = (glob, position) => { argument
36 if (glob.charAt(pos) !== '[') {
49 WHILE: while (i < glob.length) {
50 const c = glob.charAt(i);
72 if (glob.startsWith(cls, i)) {
75 return ['$.', false, glob.length - pos, true];
104 if (glob.startsWith('-]', i + 1)) {
109 if (glob.startsWith('-', i + 1)) {
126 return ['$.', false, glob.length - pos, true];
/third_party/node/deps/npm/node_modules/minimatch/dist/cjs/
Dbrace-expressions.js36 const parseClass = (glob, position) => { argument
39 if (glob.charAt(pos) !== '[') {
52 WHILE: while (i < glob.length) {
53 const c = glob.charAt(i);
75 if (glob.startsWith(cls, i)) {
78 return ['$.', false, glob.length - pos, true];
107 if (glob.startsWith('-]', i + 1)) {
112 if (glob.startsWith('-', i + 1)) {
129 return ['$.', false, glob.length - pos, true];
/third_party/node/deps/minimatch/src/dist/cjs/
Dbrace-expressions.js36 const parseClass = (glob, position) => { argument
39 if (glob.charAt(pos) !== '[') {
52 WHILE: while (i < glob.length) {
53 const c = glob.charAt(i);
75 if (glob.startsWith(cls, i)) {
78 return ['$.', false, glob.length - pos, true];
107 if (glob.startsWith('-]', i + 1)) {
112 if (glob.startsWith('-', i + 1)) {
129 return ['$.', false, glob.length - pos, true];
/third_party/node/deps/npm/node_modules/minimatch/dist/mjs/
Dbrace-expressions.js33 export const parseClass = (glob, position) => { argument
36 if (glob.charAt(pos) !== '[') {
49 WHILE: while (i < glob.length) {
50 const c = glob.charAt(i);
72 if (glob.startsWith(cls, i)) {
75 return ['$.', false, glob.length - pos, true];
104 if (glob.startsWith('-]', i + 1)) {
109 if (glob.startsWith('-', i + 1)) {
126 return ['$.', false, glob.length - pos, true];
/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
66 return find('.', glob, ['third_party', 'external', 'build*', 'out*',
88 def insert_copyright(glob, comment_prefix): argument
97 for file in filtered_descendants(glob):
110 def alert_if_no_copyright(glob, comment_prefix): argument
120 for file in filtered_descendants(glob):
Dcheck_language.py100 for glob in skip_glob_list:
101 for match in fnmatch.filter(dirs, glob):
110 def filtered_descendants(glob): argument
113 return find('.', glob, ['third_party', 'external', 'build*', 'out*',
146 def alert_if_lang_matches(glob): argument
157 for file in filtered_descendants(glob):
173 for glob in globs:
174 count += alert_if_lang_matches(glob)
/third_party/icu/tools/scripts/cpysearch/
DCpy.pm35 my ($glob, $i, $len, $regex);
36 $glob = shift;
38 $len = length($glob);
47 $c = &$charat($glob, $i++);
55 if ($j < $len && &$charat($glob, $j) eq '!') { $j++ }
56 if ($j < $len && &$charat($glob, $j) eq ']') { $j++ }
57 while ($j < $len && &$charat($glob, $j) ne ']') { $j++ }
/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/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/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/python/Tools/peg_generator/scripts/
Dtest_pypi_packages.py5 import glob
31 glob.glob("./data/pypi/*.tar.gz")
32 + glob.glob("./data/pypi/*.zip")
33 + glob.glob("./data/pypi/*.tgz")
/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/spirv-tools/
DBUILD.bazel130 hdrs = glob([
146 srcs = glob([
172 srcs = glob([
189 hdrs = glob(["source/opt/*.h"]),
195 srcs = glob(["source/opt/*.cpp"]),
214 srcs = glob(["source/reduce/*.cpp"]),
215 hdrs = glob(["source/reduce/*.h"]),
227 srcs = glob(["source/link/*.cpp"]),
240 srcs = glob(["source/lint/*.cpp", "source/lint/*.h"]),
253 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/skia/tests/sksl/shared/
DScopedSymbol.glsl5 int glob;
10 return glob == 2;
21 int glob = 1;
22 return glob == 1;
25 glob = 2;
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/
Dcheck_copyright.py79 for glob in skip_glob_dir_list:
80 for match in fnmatch.filter(dirs, glob):
89 def filtered_descendants(glob): argument
92 return find('.', glob, ['third_party', 'external', 'CompilerIdCXX',
112 def insert_copyright(author, glob, comment_prefix): argument
125 for file in filtered_descendants(glob):
164 def alert_if_no_copyright(glob, comment_prefix): argument
174 for file in filtered_descendants(glob):

12345678910>>...18