Searched refs:base_dir (Results 1 - 25 of 97) sorted by relevance

1234

/external/chromium_org/tools/telemetry/telemetry/page/
H A Dpage_measurement_runner.py10 def Main(base_dir, page_set_filenames):
14 base_dir: Path to directory containing tests and ProfileCreators.
17 sys.exit(runner.Run(base_dir, page_set_filenames))
H A Dpage_measurement_unittest_base.py22 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)
H A Dpage_test_runner.py14 def Main(base_dir, page_set_filenames):
18 base_dir: Path to directory containing tests and ProfileCreators.
21 sys.exit(runner.Run(base_dir, page_set_filenames))
37 def Run(self, base_dir, page_set_filenames):
38 test, ps, expectations = self.ParseCommandLine(sys.argv, base_dir,
44 def FindTestConstructors(self, base_dir):
47 base_dir, base_dir, self.test_class)
49 base_dir, base_dir, test_modul
[all...]
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Ddirectory_zipper.py23 # multiple files. All files are underneath |base_dir|. If any file changes its
24 # stat will change, so the stat of |base_dir| will also change.
26 def _MakeZipFile(self, base_dir, files):
27 base_dir = base_dir.strip('/')
32 self._file_system.ReadSingle(posixpath.join(base_dir, file_name)))
42 dir_name = posixpath.basename(base_dir)
H A Dapi_categorizer.py24 def _CollectDocumentedAPIs(self, base_dir, files):
26 for root, _, files in self._file_system.Walk(base_dir):
/external/chromium_org/gpu/gles2_conform_support/
H A Dgenerate_gles2_embedded_data.py29 def __init__(self, scan_dir, base_dir):
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
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/
H A Dfind_files.py49 def find(filesystem, base_dir, paths=None, skipped_directories=None, file_filter=None, directory_sort_key=None):
53 paths: a list of path expressions relative to base_dir
56 everything under the base_dir.
61 return _normalized_find(filesystem, _normalize(filesystem, base_dir, paths), skipped_directories, file_filter, directory_sort_key)
64 def _normalize(filesystem, base_dir, paths):
65 return [filesystem.normpath(filesystem.join(base_dir, path)) for path in paths]
/external/chromium_org/build/android/
H A Dfindbugs_diff.py40 if not options.base_dir:
41 options.base_dir = os.path.join(constants.DIR_SOURCE_ROOT, 'build',
H A Dadb_logcat_monitor.py9 Usage: adb_logcat_monitor.py <base_dir> [<adb_binary_path>]
12 inside the <base_dir> directory, which it attempts to create. The
42 def StartLogcatIfNecessary(device_id, adb_cmd, base_dir):
59 logcat_file = open(os.path.join(base_dir, logcat_filename), 'w')
97 def main(base_dir, adb_cmd='adb'):
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, 'eventlo
[all...]
H A Dadb_logcat_printer.py9 To test, call './adb_logcat_printer.py <base_dir>' where
10 <base_dir> contains 'adb logcat -v threadtime' files named as
16 Additionally, if a <base_dir>/LOGCAT_MONITOR_PID exists, the script
71 def FindLogFiles(base_dir):
75 base_dir: directory to search
83 for cur_file in os.listdir(base_dir):
87 os.path.join(base_dir, cur_file))]
126 def ShutdownLogcatMonitor(base_dir, logger):
129 monitor_pid_path = os.path.join(base_dir, 'LOGCAT_MONITOR_PID')
160 base_dir
[all...]
/external/chromium_org/chrome/installer/util/
H A Dself_cleaning_temp_dir.cc15 // Populates |base_dir| with the topmost directory in the hierarchy of
17 // |base_dir| is cleared.
21 base::FilePath* base_dir) {
22 DCHECK(base_dir);
25 // Empty base_dir means that we didn't create any extra directories.
26 base_dir->clear();
30 *base_dir = parent_dir;
32 } while (parent_dir != *base_dir && !base::PathExists(parent_dir));
58 base::FilePath base_dir; local
59 GetTopDirToCreate(parent_dir, &base_dir);
19 GetTopDirToCreate( const base::FilePath& temp_parent_dir, base::FilePath* base_dir) argument
[all...]
H A Dself_cleaning_temp_dir.h41 base::FilePath* base_dir);
/external/zlib/
H A Dupdate_zlib.sh9 base_dir=$(realpath $(dirname $0))
24 src_dir=$base_dir/src
28 cd $base_dir
/external/oprofile/libutil/
H A Dop_file.h76 * @param base_dir directory from where lookup starts
79 * NO_RECURSION: Find matching files from passed base_dir and call
81 * MATCH_ANY_ENTRY_RECURSION: Starting at base_dir, for each entry in the
85 * MATCH_DIR_ONLY_RECURSION: Starting at base_dir, if an entry in the
92 * Return a list of pathnames under base_dir, filtered by filter and optionally
101 char const * base_dir, char const * filter,
H A Dop_file.c116 char const * base_dir, char const * filter,
139 if (!(dir = opendir(base_dir)))
158 name = make_pathname_from_dirent(base_dir, ent,
173 name = make_pathname_from_dirent(base_dir, ent,
115 get_matching_pathnames(void * name_list, get_pathname_callback getpathname, char const * base_dir, char const * filter, enum recursion_type recursion) argument
/external/chromium_org/tools/grit/grit/
H A Dscons.py83 def _GetOutputFiles(grd, base_dir):
103 path = os.path.join(base_dir, output.GetFilename())
116 def _ProcessNodes(grd, base_dir, lang_folders):
121 base_dir: The base directory for filenames.
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,
175 base_dir: The base directory for filenames.
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)
[all...]
/external/chromium_org/tools/site_compare/
H A Dsite_compare.py106 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/tools/telemetry/telemetry/
H A Dexception_formatter.py43 base_dir = os.path.abspath(util.GetChromiumSrcDir())
60 if filename.startswith(base_dir):
61 filename = filename[len(base_dir)+1:]
/external/chromium/chrome/browser/net/
H A Durl_fixer_upper.h53 // the local filesystem. Begin searching in |base_dir|; if empty, use the
61 GURL FixupRelativeFile(const FilePath& base_dir, const FilePath& text);
/external/chromium_org/chrome/common/net/
H A Durl_fixer_upper.h60 // the local filesystem. Begin searching in |base_dir|; if empty, use the
68 GURL FixupRelativeFile(const base::FilePath& base_dir,
/external/chromium_org/content/public/test/
H A Dsandbox_file_system_test_helper.cc38 void SandboxFileSystemTestHelper::SetUp(const base::FilePath& base_dir) { argument
39 SetUp(base_dir, NULL);
50 const base::FilePath& base_dir,
53 quota_manager_proxy, base_dir);
49 SetUp( const base::FilePath& base_dir, quota::QuotaManagerProxy* quota_manager_proxy) argument
H A Dsandbox_file_system_test_helper.h44 void SetUp(const base::FilePath& base_dir);
50 void SetUp(const base::FilePath& base_dir,
/external/oprofile/gui/
H A Doprof_start_util.h36 std::string const do_open_file_or_dir(std::string const & base_dir, bool dir_only);
/external/chromium_org/chrome/browser/extensions/api/developer_private/
H A Ddeveloper_private_apitest.cc21 base::FilePath base_dir = test_data_dir_.AppendASCII("developer"); local
22 LoadNamedExtension(base_dir, "hosted_app");
/external/chromium_org/chrome/browser/ui/webui/app_list/
H A Dstart_page_ui.cc45 base::FilePath base_dir(kHotwordFilesDir);
46 base::ReadFileToString(base_dir.AppendASCII(path), &(data->data()));

Completed in 1253 milliseconds

1234