Searched refs:dir_path (Results 1 - 25 of 72) sorted by relevance

123

/external/chromium_org/remoting/host/
H A Dipc_constants.cc23 base::FilePath dir_path; local
24 if (!PathService::Get(base::DIR_EXE, &dir_path)) {
29 base::FilePath path = dir_path.Append(binary);
H A Dsas_injector_win.cc147 base::FilePath dir_path; local
148 if (!PathService::Get(base::DIR_EXE, &dir_path)) {
153 sas_dll_.Reset(base::LoadNativeLibrary(dir_path.Append(kSasDllFileName),
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dcaching_file_system.py60 dir_path = path
62 dir_path, file_path = path.rsplit('/', 1)
63 dir_path += '/'
66 dir_stat = self._stat_object_store.Get(dir_path).Get()
68 dir_stat = self._file_system.Stat(dir_path)
70 self._stat_object_store.Set(dir_path, dir_stat)
72 if path == dir_path:
77 raise FileNotFoundError('No stat found for %s in %s' % (path, dir_path))
/external/chromium_org/tools/checkperms/
H A Dcheckperms.py192 def get_svn_info(dir_path):
194 if not os.path.isdir(dir_path):
196 out = capture(['svn', 'info', '.', '--non-interactive'], dir_path)
200 def get_svn_url(dir_path):
201 return get_svn_info(dir_path).get('URL')
204 def get_svn_root(dir_path):
206 svn_url = get_svn_url(dir_path)
211 parent = os.path.dirname(dir_path)
212 if parent == dir_path:
216 return dir_path
[all...]
/external/chromium/net/test/
H A Dpython_utils.cc21 std::string dir_path; local
23 dir_path = WideToUTF8(dir.value());
25 dir_path = dir.value();
28 env->SetVar(kPythonPathEnv, dir_path.c_str());
29 } else if (old_path.find(dir_path) == std::string::npos) {
36 new_path.append(dir_path.c_str());
/external/chromium_org/net/test/
H A Dpython_utils.cc22 std::string dir_path; local
24 dir_path = WideToUTF8(dir.value());
26 dir_path = dir.value();
29 env->SetVar(kPythonPathEnv, dir_path.c_str());
30 } else if (old_path.find(dir_path) == std::string::npos) {
37 new_path.append(dir_path.c_str());
/external/chromium_org/tools/grit/grit/tool/
H A Dresize.py238 dir_path = os.path.join(self.base_folder, project_name)
239 if not os.path.isdir(dir_path):
240 os.mkdir(dir_path)
251 fname = os.path.join(dir_path, '%s.vcproj' % project_name)
275 fname = os.path.join(dir_path, '%s.rc' % project_name)
282 fname = os.path.join(dir_path, 'resource.h')
/external/chromium/chrome/browser/ui/download/
H A Ddownload_tab_helper.h30 bool SavePage(const FilePath& main_file, const FilePath& dir_path,
H A Ddownload_tab_helper.cc53 const FilePath& dir_path,
59 new SavePackage(tab_contents(), save_type, main_file, dir_path);
52 SavePage(const FilePath& main_file, const FilePath& dir_path, SavePackage::SavePackageType save_type) argument
/external/chromium_org/webkit/browser/database/
H A Dvfs_backend.h25 static void OpenTempFileInDirectory(const base::FilePath& dir_path,
/external/chromium_org/tools/checkdeps/
H A Dcheckdeps.py306 def _ApplyDirectoryRulesAndSkipSubdirs(self, parent_rules, dir_path):
307 """Given |parent_rules| and a subdirectory |dir_path| from the
308 directory that owns the |parent_rules|, add |dir_path|'s rules to
313 dir_path)
314 self.directory_rules[NormalizePath(dir_path)] = directory_rules
317 os.path.normpath(os.path.join(dir_path, subdir)))] = None
319 def GetDirectoryRules(self, dir_path):
326 dir_path: A real (non-normalized) path to the directory you want
329 norm_dir_path = NormalizePath(dir_path)
333 dir_path
[all...]
/external/chromium_org/chrome/test/functional/
H A Dexecute_javascript.py38 dir_path = os.path.abspath(
40 ext_id = self.InstallExtension(dir_path)
/external/chromium_org/tools/telemetry/telemetry/core/
H A Ddiscover.py22 for dir_path, _, filenames in os.walk(start_dir):
33 module_rel_path = os.path.relpath(os.path.join(dir_path, filename),
/external/chromium_org/build/android/gyp/util/
H A Dbuild_utils.py16 def MakeDirectory(dir_path):
18 os.makedirs(dir_path)
23 def DeleteDirectory(dir_path):
24 if os.path.exists(dir_path):
25 shutil.rmtree(dir_path)
H A Dmd5_check.py38 def _UpdateMd5ForDirectory(md5, dir_path):
39 for root, _, files in os.walk(dir_path):
/external/chromium_org/net/url_request/
H A Durl_request_file_dir_job.cc27 const base::FilePath& dir_path)
29 lister_(dir_path, this),
30 dir_path_(dir_path),
25 URLRequestFileDirJob(URLRequest* request, NetworkDelegate* network_delegate, const base::FilePath& dir_path) argument
H A Durl_request_file_dir_job.h23 const base::FilePath& dir_path);
/external/chromium_org/third_party/leveldatabase/
H A Denv_chromium_unittest.cc79 base::FilePath dir_path = dir.path(); local
84 FilePathToString(dir_path.Append(FILE_PATH_LITERAL("MANIFEST-001")));
94 FilePathToString(dir_path.Append(FILE_PATH_LITERAL("000003.sst")));
/external/chromium_org/tools/perf/measurements/
H A Dblink_perf.py29 def _AddDir(dir_path, skipped):
30 for candidate_path in os.listdir(dir_path):
33 candidate_path = os.path.join(dir_path, candidate_path)
/external/chromium/net/url_request/
H A Durl_request_file_dir_job.h23 URLRequestFileDirJob(URLRequest* request, const FilePath& dir_path);
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/
H A Dfilereader.py135 for dir_path, dir_names, file_names in os.walk(directory):
137 file_path = self.filesystem.join(dir_path, file_name)
/external/chromium_org/tools/export_tarball/
H A Dexport_tarball.py107 dir_path = os.path.join(GetSourceDirectory(), nonessential_dir)
108 if (name.startswith(dir_path) and
/external/chromium_org/ui/base/resource/
H A Dresource_bundle_unittest.cc354 const base::FilePath& locale_path = dir_path().Append(
368 const base::FilePath& dir_path() { return dir_.path(); } function in class:ui::ResourceBundleImageTest
380 base::FilePath data_path = dir_path().Append(FILE_PATH_LITERAL("sample.pak"));
403 base::FilePath data_path = dir_path().Append(FILE_PATH_LITERAL("sample.pak"));
405 dir_path().Append(FILE_PATH_LITERAL("sample_2x.pak"));
436 base::FilePath data_1x_path = dir_path().AppendASCII("sample_1x.pak");
437 base::FilePath data_2x_path = dir_path().AppendASCII("sample_2x.pak");
477 base::FilePath data_path = dir_path().AppendASCII("sample.pak");
478 base::FilePath data_2x_path = dir_path().AppendASCII("sample_2x.pak");
509 base::FilePath data_path = dir_path()
[all...]
/external/chromium_org/content/browser/renderer_host/pepper/
H A Dpepper_internal_file_ref_backend.cc227 std::string dir_path = path_; local
228 if (dir_path.empty() || dir_path[dir_path.size() - 1] != '/')
229 dir_path += '/';
242 dir_path + fileapi::FilePathToString(base::FilePath(it->name));
/external/chromium_org/chrome/browser/media_galleries/linux/
H A Dmtp_device_task_helper.h71 // |dir_path| specifies the directory file path.
79 void ReadDirectoryByPath(const std::string& dir_path,

Completed in 511 milliseconds

123