/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 | 689 def fnmatch(inclusive, filename, pattern): function 693 self.assertTrue(fnmatch(True, "abc", "abc")) 694 self.assertFalse(fnmatch(True, "12356", "abc")) 695 self.assertFalse(fnmatch(True, "<unknown>", "abc")) 697 self.assertFalse(fnmatch(False, "abc", "abc")) 698 self.assertTrue(fnmatch(False, "12356", "abc")) 699 self.assertTrue(fnmatch(False, "<unknown>", "abc")) 702 def fnmatch(filename, pattern): function 707 self.assertFalse(fnmatch('abc', '')) 708 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/skia/tools/ |
D | check-headers-self-sufficient | 8 import fnmatch 126 args = ([] if fnmatch.fnmatch(header, 'include/c/*') else 127 public_header_args if fnmatch.fnmatch(header, 'include/*') else 172 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/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 236 for filename in fnmatch.filter(filenames, '*_defconfig'): 237 if fnmatch.fnmatch(filename, '.*'):
|
/external/linux-kselftest/tools/testing/selftests/ia64/ |
D | aliasing-test.c | 39 if (fnmatch("/proc/bus/pci/*", path, 0) == 0) { in map_mem() 81 if (fnmatch(".", name, 0) == 0) in scan_tree() 83 if (fnmatch("..", name, 0) == 0) in scan_tree() 91 if (fnmatch(file, name, 0) == 0) { in scan_tree() 166 if (fnmatch(".", name, 0) == 0) in scan_rom() 168 if (fnmatch("..", name, 0) == 0) in scan_rom() 176 if (fnmatch(file, name, 0) == 0) { in scan_rom()
|
/external/toolchain-utils/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/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/deqp/scripts/ |
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 75 if fnmatch(filename, ptrn):
|
/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/perfetto/gn/standalone/ |
D | glob.py | 26 import fnmatch 61 if fnmatch.fnmatch(fpath, filter):
|
/external/vixl/tools/ |
D | lint.py | 30 import fnmatch 233 fnmatch.fnmatch(f, os.path.join(relative_aarch32_traces_path, '*.h')) or \ 234 fnmatch.fnmatch(f, os.path.join(relative_aarch64_traces_path, '*.h'))
|
/external/v8/tools/testrunner/testproc/ |
D | filter.py | 6 import fnmatch 80 if fnmatch.fnmatch(test.path, g):
|
/external/autotest/client/site_tests/video_VideoSeek/ |
D | video_VideoSeek.py | 5 import fnmatch 40 if ((entry[0] is None or fnmatch.fnmatch(board, entry[0])) and
|
/external/tensorflow/tensorflow/tools/pip_package/ |
D | setup.py | 32 import fnmatch 215 for filename in fnmatch.filter(files, pattern): 221 if os.path.isdir(i) and fnmatch.fnmatch(i, '_solib_*')
|
/external/python/cpython2/Demo/pdist/ |
D | FSProxy.py | 21 import fnmatch 24 import fnmatch 76 if fnmatch.fnmatch(name, ign): return 0 109 return fnmatch.fnmatch(name, pat)
|
/external/python/cpython2/Tools/scripts/ |
D | xxci.py | 10 import fnmatch 62 if fnmatch.fnmatch(file, p): return 1
|