Home
last modified time | relevance | path

Searched refs:base_directory (Results 1 – 10 of 10) sorted by relevance

/third_party/flutter/engine/flutter/fml/platform/posix/
Dfile_posix.cc69 fml::UniqueFD OpenFile(const fml::UniqueFD& base_directory, in OpenFile() argument
80 if (create_if_necessary && !FileExists(base_directory, path)) { in OpenFile()
89 FML_HANDLE_EINTR(::openat(base_directory.get(), path, flags, mode))}; in OpenFile()
99 fml::UniqueFD OpenDirectory(const fml::UniqueFD& base_directory, in OpenDirectory() argument
107 if (create_if_necessary && !FileExists(base_directory, path)) { in OpenDirectory()
108 if (::mkdirat(base_directory.get(), path, in OpenDirectory()
115 ::openat(base_directory.get(), path, O_RDONLY | O_DIRECTORY))}; in OpenDirectory()
157 bool UnlinkDirectory(const fml::UniqueFD& base_directory, const char* path) { in UnlinkDirectory() argument
158 return ::unlinkat(base_directory.get(), path, AT_REMOVEDIR) == 0; in UnlinkDirectory()
165 bool UnlinkFile(const fml::UniqueFD& base_directory, const char* path) { in UnlinkFile() argument
[all …]
/third_party/skia/buildtools/checkdeps/
Dbuilddeps.py52 def _GitSourceDirectories(base_directory): argument
55 base_dir_norm = NormalizePath(base_directory)
63 cwd=base_directory)
67 dir_path = os.path.join(base_directory, os.path.dirname(line))
86 base_directory=None, argument
101 base_directory = (base_directory or
104 self.base_directory = os.path.abspath(base_directory) # Local absolute path
112 if os.path.exists(os.path.join(base_directory, '.git')):
114 elif os.path.exists(os.path.join(base_directory, '.svn')):
117 raise DepsBuilderError("%s is not a repository root" % base_directory)
[all …]
Dcheckdeps.py44 base_directory=None, argument
61 self, base_directory, extra_repos, verbose, being_tested,
85 java = java_checker.JavaChecker(self.base_directory, self.verbose)
87 self.verbose, self._resolve_dotdot, self.base_directory)
89 self.verbose, self._resolve_dotdot, self.base_directory)
172 java_checker.JavaChecker(self.base_directory, self.verbose,
189 verbose=self.verbose, root_dir=self.base_directory))
252 deps_checker = DepsChecker(options.base_directory,
258 base_directory = deps_checker.base_directory # Default if needed, normalized
261 start_dir = base_directory
[all …]
Dcheckdeps_test.py23 base_directory=os.path.join(os.path.dirname(__file__), '..', '..'))
29 os.path.join(self.deps_checker.base_directory,
101 os.path.join(self.deps_checker.base_directory,
120 os.path.join(self.deps_checker.base_directory,
133 base_directory=os.path.dirname(__file__))
Dgraphdeps.py38 base_directory, argument
80 base_directory,
372 base_directory=options.base_directory,
395 print('Using base directory: ', deps_grapher.base_directory)
Djava_checker.py42 def __init__(self, base_directory, verbose, added_imports=None, argument
44 self._base_directory = base_directory
/third_party/flutter/engine/flutter/fml/platform/win/
Dfile_win.cc46 static std::string GetAbsolutePath(const fml::UniqueFD& base_directory, in GetAbsolutePath() argument
49 stream << GetFullHandlePath(base_directory) << "\\" << subpath; in GetAbsolutePath()
133 fml::UniqueFD OpenFile(const fml::UniqueFD& base_directory, in OpenFile() argument
137 return OpenFile(GetAbsolutePath(base_directory, path).c_str(), in OpenFile()
177 fml::UniqueFD OpenDirectory(const fml::UniqueFD& base_directory, in OpenDirectory() argument
181 return OpenDirectory(GetAbsolutePath(base_directory, path).c_str(), in OpenDirectory()
278 bool UnlinkDirectory(const fml::UniqueFD& base_directory, const char* path) { in UnlinkDirectory() argument
280 StringToWideString(GetAbsolutePath(base_directory, path)).c_str())) { in UnlinkDirectory()
297 bool UnlinkFile(const fml::UniqueFD& base_directory, const char* path) { in UnlinkFile() argument
299 StringToWideString(GetAbsolutePath(base_directory, path)).c_str())) { in UnlinkFile()
[all …]
/third_party/flutter/engine/flutter/fml/
Dfile.h35 fml::UniqueFD OpenFile(const fml::UniqueFD& base_directory,
44 fml::UniqueFD OpenDirectory(const fml::UniqueFD& base_directory,
58 bool FileExists(const fml::UniqueFD& base_directory, const char* path);
62 bool UnlinkDirectory(const fml::UniqueFD& base_directory, const char* path);
66 bool UnlinkFile(const fml::UniqueFD& base_directory, const char* path);
68 fml::UniqueFD CreateDirectory(const fml::UniqueFD& base_directory,
72 bool WriteAtomically(const fml::UniqueFD& base_directory,
Dfile.cc11 static fml::UniqueFD CreateDirectory(const fml::UniqueFD& base_directory, in CreateDirectory() argument
19 auto directory = OpenDirectory(base_directory, file_path, true, permission); in CreateDirectory()
32 fml::UniqueFD CreateDirectory(const fml::UniqueFD& base_directory, in CreateDirectory() argument
35 if (!IsDirectory(base_directory)) { in CreateDirectory()
43 return CreateDirectory(base_directory, components, permission, 0); in CreateDirectory()
/third_party/python/Tools/ssl/
Dmultissltests.py167 os.path.join(args.base_directory, self.library.lower()), version
170 self.src_dir = os.path.join(args.base_directory, 'src')