/external/chromium-trace/catapult/telemetry/telemetry/page/ |
D | page_unittest.py | 21 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 …]
|
D | page_run_end_to_end_unittest.py | 148 'file://blank.html', story_set, base_dir=util.GetUnittestDataDir(), 151 'file://blank.html', story_set, base_dir=util.GetUnittestDataDir(), 154 'file://blank.html', story_set, base_dir=util.GetUnittestDataDir(), 191 'file://blank.html', story_set, base_dir=util.GetUnittestDataDir(), 194 'file://blank.html', story_set, base_dir=util.GetUnittestDataDir(), 244 'file://blank.html', story_set, base_dir=util.GetUnittestDataDir(), 279 'file://blank.html', story_set, base_dir=util.GetUnittestDataDir(), 311 'file://blank.html', story_set, base_dir=util.GetUnittestDataDir()) 335 'file://green_rect.html', story_set, base_dir=util.GetUnittestDataDir(), 339 'file://green_rect.html', story_set, base_dir=util.GetUnittestDataDir(), [all …]
|
D | __init__.py | 20 def __init__(self, url, page_set=None, base_dir=None, name='', argument 40 if base_dir is None: 41 base_dir = os.path.dirname(inspect.getfile(self.__class__)) 42 self._base_dir = base_dir 191 def base_dir(self): member in Page
|
/external/v8/tools/release/ |
D | test_mergeinfo.py | 20 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 …]
|
D | test_search_related_commits.py | 20 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/ |
D | story_set.py | 20 base_dir=None, serving_dirs=None): argument 40 if base_dir: 41 if not os.path.isdir(base_dir): 42 raise ValueError('Invalid directory path of base_dir: %s' % base_dir) 43 self._base_dir = base_dir 47 self._serving_dirs = set(os.path.realpath(os.path.join(self.base_dir, d)) 69 def base_dir(self): member in StorySet 97 os.path.join(self.base_dir, self.archive_data_file), self.bucket)
|
D | story_set_unittest.py | 39 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/ |
D | tarball.py | 7 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/value/ |
D | common_value_helpers_unittest.py | 30 story_set = story.StorySet(base_dir=os.path.dirname(__file__)) 31 p = page.Page('http://www.foo.com/', story_set, story_set.base_dir) 39 story_set = story.StorySet(base_dir=os.path.dirname(__file__)) 40 p = page.Page('http://www.foo.com/', story_set, story_set.base_dir) 64 story_set = story.StorySet(base_dir=os.path.dirname(__file__)) 65 p = page.Page('http://www.foo.com/', story_set, story_set.base_dir)
|
D | histogram_unittest.py | 16 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))
|
/external/libmojo/mojo/public/tools/gn/ |
D | zip.py | 23 def DoZip(inputs, link_inputs, zip_inputs, output, base_dir): argument 27 file_name = os.path.relpath(f, base_dir) 32 file_name = os.path.relpath(realf, base_dir) 76 base_dir = options.base_dir 78 DoZip(inputs, link_inputs, zip_inputs, output, base_dir)
|
/external/autotest/client/cros/ |
D | cros_disks.py | 402 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/testing/ |
D | page_test_test_case.py | 21 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)
|
D | story_set_smoke_test.py | 40 archive_data_file_path = os.path.join(story_set.base_dir, 62 os.path.join(story.base_dir, story.credentials_path)) 80 if story_set.base_dir is not None: 82 isinstance(story_set.base_dir, str),
|
/external/chromium-trace/catapult/telemetry/telemetry/ |
D | record_wpr.py | 77 def _GetSubclasses(base_dir, cls): argument 86 return discover.DiscoverClasses(base_dir, base_dir, cls, 90 def _MaybeGetInstanceOfClass(target, base_dir, cls): argument 93 classes = _GetSubclasses(base_dir, cls) 105 def _PrintAllBenchmarks(base_dir, output_stream): argument 109 _PrintAllImpl(_GetSubclasses(base_dir, benchmark.Benchmark), 'benchmarks', 113 def _PrintAllStories(base_dir, output_stream): argument 116 _PrintAllImpl(_GetSubclasses(base_dir, story.StorySet), 'story sets', 130 def __init__(self, base_dir, target, args=None): argument 131 self._base_dir = base_dir [all …]
|
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/ |
D | timeline_based_page_test_unittest.py | 18 def __init__(self, ps, base_dir, trigger_animation=False, argument 22 'file://interaction_enabled_page.html', ps, base_dir) 58 ps, ps.base_dir, trigger_animation=True)) 80 ps, ps.base_dir, trigger_animation=True)) 105 ps, ps.base_dir, trigger_scroll_gesture=True)) 122 ps.AddStory(TestTimelinebasedMeasurementPage(ps, ps.base_dir)) 151 ps.AddStory(TestTimelinebasedMeasurementPage(ps, ps.base_dir))
|
/external/zlib/ |
D | update_zlib.sh | 9 base_dir=$(realpath $(dirname $0)) 24 src_dir=$base_dir/src 28 cd $base_dir
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/results/ |
D | gtest_progress_reporter_unittest.py | 23 story_set = story.StorySet(base_dir=os.path.dirname(__file__)) 25 page_module.Page('http://www.foo.com/', story_set, story_set.base_dir)) 27 page_module.Page('http://www.bar.com/', story_set, story_set.base_dir)) 29 page_module.Page('http://www.baz.com/', story_set, story_set.base_dir)) 31 page_module.Page('http://www.roz.com/', story_set, story_set.base_dir)) 33 page_module.Page('http://www.fus.com/', story_set, story_set.base_dir, 36 page_module.Page('http://www.ro.com/', story_set, story_set.base_dir,
|
D | legacy_html_output_formatter_unittest.py | 19 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/pdfium/testing/tools/ |
D | common.py | 66 self.base_dir = self.pdfium_dir 67 one_up_dir = os.path.dirname(self.base_dir) 71 self.base_dir = two_up_dir 72 self.build_dir = os.path.join(self.base_dir, build_location)
|
/external/lz4/tests/ |
D | test-lz4-versions.py | 57 base_dir = os.getcwd() + '/..' # /path/to/lz4 variable 58 tmp_dir = base_dir + '/' + tmp_dir_name # /path/to/lz4/tests/versionsTest 60 programs_dir = base_dir + '/programs' # /path/to/lz4/programs 67 shutil.copy2(base_dir + '/' + test_dat_src, tmp_dir + '/' + test_dat) 77 os.chdir(base_dir)
|
/external/v8/tools/mb/ |
D | mb | 6 base_dir=$(dirname "$0") 8 PYTHONDONTWRITEBYTECODE=1 exec python "$base_dir/mb.py" "$@"
|
/external/ltp/testcases/network/nfs/nfs_stress/ |
D | nfs05_make_tree.c | 257 char *base_dir, /* base directory of the test */ in init_compile() argument 278 sprintf(dirname, "%s/%s.%ld", base_dir, hname, gettid()); in init_compile() 315 if (chdir(base_dir) == -1) { in init_compile() 346 char *base_dir) in rm_file_dir() argument 376 dprt("pid[%d]: base directory: %s\n", gettid(), base_dir); in rm_file_dir() 381 sprintf(dirname, "%s/%s.%ld", base_dir, hname, in rm_file_dir()
|
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/ |
D | exception_formatter.py | 50 base_dir = os.path.dirname(__file__) 54 if filename.startswith(base_dir): 55 filename = filename[len(base_dir)+1:]
|
/external/autotest/site_utils/ |
D | team_extract.py | 19 base_dir = os.path.realpath(os.path.abspath(os.path.join( 42 return options, args, base_dir 92 options, args, base_dir = ParseArgs(argv)
|