/external/libchrome/base/files/ |
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_enumerator.cc | 14 bool FileEnumerator::ShouldSkip(const FilePath& path) { 15 FilePath::StringType basename = path.BaseName().value();
|
file_enumerator.h | 38 // for (base::FilePath name = enum.Next(); !name.empty(); name = enum.Next()) 53 FilePath GetName() const; 74 FilePath filename_; 107 FileEnumerator(const FilePath& root_path, 110 FileEnumerator(const FilePath& root_path, 113 const FilePath::StringType& pattern); 121 FilePath Next(); 128 bool ShouldSkip(const FilePath& path); 139 const FilePath& source, bool show_links); 148 FilePath root_path_ [all...] |
scoped_temp_dir.cc | 32 bool ScopedTempDir::CreateUniqueTempDirUnderPath(const FilePath& base_path) { 49 bool ScopedTempDir::Set(const FilePath& path) { 73 FilePath ScopedTempDir::Take() { 74 FilePath ret = path_; 75 path_ = FilePath(); 79 const FilePath& ScopedTempDir::GetPath() const {
|
/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/libmojo/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/libmojo/base/android/ |
path_utils.cc | 18 bool GetDataDirectory(FilePath* result) { 21 FilePath data_path(ConvertJavaStringToUTF8(path)); 26 bool GetDatabaseDirectory(FilePath* result) { 29 FilePath data_path(ConvertJavaStringToUTF8(path)); 34 bool GetCacheDirectory(FilePath* result) { 37 FilePath cache_path(ConvertJavaStringToUTF8(path)); 42 bool GetThumbnailCacheDirectory(FilePath* result) { 46 FilePath thumbnail_cache_path(ConvertJavaStringToUTF8(path)); 51 bool GetDownloadsDirectory(FilePath* result) { 54 FilePath downloads_path(ConvertJavaStringToUTF8(path)) [all...] |
content_uri_utils_unittest.cc | 16 FilePath data_dir; 20 FilePath image_file = data_dir.Append(FILE_PATH_LITERAL("red.png")); 24 FilePath path = base::InsertImageIntoMediaStore(image_file); 31 FilePath invalid_path("content://foo.bar");
|
/external/deqp/framework/delibs/decpp/ |
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/googletest/googletest/src/ |
gtest-filepath.cc | 33 #include "gtest/internal/gtest-filepath.h" 99 FilePath FilePath::GetCurrentDir() { 103 return FilePath(kCurrentDirectoryString); 106 return FilePath(_getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd); 114 return FilePath(result == NULL ? kCurrentDirectoryString : cwd); 116 return FilePath(result == NULL ? "" : cwd); 120 // Returns a copy of the FilePath with the case-insensitive extension removed. 121 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns 122 // FilePath("dir/file"). If a case-insensitive extension is no [all...] |
/external/libvpx/libvpx/third_party/googletest/src/src/ |
gtest-filepath.cc | 33 #include "gtest/internal/gtest-filepath.h" 99 FilePath FilePath::GetCurrentDir() { 103 return FilePath(kCurrentDirectoryString); 106 return FilePath(_getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd); 114 return FilePath(result == NULL ? kCurrentDirectoryString : cwd); 116 return FilePath(result == NULL ? "" : cwd); 120 // Returns a copy of the FilePath with the case-insensitive extension removed. 121 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns 122 // FilePath("dir/file"). If a case-insensitive extension is no [all...] |
/external/v8/testing/gtest/src/ |
gtest-filepath.cc | 33 #include "gtest/internal/gtest-filepath.h" 99 FilePath FilePath::GetCurrentDir() { 103 return FilePath(kCurrentDirectoryString); 106 return FilePath(_getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd); 114 return FilePath(result == NULL ? kCurrentDirectoryString : cwd); 116 return FilePath(result == NULL ? "" : cwd); 120 // Returns a copy of the FilePath with the case-insensitive extension removed. 121 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns 122 // FilePath("dir/file"). If a case-insensitive extension is no [all...] |
/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/llvm/utils/unittest/googletest/src/ |
gtest-filepath.cc | 32 #include "gtest/internal/gtest-filepath.h" 98 FilePath FilePath::GetCurrentDir() { 102 return FilePath(kCurrentDirectoryString); 105 return FilePath(_getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd); 108 return FilePath(getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd); 112 // Returns a copy of the FilePath with the case-insensitive extension removed. 113 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns 114 // FilePath("dir/file"). If a case-insensitive extension is not 115 // found, returns a copy of the original FilePath [all...] |
/external/mesa3d/src/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...] |
/external/protobuf/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/swiftshader/third_party/LLVM/utils/unittest/googletest/ |
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/vulkan-validation-layers/tests/gtest-1.7.0/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...] |
/prebuilts/ndk/r16/sources/third_party/googletest/googletest/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...] |
/prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/gtest-1.7.0/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...] |
/external/libbrillo/policy/ |
resilient_policy_util.cc | 16 std::map<int, base::FilePath> GetSortedResilientPolicyFilePaths( 17 const base::FilePath& default_policy_path) { 18 std::map<int, base::FilePath> sorted_policy_file_paths; 19 base::FilePath directory = default_policy_path.DirName(); 28 for (base::FilePath child_file = file_iter.Next(); !child_file.empty(); 39 bool ParseResilientPolicyFilePath(const base::FilePath& policy_path, 40 const base::FilePath& default_policy_path, 62 base::FilePath GetResilientPolicyFilePathForIndex( 63 const base::FilePath& default_policy_path, 67 return base::FilePath(default_policy_path.value() + "." [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/ |
SecureBootConfigFileExplorer.c | 89 @param[in, out] FilePath On input, the device path to the file.
115 IN OUT EFI_DEVICE_PATH_PROTOCOL **FilePath,
127 if ((FilePath == NULL || FileHandle == NULL)) {
133 FilePath,
161 while (!IsDevicePathEnd (*FilePath)) {
165 if (DevicePathType (*FilePath) != MEDIA_DEVICE_PATH ||
166 DevicePathSubType (*FilePath) != MEDIA_FILEPATH_DP
183 ((FILEPATH_DEVICE_PATH*)*FilePath)->PathName,
195 ((FILEPATH_DEVICE_PATH*)*FilePath)->PathName,
212 *FilePath = NextDevicePathNode (*FilePath); [all...] |
/external/libmojo/base/files/ |
file_util_android.cc | 12 bool GetShmemTempDir(bool executable, base::FilePath* path) {
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/ |
Exception.py | 25 self.FilePath = ''
30 self.FilePath = os.path.normpath(XmlElement(Item, '%s/FilePath' % Key))
33 return 'ErrorID = %s KeyWord = %s FilePath = %s' %(self.ErrorID, self.KeyWord, self.FilePath)
40 def FromXmlFile(self, FilePath):
41 XmlContent = XmlParseFile(FilePath)
50 #RtnList.append((Item.ErrorID, Item.KeyWord, Item.FilePath))
64 def __init__(self, FilePath = None):
67 self.LoadExceptionListXml(FilePath)
[all...] |
/external/libbrillo/brillo/ |
file_utils.h | 22 BRILLO_EXPORT bool TouchFile(const base::FilePath& path, 31 BRILLO_EXPORT bool TouchFile(const base::FilePath& path);
|