/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 | 37 bool CreateUniqueTempDirUnderPath(const FilePath& path) WARN_UNUSED_RESULT; 41 bool Set(const FilePath& path) WARN_UNUSED_RESULT; 48 FilePath Take(); 50 const FilePath& path() const { return path_; } 56 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, 103 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...] |
file_path_watcher_fsevents.h | 30 bool Watch(const FilePath& path, 46 void OnFilePathsChanged(const std::vector<FilePath>& paths); 51 void DispatchEvents(const std::vector<FilePath>& paths, 52 const FilePath& target, 53 const FilePath& resolved_target); 67 void ReportError(const FilePath& target); 73 void StartEventStream(FSEventStreamEventId start_event, const FilePath& path); 81 FilePath target_; 85 FilePath resolved_target_;
|
file_enumerator.cc | 14 bool FileEnumerator::ShouldSkip(const FilePath& path) { 15 FilePath::StringType basename = path.BaseName().value();
|
/external/libchrome/base/test/ |
test_file_util.h | 25 class FilePath; 31 bool EvictFileFromSystemCacheWithRetry(const FilePath& file); 36 bool DieFileDie(const FilePath& file, bool recurse); 40 bool EvictFileFromSystemCache(const FilePath& file); 44 bool VolumeSupportsADS(const FilePath& path); 50 bool HasInternetZoneIdentifier(const FilePath& full_path); 55 bool MakeFileUnreadable(const FilePath& path) WARN_UNUSED_RESULT; 56 bool MakeFileUnwritable(const FilePath& path) WARN_UNUSED_RESULT; 61 explicit FilePermissionRestorer(const FilePath& path); 65 const FilePath path_ [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/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/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 char* pathname) : pathname_(pathname) { 68 explicit FilePath(const String& pathname) : pathname_(pathname) { 72 FilePath& operator=(const FilePath& rhs) [all...] |
/external/protobuf/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/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/vulkan-validation-layers/tests/gtest-1.7.0/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...] |
/ndk/sources/third_party/googletest/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/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/protobuf/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(); 107 EXPECT_TRUE(FilePath("").IsEmpty()) [all...] |
/external/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/vulkan-validation-layers/tests/gtest-1.7.0/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...] |
/ndk/sources/third_party/googletest/googletest/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/libchrome/base/process/ |
process_handle_linux.cc | 20 FilePath GetProcessExecutablePath(ProcessHandle process) { 21 FilePath stat_file = internal::GetProcPidDir(process).Append("exe"); 22 FilePath exe_name; 25 return FilePath();
|
/external/libchrome/base/mac/ |
bundle_locations.h | 20 class FilePath; 49 BASE_EXPORT FilePath MainBundlePath(); 51 BASE_EXPORT FilePath OuterBundlePath(); 53 BASE_EXPORT FilePath FrameworkBundlePath(); 60 // Same as above but accepting a FilePath argument. 61 BASE_EXPORT void SetOverrideOuterBundlePath(const FilePath& file_path); 62 BASE_EXPORT void SetOverrideFrameworkBundlePath(const FilePath& file_path);
|
/external/google-breakpad/src/testing/gtest/src/ |
gtest-filepath.cc | 32 #include "gtest/internal/gtest-filepath.h" 100 FilePath FilePath::GetCurrentDir() { 104 return FilePath(kCurrentDirectoryString); 107 return FilePath(_getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd); 110 return FilePath(getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd); 114 // Returns a copy of the FilePath with the case-insensitive extension removed. 115 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns 116 // FilePath("dir/file"). If a case-insensitive extension is not 117 // found, returns a copy of the original FilePath [all...] |
/external/gtest/src/ |
gtest-filepath.cc | 33 #include "gtest/internal/gtest-filepath.h" 101 FilePath FilePath::GetCurrentDir() { 105 return FilePath(kCurrentDirectoryString); 108 return FilePath(_getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd); 111 return FilePath(getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd); 115 // Returns a copy of the FilePath with the case-insensitive extension removed. 116 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns 117 // FilePath("dir/file"). If a case-insensitive extension is not 118 // found, returns a copy of the original FilePath [all...] |