Home
last modified time | relevance | path

Searched refs:base_dir (Results 1 – 25 of 72) sorted by relevance

123

/external/chromium-trace/catapult/telemetry/telemetry/page/
Dpage_unittest.py21 None, base_dir='basedir')
26 None, base_dir='basedir')
31 None, base_dir='basedir')
36 None, base_dir='basedir')
42 None, base_dir='basedir')
48 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
50 page.Page('http://www.foo.com/', story_set, story_set.base_dir))
52 page.Page('http://www.bar.com/', story_set, story_set.base_dir))
59 base_dir = os.path.dirname(__file__)
61 os.path.dirname(base_dir), 'otherdir', 'file.html')
[all …]
Dpage_run_end_to_end_unittest.py146 'file://blank.html', story_set, base_dir=util.GetUnittestDataDir()))
148 'file://blank.html', story_set, base_dir=util.GetUnittestDataDir()))
150 'file://blank.html', story_set, base_dir=util.GetUnittestDataDir()))
186 'file://blank.html', story_set, base_dir=util.GetUnittestDataDir()))
188 'file://blank.html', story_set, base_dir=util.GetUnittestDataDir()))
237 'file://blank.html', story_set, base_dir=util.GetUnittestDataDir(),
272 'file://blank.html', story_set, base_dir=util.GetUnittestDataDir(),
303 'file://blank.html', story_set, base_dir=util.GetUnittestDataDir())
328 'file://blank.html', story_set, base_dir=util.GetUnittestDataDir())
353 'file://blank.html', story_set, base_dir=util.GetUnittestDataDir())
[all …]
D__init__.py18 def __init__(self, url, page_set=None, base_dir=None, name='', argument
33 if base_dir is None:
34 base_dir = os.path.dirname(inspect.getfile(self.__class__))
35 self._base_dir = base_dir
171 def base_dir(self): member in Page
/external/v8/tools/release/
Dtest_mergeinfo.py20 base_dir = TEST_CONFIG["GIT_REPO"] variable in TestMergeInfo
24 fullCommand = ["git", "-C", self.base_dir] + git_args
34 if path.exists(self.base_dir):
35 shutil.rmtree(self.base_dir)
37 check_call(["git", "init", self.base_dir])
45 if path.exists(self.base_dir):
46 shutil.rmtree(self.base_dir)
78 self.base_dir,
90 self.base_dir,
110 self.base_dir,
[all …]
Dtest_search_related_commits.py20 base_dir = TEST_CONFIG["GIT_REPO"] variable in TestSearchRelatedCommits
24 fullCommand = ["git", "-C", self.base_dir] + git_args
34 if path.exists(self.base_dir):
35 shutil.rmtree(self.base_dir)
37 check_call(["git", "init", self.base_dir])
60 if path.exists(self.base_dir):
61 shutil.rmtree(self.base_dir)
102 self.base_dir, hash_of_first_commit, "HEAD", None)
122 self.base_dir, hash_of_first_commit, "HEAD", None)
146 self.base_dir,
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/story/
Dstory_set.py20 base_dir=None, serving_dirs=None): argument
39 if base_dir:
40 if not os.path.isdir(base_dir):
41 raise ValueError('Invalid directory path of base_dir: %s' % base_dir)
42 self._base_dir = base_dir
46 self._serving_dirs = set(os.path.realpath(os.path.join(self.base_dir, d))
68 def base_dir(self): member in StorySet
96 os.path.join(self.base_dir, self.archive_data_file), self.bucket)
Dstory_set_unittest.py39 base_dir = story_set.base_dir
40 self.assertTrue(os.path.isdir(base_dir))
41 self.assertEqual(base_dir, os.path.dirname(__file__))
/external/jsoncpp/devtools/
Dtarball.py7 def make_tarball(tarball_path, sources, base_dir, prefix_dir=''): argument
16 base_dir = os.path.normpath( os.path.abspath( base_dir ) )
20 common_path = os.path.commonprefix( (base_dir, path) )
44 def decompress( tarball_path, base_dir ): argument
51 tar.extractall( base_dir )
/external/chromium-trace/catapult/telemetry/telemetry/testing/
Dpage_test_test_case.py21 def __init__(self, url, story_set, base_dir): argument
22 super(BasicTestPage, self).__init__(url, story_set, base_dir)
39 page = BasicTestPage('file://' + test_filename, ps, base_dir=ps.base_dir)
44 base_dir = util.GetUnittestDataDir()
45 ps = story.StorySet(base_dir=base_dir)
Dstory_set_smoke_test.py39 archive_data_file_path = os.path.join(story_set.base_dir,
61 os.path.join(story.base_dir, story.credentials_path))
79 if story_set.base_dir is not None:
81 isinstance(story_set.base_dir, str),
/external/autotest/client/cros/
Dcros_disks.py402 def create(self, base_dir): argument
411 if not self._create(base_dir):
413 os.path.join(base_dir, self._path))
417 def verify(self, base_dir): argument
428 if not self._verify(base_dir):
430 os.path.join(base_dir, self._path))
434 def _create(self, base_dir): argument
437 def _verify(self, base_dir): argument
448 def _create(self, base_dir): argument
449 path = os.path.join(base_dir, self._path) if self._path else base_dir
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/
Drecord_wpr.py68 def _GetSubclasses(base_dir, cls): argument
77 return discover.DiscoverClasses(base_dir, base_dir, cls,
81 def _MaybeGetInstanceOfClass(target, base_dir, cls): argument
84 classes = _GetSubclasses(base_dir, cls)
96 def _PrintAllBenchmarks(base_dir, output_stream): argument
100 _PrintAllImpl(_GetSubclasses(base_dir, benchmark.Benchmark), 'benchmarks',
104 def _PrintAllStories(base_dir, output_stream): argument
107 _PrintAllImpl(_GetSubclasses(base_dir, story.StorySet), 'story sets',
121 def __init__(self, base_dir, target, args=None): argument
122 self._base_dir = base_dir
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod/
Dsetup.py6 base_dir = 'python2' variable
8 base_dir = 'python3' variable
20 'crcmod' : os.path.join(base_dir,'crcmod'),
24 Extension('crcmod._crcfunext', [os.path.join(base_dir,'src/_crcfunext.c'), ],
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/
Dtimeline_based_page_test_unittest.py16 def __init__(self, ps, base_dir, trigger_animation=False, argument
20 'file://interaction_enabled_page.html', ps, base_dir)
56 ps, ps.base_dir, trigger_animation=True))
75 ps, ps.base_dir, trigger_animation=True))
102 ps, ps.base_dir, trigger_jank=True))
127 ps, ps.base_dir, trigger_scroll_gesture=True))
141 ps.AddStory(TestTimelinebasedMeasurementPage(ps, ps.base_dir))
Dsmooth_gesture_util_unittest.py100 def __init__(self, url, page_set, base_dir): argument
101 super(ScrollingPage, self).__init__(url, page_set, base_dir)
121 'file://scrollable_page.html', ps, base_dir=ps.base_dir))
/external/zlib/
Dupdate_zlib.sh9 base_dir=$(realpath $(dirname $0))
24 src_dir=$base_dir/src
28 cd $base_dir
/external/pdfium/testing/tools/
Dcommon.py83 self.base_dir = self.pdfium_dir
84 one_up_dir = os.path.dirname(self.base_dir)
88 self.base_dir = two_up_dir
89 self.build_dir = os.path.join(self.base_dir, build_location)
/external/chromium-trace/catapult/telemetry/telemetry/value/
Dhistogram_unittest.py16 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
18 page_module.Page("http://www.bar.com/", story_set, story_set.base_dir))
20 page_module.Page("http://www.baz.com/", story_set, story_set.base_dir))
22 page_module.Page("http://www.foo.com/", story_set, story_set.base_dir))
Dtrace_unittest.py20 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
22 page_module.Page('http://www.bar.com/', story_set, story_set.base_dir))
24 page_module.Page('http://www.baz.com/', story_set, story_set.base_dir))
26 page_module.Page('http://www.foo.com/', story_set, story_set.base_dir))
/external/chromium-trace/catapult/telemetry/telemetry/internal/results/
Dgtest_progress_reporter_unittest.py20 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
22 page_module.Page('http://www.foo.com/', story_set, story_set.base_dir))
24 page_module.Page('http://www.bar.com/', story_set, story_set.base_dir))
26 page_module.Page('http://www.baz.com/', story_set, story_set.base_dir))
28 page_module.Page('http://www.roz.com/', story_set, story_set.base_dir))
Dhtml_output_formatter_unittest.py19 story_set = story.StorySet(base_dir=os.path.dirname(__file__))
21 page_module.Page('http://www.foo.com/', story_set, story_set.base_dir))
23 page_module.Page('http://www.bar.com/', story_set, story_set.base_dir))
25 page_module.Page('http://www.baz.com/', story_set, story_set.base_dir))
/external/autotest/client/tests/kvm/
Dget_started.py73 base_dir = "/tmp/kvm_autotest_root" variable
76 sub_dir_path = os.path.join(base_dir, sub_dir)
107 destination = os.path.join(base_dir, 'isos', 'linux')
120 destination = os.path.join(base_dir, 'isos', 'windows')
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/
Dexception_formatter.py50 base_dir = os.path.dirname(__file__)
54 if filename.startswith(base_dir):
55 filename = filename[len(base_dir)+1:]
/external/autotest/site_utils/
Dteam_extract.py19 base_dir = os.path.realpath(os.path.abspath(os.path.join(
42 return options, args, base_dir
92 options, args, base_dir = ParseArgs(argv)
/external/chromium-trace/catapult/third_party/gsutil/
Dsetup.py131 def make_release_tree(self, base_dir, files): argument
132 sdist.sdist.make_release_tree(self, base_dir, files)
133 PlaceNeededFiles(self, base_dir)

123