Home
last modified time | relevance | path

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

12345678910>>...32

/external/python/cpython3/Lib/test/
Dtest_glob.py1 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/
Dtest_glob.py1 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 …]
Dtest_shelve.py4 import glob
35 for f in glob.glob(self.fn+"*"):
45 for f in glob.glob(self.fn+"*"):
55 for f in glob.glob(self.fn+"*"):
129 for f in glob.glob(self.fn+"*"):
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/
Dlist_ports_posix.py22 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/python/cpython3/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 …]
/external/curl/src/
Dtool_urlglob.c35 glob->error = string, glob->pos = column, code
37 static CURLcode glob_fixed(URLGlob *glob, char *fixed, size_t len) in glob_fixed() argument
39 URLPattern *pat = &glob->pattern[glob->size]; in glob_fixed()
77 static CURLcode glob_set(URLGlob *glob, char **patternp, in glob_set() argument
86 char *buf = glob->glob_buffer; in glob_set()
91 pat = &glob->pattern[glob->size]; in glob_set()
136 strdup(glob->glob_buffer); in glob_set()
147 buf = glob->glob_buffer; in glob_set()
171 static CURLcode glob_range(URLGlob *glob, char **patternp, in glob_range() argument
186 pat = &glob->pattern[glob->size]; in glob_range()
[all …]
/external/python/cpython2/Doc/library/
Dglob.rst1 :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/capstone/bindings/python/
Dsetup.py3 import glob
88 src.extend(glob.glob(os.path.join(BUILD_DIR, "*.[ch]")))
89 src.extend(glob.glob(os.path.join(BUILD_DIR, "*.mk")))
91 src.extend(glob.glob(os.path.join(BUILD_DIR, "Makefile")))
92 src.extend(glob.glob(os.path.join(BUILD_DIR, "LICENSE*")))
93 src.extend(glob.glob(os.path.join(BUILD_DIR, "README")))
94 src.extend(glob.glob(os.path.join(BUILD_DIR, "*.TXT")))
95 src.extend(glob.glob(os.path.join(BUILD_DIR, "RELEASE_NOTES")))
96 src.extend(glob.glob(os.path.join(BUILD_DIR, "make.sh")))
97 src.extend(glob.glob(os.path.join(BUILD_DIR, "CMakeLists.txt")))
[all …]
/external/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')
/external/grpc-grpc/tools/mkowners/
Dmkowners.py81 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/grpc-grpc/src/benchmark/
Dgen_build_yaml.py19 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/llvm/test/Assembler/
DConstantExprNoFold.ll35 ; CHECK: @F = global i1 icmp eq (i32* @weakany, i32* @glob)
36 @F = global i1 icmp eq (i32* @weakany, i32* @glob)
45 ; Don't add an inbounds on @glob.a3, since it's not inbounds.
46 ; CHECK: @glob.a3 = alias i32, getelementptr (i32, i32* @glob.a2, i32 1)
47 @glob = global i32 0
48 @glob.a3 = alias i32, getelementptr (i32, i32* @glob.a2, i32 1)
49 @glob.a2 = alias i32, getelementptr (i32, i32* @glob.a1, i32 1)
50 @glob.a1 = alias i32, i32* @glob
/external/skqp/infra/bots/assets/chromebook_x86_64_gles/
Dcreate.py13 import glob
38 to_copy = glob.glob(os.path.join(gl_path,'libGL*'))
39 to_copy.extend(glob.glob(os.path.join(gl_path,'libEGL*')))
40 to_copy.extend(glob.glob(os.path.join(gl_path,'libdrm*')))
/external/skia/infra/bots/assets/chromebook_x86_64_gles/
Dcreate.py13 import glob
38 to_copy = glob.glob(os.path.join(gl_path,'libGL*'))
39 to_copy.extend(glob.glob(os.path.join(gl_path,'libEGL*')))
40 to_copy.extend(glob.glob(os.path.join(gl_path,'libdrm*')))
/external/skia/infra/bots/assets/chromebook_arm_gles/
Dcreate.py13 import glob
38 to_copy = glob.glob(os.path.join(gl_path,'libGL*'))
39 to_copy.extend(glob.glob(os.path.join(gl_path,'libEGL*')))
40 to_copy.extend(glob.glob(os.path.join(gl_path,'libmali*')))
/external/skqp/infra/bots/assets/chromebook_arm_gles/
Dcreate.py13 import glob
38 to_copy = glob.glob(os.path.join(gl_path,'libGL*'))
39 to_copy.extend(glob.glob(os.path.join(gl_path,'libEGL*')))
40 to_copy.extend(glob.glob(os.path.join(gl_path,'libmali*')))
/external/autotest/site_utils/
Djob_directories.py3 import glob
130 return [d for d in glob.glob(cls.GLOB_PATTERN) if os.path.isdir(d)]
171 for path in glob.glob(os.path.join(self.dirname, '*',
244 jobdirs = [d for d in glob.glob('swarming-[0-9a-f]*[1-9a-f]')
250 new_style_topdir = [d for d in glob.glob('swarming-[0-9a-f]*0')
253 subdirs = [d for d in glob.glob('%s/[1-9a-f]*' % topdir)
/external/python/dateutil/
Drelease.py5 import glob
35 for fpath in glob.glob('dist/*'):
40 for fpath in glob.glob('dist/*'):
66 dist_files = glob.glob('dist/*')
/external/tensorflow/tensorflow/python/debug/wrappers/
Ddumping_wrapper_test.py20 import glob
105 dump_dirs = glob.glob(os.path.join(self.session_root, "run_*"))
119 dump_dirs = glob.glob(os.path.join(self.session_root, "run_*"))
135 dump_dirs = glob.glob(os.path.join(self.session_root, "run_*"))
151 dump_dirs = glob.glob(os.path.join(self.session_root, "run_*"))
195 dump_dirs = glob.glob(os.path.join(self.session_root, "run_*"))
229 dump_dirs = glob.glob(os.path.join(self.session_root, "run_*"))
256 dump_dirs = glob.glob(os.path.join(self.session_root, "run_*"))
273 dump_dirs = glob.glob(os.path.join(self.session_root, "run_*"))
307 dump_dirs = glob.glob(os.path.join(self.session_root, "run_*"))
[all …]
/external/autotest/client/cros/camera/
Dcamera_utils.py5 import glob, os
16 glob.glob('/sys/bus/usb/drivers/uvcvideo/*/video4linux/video*')]
30 return glob.glob('/usr/lib*/camera_hal/*.so')
/external/compiler-rt/test/asan/TestCases/Posix/
Dinit-order-pthread-create.cc21 void *glob = bar((void*)0x1234, false); variable
25 void **glob = (void**)arg; in poll() local
28 printf("glob is now: %p\n", *glob); in poll()
38 pthread_create(&p, 0, poll, &glob); in GlobalPollerStarter()
45 printf("%p %p\n", glob, glob2); in main()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Assembler/
DConstantExprNoFold.ll35 ; CHECK: @F = global i1 icmp eq (i32* @weakany, i32* @glob)
36 @F = global i1 icmp eq (i32* @weakany, i32* @glob)
56 ; Don't add an inbounds on @glob.a3, since it's not inbounds.
57 ; CHECK: @glob.a3 = alias i32, getelementptr (i32, i32* @glob.a2, i32 1)
58 @glob = global i32 0
59 @glob.a3 = alias i32, getelementptr (i32, i32* @glob.a2, i32 1)
60 @glob.a2 = alias i32, getelementptr (i32, i32* @glob.a1, i32 1)
61 @glob.a1 = alias i32, i32* @glob
/external/toolchain-utils/automation/clients/report/dejagnu/
Dmain.py6 import glob
20 return chain.from_iterable(map(glob.glob, paths))
50 for filename in chain.from_iterable(map(glob.glob, args)):
102 for filename in chain.from_iterable(map(glob.glob, args))]
/external/swiftshader/third_party/subzero/pydir/
Dtargets.py4 import glob
15 return glob.glob(
19 globs = glob.glob('/usr/mipsel-linux-gnu/include/c++/*/mipsel-linux-gnu')
/external/deqp-deps/SPIRV-Tools/utils/
Dcheck_copyright.py70 for glob in skip_glob_dir_list:
71 for match in fnmatch.filter(dirs, glob):
80 def filtered_descendants(glob): argument
83 return find('.', glob, ['third_party', 'external', 'CompilerIdCXX',
103 def insert_copyright(author, glob, comment_prefix): argument
116 for file in filtered_descendants(glob):
155 def alert_if_no_copyright(glob, comment_prefix): argument
165 for file in filtered_descendants(glob):

12345678910>>...32