/external/chromium_org/gpu/gles2_conform_support/ |
generate_gles2_embedded_data.py | 29 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 = argv[1 [all...] |
/external/chromium_org/chrome/installer/util/ |
self_cleaning_temp_dir.cc | 15 // 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); [all...] |
self_cleaning_temp_dir.h | 41 base::FilePath* base_dir);
|
/external/chromium_org/tools/telemetry/telemetry/page/ |
page_measurement_runner.py | 10 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))
|
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)
|
page_test_runner.py | 14 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_module.Test, index_by_class_name=True) [all...] |
/external/zlib/ |
update_zlib.sh | 9 base_dir=$(realpath $(dirname $0)) 24 src_dir=$base_dir/src 28 cd $base_dir
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
directory_zipper.py | 23 # 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)
|
/external/chromium_org/build/android/ |
adb_logcat_printer.py | 9 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 = args[0 [all...] |
findbugs_diff.py | 40 if not options.base_dir: 41 options.base_dir = os.path.join(constants.DIR_SOURCE_ROOT, 'build',
|
adb_logcat_monitor.py | 9 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, 'eventlog') [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/ |
find_files.py | 49 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/oprofile/libutil/ |
op_file.h | 76 * @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,
|
op_file.c | 116 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,
|
/external/chromium_org/tools/grit/grit/ |
scons.py | 83 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...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/ |
archive_util.py | 51 def make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, 54 'base_dir'. 63 The output tar file will be named 'base_dir' + ".tar", possibly plus 103 tar.add(base_dir, filter=_set_uid_gid) 121 def make_zipfile(base_name, base_dir, verbose=0, dry_run=0): 122 """Create a zip file from all the files under 'base_dir'. 147 spawn(["zip", zipoptions, zip_filename, base_dir], 159 zip_filename, base_dir) 165 for dirpath, dirnames, filenames in os.walk(base_dir): 193 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
archive_util.py | 51 def make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, 54 'base_dir'. 63 The output tar file will be named 'base_dir' + ".tar", possibly plus 103 tar.add(base_dir, filter=_set_uid_gid) 121 def make_zipfile(base_name, base_dir, verbose=0, dry_run=0): 122 """Create a zip file from all the files under 'base_dir'. 147 spawn(["zip", zipoptions, zip_filename, base_dir], 159 zip_filename, base_dir) 165 for dirpath, dirnames, filenames in os.walk(base_dir): 193 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0 [all...] |
/external/chromium_org/tools/site_compare/ |
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/chrome/browser/net/ |
url_fixer_upper.h | 53 // 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/ |
url_fixer_upper.h | 60 // 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/ |
sandbox_file_system_test_helper.cc | 38 void SandboxFileSystemTestHelper::SetUp(const base::FilePath& base_dir) { 39 SetUp(base_dir, NULL); 50 const base::FilePath& base_dir, 53 quota_manager_proxy, base_dir);
|
/external/oprofile/gui/ |
oprof_start_util.h | 36 std::string const do_open_file_or_dir(std::string const & base_dir, bool dir_only);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/command/ |
sdist.py | 342 base_dir = self.distribution.get_fullname() 345 self.filelist.exclude_pattern(None, prefix=base_dir) 401 def make_release_tree(self, base_dir, files): 404 'files' are created under 'base_dir', and then we hard link or copy 410 # Create all the directories under 'base_dir' necessary to 413 self.mkpath(base_dir) 414 dir_util.create_tree(base_dir, files, dry_run=self.dry_run) 418 # corresponding location under 'base_dir', or copying each file 419 # that's out-of-date in 'base_dir'. (Usually, all files will be 420 # out-of-date, because by default we blow away 'base_dir' whe [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/command/ |
sdist.py | 342 base_dir = self.distribution.get_fullname() 345 self.filelist.exclude_pattern(None, prefix=base_dir) 401 def make_release_tree(self, base_dir, files): 404 'files' are created under 'base_dir', and then we hard link or copy 410 # Create all the directories under 'base_dir' necessary to 413 self.mkpath(base_dir) 414 dir_util.create_tree(base_dir, files, dry_run=self.dry_run) 418 # corresponding location under 'base_dir', or copying each file 419 # that's out-of-date in 'base_dir'. (Usually, all files will be 420 # out-of-date, because by default we blow away 'base_dir' whe [all...] |
/external/chromium_org/chrome/browser/extensions/api/developer_private/ |
developer_private_apitest.cc | 21 base::FilePath base_dir = test_data_dir_.AppendASCII("developer"); local 22 LoadNamedExtension(base_dir, "hosted_app");
|