Home
last modified time | relevance | path

Searched refs:translate_pattern (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Lib/distutils/tests/
Dtest_filelist.py8 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/
Dtest_filelist.py8 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/
Dfilelist.py215 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/
Dfilelist.py207 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/
Degg_info.py36 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/
Dtest_manifest.py14 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)