/external/compiler-rt/lib/profile/ |
InstrProfilingUtil.h | 14 void __llvm_profile_recursive_mkdir(char *Pathname);
|
/external/webrtc/webrtc/base/ |
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) [all...] |
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 [all...] |
fileutils.h | 32 class Pathname; 54 virtual bool Iterate(const Pathname &path); 96 // Returns a DirectoryIterator for a given pathname. 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) [all...] |
fileutils_mock.h | 69 virtual bool Iterate(const Pathname& path) { 71 path_ = path.pathname(); 74 if (path_.rfind(Pathname::DefaultFolderDelimiter()) != path_.size() - 1) 75 path_ += Pathname::DefaultFolderDelimiter(); 101 sub_path.find(Pathname::DefaultFolderDelimiter(), path_.size()); 111 size_t end = sub_path.find(Pathname::DefaultFolderDelimiter(), start); 139 const Pathname &filename, 142 std::string path = filename.pathname(); 153 bool CreatePrivateFile(const Pathname &filename) { 157 bool DeleteFile(const Pathname &filename) [all...] |
pathutils.cc | 43 // Pathname - parsing of pathnames into components, and vice versa 46 bool Pathname::IsFolderDelimiter(char ch) { 50 char Pathname::DefaultFolderDelimiter() { 54 Pathname::Pathname() 58 Pathname::Pathname(const std::string& pathname) 60 SetPathname(pathname); 63 Pathname::Pathname(const std::string& folder, const std::string& filename 91 std::string Pathname::pathname() const { function in class:rtc::Pathname [all...] |
pathutils.h | 21 // Pathname - parsing of pathnames into components, and vice versa. 24 // component. A folder never contains a filename. A pathname may include 27 // pathname() /home/john/example.txt 40 class Pathname { 46 Pathname(); 47 Pathname(const std::string& pathname); 48 Pathname(const std::string& folder, const std::string& filename); 50 // Set's the default folder delimiter for this Pathname 57 // Reset to the empty pathname [all...] |
unixfilesystem.cc | 59 void IOSAppName(rtc::Pathname* path); 92 bool UnixFilesystem::CreateFolder(const Pathname &path, mode_t mode) { 93 std::string pathname(path.pathname()); 94 int len = pathname.length(); 95 if ((len == 0) || (pathname[len - 1] != '/')) 99 int res = ::stat(pathname.c_str(), &st); 111 } while ((len > 0) && (pathname[len - 1] != '/')); 113 if (!CreateFolder(Pathname(pathname.substr(0, len)), mode)) [all...] |
pathutils_unittest.cc | 14 TEST(Pathname, ReturnsDotForEmptyPathname) { 16 std::string(".") + rtc::Pathname::DefaultFolderDelimiter(); 18 rtc::Pathname path("/", ""); 22 EXPECT_FALSE(path.pathname().empty()); 23 EXPECT_EQ(std::string("/"), path.pathname()); 29 EXPECT_FALSE(path.pathname().empty()); 30 EXPECT_EQ(std::string("foo"), path.pathname()); 36 EXPECT_FALSE(path.pathname().empty()); 37 EXPECT_EQ(kCWD, path.pathname()); 43 EXPECT_FALSE(path.pathname().empty()) [all...] |
win32filesystem.cc | 34 bool Win32Filesystem::CreateFolder(const Pathname &pathname) { 35 if (pathname.pathname().empty() || !pathname.filename().empty()) 39 if (!Utf8ToWindowsFilename(pathname.pathname(), &path16)) 53 if (!pathname.parent_folder().empty()) { 54 Pathname parent(pathname); [all...] |
fileutils.cc | 62 bool DirectoryIterator::Iterate(const Pathname &dir) { 63 directory_ = dir.pathname(); 67 std::string d = dir.pathname() + '*'; 156 bool FilesystemInterface::CopyFolder(const Pathname &old_path, 157 const Pathname &new_path) { 160 Pathname new_dir; 161 new_dir.SetFolder(new_path.pathname()); 162 Pathname old_dir; 163 old_dir.SetFolder(old_path.pathname()); 169 if (di->Iterate(old_dir.pathname())) { 266 std::string pathname = path.pathname(); local [all...] |
fileutils_unittest.cc | 20 Pathname path; 26 Pathname path; 54 Pathname path; 67 Pathname path; 90 Pathname path; 126 Pathname path;
|
iosfilesystem.mm | 49 void IOSAppName(rtc::Pathname* path) {
|
filerotatingstream.cc | 190 Pathname pathname(file_name); 310 Pathname dir_path; 319 Pathname path(dir_path_, current_name); 320 files.push_back(path.pathname()); 343 Pathname file_path(dir_path_, file_name.str()); 344 return file_path.pathname();
|
testutils.h | 441 inline rtc::Pathname GetSiblingDirectory( 443 rtc::Pathname path = rtc::Filesystem::GetCurrentDirectory(); 445 rtc::Pathname potential_parallel_dir = path; 456 inline rtc::Pathname GetGoogle3Directory() { 460 inline rtc::Pathname GetTalkDirectory() {
|
filerotatingstream_unittest.cc | 29 Pathname test_path; 34 dir_path_ = test_path.pathname(); 179 Pathname path(stream_->GetFilePath(i)); 188 Pathname test_path; 193 dir_path_ = test_path.pathname();
|
logging_unittest.cc | 132 Pathname path; 137 EXPECT_TRUE(stream.Open(path.pathname(), "wb", NULL));
|
proxydetect_unittest.cc | 44 virtual FileStream* OpenFile(const Pathname& filename,
|
diskcache.cc | 269 Pathname pathname; local 270 pathname.SetFolder(folder_); 271 pathname.SetBasename(buffer); 272 pathname.SetExtension(extension); 278 return pathname.pathname(); 283 Pathname pathname(filename); 285 if (1 != sscanf(pathname.extension().c_str(), ".%u", &tempdex) [all...] |
proxydetect.cc | 382 bool GetFirefoxProfilePath(Pathname* path) { 420 bool GetDefaultFirefoxProfile(Pathname* profile_path) { 422 Pathname path; 441 Pathname candidate; 476 profile_path->SetPathname(candidate.pathname()); 499 bool ReadFirefoxPrefs(const Pathname& filename, 504 LOG(LS_ERROR) << "Failed to open file: " << filename.pathname(); 546 Pathname path; [all...] |
optionsfile_unittest.cc | 39 Pathname dir;
|
/external/webrtc/talk/media/base/ |
executablehelpers.h | 44 inline Pathname GetExecutablePath() { 52 return rtc::Pathname(); 56 return rtc::Pathname(); 61 rtc::Pathname path(dir_tmp); 63 rtc::Pathname path(exe_path_buffer); 71 return rtc::Pathname(); 81 return rtc::Pathname(); 86 return rtc::Pathname(); 90 rtc::Pathname path(exe_path_buffer); 92 rtc::Pathname path [all...] |
testutils.cc | 265 rtc::Pathname path = rtc::GetExecutablePath(); 269 rtc::Pathname path = testing::GetTalkDirectory(); 274 return path.pathname(); 286 rtc::Filesystem::OpenFile(rtc::Pathname(
|
/external/clang/lib/Frontend/ |
HeaderIncludeGen.cpp | 53 SmallString<512> Pathname(Filename); 55 Lexer::Stringify(Pathname); 69 Msg += Pathname;
|
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/tasks/support/ |
gl-matrix.rb | 57 Pathname.new File.expand_path('../..', File.dirname(__FILE__)) 62 # the result. Returns the destination as a Pathname.
|