/external/python/cpython3/Lib/test/ |
test_fnmatch.py | 7 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...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_fnmatch.py | 6 from fnmatch import fnmatch, fnmatchcase, _MAXCACHE, _cache
7 from fnmatch import fnmatch, fnmatchcase, _MAXCACHE, _cache, _purge
54 check('AbC', 'abc', 0, fnmatchcase)
55 check('abc', 'AbC', 0, fnmatchcase)
|
/external/python/cpython2/Lib/test/ |
test_fnmatch.py | 7 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...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
fnmatch.py | 4 fnmatchcase(FILENAME, PATTERN) always takes case in account.
15 __all__ = ["filter", "fnmatch", "fnmatchcase", "translate"]
37 If you don't want this, use fnmatchcase(FILENAME, PATTERN).
43 return fnmatchcase(name, pat)
69 def fnmatchcase(name, pat):
function
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
fnmatch.py | 4 fnmatchcase(FILENAME, PATTERN) always takes case in account.
15 __all__ = ["filter", "fnmatch", "fnmatchcase", "translate"]
37 If you don't want this, use fnmatchcase(FILENAME, PATTERN).
43 return fnmatchcase(name, pat)
67 def fnmatchcase(name, pat):
function
|
/external/python/cpython2/Lib/ |
fnmatch.py | 4 fnmatchcase(FILENAME, PATTERN) always takes case in account. 15 __all__ = ["filter", "fnmatch", "fnmatchcase", "translate"] 37 If you don't want this, use fnmatchcase(FILENAME, PATTERN). 43 return fnmatchcase(name, pat) 69 def fnmatchcase(name, pat): function
|
/external/python/cpython3/Lib/ |
fnmatch.py | 4 fnmatchcase(FILENAME, PATTERN) always takes case in account. 17 __all__ = ["filter", "fnmatch", "fnmatchcase", "translate"] 32 If you don't want this, use fnmatchcase(FILENAME, PATTERN). 36 return fnmatchcase(name, pat) 64 def fnmatchcase(name, pat): function
|
pathlib.py | 954 if not fnmatch.fnmatchcase(part, pat): [all...] |
/external/python/setuptools/setuptools/ |
__init__.py | 8 from fnmatch import fnmatchcase 101 return lambda name: any(fnmatchcase(name, pat=pat) for pat in patterns)
|
/external/python/cpython2/Lib/ctypes/test/ |
__init__.py | 53 if fnmatch.fnmatchcase(fnm, mask): 58 if fnmatch.fnmatchcase(fnm, mask):
|
/external/python/cpython3/Lib/unittest/ |
loader.py | 11 from fnmatch import fnmatch, fnmatchcase 236 any(fnmatchcase(fullName, pattern) for pattern in self.testNamePatterns)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/ |
scantools.py | 686 if not fnmatch.fnmatchcase(functionname, functionpat):
706 return len(filter(None, map(fnmatch.fnmatchcase, arg, patarg))) == 3
|
/external/python/cpython2/Tools/bgen/bgen/ |
scantools.py | 686 if not fnmatch.fnmatchcase(functionname, functionpat): 706 return len(filter(None, map(fnmatch.fnmatchcase, arg, patarg))) == 3
|