/external/chromium_org/components/storage_monitor/ |
volume_mount_watcher_win.h | 38 static base::FilePath DriveNumberToFilePath(int drive_number); 45 bool GetDeviceInfo(const base::FilePath& device_path, 63 typedef base::Callback<bool(const base::FilePath&, 66 typedef base::Callback<std::vector<base::FilePath>(void)> 71 const base::FilePath& device_path, 78 void AddDevicesOnUIThread(std::vector<base::FilePath> removable_devices); 83 const base::FilePath& device_path, 88 virtual void DeviceCheckComplete(const base::FilePath& device_path); 104 typedef std::map<base::FilePath, StorageInfo> MountPointDeviceMetadataMap; 109 std::set<base::FilePath> pending_device_checks_ [all...] |
/external/chromium_org/testing/gtest/test/ |
gtest_premature_exit_test.cc | 54 static bool FileExists(const char* filepath) { 56 return Stat(filepath, &stat) == 0; 106 const char* const filepath = GetEnv("TEST_PREMATURE_EXIT_FILE"); local 107 ASSERT_TRUE(filepath != NULL); 108 ASSERT_NE(*filepath, '\0'); 132 const char* const filepath = GetEnv("TEST_PREMATURE_EXIT_FILE"); local 133 if (filepath != NULL && *filepath != '\0') { 134 if (PrematureExitTest::FileExists(filepath)) { 137 filepath); [all...] |
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
filetools.cpp | 35 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir) { 38 if (filePath == NULL || checkAgainst == NULL) { 59 isLatest = isFileModTimeLater(filePath, newpath, isDir); 64 int32_t latest = whichFileModTimeIsLater(filePath, newpath); 81 int32_t latest = whichFileModTimeIsLater(filePath, checkAgainst); 122 swapFileSepChar(char *filePath, const char oldFileSepChar, const char newFileSepChar) { 123 for (int32_t i = 0, length = uprv_strlen(filePath); i < length; i++) { 124 filePath[i] = (filePath[i] == oldFileSepChar ) ? newFileSepChar : filePath[i] [all...] |
/external/deqp/framework/delibs/decpp/ |
deDirectoryIterator.cpp | 37 DirectoryIterator::DirectoryIterator (const FilePath& path) 38 : m_path(FilePath::normalize(path)) 41 DE_CHECK_RUNTIME_ERR(m_path.getType() == FilePath::TYPE_DIRECTORY); 60 FilePath DirectoryIterator::getItem (void) const 63 return FilePath::join(m_path, m_fileInfo.name); 80 DirectoryIterator::DirectoryIterator (const FilePath& path) 81 : m_path (FilePath::normalize(path)) 86 DE_CHECK_RUNTIME_ERR(m_path.getType() == FilePath::TYPE_DIRECTORY); 105 FilePath DirectoryIterator::getItem (void) const 108 return FilePath::join(m_path, m_curEntry->d_name) [all...] |
/external/gtest/test/ |
gtest_premature_exit_test.cc | 54 static bool FileExists(const char* filepath) { 56 return Stat(filepath, &stat) == 0; 104 const char* const filepath = GetEnv("TEST_PREMATURE_EXIT_FILE"); local 105 ASSERT_TRUE(filepath != NULL); 106 ASSERT_NE(*filepath, '\0'); 130 const char* const filepath = GetEnv("TEST_PREMATURE_EXIT_FILE"); local 131 if (filepath != NULL && *filepath != '\0') { 132 if (PrematureExitTest::FileExists(filepath)) { 135 filepath); [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
filetools.cpp | 43 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir) { 46 if (filePath == NULL || checkAgainst == NULL) { 67 isLatest = isFileModTimeLater(filePath, newpath, isDir); 72 int32_t latest = whichFileModTimeIsLater(filePath, newpath); 89 int32_t latest = whichFileModTimeIsLater(filePath, checkAgainst); 130 swapFileSepChar(char *filePath, const char oldFileSepChar, const char newFileSepChar) { 131 for (int32_t i = 0, length = uprv_strlen(filePath); i < length; i++) { 132 filePath[i] = (filePath[i] == oldFileSepChar ) ? newFileSepChar : filePath[i] [all...] |
/external/chromium_org/base/files/ |
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();
|
scoped_temp_dir.h | 36 bool CreateUniqueTempDirUnderPath(const FilePath& path) WARN_UNUSED_RESULT; 40 bool Set(const FilePath& path) WARN_UNUSED_RESULT; 47 FilePath Take(); 49 const FilePath& path() const { return path_; } 55 FilePath path_;
|
/external/chromium_org/base/ |
native_library_win.cc | 20 NativeLibrary LoadNativeLibraryHelper(const FilePath& library_path, 29 FilePath current_directory; 31 FilePath plugin_path = library_path.DirName(); 57 NativeLibrary LoadNativeLibrary(const FilePath& library_path, 62 NativeLibrary LoadNativeLibraryDynamically(const FilePath& library_path) {
|
/external/chromium_org/chrome/app/ |
chrome_breakpad_client.h | 22 virtual bool GetAlternativeCrashDumpLocation(base::FilePath* crash_dir) 24 virtual void GetProductNameAndVersion(const base::FilePath& exe_path, 34 virtual bool GetIsPerUserInstall(const base::FilePath& exe_path) OVERRIDE; 44 virtual base::FilePath GetReporterLogFilename() OVERRIDE; 47 virtual bool GetCrashDumpLocation(base::FilePath* crash_dir) OVERRIDE;
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
filesystem_api_util.h | 19 class FilePath; 27 bool IsUnderNonNativeLocalPath(Profile* profile, const base::FilePath& path); 33 const base::FilePath& path, 40 const base::FilePath& path, 48 const base::FilePath& path,
|
/external/chromium_org/chrome/browser/local_discovery/storage/ |
privet_filesystem_attribute_cache_unittest.cc | 38 base::FilePath(FILE_PATH_LITERAL("/test/path/foo")), dictionary_json); 41 cache_.GetFileInfo(base::FilePath(FILE_PATH_LITERAL("/test/path/foo"))); 46 base::FilePath(FILE_PATH_LITERAL("/test/path/foo/bar"))); 51 base::FilePath(FILE_PATH_LITERAL("/test/path/foo/baz.txt"))); 57 base::FilePath(FILE_PATH_LITERAL("/test/path/foo/notfound.txt")));
|
/external/chromium_org/chrome/browser/mac/ |
master_prefs.mm | 31 base::FilePath MasterPrefsPath() { 36 return base::FilePath(); 44 base::FilePath user_application_support_path; 55 base::FilePath search_path; 57 return base::FilePath();
|
/external/chromium_org/chrome/common/mac/ |
mock_launchd.h | 26 static bool MakeABundle(const base::FilePath& dst, 28 base::FilePath* bundle_root, 29 base::FilePath* executable); 31 MockLaunchd(const base::FilePath& file, base::MessageLoop* loop, 65 base::FilePath file_;
|
/external/chromium_org/cloud_print/service/win/ |
service_controller.h | 16 class FilePath; 37 const base::FilePath& user_data_dir); 42 const base::FilePath& user_data_dir, 58 base::FilePath GetBinary() const; 65 const base::FilePath& user_data_dir,
|
/external/chromium_org/content/test/ |
image_decoder_test.cc | 29 bool ShouldSkipFile(const base::FilePath& path, 42 void ReadFileToVector(const base::FilePath& path, std::vector<char>* contents) { 49 base::FilePath GetMD5SumPath(const base::FilePath& path) { 50 static const base::FilePath::StringType kDecodedDataExtension( 52 return base::FilePath(path.value() + kDecodedDataExtension); 56 void SaveMD5Sum(const base::FilePath& path, const blink::WebImage& web_image) { 75 const base::FilePath& path, 76 const base::FilePath& md5_sum_path, 108 base::FilePath data_dir [all...] |
/external/chromium_org/media/video/capture/ |
file_video_capture_device_factory.cc | 19 base::FilePath GetFilePathFromCommandLine() { 20 base::FilePath command_line_file_path = 32 base::FilePath(base::SysUTF8ToWide(device_name.name())))); 35 base::FilePath(device_name.name()))); 43 base::FilePath command_line_file_path = GetFilePathFromCommandLine();
|
/external/chromium_org/net/disk_cache/ |
cache_util_posix.cc | 14 bool MoveCache(const base::FilePath& from_path, const base::FilePath& to_path) { 28 for (base::FilePath name = iter.Next(); !name.value().empty(); 30 base::FilePath destination = to_path.Append(name.BaseName()); 42 bool DeleteCacheFile(const base::FilePath& name) {
|
/external/chromium_org/net/test/ |
cert_test_util.cc | 17 const base::FilePath& certs_dir, 20 base::FilePath cert_path = certs_dir.AppendASCII(cert_file); 30 const base::FilePath& certs_dir, 48 const base::FilePath& certs_dir, 50 base::FilePath cert_path = certs_dir.AppendASCII(cert_file);
|
/external/chromium_org/webkit/browser/fileapi/ |
sandbox_prioritized_origin_database.h | 27 SandboxPrioritizedOriginDatabase(const base::FilePath& file_system_directory, 41 base::FilePath* directory) OVERRIDE; 46 const base::FilePath& primary_origin_file() const { 61 const base::FilePath file_system_directory_; 63 const base::FilePath primary_origin_file_;
|
/external/chromium_org/webkit/common/fileapi/ |
file_system_util.h | 32 static const base::FilePath::CharType kRoot[]; 33 static const base::FilePath::CharType kSeparator; 35 // Use this instead of base::FilePath::BaseName when operating on virtual 36 // paths. FilePath::BaseName will get confused by ':' on Windows when it 39 static base::FilePath BaseName(const base::FilePath& virtual_path); 41 // Use this instead of base::FilePath::DirName when operating on virtual 43 static base::FilePath DirName(const base::FilePath& virtual_path); 45 // Likewise, use this instead of base::FilePath::GetComponents whe [all...] |
/packages/apps/Camera/src/com/android/camera/ |
Thumbnail.java | 29 public static Bitmap createVideoThumbnailBitmap(String filePath, int targetWidth) { 30 return createVideoThumbnailBitmap(filePath, null, targetWidth); 33 private static Bitmap createVideoThumbnailBitmap(String filePath, FileDescriptor fd, 38 if (filePath != null) { 39 retriever.setDataSource(filePath);
|
/packages/apps/Camera2/src/com/android/camera/ |
Thumbnail.java | 29 public static Bitmap createVideoThumbnailBitmap(String filePath, int targetWidth) { 30 return createVideoThumbnailBitmap(filePath, null, targetWidth); 33 private static Bitmap createVideoThumbnailBitmap(String filePath, FileDescriptor fd, 38 if (filePath != null) { 39 retriever.setDataSource(filePath);
|
/external/chromium_org/third_party/zlib/google/ |
zip_unittest.cc | 38 base::FilePath zip_path(test_dir_); 50 zip_file_list_.push_back(base::FilePath(FILE_PATH_LITERAL("foo.txt"))); 52 base::FilePath(FILE_PATH_LITERAL("foo/bar/quux.txt"))); 54 base::FilePath(FILE_PATH_LITERAL("foo/bar/.hidden"))); 61 bool GetTestDataDirectory(base::FilePath* path) { 74 void TestUnzipFile(const base::FilePath::StringType& filename, 76 base::FilePath test_dir; 81 void TestUnzipFile(const base::FilePath& path, bool expect_hidden_files) { 87 base::FilePath next_path = files.Next(); 91 base::FilePath::StringType::npos) [all...] |
/external/chromium_org/chrome/browser/extensions/api/file_handlers/ |
app_file_handler_util.cc | 38 const base::FilePath& path) { 46 base::FilePath::kExtensionSeparator + 47 base::FilePath::FromUTF8Unsafe(*extension).value())) { 54 path.MatchesExtension(base::FilePath::StringType())) { 72 bool DoCheckWritableFile(const base::FilePath& path, bool is_directory) { 94 const std::vector<base::FilePath>& paths, 98 const base::Callback<void(const base::FilePath&)>& on_failure); 112 void Error(const base::FilePath& error_path); 117 void NonNativeLocalPathCheckDone(const base::FilePath& path, bool success); 120 const std::vector<base::FilePath> paths_ [all...] |