/external/deqp/scripts/verify/ |
D | package.py | 24 from fnmatch import fnmatch 59 if fnmatch(item, STATEMENT_PATTERN): 62 elif fnmatch(item, TEST_LOG_PATTERN): 64 elif fnmatch(item, GIT_STATUS_PATTERN): 66 elif fnmatch(item, GIT_LOG_PATTERN): 68 elif fnmatch(item, PATCH_PATTERN): 70 elif fnmatch(item, SUMMARY_PATTERN):
|
/external/python/cpython3/Lib/test/ |
D | test_tracemalloc.py | 710 def fnmatch(inclusive, filename, pattern): function 714 self.assertTrue(fnmatch(True, "abc", "abc")) 715 self.assertFalse(fnmatch(True, "12356", "abc")) 716 self.assertFalse(fnmatch(True, "<unknown>", "abc")) 718 self.assertFalse(fnmatch(False, "abc", "abc")) 719 self.assertTrue(fnmatch(False, "12356", "abc")) 720 self.assertTrue(fnmatch(False, "<unknown>", "abc")) 723 def fnmatch(filename, pattern): function 728 self.assertFalse(fnmatch('abc', '')) 729 self.assertFalse(fnmatch('', 'abc')) [all …]
|
D | test_fnmatch.py | 7 from fnmatch import fnmatch, fnmatchcase, translate, filter 11 def check_match(self, filename, pattern, should_match=True, fn=fnmatch): 49 self.assertRaises(TypeError, fnmatch, 'test', b'*') 50 self.assertRaises(TypeError, fnmatch, b'test', '*')
|
/external/python/cpython2/Doc/library/ |
D | fnmatch.rst | 1 :mod:`fnmatch` --- Unix filename pattern matching 4 .. module:: fnmatch 12 **Source code:** :source:`Lib/fnmatch.py` 39 :func:`fnmatch` to match pathname segments). Similarly, filenames starting with 44 .. function:: fnmatch(filename, pattern) 55 import fnmatch 59 if fnmatch.fnmatch(file, '*.txt'): 73 ``[n for n in names if fnmatch(n, pattern)]``, but implemented more efficiently. 85 >>> import fnmatch, re 87 >>> regex = fnmatch.translate('*.txt')
|
D | glob.rst | 18 the :func:`os.listdir` and :func:`fnmatch.fnmatch` functions in concert, and 19 not by actually invoking a subshell. Note that unlike :func:`fnmatch.fnmatch`, 69 Module :mod:`fnmatch`
|
/external/skqp/tools/ |
D | check-headers-self-sufficient | 8 import fnmatch 127 args = ([] if fnmatch.fnmatch(header, 'include/c/*') else 128 public_header_args if fnmatch.fnmatch(header, 'include/*') else 173 and not any(fnmatch.fnmatch(path, pattern) for pattern in ignore)]
|
/external/python/cpython3/Doc/library/ |
D | fnmatch.rst | 1 :mod:`fnmatch` --- Unix filename pattern matching 4 .. module:: fnmatch 7 **Source code:** :source:`Lib/fnmatch.py` 50 .. function:: fnmatch(filename, pattern) 61 import fnmatch 65 if fnmatch.fnmatch(file, '*.txt'): 79 ``[n for n in names if fnmatch(n, pattern)]``, but implemented more efficiently. 89 >>> import fnmatch, re 91 >>> regex = fnmatch.translate('*.txt')
|
/external/deqp/scripts/ |
D | list_test_changes.py | 29 import fnmatch 72 if fnmatch.fnmatch(xs, y): 74 if fnmatch.fnmatch(y, xs):
|
D | update-copyright-year.py | 27 import fnmatch 35 if fnmatch.fnmatch(filename, pattern):
|
D | check_resolution_list.py | 25 from fnmatch import fnmatch 58 if fnmatch(case, pattern):
|
D | gen_android_bp.py | 25 from fnmatch import fnmatch 76 if fnmatch(filename, ptrn):
|
/external/u-boot/tools/ |
D | genboardscfg.py | 18 import fnmatch 75 for filename in fnmatch.filter(filenames, '*_defconfig'): 76 if fnmatch.fnmatch(filename, '.*'): 84 if (fnmatch.fnmatch(filename, '*~') or 85 not fnmatch.fnmatch(filename, 'Kconfig*') and 232 for filename in fnmatch.filter(filenames, '*_defconfig'): 233 if fnmatch.fnmatch(filename, '.*'):
|
/external/toolchain-utils/deprecated/automation/common/ |
D | machine.py | 5 from fnmatch import fnmatch 64 return all([not machine.locked, fnmatch(machine.hostname, self.hostname), 65 fnmatch(machine.label, self.label), fnmatch(machine.os,
|
/external/linux-kselftest/tools/testing/selftests/ia64/ |
D | aliasing-test.c | 36 if (fnmatch("/proc/bus/pci/*", path, 0) == 0) { in map_mem() 78 if (fnmatch(".", name, 0) == 0) in scan_tree() 80 if (fnmatch("..", name, 0) == 0) in scan_tree() 88 if (fnmatch(file, name, 0) == 0) { in scan_tree() 163 if (fnmatch(".", name, 0) == 0) in scan_rom() 165 if (fnmatch("..", name, 0) == 0) in scan_rom() 173 if (fnmatch(file, name, 0) == 0) { in scan_rom()
|
/external/bcc/tools/ |
D | tplist.py | 11 import fnmatch 51 if not args.filter or fnmatch.fnmatch(tpoint, args.filter): 91 if not args.filter or fnmatch.fnmatch(probe_name, args.filter):
|
/external/python/pycparser/ |
D | _clean_tables.py | 4 import fnmatch 15 if fnmatch.fnmatch(file, pattern):
|
/external/deqp/scripts/src_util/ |
D | check_license.py | 25 from fnmatch import fnmatch 73 if fnmatch(file, ptrn):
|
/external/jsoncpp/scons-tools/ |
D | globtool.py | 1 import fnmatch 24 if fnmatch.fnmatchcase( fn, include ): 29 if fnmatch.fnmatchcase( fn, exclude ):
|
D | srcdist.py | 3 from fnmatch import fnmatch
|
/external/vixl/tools/ |
D | lint.py | 30 import fnmatch 220 fnmatch.fnmatch(f, os.path.join(relative_aarch32_traces_path, '*.h')) or \ 221 fnmatch.fnmatch(f, os.path.join(relative_aarch64_traces_path, '*.h'))
|
/external/perfetto/gn/standalone/ |
D | glob.py | 25 import fnmatch 72 if fnmatch.fnmatch(fpath, filter):
|
/external/tensorflow/tensorflow/tools/pip_package/ |
D | setup.py | 32 import fnmatch 227 for filename in fnmatch.filter(files, pattern): 233 if os.path.isdir(i) and fnmatch.fnmatch(i, '_solib_*')
|
/external/deqp-deps/amber/tools/ |
D | copyright.py | 27 import fnmatch 56 for match in fnmatch.filter(dirs, glob): 58 for filename in fnmatch.filter(files, filename_glob):
|
/external/python/cpython2/Tools/scripts/ |
D | xxci.py | 10 import fnmatch 62 if fnmatch.fnmatch(file, p): return 1
|
/external/chromium-trace/catapult/systrace/systrace/ |
D | AUTHORS | 7 # Organization <fnmatch pattern> 9 # See python fnmatch module documentation for more information.
|