/external/libchrome/base/files/ |
file_path_constants.cc | 13 const FilePath::CharType FilePath::kSeparators[] = FILE_PATH_LITERAL("\\/"); 15 const FilePath::CharType FilePath::kSeparators[] = FILE_PATH_LITERAL("/"); 18 const size_t FilePath::kSeparatorsLength = arraysize(kSeparators); 20 const FilePath::CharType FilePath::kCurrentDirectory[] = FILE_PATH_LITERAL("."); 21 const FilePath::CharType FilePath::kParentDirectory[] = FILE_PATH_LITERAL(".."); 23 const FilePath::CharType FilePath::kExtensionSeparator = FILE_PATH_LITERAL('.') [all...] |
scoped_temp_dir.h | 39 bool CreateUniqueTempDirUnderPath(const FilePath& path) WARN_UNUSED_RESULT; 43 bool Set(const FilePath& path) WARN_UNUSED_RESULT; 50 FilePath Take(); 54 const FilePath& GetPath() const; 61 static const FilePath::CharType* GetTempDirPrefix(); 64 FilePath path_;
|
file_util.h | 49 BASE_EXPORT FilePath MakeAbsoluteFilePath(const FilePath& input); 56 BASE_EXPORT int64_t ComputeDirectorySize(const FilePath& root_path); 70 BASE_EXPORT bool DeleteFile(const FilePath& path, bool recursive); 78 BASE_EXPORT bool DeleteFileAfterReboot(const FilePath& path); 86 BASE_EXPORT bool Move(const FilePath& from_path, const FilePath& to_path); 94 BASE_EXPORT bool ReplaceFile(const FilePath& from_path, 95 const FilePath& to_path, 118 BASE_EXPORT bool CopyFile(const FilePath& from_path, const FilePath& to_path) [all...] |
file_path.h | 5 // FilePath is a container for pathnames stored in a platform's native string 26 // FilePath objects are intended to be used anywhere paths are. An 27 // application may pass FilePath objects around internally, masking the 30 // OpenFile(const FilePath &) function may be made available, allowing all 39 // Several methods are available to perform common operations on a FilePath 42 // to an existing FilePath object (Append). These methods are highly 48 // instances of FilePath objects, and are therefore safe to use on const 51 // To aid in initialization of FilePath objects from string literals, a 58 // Because a FilePath object should not be instantiated at the global scope, 59 // instead, use a FilePath::CharType[] and initialize it wit [all...] |
/external/deqp/framework/delibs/decpp/ |
deFilePath.hpp | 36 class FilePath 50 FilePath (void); 51 FilePath (const std::string& path); 52 FilePath (const char* path); 53 FilePath (const std::vector<std::string>& components); 54 ~FilePath (void); 64 static FilePath join (const FilePath& a, const FilePath& b); 65 FilePath& join (const FilePath& b) [all...] |
deFilePath.cpp | 45 const std::string FilePath::separator = "\\"; 47 const std::string FilePath::separator = "/"; 50 FilePath::FilePath (const std::vector<std::string>& components) 60 void FilePath::split (std::vector<std::string>& components) const 89 FilePath FilePath::join (const std::vector<std::string>& components) 91 return FilePath(components); 94 FilePath& FilePath::normalize (void [all...] |
/external/autotest/client/deps/glbench/src/ |
filepath.h | 10 class FilePath { 12 FilePath() { this->path_ = std::string(""); } 13 FilePath(const FilePath& that) { this->path_ = that.path_; } 14 FilePath(std::string path) { this->path_ = path; } 15 FilePath(const char* path) { this->path_ = path; } 16 ~FilePath() = default; 18 FilePath DirName(); 21 FilePath Append(const FilePath& path) [all...] |
/external/libchrome/base/test/ |
test_file_util.h | 29 class FilePath; 35 bool EvictFileFromSystemCacheWithRetry(const FilePath& file); 40 bool DieFileDie(const FilePath& file, bool recurse); 44 bool EvictFileFromSystemCache(const FilePath& file); 52 bool DenyFilePermission(const FilePath& path, DWORD permission); 57 bool MakeFileUnreadable(const FilePath& path) WARN_UNUSED_RESULT; 58 bool MakeFileUnwritable(const FilePath& path) WARN_UNUSED_RESULT; 63 explicit FilePermissionRestorer(const FilePath& path); 67 const FilePath path_; 77 FilePath InsertImageIntoMediaStore(const FilePath& path) [all...] |
/external/google-breakpad/src/testing/gtest/include/gtest/internal/ |
gtest-filepath.h | 32 // Google Test filepath utilities 48 // FilePath - a class for file and directory pathname manipulation which 53 // A FilePath with a value ending in a path separator ("like/this/") represents 59 class GTEST_API_ FilePath { 61 FilePath() : pathname_("") { } 62 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } 64 explicit FilePath(const char* pathname) : pathname_(pathname) { 68 explicit FilePath(const String& pathname) : pathname_(pathname) { 72 FilePath& operator=(const FilePath& rhs) [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
gtest-filepath.h | 32 // Google Test filepath utilities 48 // FilePath - a class for file and directory pathname manipulation which 53 // A FilePath with a value ending in a path separator ("like/this/") represents 59 class GTEST_API_ FilePath { 61 FilePath() : pathname_("") { } 62 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } 64 explicit FilePath(const char* pathname) : pathname_(pathname) { 68 explicit FilePath(const String& pathname) : pathname_(pathname) { 72 FilePath& operator=(const FilePath& rhs) [all...] |
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/ |
gtest-filepath.h | 32 // Google Test filepath utilities 48 // FilePath - a class for file and directory pathname manipulation which 53 // A FilePath with a value ending in a path separator ("like/this/") represents 59 class GTEST_API_ FilePath { 61 FilePath() : pathname_("") { } 62 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } 64 explicit FilePath(const char* pathname) : pathname_(pathname) { 68 explicit FilePath(const String& pathname) : pathname_(pathname) { 72 FilePath& operator=(const FilePath& rhs) [all...] |
/external/googletest/googletest/include/gtest/internal/ |
gtest-filepath.h | 30 // Google Test filepath utilities 51 // FilePath - a class for file and directory pathname manipulation which 56 // A FilePath with a value ending in a path separator ("like/this/") represents 62 class GTEST_API_ FilePath { 64 FilePath() : pathname_("") { } 65 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } 67 explicit FilePath(const std::string& pathname) : pathname_(pathname) { 71 FilePath& operator=(const FilePath& rhs) [all...] |
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/internal/ |
gtest-filepath.h | 32 // Google Test filepath utilities 48 // FilePath - a class for file and directory pathname manipulation which 53 // A FilePath with a value ending in a path separator ("like/this/") represents 59 class GTEST_API_ FilePath { 61 FilePath() : pathname_("") { } 62 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } 64 explicit FilePath(const std::string& pathname) : pathname_(pathname) { 68 FilePath& operator=(const FilePath& rhs) [all...] |
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/ |
gtest-filepath.h | 30 // Google Test filepath utilities 51 // FilePath - a class for file and directory pathname manipulation which 56 // A FilePath with a value ending in a path separator ("like/this/") represents 62 class GTEST_API_ FilePath { 64 FilePath() : pathname_("") { } 65 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } 67 explicit FilePath(const std::string& pathname) : pathname_(pathname) { 71 FilePath& operator=(const FilePath& rhs) [all...] |
/external/mesa3d/src/gtest/include/gtest/internal/ |
gtest-filepath.h | 32 // Google Test filepath utilities 48 // FilePath - a class for file and directory pathname manipulation which 53 // A FilePath with a value ending in a path separator ("like/this/") represents 59 class GTEST_API_ FilePath { 61 FilePath() : pathname_("") { } 62 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } 64 explicit FilePath(const std::string& pathname) : pathname_(pathname) { 68 FilePath& operator=(const FilePath& rhs) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/internal/ |
gtest-filepath.h | 32 // Google Test filepath utilities 48 // FilePath - a class for file and directory pathname manipulation which 53 // A FilePath with a value ending in a path separator ("like/this/") represents 59 class GTEST_API_ FilePath { 61 FilePath() : pathname_("") { } 62 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } 64 explicit FilePath(const std::string& pathname) : pathname_(pathname) { 68 FilePath& operator=(const FilePath& rhs) [all...] |
/external/libbrillo/policy/ |
resilient_policy_util.h | 19 BRILLO_EXPORT std::map<int, base::FilePath> GetSortedResilientPolicyFilePaths( 20 const base::FilePath& default_policy_path); 25 BRILLO_EXPORT base::FilePath GetResilientPolicyFilePathForIndex( 26 const base::FilePath& default_policy_path, 34 const base::FilePath& policy_path, 35 const base::FilePath& default_policy_path,
|
/external/google-breakpad/src/testing/gtest/test/ |
gtest-filepath_test.cc | 32 // Google Test filepath utilities 41 #include "gtest/internal/gtest-filepath.h" 76 FilePath filepath(path); 78 filepath.RemoveTrailingPathSeparator().c_str()); 87 const FilePath original_dir = FilePath::GetCurrentDir(); 91 const FilePath cwd = FilePath::GetCurrentDir(); 111 EXPECT_TRUE(FilePath("").IsEmpty()) [all...] |
/external/googletest/googletest/test/ |
googletest-filepath-test.cc | 30 // Google Test filepath utilities 38 #include "gtest/internal/gtest-filepath.h" 63 FilePath filepath(path); 65 filepath.RemoveTrailingPathSeparator().c_str()); 74 const FilePath original_dir = FilePath::GetCurrentDir(); 78 const FilePath cwd = FilePath::GetCurrentDir(); 98 EXPECT_TRUE(FilePath("").IsEmpty()) [all...] |
/external/libchrome/mojo/public/cpp/base/ |
file_path_unittest.cc | 14 base::FilePath dir(FILE_PATH_LITERAL("hello")); 15 base::FilePath file = dir.Append(FILE_PATH_LITERAL("world")); 16 base::FilePath file_out; 19 mojo::test::SerializeAndDeserialize<mojom::FilePath>(&file, &file_out));
|
/external/libchrome/base/ |
path_service.h | 17 class FilePath; 32 static bool Get(int key, FilePath* path); 47 static bool Override(int key, const FilePath& path); 59 const FilePath& path, 71 typedef bool (*ProviderFunc)(int, FilePath*);
|
/external/libbrillo/brillo/ |
file_utils.h | 23 BRILLO_EXPORT bool TouchFile(const base::FilePath& path, 32 BRILLO_EXPORT bool TouchFile(const base::FilePath& path); 42 BRILLO_EXPORT bool WriteBlobToFile(const base::FilePath& path, 44 BRILLO_EXPORT bool WriteStringToFile(const base::FilePath& path, 46 BRILLO_EXPORT bool WriteToFile(const base::FilePath& path, 57 BRILLO_EXPORT bool SyncFileOrDirectory(const base::FilePath& path, 73 BRILLO_EXPORT bool WriteBlobToFileAtomic(const base::FilePath& path, 76 BRILLO_EXPORT bool WriteToFileAtomic(const base::FilePath& path,
|
/external/libchrome/base/process/ |
process_handle_linux.cc | 29 FilePath GetProcessExecutablePath(ProcessHandle process) { 30 FilePath stat_file = internal::GetProcPidDir(process).Append("exe"); 31 FilePath exe_name; 34 return FilePath();
|
/external/libchrome/base/test/android/ |
url_utils.h | 18 BASE_EXPORT FilePath GetIsolatedTestRoot();
|
/external/googletest/googletest/src/ |
gtest-filepath.cc | 30 #include "gtest/internal/gtest-filepath.h" 94 FilePath FilePath::GetCurrentDir() { 99 return FilePath(kCurrentDirectoryString); 102 return FilePath(_getcwd(cwd, sizeof(cwd)) == nullptr ? "" : cwd); 110 return FilePath(result == nullptr ? kCurrentDirectoryString : cwd); 112 return FilePath(result == nullptr ? "" : cwd); 116 // Returns a copy of the FilePath with the case-insensitive extension removed. 117 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns 118 // FilePath("dir/file"). If a case-insensitive extension is no [all...] |