Home
last modified time | relevance | path

Searched refs:fnmatchcase (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_fnmatch.py7 from fnmatch import (fnmatch, fnmatchcase, translate, filter,
57 check('test', u'*', fn=fnmatchcase)
58 check(u'test', '*', fn=fnmatchcase)
62 check('test\xff', u'*\xff', fn=fnmatchcase)
63 check(u'test\xff', '*\xff', fn=fnmatchcase)
67 check('abc', 'abc', True, fnmatchcase)
68 check('AbC', 'abc', False, fnmatchcase)
69 check('abc', 'AbC', False, fnmatchcase)
70 check('AbC', 'AbC', True, fnmatchcase)
72 check('usr/bin', 'usr/bin', True, fnmatchcase)
[all …]
/external/python/cpython3/Lib/test/
Dtest_fnmatch.py7 from fnmatch import fnmatch, fnmatchcase, translate, filter
51 self.assertRaises(TypeError, fnmatchcase, 'test', b'*')
52 self.assertRaises(TypeError, fnmatchcase, b'test', '*')
56 check('abc', 'abc', True, fnmatchcase)
57 check('AbC', 'abc', False, fnmatchcase)
58 check('abc', 'AbC', False, fnmatchcase)
59 check('AbC', 'AbC', True, fnmatchcase)
61 check('usr/bin', 'usr/bin', True, fnmatchcase)
62 check('usr\\bin', 'usr/bin', False, fnmatchcase)
63 check('usr/bin', 'usr\\bin', False, fnmatchcase)
[all …]
/external/jsoncpp/scons-tools/
Dglobtool.py24 if fnmatch.fnmatchcase( fn, include ):
29 if fnmatch.fnmatchcase( fn, exclude ):
/external/python/cpython2/Lib/
Dfnmatch.py43 return fnmatchcase(name, pat)
69 def fnmatchcase(name, pat): function
/external/python/cpython3/Lib/
Dfnmatch.py36 return fnmatchcase(name, pat)
64 def fnmatchcase(name, pat): function
Dpathlib.py954 if not fnmatch.fnmatchcase(part, pat):
/external/python/setuptools/setuptools/
D__init__.py8 from fnmatch import fnmatchcase
101 return lambda name: any(fnmatchcase(name, pat=pat) for pat in patterns)
/external/python/cpython2/Doc/library/
Dfnmatch.rst48 using :func:`os.path.normcase`. :func:`fnmatchcase` can be used to perform a
63 .. function:: fnmatchcase(filename, pattern)
/external/python/cpython3/Doc/library/
Dfnmatch.rst54 using :func:`os.path.normcase`. :func:`fnmatchcase` can be used to perform a
69 .. function:: fnmatchcase(filename, pattern)
Dunittest.rst229 test name using :meth:`fnmatch.fnmatchcase`; otherwise simple case-sensitive
1780 Note that matches are always performed using :meth:`fnmatch.fnmatchcase`,
/external/python/cpython2/Lib/ctypes/test/
D__init__.py53 if fnmatch.fnmatchcase(fnm, mask):
58 if fnmatch.fnmatchcase(fnm, mask):
/external/python/cpython3/Lib/unittest/
Dloader.py11 from fnmatch import fnmatch, fnmatchcase
236 any(fnmatchcase(fullName, pattern) for pattern in self.testNamePatterns)
/external/python/cpython2/Tools/bgen/bgen/
Dscantools.py686 if not fnmatch.fnmatchcase(functionname, functionpat):
706 return len(filter(None, map(fnmatch.fnmatchcase, arg, patarg))) == 3