Home
last modified time | relevance | path

Searched refs:morf (Results 1 – 5 of 5) sorted by relevance

/external/autotest/contrib/
Dcoverage.py565 def morf_filename(self, morf): argument
566 if isinstance(morf, types.ModuleType):
567 if not hasattr(morf, '__file__'):
569 f = morf.__file__
571 f = morf
582 def analyze_morf(self, morf): argument
583 if self.analysis_cache.has_key(morf):
584 return self.analysis_cache[morf]
585 filename = self.morf_filename(morf)
605 self.analysis_cache[morf] = result
[all …]
/external/chromium-trace/catapult/third_party/coverage/coverage/
Dpython.py90 def __init__(self, morf, coverage=None): argument
93 if hasattr(morf, '__file__'):
94 filename = morf.__file__
96 filename = morf
108 if hasattr(morf, '__name__'):
109 name = morf.__name__
Dcontrol.py358 def _canonical_dir(self, morf): argument
360 morf_filename = PythonFileReporter(morf, self).filename
849 def analysis(self, morf): argument
851 f, s, _, m, mf = self.analysis2(morf)
854 def analysis2(self, morf): argument
872 analysis = self._analyze(morf)
893 def _get_file_reporter(self, morf): argument
898 if isinstance(morf, string_class):
899 abs_morf = abs_file(morf)
909 plugin._coverage_plugin_name, morf
[all …]
/external/chromium-trace/catapult/third_party/coverage/
DTODO.txt152 - Why can't a morf also be a string, the name of a module?
DCHANGES.rst1355 morf's being instances of ModuleType, instead use duck typing so that