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

12345

/external/chromium_org/chrome/test/remoting/
H A Dwebapp_javascript_unittest.cc15 base::FilePath base_dir; local
16 ASSERT_TRUE(PathService::Get(base::DIR_EXE, &base_dir));
21 base_dir = base::mac::GetAppBundlePath(base_dir).DirName();
25 base_dir.Append(FILE_PATH_LITERAL("remoting/unittests/unittest.html")));
/external/chromium_org/tools/telemetry/
H A Drun_tests14 base_dir = os.path.dirname(os.path.realpath(__file__)) variable
17 run_tests.config = run_tests.Config(base_dir, [base_dir], progress_reporters)
/external/chromium_org/chromecast/common/
H A Dcast_paths.cc33 base::FilePath base_dir; local
34 CHECK(PathService::Get(base::DIR_ANDROID_APP_DATA, &base_dir));
35 *result = base_dir.AppendASCII("cast_shell.log");
51 base::FilePath base_dir; local
53 CHECK(PathService::Get(base::DIR_ANDROID_APP_DATA, &base_dir));
54 *result = base_dir.Append("paks/cast_shell.pak");
56 CHECK(PathService::Get(base::DIR_MODULE, &base_dir));
57 *result = base_dir.Append("assets/cast_shell.pak");
/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 Dtemplate_data_source_test.py18 def _CreateTestDataSource(base_dir):
26 (SERVER2, base_dir))
32 def __init__(self, server_instance, base_dir):
33 type(self)._BASE = base_dir
/external/chromium_org/content/test/gpu/
H A Drun_unittests23 base_dir = os.path.dirname(os.path.realpath(__file__)) variable
26 run_tests.config = run_tests.Config(base_dir, [base_dir], progress_reporters)
H A Drun_gpu_test.py17 base_dir = os.path.dirname(os.path.realpath(__file__)) variable
18 test_runner.config = environment.Environment([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/tools/perf/
H A Drun_tests21 base_dir = os.path.dirname(os.path.realpath(__file__)) variable
24 run_tests.config = run_tests.Config(base_dir, [base_dir], progress_reporters)
H A Drun_benchmark16 base_dir = os.path.dirname(os.path.realpath(__file__)) variable
24 test_runner.config = environment.Environment([base_dir], test_aliases)
/external/chromium_org/content/test/gpu/gpu_tests/
H A Dwebgl_robustness.py50 def __init__(self, page_set, base_dir):
54 base_dir=base_dir)
69 ps.AddPage(WebglRobustnessPage(ps, ps.base_dir))
H A Dcontext_lost.py204 def __init__(self, page_set, base_dir):
208 base_dir=base_dir,
223 def __init__(self, page_set, base_dir):
227 base_dir=base_dir,
243 def __init__(self, page_set, base_dir):
247 base_dir=base_dir,
262 def __init__(self, page_set, base_dir)
[all...]
H A Dscreenshot_sync.py31 def __init__(self, page_set, base_dir):
35 base_dir=base_dir,
56 ps.AddPage(ScreenshotSyncPage(ps, ps.base_dir))
/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.py39 if not options.base_dir:
40 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
72 def FindLogFiles(base_dir):
76 base_dir: directory to search
84 for cur_file in os.listdir(base_dir):
88 os.path.join(base_dir, cur_file))]
127 def ShutdownLogcatMonitor(base_dir, logger):
130 monitor_pid_path = os.path.join(base_dir, 'LOGCAT_MONITOR_PID')
161 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...]
/external/zlib/
H A Dupdate_zlib.sh9 base_dir=$(realpath $(dirname $0))
24 src_dir=$base_dir/src
28 cd $base_dir
/external/chromium_org/build/android/gn/
H A Dzip.py19 def DoZip(inputs, output, base_dir):
22 outfile.write(f, os.path.relpath(f, base_dir))
38 base_dir = options.base_dir
40 DoZip(inputs, output, base_dir)
/external/chromium_org/tools/chrome_proxy/
H A Drun_tests22 base_dir = os.path.dirname(os.path.realpath(__file__)) variable
25 run_tests.config = run_tests.Config(base_dir, [base_dir], progress_reporters)
H A Drun_benchmark17 base_dir = os.path.dirname(os.path.realpath(__file__)) variable
18 test_runner.config = environment.Environment([base_dir])
/external/chromium_org/third_party/cython/src/Cython/Build/
H A DCythonize.py54 base_dir, package_path = os.path.split(path)
55 while os.path.isfile(os.path.join(base_dir, '__init__.py')):
56 base_dir, parent = os.path.split(base_dir)
58 return base_dir, package_path
67 base_dir = path
68 while not os.path.isdir(base_dir) or is_package_dir(base_dir):
69 base_dir = os.path.dirname(base_dir)
[all...]
/external/chromium_org/tools/
H A Dremove_stale_pyc_files.py10 def RemoveAllStalePycFiles(base_dir):
12 for dirname, _, filenames in os.walk(base_dir):
/external/chromium_org/mojo/public/tools/bindings/pylib/mojom/generate/
H A Dtemplate_expander.py33 def ApplyTemplate(mojo_generator, base_dir, path_to_template, params,
36 path_to_templates = os.path.join(base_dir, template_directory)
51 base_dir = os.path.dirname(inspect.getfile(sys._getframe(1)))
55 return ApplyTemplate(args[0], base_dir, path_to_template, parameters,

Completed in 548 milliseconds

12345