/external/webrtc/webrtc/base/ |
D | fileutils.h | 32 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 …]
|
D | win32filesystem.h | 22 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 …]
|
D | unixfilesystem.h | 39 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 …]
|
D | fileutils_mock.h | 69 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 …]
|
D | pathutils.cc | 46 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 …]
|
D | unixfilesystem.cc | 59 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 …]
|
D | win32filesystem.cc | 34 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 …]
|
D | fileutils.cc | 62 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 …]
|
D | pathutils.h | 40 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()
|
D | fileutils_unittest.cc | 20 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()
|
D | pathutils_unittest.cc | 14 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()
|
D | filerotatingstream.cc | 190 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()
|
D | testutils.h | 441 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()
|
D | filerotatingstream_unittest.cc | 29 Pathname test_path; in Init() 179 Pathname path(stream_->GetFilePath(i)); in TEST_F() 188 Pathname test_path; in Init()
|
D | proxydetect.cc | 382 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()
|
D | diskcache.cc | 269 Pathname pathname; in IdToFilename() 283 Pathname pathname(filename); in FilenameToId()
|
D | iosfilesystem.mm | 49 void IOSAppName(rtc::Pathname* path) {
|
D | proxydetect_unittest.cc | 44 virtual FileStream* OpenFile(const Pathname& filename, in OpenFile()
|
D | logging_unittest.cc | 132 Pathname path; in TEST()
|
D | optionsfile_unittest.cc | 39 Pathname dir; in OptionsFileTest()
|
/external/webrtc/talk/media/base/ |
D | executablehelpers.h | 44 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()
|
D | testutils.cc | 265 rtc::Pathname path = rtc::GetExecutablePath(); in GetTestFilePath() 269 rtc::Pathname path = testing::GetTalkDirectory(); in GetTestFilePath() 286 rtc::Filesystem::OpenFile(rtc::Pathname( in LoadPlanarYuvTestImage()
|
/external/swiftshader/third_party/LLVM/lib/Linker/ |
D | LinkItems.cpp | 77 sys::Path Pathname = FindLib(Lib); in LinkInLibrary() local 78 if (Pathname.isEmpty()) in LinkInLibrary() 83 Pathname.getMagicNumber(Magic, 64); in LinkInLibrary() 91 if (LinkInFile(Pathname, is_native)) in LinkInLibrary() 96 if (LinkInArchive(Pathname, is_native)) in LinkInLibrary() 97 return error("Cannot link archive '" + Pathname.str() + "'"); in LinkInLibrary()
|
/external/clang/lib/Frontend/ |
D | HeaderIncludeGen.cpp | 56 SmallString<512> Pathname(Filename); in PrintHeaderInfo() local 58 Lexer::Stringify(Pathname); in PrintHeaderInfo() 72 Msg += Pathname; in PrintHeaderInfo()
|
/external/compiler-rt/lib/profile/ |
D | InstrProfilingUtil.h | 17 void __llvm_profile_recursive_mkdir(char *Pathname);
|