Home
last modified time | relevance | path

Searched refs:Pathname (Results 1 – 25 of 29) sorted by relevance

12

/external/webrtc/webrtc/base/
Dfileutils.h32 class Pathname; variable
54 virtual bool Iterate(const Pathname &path);
104 virtual FileStream *OpenFile(const Pathname &filename,
114 virtual bool CreatePrivateFile(const Pathname &filename) = 0;
119 virtual bool DeleteFile(const Pathname &filename) = 0;
125 virtual bool DeleteEmptyFolder(const Pathname &folder) = 0;
130 virtual bool DeleteFolderContents(const Pathname &folder);
134 virtual bool DeleteFolderAndContents(const Pathname& folder);
139 bool DeleteFileOrFolder(const Pathname &path) { in DeleteFileOrFolder()
148 virtual bool CreateFolder(const Pathname &pathname) = 0;
[all …]
Dwin32filesystem.h22 virtual FileStream *OpenFile(const Pathname &filename,
27 virtual bool CreatePrivateFile(const Pathname &filename);
31 virtual bool DeleteFile(const Pathname &filename);
35 virtual bool DeleteEmptyFolder(const Pathname &folder);
40 virtual bool CreateFolder(const Pathname &pathname);
46 virtual bool MoveFile(const Pathname &old_path, const Pathname &new_path);
51 virtual bool MoveFolder(const Pathname &old_path, const Pathname &new_path);
55 virtual bool CopyFile(const Pathname &old_path, const Pathname &new_path);
58 virtual bool IsFolder(const Pathname& pathname);
61 virtual bool IsFile(const Pathname &path);
[all …]
Dunixfilesystem.h39 FileStream* OpenFile(const Pathname& filename,
44 bool CreatePrivateFile(const Pathname& filename) override;
48 bool DeleteFile(const Pathname& filename) override;
53 bool DeleteEmptyFolder(const Pathname& folder) override;
59 virtual bool CreateFolder(const Pathname &pathname, mode_t mode);
62 bool CreateFolder(const Pathname& pathname) override;
67 bool MoveFile(const Pathname& old_path, const Pathname& new_path) override;
68 bool MoveFolder(const Pathname& old_path, const Pathname& new_path) override;
73 bool CopyFile(const Pathname& old_path, const Pathname& new_path) override;
76 bool IsFolder(const Pathname& pathname) override;
[all …]
Dfileutils_mock.h69 virtual bool Iterate(const Pathname& path) { in Iterate()
74 if (path_.rfind(Pathname::DefaultFolderDelimiter()) != path_.size() - 1) in Iterate()
75 path_ += Pathname::DefaultFolderDelimiter(); in Iterate()
101 sub_path.find(Pathname::DefaultFolderDelimiter(), path_.size()); in IsDirectory()
111 size_t end = sub_path.find(Pathname::DefaultFolderDelimiter(), start); in Name()
139 const Pathname &filename, in OpenFile()
153 bool CreatePrivateFile(const Pathname &filename) { in CreatePrivateFile()
157 bool DeleteFile(const Pathname &filename) { in DeleteFile()
161 bool DeleteEmptyFolder(const Pathname &folder) { in DeleteEmptyFolder()
165 bool DeleteFolderContents(const Pathname &folder) { in DeleteFolderContents()
[all …]
Dpathutils.cc46 bool Pathname::IsFolderDelimiter(char ch) { in IsFolderDelimiter()
50 char Pathname::DefaultFolderDelimiter() { in DefaultFolderDelimiter()
54 Pathname::Pathname() in Pathname() function in rtc::Pathname
58 Pathname::Pathname(const std::string& pathname) in Pathname() function in rtc::Pathname
63 Pathname::Pathname(const std::string& folder, const std::string& filename) in Pathname() function in rtc::Pathname
68 void Pathname::SetFolderDelimiter(char delimiter) { in SetFolderDelimiter()
73 void Pathname::Normalize() { in Normalize()
81 void Pathname::clear() { in clear()
87 bool Pathname::empty() const { in empty()
91 std::string Pathname::pathname() const { in pathname()
[all …]
Dunixfilesystem.cc59 void IOSAppName(rtc::Pathname* path);
92 bool UnixFilesystem::CreateFolder(const Pathname &path, mode_t mode) { in CreateFolder()
113 if (!CreateFolder(Pathname(pathname.substr(0, len)), mode)) { in CreateFolder()
121 bool UnixFilesystem::CreateFolder(const Pathname &path) { in CreateFolder()
125 FileStream *UnixFilesystem::OpenFile(const Pathname &filename, in OpenFile()
135 bool UnixFilesystem::CreatePrivateFile(const Pathname &filename) { in CreatePrivateFile()
151 bool UnixFilesystem::DeleteFile(const Pathname &filename) { in DeleteFile()
161 bool UnixFilesystem::DeleteEmptyFolder(const Pathname &folder) { in DeleteEmptyFolder()
172 bool UnixFilesystem::GetTemporaryFolder(Pathname &pathname, bool create, in GetTemporaryFolder()
206 std::string UnixFilesystem::TempFilename(const Pathname &dir, in TempFilename()
[all …]
Dwin32filesystem.cc34 bool Win32Filesystem::CreateFolder(const Pathname &pathname) { in CreateFolder()
54 Pathname parent(pathname); in CreateFolder()
64 FileStream *Win32Filesystem::OpenFile(const Pathname &filename, in OpenFile()
74 bool Win32Filesystem::CreatePrivateFile(const Pathname &filename) { in CreatePrivateFile()
182 bool Win32Filesystem::DeleteFile(const Pathname &filename) { in DeleteFile()
191 bool Win32Filesystem::DeleteEmptyFolder(const Pathname &folder) { in DeleteEmptyFolder()
198 bool Win32Filesystem::GetTemporaryFolder(Pathname &pathname, bool create, in GetTemporaryFolder()
221 std::string Win32Filesystem::TempFilename(const Pathname &dir, in TempFilename()
231 bool Win32Filesystem::MoveFile(const Pathname &old_path, in MoveFile()
232 const Pathname &new_path) { in MoveFile()
[all …]
Dfileutils.cc62 bool DirectoryIterator::Iterate(const Pathname &dir) { in DirectoryIterator()
156 bool FilesystemInterface::CopyFolder(const Pathname &old_path, in DirectoryIterator()
157 const Pathname &new_path) { in DirectoryIterator()
160 Pathname new_dir; in DirectoryIterator()
162 Pathname old_dir; in DirectoryIterator()
173 Pathname source; in DirectoryIterator()
174 Pathname dest; in DirectoryIterator()
187 bool FilesystemInterface::DeleteFolderContents(const Pathname &folder) { in DirectoryIterator()
197 Pathname subdir; in DirectoryIterator()
216 bool FilesystemInterface::DeleteFolderAndContents(const Pathname& folder) { in DirectoryIterator()
[all …]
Dpathutils.h40 class Pathname {
46 Pathname();
47 Pathname(const std::string& pathname);
48 Pathname(const std::string& folder, const std::string& filename);
122 inline bool CreateFolder(const Pathname& path) { in CreateFolder()
125 inline bool FinishPath(Pathname& path, bool create, const std::string& append) { in FinishPath()
134 inline bool GetTemporaryFolder(Pathname& path, bool create, in GetTemporaryFolder()
142 inline bool GetAppDataFolder(Pathname& path, bool create, in GetAppDataFolder()
149 Pathname path; in CleanupTemporaryFolder()
Dfileutils_unittest.cc20 Pathname path; in TEST()
26 Pathname path; in TEST()
54 Pathname path; in TEST()
67 Pathname path; in TEST()
90 Pathname path; in TEST()
126 Pathname path; in TEST()
Dpathutils_unittest.cc14 TEST(Pathname, ReturnsDotForEmptyPathname) { in TEST() argument
16 std::string(".") + rtc::Pathname::DefaultFolderDelimiter(); in TEST()
18 rtc::Pathname path("/", ""); in TEST()
46 rtc::Pathname path2("c:/foo bar.txt"); in TEST()
Dfilerotatingstream.cc190 Pathname pathname(file_name); in GetSize()
310 Pathname dir_path; in GetFilesWithPrefix()
319 Pathname path(dir_path_, current_name); in GetFilesWithPrefix()
343 Pathname file_path(dir_path_, file_name.str()); in GetFilePath()
Dtestutils.h441 inline rtc::Pathname GetSiblingDirectory( in GetSiblingDirectory()
443 rtc::Pathname path = rtc::Filesystem::GetCurrentDirectory(); in GetSiblingDirectory()
445 rtc::Pathname potential_parallel_dir = path; in GetSiblingDirectory()
456 inline rtc::Pathname GetGoogle3Directory() { in GetGoogle3Directory()
460 inline rtc::Pathname GetTalkDirectory() { in GetTalkDirectory()
Dfilerotatingstream_unittest.cc29 Pathname test_path; in Init()
179 Pathname path(stream_->GetFilePath(i)); in TEST_F()
188 Pathname test_path; in Init()
Dproxydetect.cc382 bool GetFirefoxProfilePath(Pathname* path) { in GetFirefoxProfilePath()
420 bool GetDefaultFirefoxProfile(Pathname* profile_path) { in GetDefaultFirefoxProfile()
422 Pathname path; in GetDefaultFirefoxProfile()
441 Pathname candidate; in GetDefaultFirefoxProfile()
499 bool ReadFirefoxPrefs(const Pathname& filename, in ReadFirefoxPrefs()
546 Pathname path; in GetFirefoxProxySettings()
Ddiskcache.cc269 Pathname pathname; in IdToFilename()
283 Pathname pathname(filename); in FilenameToId()
Diosfilesystem.mm49 void IOSAppName(rtc::Pathname* path) {
Dproxydetect_unittest.cc44 virtual FileStream* OpenFile(const Pathname& filename, in OpenFile()
Dlogging_unittest.cc132 Pathname path; in TEST()
Doptionsfile_unittest.cc39 Pathname dir; in OptionsFileTest()
/external/webrtc/talk/media/base/
Dexecutablehelpers.h44 inline Pathname GetExecutablePath() { in GetExecutablePath()
52 return rtc::Pathname(); in GetExecutablePath()
56 return rtc::Pathname(); in GetExecutablePath()
61 rtc::Pathname path(dir_tmp); in GetExecutablePath()
63 rtc::Pathname path(exe_path_buffer); in GetExecutablePath()
71 return rtc::Pathname(); in GetExecutablePath()
81 return rtc::Pathname(); in GetExecutablePath()
86 return rtc::Pathname(); in GetExecutablePath()
90 rtc::Pathname path(exe_path_buffer); in GetExecutablePath()
92 rtc::Pathname path; in GetExecutablePath()
Dtestutils.cc265 rtc::Pathname path = rtc::GetExecutablePath(); in GetTestFilePath()
269 rtc::Pathname path = testing::GetTalkDirectory(); in GetTestFilePath()
286 rtc::Filesystem::OpenFile(rtc::Pathname( in LoadPlanarYuvTestImage()
/external/clang/lib/Frontend/
DHeaderIncludeGen.cpp53 SmallString<512> Pathname(Filename); in PrintHeaderInfo() local
55 Lexer::Stringify(Pathname); in PrintHeaderInfo()
69 Msg += Pathname; in PrintHeaderInfo()
/external/compiler-rt/lib/profile/
DInstrProfilingUtil.h14 void __llvm_profile_recursive_mkdir(char *Pathname);
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/tasks/support/
Dgl-matrix.rb57 Pathname.new File.expand_path('../..', File.dirname(__FILE__))

12