/external/python/cpython3/Lib/test/ |
D | test_glob.py | 1 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 …]
|
/external/python/cpython2/Lib/test/ |
D | test_glob.py | 1 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/python/pyfakefs/pyfakefs/tests/ |
D | fake_filesystem_glob_test.py | 17 import glob 35 self.assertEqual(glob.glob(''), []) 42 sorted(glob.glob('/xyzzy/*'))) 45 self.assertEqual(['/xyzzy'], glob.glob('/xyzzy')) 46 self.assertEqual(['/xyzzy/subfile'], glob.glob('/xyzzy/subfile')) 53 sorted(glob.glob('/x?zz?/*'))) 56 self.assertEqual(['/xyzzy'], glob.glob('/xyzzy')) 57 self.assertEqual(['/xyzzy/subdir'], glob.glob('/xyzzy/subdir')) 60 self.assertEqual([], glob.glob('nonexistent')) 63 self.assertEqual(['/[Temp]'], glob.glob('/*emp*')) [all …]
|
/external/pigweed/pw_module/py/pw_module/ |
D | check.py | 19 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}/README.md'): 176 if not glob.glob(f'{directory}/**/*.rst', recursive=True): 187 if not glob.glob(f'{directory}/**/*.cc', recursive=True) and not glob.glob( [all …]
|
/external/python/cpython3/Doc/library/ |
D | glob.rst | 1 :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/chromium-trace/catapult/third_party/pyserial/serial/tools/ |
D | list_ports_posix.py | 22 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/ |
D | tool_urlglob.c | 38 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() 139 strdup(glob->glob_buffer); in glob_set() 150 buf = glob->glob_buffer; in glob_set() 174 static CURLcode glob_range(struct URLGlob *glob, char **patternp, in glob_range() argument 189 pat = &glob->pattern[glob->size]; in glob_range() [all …]
|
/external/python/pyserial/serial/tools/ |
D | list_ports_posix.py | 21 import 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*')
|
D | list_ports_linux.py | 13 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/python/cpython2/Doc/library/ |
D | glob.rst | 1 :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/rust/crates/glob/ |
D | README.md | 1 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/capstone/bindings/python/ |
D | setup.py | 3 import glob 91 src.extend(glob.glob(os.path.join(BUILD_DIR, "*.[ch]"))) 92 src.extend(glob.glob(os.path.join(BUILD_DIR, "*.mk"))) 94 src.extend(glob.glob(os.path.join(BUILD_DIR, "Makefile"))) 95 src.extend(glob.glob(os.path.join(BUILD_DIR, "LICENSE*"))) 96 src.extend(glob.glob(os.path.join(BUILD_DIR, "README"))) 97 src.extend(glob.glob(os.path.join(BUILD_DIR, "*.TXT"))) 98 src.extend(glob.glob(os.path.join(BUILD_DIR, "RELEASE_NOTES"))) 99 src.extend(glob.glob(os.path.join(BUILD_DIR, "make.sh"))) 100 src.extend(glob.glob(os.path.join(BUILD_DIR, "CMakeLists.txt"))) [all …]
|
/external/tensorflow/ |
D | arm_compiler.BUILD | 5 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/cxx/third-party/ |
D | BUILD | 4 glob = "third_party_glob", 10 srcs = glob(["vendor/bitflags-1.3.2/src/**/*.rs"]), 16 srcs = glob(["vendor/cc-1.0.77/src/**/*.rs"]), 23 srcs = glob(["vendor/clap-4.0.29/src/**/*.rs"]) + ["vendor/clap-4.0.29/examples/demo.rs"], 41 srcs = glob(["vendor/clap_lex-0.3.0/src/**/*.rs"]), 50 srcs = glob(["vendor/codespan-reporting-0.11.1/src/**/*.rs"]), 61 srcs = glob(["vendor/once_cell-1.16.0/src/**/*.rs"]), 74 srcs = glob(["vendor/os_str_bytes-6.4.1/src/**/*.rs"]), 83 srcs = glob(["vendor/proc-macro2-1.0.47/src/**/*.rs"]), 111 srcs = glob(["vendor/quote-1.0.21/src/**/*.rs"]), [all …]
|
/external/lz4/tests/ |
D | test-lz4-versions.py | 10 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')
|
/external/grpc-grpc/src/benchmark/ |
D | gen_build_yaml.py | 19 import glob 32 'src': sorted(glob.glob('third_party/benchmark/src/*.cc')), 34 glob.glob('third_party/benchmark/src/*.h') + 35 glob.glob('third_party/benchmark/include/benchmark/*.h')),
|
/external/rust/crates/grpcio-sys/grpc/src/re2/ |
D | gen_build_yaml.py | 19 import glob 38 glob.glob('third_party/re2/re2/*.cc') + [ 44 glob.glob('third_party/re2/re2/*.h') + 45 glob.glob('third_party/re2/util/*.h')),
|
/external/rust/crates/grpcio-sys/grpc/src/benchmark/ |
D | gen_build_yaml.py | 19 import glob 38 sorted(glob.glob('third_party/benchmark/src/*.cc')), 41 glob.glob('third_party/benchmark/src/*.h') + 42 glob.glob('third_party/benchmark/include/benchmark/*.h')),
|
/external/rust/crates/grpcio-sys/grpc/tools/mkowners/ |
D | mkowners.py | 82 globs_list = [glob for glob in globs.split(' ') if glob] 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 155 for glob in directive.globs or ['**']: 156 if glob not in globs: 157 globs[glob] = [] 158 if directive.who not in globs[glob]: [all …]
|
/external/grpc-grpc/tools/mkowners/ |
D | mkowners.py | 81 globs_list = [glob for glob in globs.split(' ') if glob] 138 def git_glob(glob): argument 140 if glob in gg_cache: return gg_cache[glob] 143 ['git', 'ls-files', os.path.join(git_root, glob)]).decode('utf-8') 145 gg_cache[glob] = r 153 for glob in directive.globs or ['**']: 154 if glob not in globs: 155 globs[glob] = [] 156 if directive.who not in globs[glob]: 157 globs[glob].append(directive.who) [all …]
|
/external/libffi/ |
D | make_sunver.pl | 158 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') {
|
/external/zstd/tests/ |
D | test-zstd-versions.py | 15 import glob 80 cFiles = glob.glob(dict_source_path + "/*.c") 81 hFiles = glob.glob(dict_source_path + "/*.h") 136 list_of_zst = sorted(glob.glob('*.zst')) 151 list_zst = sorted(glob.glob('*_nodict.zst')) 174 list_zst = sorted(glob.glob('*_dictio.zst')) 255 for compressed in glob.glob("*.zst"): 257 for dec in glob.glob("*.dec"): 284 zstds = sorted(glob.glob('*.zst'))
|
/external/python/pybind11/tools/ |
D | setup_global.py.in | 8 import glob 34 main_headers = glob.glob("pybind11/include/pybind11/*.h") 35 detail_headers = glob.glob("pybind11/include/pybind11/detail/*.h") 36 cmake_files = glob.glob("pybind11/share/cmake/pybind11/*.cmake")
|
/external/deqp-deps/amber/tools/ |
D | copyright.py | 55 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):
|
/external/freetype/builds/meson/ |
D | generate_reference_docs.py | 17 import glob 48 glob.glob(os.path.join(args.input_dir, "include", "freetype", "*.h")) 49 + glob.glob( 54 + glob.glob(
|