/external/python/cpython3/Lib/test/ |
D | test_glob.py | 1 import glob 45 def glob(self, *parts, **kwargs): member in GlobTests 51 res = glob.glob(p, **kwargs) 52 self.assertCountEqual(glob.iglob(p, **kwargs), res) 54 self.assertCountEqual(glob.glob(os.fsencode(p), **kwargs), bres) 55 self.assertCountEqual(glob.iglob(os.fsencode(p), **kwargs), bres) 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/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([os.sep + '[Temp]'], glob.glob('/*emp*')) [all …]
|
/external/pigweed/pw_module/py/pw_module/ |
D | check.py | 19 import glob 141 module_python_files = glob.glob(f'{directory}/**/*.py', recursive=True) 142 module_setup_py = glob.glob(f'{directory}/**/setup.py', recursive=True) 149 module_cc_files = glob.glob(f'{directory}/**/*.cc', recursive=True) 150 module_cc_test_files = glob.glob(f'{directory}/**/*test.cc', 158 module_py_files = glob.glob(f'{directory}/**/*.py', recursive=True) 159 module_py_test_files = glob.glob(f'{directory}/**/*test*.py', 167 if not glob.glob(f'{directory}/README.md'): 173 if not glob.glob(f'{directory}/**/*.rst', recursive=True): 183 if (not glob.glob(f'{directory}/**/*.cc', recursive=True) [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 | 36 glob->error = string, glob->pos = column, code 38 static CURLcode glob_fixed(struct URLGlob *glob, char *fixed, size_t len) in glob_fixed() argument 40 struct URLPattern *pat = &glob->pattern[glob->size]; in glob_fixed() 78 static CURLcode glob_set(struct URLGlob *glob, char **patternp, in glob_set() argument 87 char *buf = glob->glob_buffer; in glob_set() 92 pat = &glob->pattern[glob->size]; in glob_set() 137 strdup(glob->glob_buffer); in glob_set() 148 buf = glob->glob_buffer; in glob_set() 172 static CURLcode glob_range(struct URLGlob *glob, char **patternp, in glob_range() argument 187 pat = &glob->pattern[glob->size]; in glob_range() [all …]
|
/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/tensorflow/third_party/llvm/ |
D | llvm.autogenerated.BUILD | 113 # TODO(b/113996071): We need to glob all potentially #included files and stage 118 hdrs = glob([ 162 td_srcs = glob([ 173 td_srcs = glob([ 187 td_srcs = glob([ 201 td_srcs = glob([ 215 td_srcs = glob([ 229 td_srcs = glob([ 243 td_srcs = glob([ 257 td_srcs = glob([ [all …]
|
/external/rust/cxx/third-party/ |
D | BUILD | 3 glob = "third_party_glob", 9 srcs = glob(["vendor/bitflags-1.2.1/src/**"]), 14 srcs = glob(["vendor/cc-1.0.67/src/**"]), 20 srcs = glob(["vendor/clap-2.33.3/src/**"]), 32 srcs = glob(["vendor/codespan-reporting-0.11.1/src/**"]), 42 srcs = glob(["vendor/lazy_static-1.4.0/src/**"]), 48 srcs = glob(["vendor/proc-macro2-1.0.26/src/**"]), 64 srcs = glob(["vendor/quote-1.0.9/src/**"]), 72 srcs = glob(["vendor/scratch-1.0.0/src/**"]), 79 srcs = glob(["vendor/syn-1.0.68/src/**"]), [all …]
|
D | BUCK | 5 srcs = glob(["vendor/bitflags-1.2.1/src/**"]), 10 srcs = glob(["vendor/cc-1.0.67/src/**"]), 16 srcs = glob(["vendor/clap-2.33.3/src/**"]), 28 srcs = glob(["vendor/codespan-reporting-0.11.1/src/**"]), 38 srcs = glob(["vendor/lazy_static-1.4.0/src/**"]), 44 srcs = glob(["vendor/proc-macro2-1.0.26/src/**"]), 60 srcs = glob(["vendor/quote-1.0.9/src/**"]), 68 srcs = glob(["vendor/scratch-1.0.0/src/**"]), 75 srcs = glob(["vendor/syn-1.0.68/src/**"]), 94 srcs = glob(["vendor/termcolor-1.1.2/src/**"]), [all …]
|
/external/rust/crates/glob/ |
D | README.md | 1 glob chapter 6 …](https://travis-ci.org/rust-lang-nursery/glob.svg?branch=master)](https://travis-ci.org/rust-lang… 8 [Documentation](https://doc.rust-lang.org/glob) 12 To use `glob`, add this to your `Cargo.toml`: 16 glob = "0.3.0" 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/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 | 80 globs_list = [glob for glob in globs.split(' ') if glob] 135 def git_glob(glob): argument 137 if glob in gg_cache: return gg_cache[glob] 140 'git', 'ls-files', os.path.join(git_root, glob) 142 gg_cache[glob] = r 150 for glob in directive.globs or ['**']: 151 if glob not in globs: 152 globs[glob] = [] 153 if directive.who not in globs[glob]: 154 globs[glob].append(directive.who) [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 76 cFiles = glob.glob(dict_source_path + "/*.c") 77 hFiles = glob.glob(dict_source_path + "/*.h") 132 list_of_zst = sorted(glob.glob('*.zst')) 147 list_zst = sorted(glob.glob('*_nodict.zst')) 170 list_zst = sorted(glob.glob('*_dictio.zst')) 243 for compressed in glob.glob("*.zst"): 245 for dec in glob.glob("*.dec"): 270 zstds = sorted(glob.glob('*.zst'))
|
/external/tensorflow/third_party/aws/ |
D | aws-c-common.bazel | 15 "@org_tensorflow//tensorflow:linux_aarch64": glob([ 18 "@org_tensorflow//tensorflow:linux_x86_64": glob([ 21 "@org_tensorflow//tensorflow:macos": glob([ 24 "@org_tensorflow//tensorflow:linux_ppc64le": glob([ 27 "@org_tensorflow//tensorflow:raspberry_pi_armeabi": glob([ 30 "@org_tensorflow//tensorflow:windows": glob([ 34 }) + glob([ 39 ] + glob([
|
/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/llvm-project/clang/test/Analysis/inlining/ |
D | temp-dtors-path-notes.cpp | 44 int glob; variable 48 C() { glob += 1; } in C() 49 ~C() { glob -= 2; } // expected-note{{The value 0 is assigned to 'glob'}} in ~C() 53 glob = 1; in test() 56 glob = 1 / glob; // expected-warning{{Division by zero}} in test()
|