Home | History | Annotate | Download | only in functional

Lines Matching defs:Path

58 _CHROME_BASE_DIR = os.path.abspath(os.path.join(
59 os.path.dirname(__file__), os.pardir, os.pardir, os.pardir, os.pardir))
63 """Convert a path relative to the Chromium root into an OS-specific path.
66 posix_path: a path string that may be a format().
72 an absolute path in the current Chromium tree with formatting applied.
76 return os.path.join(_CHROME_BASE_DIR, *path_parts)
127 if not os.path.exists(self._local_perf_dir):
313 revision_num_file = os.path.join(self._local_perf_dir, 'last_revision.dat')
314 if os.path.exists(revision_num_file):
326 graphs_file = os.path.join(self._local_perf_dir, 'graphs.dat')
327 if os.path.exists(graphs_file):
350 data_file = os.path.join(self._local_perf_dir, graph_name + '-summary.dat')
351 if os.path.exists(data_file):
504 revision_num_file = os.path.join(self._local_perf_dir, 'last_revision.dat')
505 if os.path.exists(revision_num_file):
516 data_file = os.path.join(self._local_perf_dir, '_EVENT_-summary.dat')
517 if os.path.exists(data_file):
653 config_file = os.path.join(os.path.dirname(__file__), 'perf.cfg')
660 if os.path.exists(config_file):
685 private_file = os.path.join(pyauto.PyUITest.DataDir(), 'pyauto_private',
687 config_file = os.path.join(os.path.dirname(__file__), 'perf.cfg')
695 os.path.join(os.path.dirname(__file__), 'perf.cfg'))
696 elif os.path.exists(private_file):
784 os.path.exists(os.path.join(self.ContentDataDir(), 'plugin',
1397 self._gpu_info_dict = self.EvalDataFrom(os.path.join(self.DataDir(),
1639 if os.path.isdir(download_dir):
1649 directory: A string directory path.
1654 if os.path.isdir(directory):
1655 downloads_to_remove = [os.path.join(directory, name)
1757 scroll_file = os.path.join(self.DataDir(), 'scroll', 'scroll.js')
1843 sites_path = PageCyclerReplay.Path('page_sets', test_name=test_name)
2072 DATA_PATH = os.path.abspath(
2073 os.path.join(BasePerfTest.DataDir(), os.pardir, os.pardir,
2083 return os.path.join(cls.DATA_PATH, subdir)
2242 with open(os.path.join(dirname, rfile)) as fp:
2329 def Path(cls, key, **kwargs):
2334 archive_path = cls.Path('archive', test_name=test_name)
2353 flags.append('--load-extension=%s' % PageCyclerReplay.Path('extension'))
2358 start_path = PageCyclerReplay.Path('start_page')
2520 with open(os.path.join(self.server.docroot, filename), 'wb') as f:
2540 os.remove(os.path.join(self.server.docroot, filename))
2630 def translate_path(self, path):
2635 path = urlparse.urlparse(path)[2]
2636 path = posixpath.normpath(urllib.unquote(path))
2637 words = path.split('/')
2639 path = self.server.docroot
2641 _, word = os.path.splitdrive(word)
2642 _, word = os.path.split(word)
2645 path = os.path.join(path, word)
2646 return path
2653 split_url = urlparse.urlsplit(self.path)
2670 path = urlparse.urlparse(self.path)[2]
2671 if path.startswith('/'):
2672 path = path[1:]
2673 if path in self.POST_REQUEST_HANDLERS:
2674 self.POST_REQUEST_HANDLERS[path](self, form)
2679 self.wfile.write('No handler for POST request "%s".' % path)