/external/chromium_org/gpu/gles2_conform_support/ |
D | generate_gles2_embedded_data.py | 29 def __init__(self, scan_dir, base_dir): argument 31 self.base_dir = base_dir 33 if self.base_dir != None: 34 self.files_data_h = open(os.path.join(base_dir, "FilesDATA.h"), "wb") 35 self.files_data_c = open(os.path.join(base_dir, "FilesDATA.c"), "wb") 36 self.files_toc_c = open(os.path.join(base_dir, "FilesTOC.c"), "wb") 49 if self.base_dir != None: 72 if self.base_dir == None: 111 base_dir = argv[1] 113 base_dir = None [all …]
|
/external/chromium_org/build/android/ |
D | adb_logcat_printer.py | 71 def FindLogFiles(base_dir): argument 83 for cur_file in os.listdir(base_dir): 87 os.path.join(base_dir, cur_file))] 126 def ShutdownLogcatMonitor(base_dir, logger): argument 129 monitor_pid_path = os.path.join(base_dir, 'LOGCAT_MONITOR_PID') 160 base_dir = args[0] 187 sleep_time = 5 - (time.time() - os.path.getctime(base_dir)) 194 assert os.path.exists(base_dir), '%s does not exist' % base_dir 195 ShutdownLogcatMonitor(base_dir, logger) 197 for log in GetDeviceLogs(FindLogFiles(base_dir), logger): [all …]
|
D | adb_logcat_monitor.py | 42 def StartLogcatIfNecessary(device_id, adb_cmd, base_dir): argument 59 logcat_file = open(os.path.join(base_dir, logcat_filename), 'w') 97 def main(base_dir, adb_cmd='adb'): argument 100 if os.path.exists(base_dir): 101 print 'adb_logcat_monitor: %s already exists? Cleaning' % base_dir 102 shutil.rmtree(base_dir, ignore_errors=True) 104 os.makedirs(base_dir) 105 logging.basicConfig(filename=os.path.join(base_dir, 'eventlog'), 121 pid_file_path = os.path.join(base_dir, 'LOGCAT_MONITOR_PID') 134 StartLogcatIfNecessary(device, adb_cmd, base_dir)
|
D | findbugs_diff.py | 40 if not options.base_dir: 41 options.base_dir = os.path.join(constants.DIR_SOURCE_ROOT, 'build',
|
/external/chromium_org/chrome/installer/util/ |
D | self_cleaning_temp_dir.cc | 21 base::FilePath* base_dir) { in GetTopDirToCreate() argument 22 DCHECK(base_dir); in GetTopDirToCreate() 26 base_dir->clear(); in GetTopDirToCreate() 30 *base_dir = parent_dir; in GetTopDirToCreate() 32 } while (parent_dir != *base_dir && !base::PathExists(parent_dir)); in GetTopDirToCreate() 58 base::FilePath base_dir; in Initialize() local 59 GetTopDirToCreate(parent_dir, &base_dir); in Initialize() 62 base_dir_ = base_dir; in Initialize()
|
D | self_cleaning_temp_dir_unittest.cc | 50 base::FilePath base_dir; in TEST_F() local 51 SelfCleaningTempDir::GetTopDirToCreate(base::FilePath(L"C:\\"), &base_dir); in TEST_F() 52 EXPECT_TRUE(base_dir.empty()); in TEST_F() 58 base::FilePath base_dir; in TEST_F() local 61 SelfCleaningTempDir::GetTopDirToCreate(parent_dir, &base_dir); in TEST_F() 62 EXPECT_EQ(parent_dir, base_dir); in TEST_F()
|
/external/chromium_org/tools/telemetry/telemetry/page/ |
D | page_test_runner.py | 14 def Main(base_dir, page_set_filenames): argument 21 sys.exit(runner.Run(base_dir, page_set_filenames)) 37 def Run(self, base_dir, page_set_filenames): argument 38 test, ps, expectations = self.ParseCommandLine(sys.argv, base_dir, 44 def FindTestConstructors(self, base_dir): argument 47 base_dir, base_dir, self.test_class) 49 base_dir, base_dir, test_module.Test, index_by_class_name=True)) 128 def ParseCommandLine(self, args, base_dir, page_set_filenames): argument 133 test_constructors = self.FindTestConstructors(base_dir)
|
D | page_measurement_unittest_base.py | 22 base_dir = util.GetUnittestDataDir() 23 ps = page_set.PageSet(file_path=base_dir) 24 page = page_module.Page(test_filename, ps, base_dir=base_dir)
|
D | page_unittest.py | 18 None, base_dir='basedir') 23 None, base_dir='basedir') 28 None, base_dir='basedir') 33 None, base_dir='basedir') 39 None, base_dir='basedir')
|
D | page_runner_unittest.py | 69 'file://blank.html', ps, base_dir=util.GetUnittestDataDir())) 71 'file://blank.html', ps, base_dir=util.GetUnittestDataDir())) 117 'file://blank.html', ps, base_dir=util.GetUnittestDataDir())) 119 'file://blank.html', ps, base_dir=util.GetUnittestDataDir())) 178 'file://blank.html', ps, base_dir=util.GetUnittestDataDir()) 213 'file://blank.html', ps, base_dir=util.GetUnittestDataDir()) 240 'file://blank.html', ps, base_dir=util.GetUnittestDataDir()) 274 'file://blank.html', ps, base_dir=util.GetUnittestDataDir())
|
D | record_wpr.py | 100 def Main(base_dir): argument 101 measurements = discover.DiscoverClasses(base_dir, base_dir, 108 tests = discover.DiscoverClasses(base_dir, base_dir, test.Test,
|
D | page_measurement_runner.py | 10 def Main(base_dir, page_set_filenames): argument 17 sys.exit(runner.Run(base_dir, page_set_filenames))
|
/external/chromium_org/tools/grit/grit/ |
D | scons.py | 83 def _GetOutputFiles(grd, base_dir): argument 103 path = os.path.join(base_dir, output.GetFilename()) 116 def _ProcessNodes(grd, base_dir, lang_folders): argument 164 static_files.append(os.path.join(base_dir, os.path.basename(file))) 169 def _SetDependencies(env, base_dir, res_file, rc_alls, translated_files, argument 183 env.Depends(os.path.join(base_dir, res_file), static_files) 218 base_dir = util.dirname(str(target[0])) 219 (rc_headers, rc_alls, lang_folders) = _GetOutputFiles(grd, base_dir) 221 base_dir, lang_folders) 224 _SetDependencies(env, base_dir, res_file, rc_alls, translated_files,
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
D | directory_zipper.py | 26 def _MakeZipFile(self, base_dir, files): argument 27 base_dir = base_dir.strip('/') 32 self._file_system.ReadSingle(posixpath.join(base_dir, file_name))) 42 dir_name = posixpath.basename(base_dir)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/ |
D | find_files.py | 49 def find(filesystem, base_dir, paths=None, skipped_directories=None, file_filter=None, directory_so… argument 61 …return _normalized_find(filesystem, _normalize(filesystem, base_dir, paths), skipped_directories, … 64 def _normalize(filesystem, base_dir, paths): argument 65 return [filesystem.normpath(filesystem.join(base_dir, path)) for path in paths]
|
/external/oprofile/libpp/ |
D | profile_spec.cpp | 376 bool valid_candidate(string const & base_dir, string const & filename, in valid_candidate() argument 384 string const & sub = filename.substr(base_dir.size(), string::npos); in valid_candidate() 430 unsigned int j = base_dir.rfind('/'); in valid_candidate() 431 string session_samples_dir = base_dir.substr(0, j); in valid_candidate() 530 string base_dir; in generate_file_list() local 533 base_dir = archive_path + op_samples_dir; in generate_file_list() 534 base_dir += *cit; in generate_file_list() 536 base_dir = op_realpath(base_dir); in generate_file_list() 539 create_file_list(files, base_dir, "*", true); in generate_file_list() 543 warn_if_kern_buffs_overflow(base_dir + "/"); in generate_file_list() [all …]
|
/external/chromium_org/tools/site_compare/ |
D | site_compare.py | 106 base_dir = os.path.join(root_path, base[0]) 111 base = (base[0], max(os.listdir(base_dir))) 130 base_dir = os.path.join(base_dir, base[1]) 133 for filename in os.listdir(base_dir): 141 base_filename = os.path.join(base_dir, filename)
|
/external/chromium_org/third_party/lcov/bin/ |
D | mcov | 112 my $base_dir; # Base directory for current da file 116 ($base_dir, $base_name) = split_filename(canonical_path($filename)); 119 if (!-w $base_dir) { 120 print("ERROR: cannot write to directory $base_dir\n"); 125 $da_filename = File::Spec::Functions::catfile($base_dir,
|
D | geninfo | 865 my $base_dir; # Base directory for current file 898 $base_dir = $base_directory; 902 $base_dir = $source_dir; 906 stat($base_dir); 909 die("ERROR: cannot write to directory $base_dir!\n"); 954 $base_dir = find_base_from_graph($base_dir, $instr, $graph); 957 ($instr, $graph) = adjust_graph_filenames($base_dir, $instr, $graph); 987 debug("chdir($base_dir)\n"); 988 chdir($base_dir); 1078 $source = solve_relative_path($base_dir, $source); [all …]
|
D | genhtml | 887 my ($name, $rel_dir, $base_dir, $title, $trunc_dir, $overall_found, 898 write_html_prolog(*HTML_HANDLE, $base_dir, "LCOV - $title$trunc_dir"); 902 write_file_table(*HTML_HANDLE, $base_dir, $overview, $testhash, 904 write_html_epilog(*HTML_HANDLE, $base_dir); 918 my $base_dir; 963 $base_dir = get_relative_base_path($rel_dir); 1013 write_dir_page($fileview_sortname[$_], $rel_dir, $base_dir, 1023 $base_dir, $test_title, $trunc_dir, 1095 my ($base_dir, $rel_dir, $trunc_dir, $base_name, $title, 1110 write_html_prolog(*HTML_HANDLE, $base_dir, $pagetitle); [all …]
|
/external/zlib/ |
D | update_zlib.sh | 9 base_dir=$(realpath $(dirname $0)) 24 src_dir=$base_dir/src 28 cd $base_dir
|
/external/chromium_org/chrome/browser/component_updater/ |
D | default_component_installer.cc | 113 base::FilePath base_dir = installer_traits_->GetBaseDirectory(); in StartRegistration() local 114 if (!base::PathExists(base_dir) && in StartRegistration() 115 !base::CreateDirectory(base_dir)) { in StartRegistration() 118 << base_dir.MaybeAsASCII() << ")."; in StartRegistration() 127 base_dir, false, base::FileEnumerator::DIRECTORIES); in StartRegistration() 159 << base_dir.MaybeAsASCII() << ")."; in StartRegistration()
|
/external/oprofile/libutil/ |
D | op_file.c | 116 char const * base_dir, char const * filter, in get_matching_pathnames() argument 139 if (!(dir = opendir(base_dir))) in get_matching_pathnames() 158 name = make_pathname_from_dirent(base_dir, ent, in get_matching_pathnames() 173 name = make_pathname_from_dirent(base_dir, ent, in get_matching_pathnames()
|
/external/chromium_org/content/public/test/ |
D | sandbox_file_system_test_helper.cc | 38 void SandboxFileSystemTestHelper::SetUp(const base::FilePath& base_dir) { in SetUp() argument 39 SetUp(base_dir, NULL); in SetUp() 50 const base::FilePath& base_dir, in SetUp() argument 53 quota_manager_proxy, base_dir); in SetUp()
|
/external/chromium_org/tools/telemetry/telemetry/ |
D | exception_formatter.py | 43 base_dir = os.path.abspath(util.GetChromiumSrcDir()) 60 if filename.startswith(base_dir): 61 filename = filename[len(base_dir)+1:]
|