/external/chromium_org/chrome/browser/chromeos/drive/ |
file_system.h | 75 const base::FilePath& temporary_file_directory); 90 const base::FilePath& local_src_file_path, 91 const base::FilePath& remote_dest_file_path, 93 virtual void OpenFile(const base::FilePath& file_path, 97 virtual void Copy(const base::FilePath& src_file_path, 98 const base::FilePath& dest_file_path, 101 virtual void Move(const base::FilePath& src_file_path, 102 const base::FilePath& dest_file_path, 104 virtual void Remove(const base::FilePath& file_path, 107 virtual void CreateDirectory(const base::FilePath& directory_path [all...] |
/external/chromium_org/chrome/installer/setup/ |
archive_patch_helper.cc | 15 ArchivePatchHelper::ArchivePatchHelper(const base::FilePath& working_directory, 16 const base::FilePath& compressed_archive, 17 const base::FilePath& patch_source, 18 const base::FilePath& target) 28 const base::FilePath& working_directory, 29 const base::FilePath& compressed_archive, 30 const base::FilePath& patch_source, 31 const base::FilePath& target) { 38 bool ArchivePatchHelper::Uncompress(base::FilePath* last_uncompressed_file) { 50 last_uncompressed_file_ = base::FilePath(output_file) [all...] |
archive_patch_helper_unittest.cc | 38 static base::FilePath data_dir_; 44 base::FilePath ArchivePatchHelperTest::data_dir_; 50 base::FilePath src = data_dir_.AppendASCII("archive1.7z"); 51 base::FilePath patch = data_dir_.AppendASCII("archive.diff"); 52 base::FilePath dest = test_dir_.path().AppendASCII("archive2.7z"); 54 base::FilePath(), 59 base::FilePath base = data_dir_.AppendASCII("archive2.7z");
|
/external/chromium_org/chrome/utility/ |
chrome_content_utility_client.h | 15 class FilePath; 37 void OnUnpackExtension(const base::FilePath& extension_path, 49 void OnCreateZipFile(const base::FilePath& src_dir, 50 const std::vector<base::FilePath>& src_relative_paths, 54 void OnPatchFileBsdiff(const base::FilePath& input_file, 55 const base::FilePath& patch_file, 56 const base::FilePath& output_file); 57 void OnPatchFileCourgette(const base::FilePath& input_file, 58 const base::FilePath& patch_file, 59 const base::FilePath& output_file) [all...] |
/external/chromium_org/content/public/test/ |
sandbox_file_system_test_helper.h | 21 class FilePath; 46 void SetUp(const base::FilePath& base_dir); 52 void SetUp(const base::FilePath& base_dir, 56 base::FilePath GetOriginRootPath(); 57 base::FilePath GetLocalPath(const base::FilePath& path); 58 base::FilePath GetLocalPathFromASCII(const std::string& path); 61 base::FilePath GetUsageCachePath() const; 63 fileapi::FileSystemURL CreateURL(const base::FilePath& path) const; 65 return CreateURL(base::FilePath::FromUTF8Unsafe(utf8)) [all...] |
/frameworks/av/drm/common/ |
ReadWriteUtils.cpp | 35 String8 ReadWriteUtils::readBytes(const String8& filePath) { 37 file = fopen(filePath.string(), "r"); 57 int ReadWriteUtils::readBytes(const String8& filePath, char** buffer) { 59 file = fopen(filePath.string(), "r"); 78 void ReadWriteUtils::writeToFile(const String8& filePath, const String8& data) { 80 file = fopen(filePath.string(), "w+"); 88 ALOGE("Failed to write the data to: %s", filePath.string()); 95 void ReadWriteUtils::appendToFile(const String8& filePath, const String8& data) { 97 file = fopen(filePath.string(), "a+"); 104 ALOGE("Failed to write the data to: %s", filePath.string()) [all...] |
/external/chromium_org/chrome/browser/autofill/ |
form_structure_browsertest.cc | 25 const base::FilePath::CharType kTestName[] = FILE_PATH_LITERAL("heuristics"); 32 const base::FilePath& GetTestDataDir() { 33 CR_DEFINE_STATIC_LOCAL(base::FilePath, dir, ()); 113 const base::FilePath::CharType kFileNamePattern[] = 121 const base::FilePath::CharType kFileNamePattern[] = 130 const base::FilePath::CharType kFileNamePattern[] = 139 const base::FilePath::CharType kFileNamePattern[] = 148 const base::FilePath::CharType kFileNamePattern[] = 157 const base::FilePath::CharType kFileNamePattern[] = 166 const base::FilePath::CharType kFileNamePattern[] [all...] |
/external/chromium_org/chrome/browser/extensions/api/file_system/ |
file_system_api.h | 25 base::FilePath GetLastChooseEntryDirectory(const ExtensionPrefs* prefs, 30 const base::FilePath& path); 32 std::vector<base::FilePath> GetGrayListedDirectories(); 56 void PrepareFilesForWritableApp(const std::vector<base::FilePath>& path); 62 const std::vector<base::FilePath>& path); 68 void AddEntryToResponse(const base::FilePath& path, 72 void HandleWritableFileError(const base::FilePath& error_path); 98 base::FilePath path_; 114 static void SkipPickerAndAlwaysSelectPathForTest(base::FilePath* path); 116 std::vector<base::FilePath>* paths) [all...] |
/external/chromium_org/chrome/browser/extensions/ |
extension_creator_filter.cc | 19 const base::FilePath& file_path) { 20 const base::FilePath& base_name = file_path.BaseName(); 27 const base::FilePath::StringType names_to_exclude[] = { 35 std::set<base::FilePath::StringType> names_to_exclude_set(names_to_exclude, 37 std::vector<base::FilePath::StringType> components; 44 base::FilePath::CharType first_character = base_name.value()[0]; 45 base::FilePath::CharType last_character =
|
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
media_path_filter.h | 22 static bool ShouldSkip(const base::FilePath& path); 28 bool Match(const base::FilePath& path); 32 MediaGalleryScanFileType GetType(const base::FilePath& path); 35 typedef std::vector<base::FilePath::StringType> MediaFileExtensionList; 39 typedef base::hash_map<base::FilePath::StringType, int> MediaFileExtensionMap; 47 const base::FilePath::CharType* const* extensions_list, 51 const base::FilePath::CharType* extension,
|
/external/chromium_org/chrome/installer/test/ |
alternate_version_generator.h | 13 class FilePath; 30 bool GenerateAlternateVersion(const base::FilePath& original_installer_path, 31 const base::FilePath& target_path, 40 bool GenerateAlternatePEFileVersion(const base::FilePath& original_file, 41 const base::FilePath& target_file, 48 bool GenerateSpecificPEFileVersion(const base::FilePath& original_file, 49 const base::FilePath& target_file,
|
/external/chromium_org/chrome/test/base/ |
javascript_browser_test.h | 16 static const base::FilePath::CharType kA11yAuditLibraryJSPath[]; 17 static const base::FilePath::CharType kMockJSPath[]; 18 static const base::FilePath::CharType kWebUILibraryJS[]; 19 static const base::FilePath::CharType kWebUITestFolder[]; 26 void AddLibrary(const base::FilePath& library_path); 50 std::vector<base::FilePath> user_libraries_; 53 std::vector<base::FilePath> library_search_paths_;
|
javascript_browser_test.cc | 14 const base::FilePath::CharType 19 const base::FilePath::CharType JavaScriptBrowserTest::kMockJSPath[] = 23 const base::FilePath::CharType JavaScriptBrowserTest::kWebUILibraryJS[] = 27 const base::FilePath::CharType JavaScriptBrowserTest::kWebUITestFolder[] = 30 void JavaScriptBrowserTest::AddLibrary(const base::FilePath& library_path) { 41 base::FilePath test_data_directory; 46 base::FilePath gen_test_data_directory; 51 base::FilePath source_root_directory; 55 base::FilePath resources_pack_path; 60 AddLibrary(base::FilePath(kMockJSPath)) [all...] |
/external/chromium_org/net/base/ |
filename_util_internal.h | 22 void(base::FilePath::StringType* file_name, char replace_char)> 25 void SanitizeGeneratedFileName(base::FilePath::StringType* filename, 28 bool IsShellIntegratedExtension(const base::FilePath::StringType& extension); 30 bool IsReservedName(const base::FilePath::StringType& filename); 34 base::FilePath* file_name); 36 bool FilePathToString16(const base::FilePath& path, base::string16* converted); 51 base::FilePath GenerateFileNameImpl(
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/ |
file_utils.h | 27 static int getFileSize(const char *const filePath); 34 static int getFilePathWithSuffixBufSize(const char *const filePath, const char *const suffix); 36 static void getFilePathWithSuffix(const char *const filePath, const char *const suffix, 44 // Returns whether the filePath have the suffix. 45 static bool getFilePathWithoutSuffix(const char *const filePath, const char *const suffix, 48 static void getDirPath(const char *const filePath, const int dirPathBufSize, 51 static void getBasename(const char *const filePath, const int outNameBufSize,
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
StorageManagerIntegrationTest.java | 67 String filePath = mFile.getAbsolutePath(); 68 mountObb(filePath); 69 verifyObb1Contents(filePath); 70 unmountObb(filePath, DONT_FORCE); 119 String filePath = mFile.getAbsolutePath(); 120 mountObb(filePath, OBB_FILE_3_PASSWORD, OnObbStateChangeListener.MOUNTED); 121 verifyObb3Contents(filePath); 122 unmountObb(filePath, DONT_FORCE); 131 String filePath = mFile.getAbsolutePath(); 132 mountObb(filePath, OBB_FILE_3_PASSWORD, OnObbStateChangeListener.ERROR_COULD_NOT_MOUNT) [all...] |
/external/chromium_org/webkit/common/fileapi/ |
file_system_util.cc | 27 const base::FilePath::CharType VirtualPath::kRoot[] = FILE_PATH_LITERAL("/"); 28 const base::FilePath::CharType VirtualPath::kSeparator = FILE_PATH_LITERAL('/'); 32 // with base::FilePath elsewhere [e.g. DirName and other methods may also need 34 base::FilePath VirtualPath::BaseName(const base::FilePath& virtual_path) { 35 base::FilePath::StringType path = virtual_path.value(); 39 while (path.size() > 1 && base::FilePath::IsSeparator(path[path.size() - 1])) 41 base::FilePath::StringType::size_type last_separator = 42 path.find_last_of(base::FilePath::kSeparators); 43 if (last_separator != base::FilePath::StringType::npos & [all...] |
/external/chromium_org/third_party/skia/tools/copyright/ |
main.py | 36 for filepath in filepaths: 37 parser = fileparser.CreateParser(filepath) 40 filepath) 42 old_file_contents = ReadFileIntoString(filepath) 46 filepath) 49 ReportWarning('cannot find copyright block in file %s' % filepath) 54 holder, filepath)) 62 WriteStringToFile(new_file_contents, filepath) 85 def ReadFileIntoString(filepath): 88 with open(filepath, 'r') as file_handle [all...] |
/external/chromium_org/tools/gn/ |
build_settings.h | 35 const base::FilePath& root_path() const { return root_path_; } 37 void SetRootPath(const base::FilePath& r); 42 const base::FilePath& secondary_source_path() const { 48 base::FilePath python_path() const { return python_path_; } 49 void set_python_path(const base::FilePath& p) { python_path_ = p; } 72 base::FilePath GetFullPath(const SourceFile& file) const; 73 base::FilePath GetFullPath(const SourceDir& dir) const; 76 // an empty FilePath if the secondary source path is empty. When loading a 78 base::FilePath GetFullPathSecondary(const SourceFile& file) const; 79 base::FilePath GetFullPathSecondary(const SourceDir& dir) const [all...] |
/external/skia/tools/copyright/ |
main.py | 36 for filepath in filepaths: 37 parser = fileparser.CreateParser(filepath) 40 filepath) 42 old_file_contents = ReadFileIntoString(filepath) 46 filepath) 49 ReportWarning('cannot find copyright block in file %s' % filepath) 54 holder, filepath)) 62 WriteStringToFile(new_file_contents, filepath) 85 def ReadFileIntoString(filepath): 88 with open(filepath, 'r') as file_handle [all...] |
/external/chromium_org/chrome/browser/media_galleries/ |
media_folder_finder.h | 24 typedef std::map<base::FilePath, MediaGalleryScanResult> 44 const std::vector<base::FilePath>& graylisted_folders() const; 56 std::vector<base::FilePath> new_folders; 65 void SetRootsForTesting(const std::vector<base::FilePath>& roots); 67 void OnInitialized(const std::vector<base::FilePath>& roots); 73 void GotScanResults(const base::FilePath& path, const WorkerReply& reply); 78 std::vector<base::FilePath> graylisted_folders_; 79 std::vector<base::FilePath> folders_to_scan_; 89 std::vector<base::FilePath> roots_for_testing_;
|
media_folder_finder_unittest.cc | 42 const std::vector<base::FilePath> roots, 68 const base::FilePath& fake_dir() const { 72 void CreateTestDir(const base::FilePath& parent_dir) { 80 void CreateTestFile(const base::FilePath& parent_dir, 120 base::FilePath test_file(parent_dir.AppendASCII("dummy." + extension)); 122 base::GetUniquePathNumber(test_file, base::FilePath::StringType()); 155 std::set<base::FilePath> expected_keys = 161 const base::FilePath& folder = it->first; 173 std::set<base::FilePath> GetKeysFromResults( 175 std::set<base::FilePath> keys [all...] |
/external/chromium_org/chrome/browser/sync_file_system/ |
subtree_set.cc | 27 bool SubtreeSet::IsDisjointWith(const base::FilePath& subtree_root) const { 28 base::FilePath::StringType normalized_subtree_root = 36 base::FilePath path(normalized_subtree_root); 49 bool SubtreeSet::insert(const base::FilePath& subtree_root) { 50 base::FilePath::StringType normalized_subtree_root = 58 base::FilePath path(normalized_subtree_root); 70 bool SubtreeSet::erase(const base::FilePath& subtree_root) { 71 base::FilePath::StringType normalized_subtree_root = 85 base::FilePath path(normalized_subtree_root);
|
/external/chromium_org/extensions/browser/ |
verified_contents_unittest.cc | 39 bool GetPublicKey(const base::FilePath& path, std::string* public_key) { 52 base::FilePath path; 61 base::FilePath verified_contents_path = 74 base::FilePath::FromUTF8Unsafe("manifest.json")))); 78 base::FilePath::FromUTF8Unsafe("background.js")))); 80 base::FilePath foo_bar_html = 81 base::FilePath(FILE_PATH_LITERAL("foo")).AppendASCII("bar.html"); 87 base::FilePath nonexistent = base::FilePath::FromUTF8Unsafe("nonexistent");
|
/external/chromium_org/extensions/common/ |
constants.cc | 14 const base::FilePath::CharType kManifestFilename[] = 16 const base::FilePath::CharType kLocaleFolder[] = 18 const base::FilePath::CharType kMessagesFilename[] = 20 const base::FilePath::CharType kPlatformSpecificFolder[] = 22 const base::FilePath::CharType kMetadataFolder[] = 24 const base::FilePath::CharType kVerifiedContentsFilename[] = 26 const base::FilePath::CharType kComputedHashesFilename[] = 42 const base::FilePath::CharType kExtensionFileExtension[] = 44 const base::FilePath::CharType kExtensionKeyFileExtension[] =
|