/external/python/cpython2/Lib/unittest/ |
D | loader.py | 145 def discover(self, start_dir, pattern='test*.py', top_level_dir=None): argument 172 top_level_dir = start_dir 185 if os.path.isdir(os.path.abspath(start_dir)): 186 start_dir = os.path.abspath(start_dir) 187 if start_dir != top_level_dir: 188 is_not_importable = not os.path.isfile(os.path.join(start_dir, '__init__.py')) 192 __import__(start_dir) 196 the_module = sys.modules[start_dir] 197 top_part = start_dir.split('.')[0] 198 start_dir = os.path.abspath(os.path.dirname((the_module.__file__))) [all …]
|
D | main.py | 209 start_dir = options.start 214 self.test = loader.discover(start_dir, pattern, top_level_dir)
|
/external/python/cpython3/Lib/unittest/ |
D | loader.py | 242 def discover(self, start_dir, pattern='test*.py', top_level_dir=None): argument 276 top_level_dir = start_dir 291 if os.path.isdir(os.path.abspath(start_dir)): 292 start_dir = os.path.abspath(start_dir) 293 if start_dir != top_level_dir: 294 is_not_importable = not os.path.isfile(os.path.join(start_dir, '__init__.py')) 298 __import__(start_dir) 302 the_module = sys.modules[start_dir] 303 top_part = start_dir.split('.')[0] 305 start_dir = os.path.abspath( [all …]
|
D | __init__.py | 78 return loader.discover(start_dir=this_dir, pattern=pattern)
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | discover.py | 15 def DiscoverModules(start_dir, top_level_dir, pattern='*'): argument 27 start_dir = os.path.realpath(start_dir) 31 sub_paths = list(os.walk(start_dir)) 76 def DiscoverClasses(start_dir, argument 99 modules = DiscoverModules(start_dir, top_level_dir, pattern)
|
/external/python/cpython2/Lib/unittest/test/ |
D | test_discovery.py | 165 def _find_tests(start_dir, pattern): argument 166 _find_tests_args.append((start_dir, pattern)) 174 start_dir = os.path.abspath('/foo/bar/baz') 177 self.assertEqual(_find_tests_args, [(start_dir, 'pattern')]) 236 def discover(self, start_dir, pattern, top_level_dir): argument 237 self.args.append((start_dir, pattern, top_level_dir)) 249 def discover(self, start_dir, pattern, top_level_dir): argument 250 self.args.append((start_dir, pattern, top_level_dir)) 357 start_dir='foo', pattern='foo.py' 379 loader.discover(start_dir='foo', pattern='foo.py') [all …]
|
D | test_program.py | 18 def _find_tests(start_dir, pattern): argument 20 self.assertEqual(start_dir, expectedPath)
|
/external/python/cpython3/Lib/unittest/test/ |
D | test_discovery.py | 335 start_dir=this_dir, pattern=pattern) 398 def _find_tests(start_dir, pattern, namespace=None): argument 399 _find_tests_args.append((start_dir, pattern)) 407 start_dir = os.path.abspath('/foo/bar/baz') 410 self.assertEqual(_find_tests_args, [(start_dir, 'pattern')]) 636 def discover(self, start_dir, pattern, top_level_dir): argument 637 self.args.append((start_dir, pattern, top_level_dir)) 649 def discover(self, start_dir, pattern, top_level_dir): argument 650 self.args.append((start_dir, pattern, top_level_dir)) 757 start_dir='foo', pattern='foo.py' [all …]
|
D | __main__.py | 11 package_tests = loader.discover(start_dir=this_dir, pattern=pattern,
|
D | test_program.py | 20 def _find_tests(start_dir, pattern): argument 22 self.assertEqual(start_dir, expectedPath)
|
/external/ltp/lib/tests/ |
D | tst_tmpdir_test.c | 52 char *start_dir = getcwd(NULL, PATH_MAX); in main() local 62 strcmp(tmp_dir, start_dir) != 0) { in main()
|
/external/autotest/tko/ |
D | utils.py | 27 def find_toplevel_job_dir(start_dir): argument 34 job_dir = start_dir
|
/external/python/cpython3/Lib/ |
D | zipfile.py | 1122 self._zipfile.start_dir = self._fileobj.tell() 1135 self._zipfile.start_dir = self._fileobj.tell() 1138 self._fileobj.seek(self._zipfile.start_dir) 1228 self.start_dir = self.fp.tell() 1231 self.start_dir = 0 1236 self.fp.seek(self.start_dir) 1244 self.fp.seek(self.start_dir) 1252 self.start_dir = self.fp.tell() 1306 self.start_dir = offset_cd + concat 1307 fp.seek(self.start_dir, 0) [all …]
|
/external/python/cpython2/Lib/idlelib/idle_test/ |
D | __init__.py | 12 package_tests = loader.discover(start_dir=this_dir, pattern='test*.py',
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | __init__.py | 14 package_tests = loader.discover(start_dir=this_dir, pattern='test*.py',
|
/external/python/mock/mock/tests/ |
D | __main__.py | 11 package_tests = loader.discover(start_dir=this_dir, pattern=pattern,
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | __main__.py | 11 package_tests = loader.discover(start_dir=this_dir, pattern=pattern,
|
/external/pdfium/core/fxge/ |
D | cfx_pathdata.cpp | 77 int start_dir = mid_pos.y > start_pos.y ? 1 : -1; in UpdateLineJoinPoints() local 78 float point_y = mid_pos.y + half_width * start_dir; in UpdateLineJoinPoints() 132 int start_dir = mid_pos.x > start_pos.x ? 1 : -1; in UpdateLineJoinPoints() local 134 if (start_dir == end_dir) in UpdateLineJoinPoints()
|
/external/ltp/lib/ |
D | tst_test.c | 952 const char *start_dir; in add_paths() local 955 start_dir = tst_get_startwd(); in add_paths() 958 SAFE_ASPRINTF(&new_path, "%s::%s", old_path, start_dir); in add_paths() 960 SAFE_ASPRINTF(&new_path, "::%s", start_dir); in add_paths()
|
/external/python/cpython2/Lib/ |
D | zipfile.py | 780 self.fp.seek(self.start_dir, 0) 828 self.start_dir = offset_cd + concat 829 fp.seek(self.start_dir, 0)
|
D | htmllib.py | 312 def start_dir(self, attrs): member in HTMLParser
|
/external/chromium-trace/catapult/third_party/zipfile/ |
D | zipfile_2_7_13.py | 781 self.fp.seek(self.start_dir, 0) 831 self.start_dir = offset_cd + self._start_disk 832 fp.seek(self.start_dir, 0)
|
/external/python/cpython2/Doc/library/ |
D | unittest.rst | 1505 .. method:: discover(start_dir, pattern='test*.py', top_level_dir=None) 1533 *start_dir* can be a dotted module name as well as a directory. 1901 package_tests = loader.discover(start_dir=this_dir, pattern=pattern)
|
/external/python/cpython3/Doc/library/ |
D | unittest.rst | 1694 .. method:: discover(start_dir, pattern='test*.py', top_level_dir=None) 1728 *start_dir* can be a dotted module name as well as a directory. 2181 package_tests = loader.discover(start_dir=this_dir, pattern=pattern)
|
/external/python/cpython3/Lib/test/support/ |
D | __init__.py | 216 package_tests = loader.discover(start_dir=pkg_dir,
|