Searched refs:translate_pattern (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Lib/distutils/tests/ |
D | test_filelist.py | 8 from distutils.filelist import glob_to_re, translate_pattern, FileList 134 translate_pattern('a', anchor=True, is_regex=False), 140 translate_pattern(regex, anchor=True, is_regex=True), 145 translate_pattern('a', anchor=True, is_regex=True), 149 self.assertTrue(translate_pattern(
|
/external/python/cpython3/Lib/distutils/tests/ |
D | test_filelist.py | 8 from distutils.filelist import glob_to_re, translate_pattern, FileList 136 translate_pattern('a', anchor=True, is_regex=False), 142 translate_pattern(regex, anchor=True, is_regex=True), 147 translate_pattern('a', anchor=True, is_regex=True), 151 self.assertTrue(translate_pattern(
|
/external/python/cpython2/Lib/distutils/ |
D | filelist.py | 215 pattern_re = translate_pattern(pattern, anchor, prefix, is_regex) 241 pattern_re = translate_pattern(pattern, anchor, prefix, is_regex) 312 def translate_pattern(pattern, anchor=1, prefix=None, is_regex=0): function
|
/external/python/cpython3/Lib/distutils/ |
D | filelist.py | 207 pattern_re = translate_pattern(pattern, anchor, prefix, is_regex) 232 pattern_re = translate_pattern(pattern, anchor, prefix, is_regex) 293 def translate_pattern(pattern, anchor=1, prefix=None, is_regex=0): function
|
/external/python/setuptools/setuptools/command/ |
D | egg_info.py | 36 def translate_pattern(glob): function 409 match = translate_pattern(pattern) 426 match = translate_pattern(os.path.join(dir, '**', pattern)) 441 match = translate_pattern(os.path.join(dir, '**')) 451 match = translate_pattern(os.path.join('**', pattern)) 460 match = translate_pattern(os.path.join('**', pattern))
|
/external/python/setuptools/setuptools/tests/ |
D | test_manifest.py | 14 from setuptools.command.egg_info import FileList, egg_info, translate_pattern 152 assert translate_pattern(pattern).match(target) 157 assert not translate_pattern(pattern).match(target)
|