/external/chromium/base/memory/ |
D | scoped_temp_dir.cc | 14 if (!path_.empty() && !Delete()) in ~ScopedTempDir() 19 if (!path_.empty()) in CreateUniqueTempDir() 25 &path_)) in CreateUniqueTempDir() 32 if (!path_.empty()) in CreateUniqueTempDirUnderPath() 43 &path_)) in CreateUniqueTempDirUnderPath() 50 if (!path_.empty()) in Set() 57 path_ = path; in Set() 62 if (path_.empty()) in Delete() 65 bool ret = file_util::Delete(path_, true); in Delete() 68 path_.clear(); in Delete() [all …]
|
D | scoped_temp_dir.h | 48 const FilePath& path() const { return path_; } in path() 54 FilePath path_;
|
/external/chromium/base/ |
D | file_path.cc | 167 FilePath::FilePath(const FilePath& that) : path_(that.path_) { in FilePath() 170 FilePath::FilePath(const StringType& path) : path_(path) { in FilePath() 177 path_ = that.path_; in operator =() 183 return EqualDriveLetterCaseInsensitive(this->path_, that.path_); in operator ==() 185 return path_ == that.path_; in operator ==() 191 return !EqualDriveLetterCaseInsensitive(this->path_, that.path_); in operator !=() 193 return path_ != that.path_; in operator !=() 296 FilePath new_path(path_); in DirName() 303 StringType::size_type letter = FindDriveLetter(new_path.path_); in DirName() 306 new_path.path_.find_last_of(kSeparators, StringType::npos, in DirName() [all …]
|
D | file_path.h | 169 return path_ < that.path_; 172 const StringType& value() const { return path_; } in value() 174 bool empty() const { return path_.empty(); } in empty() 176 void clear() { path_.clear(); } in clear() 369 StringType path_; variable
|
/external/chromium/chrome/common/ |
D | important_file_writer.cc | 29 : path_(path), in WriteToDiskTask() 40 path_.DirName(), &tmp_file_path); in Run() 59 if (!file_util::ReplaceFile(tmp_file_path, path_)) { in Run() 68 PLOG(WARNING) << "failed to write " << path_.value() in LogFailure() 72 const FilePath path_; member in __anoncb83309c0111::WriteToDiskTask 82 : path_(path), in ImportantFileWriter() 110 FROM_HERE, new WriteToDiskTask(path_, data))) { in WriteNow() 116 WriteToDiskTask write_task(path_, data); in WriteNow() 146 << path_.value(); in DoScheduledWrite()
|
D | json_pref_store.cc | 130 : path_(filename), in JsonPrefStore() 227 if (path_.empty()) { in ReadPrefs() 240 deserializer->Start(path_); in ReadPrefs() 246 if (path_.empty()) { in ReadPrefs() 254 JSONFileValueSerializer serializer(path_); in ReadPrefs() 259 path_, in ReadPrefs()
|
D | important_file_writer.h | 65 const FilePath& path() const { return path_; } in path() 96 const FilePath path_;
|
/external/chromium/app/sql/ |
D | sqlite_features_unittest.cc | 51 ASSERT_TRUE(PathService::Get(base::DIR_TEMP, &path_)); in SetUp() 52 path_ = path_.AppendASCII("SQLStatementTest.db"); in SetUp() 53 file_util::Delete(path_, false); in SetUp() 54 ASSERT_TRUE(db_.Open(path_)); in SetUp() 67 ASSERT_TRUE(file_util::Delete(path_, false)); in TearDown() 76 FilePath path_; member in __anon4ae0b5dc0111::SQLiteFeaturesTest
|
/external/chromium/chrome/browser/sessions/ |
D | session_backend_unittest.cc | 37 path_ = temp_dir_.path().Append(FILE_PATH_LITERAL("SessionTestDirs")); in SetUp() 38 file_util::CreateDirectory(path_); in SetUp() 49 FilePath path_; member in SessionBackendTest 55 new SessionBackend(BaseSessionService::SESSION_RESTORE, path_)); in TEST_F() 64 backend = new SessionBackend(BaseSessionService::SESSION_RESTORE, path_); in TEST_F() 73 backend = new SessionBackend(BaseSessionService::SESSION_RESTORE, path_); in TEST_F() 103 new SessionBackend(BaseSessionService::SESSION_RESTORE, path_)); in TEST_F() 128 new SessionBackend(BaseSessionService::SESSION_RESTORE, path_)); in TEST_F() 143 backend = new SessionBackend(BaseSessionService::SESSION_RESTORE, path_); in TEST_F() 162 new SessionBackend(BaseSessionService::SESSION_RESTORE, path_)); in TEST_F() [all …]
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | window_size_autosaver_unittest.mm | 22 path_ = "WindowSizeAutosaverTest"; 29 browser_helper_.profile()->GetPrefs()->RegisterDictionaryPref(path_); 40 const char* path_; 48 const DictionaryValue* placement = pref->GetDictionary(path_); 71 path:path_]); 89 path:path_]); 97 EXPECT_TRUE(pref->GetDictionary(path_) != NULL); 99 const DictionaryValue* windowPref = pref->GetDictionary(path_); 115 const DictionaryValue* placement = pref->GetDictionary(path_); 130 path:path_]); [all …]
|
D | window_size_autosaver.mm | 33 path_ = path; 56 DictionaryPrefUpdate update(prefService_, path_); 77 const DictionaryValue* windowPrefs = prefService_->GetDictionary(path_); 88 DictionaryPrefUpdate update(prefService_, path_);
|
/external/chromium/chrome/browser/bookmarks/ |
D | bookmark_storage.cc | 33 explicit BackupTask(const FilePath& path) : path_(path) { in BackupTask() 37 FilePath backup_path = path_.ReplaceExtension(kBackupExtension); in Run() 38 file_util::CopyFile(path_, backup_path); in Run() 42 const FilePath path_; member in __anona31232c00111::BackupTask 54 : path_(path), in LoadTask() 60 bool bookmark_file_exists = file_util::PathExists(path_); in Run() 62 JSONFileValueSerializer serializer(path_); in Run() 92 bookmark_file_exists, path_)); in Run() 107 const FilePath path_; member in BookmarkStorage::LoadTask
|
D | bookmark_html_writer.cc | 88 path_(path), in Writer() 159 return (file_stream_.Open(path_, flags) == net::OK); in OpenFile() 349 FilePath path_; member in __anon895913fc0111::Writer 372 path_(path), in BookmarkFaviconFetcher() 422 path_, in ExecuteWriter()
|
/external/chromium/chrome/browser/parsers/ |
D | metadata_parser_filebase.cc | 13 path_(path) { in FileMetadataParser() 21 if (file_util::GetFileSize(path_, &size)) { in Parse() 25 value = WideToUTF8(path_.BaseName().value()); in Parse() 28 properties_[MetadataParser::kPropertyTitle] = path_.BaseName().value(); in Parse()
|
/external/chromium/chrome/browser/prefs/ |
D | scoped_user_pref_update.cc | 16 path_(path), in ScopedUserPrefUpdateBase() 25 value_ = service_->GetMutableUserPref(path_.c_str(), type); in Get() 31 service_->ReportUserPrefChanged(path_); in Notify()
|
/external/chromium/chrome/common/extensions/ |
D | url_pattern.cc | 212 path_ = path; in SetPath() 213 path_escaped_ = path_; in SetPath() 307 if (!path_.empty()) in GetAsString() 308 spec += path_; in GetAsString() 325 DCHECK(path_.find('*') == path_.size() - 1); in OverlapsWith() 329 !other.MatchesPath(path_.substr(0, path_.size() - 1))) in OverlapsWith()
|
/external/chromium/net/disk_cache/ |
D | disk_cache_test_util.cc | 108 ScopedTestCache::ScopedTestCache() : path_(GetCacheFilePath()) { in ScopedTestCache() 109 bool result = DeleteCache(path_); in ScopedTestCache() 114 : path_(BuildCachePath(name)) { in ScopedTestCache() 115 bool result = DeleteCache(path_); in ScopedTestCache()
|
D | disk_cache_test_util.h | 47 FilePath path() const { return path_; } in path() 50 const FilePath path_; // Path to the cache test folder.
|
/external/chromium/chrome/browser/profiles/ |
D | profile_impl.cc | 179 explicit ProfileSizeTask(const FilePath& path) : path_(path) {} in ProfileSizeTask() 184 FilePath path_; member in __anon86d35b530111::ProfileSizeTask 188 int64 size = file_util::ComputeFilesSize(path_, FILE_PATH_LITERAL("*")); in Run() 192 size = file_util::ComputeFilesSize(path_, FILE_PATH_LITERAL("History")); in Run() 196 size = file_util::ComputeFilesSize(path_, FILE_PATH_LITERAL("History*")); in Run() 200 size = file_util::ComputeFilesSize(path_, FILE_PATH_LITERAL("Cookies")); in Run() 204 size = file_util::ComputeFilesSize(path_, FILE_PATH_LITERAL("Bookmarks")); in Run() 208 size = file_util::ComputeFilesSize(path_, FILE_PATH_LITERAL("Favicons")); in Run() 212 size = file_util::ComputeFilesSize(path_, FILE_PATH_LITERAL("Top Sites")); in Run() 216 size = file_util::ComputeFilesSize(path_, FILE_PATH_LITERAL("Visited Links")); in Run() [all …]
|
/external/chromium/chrome/browser/ui/gtk/ |
D | certificate_dialogs.cc | 30 : path_(path), data_(data) { in Writer() 34 int bytes_written = file_util::WriteFile(path_, data_.data(), data_.size()); in Run() 36 LOG(ERROR) << "Writing " << path_.value() << " (" in Run() 41 FilePath path_; member in __anon84d9c5650111::Writer
|
/external/chromium/base/files/ |
D | file_path_watcher_mac.cc | 66 : path_(path), subdir_(subdir) { } in EventData() 67 FilePath path_; // Full path to this item. member in base::files::__anon3f6ebe330111::FilePathWatcherImpl::EventData 222 path_name = event_data->path_.value(); in AreKeventValuesValid() 243 int have_access = FileDescriptorForPath(next_event_data->path_); in HandleAttributesChange() 287 next_event->ident = FileDescriptorForPath(next_event_data->path_); in HandleCreateItemChange() 324 events_[valid].ident = FileDescriptorForPath(event_data->path_); in UpdateWatches()
|
/external/chromium/third_party/libjingle/source/talk/base/ |
D | httpcommon-inl.h | 84 path_.assign(1, static_cast<CTYPE>('/')); in do_set_full_path() 87 path_.assign(val, path_length); in do_set_full_path() 114 val->append(path_); in do_get_full_path()
|
/external/chromium/chrome/browser/ui/webui/chromeos/ |
D | system_info_ui.cc | 57 std::string path_; member in SystemInfoUIHTMLSource 92 path_ = path; in StartDataRequest() 136 strings.SetString("anchor", path_); in SyslogsComplete()
|
/external/chromium/chrome/browser/diagnostics/ |
D | recon_diagnostics.cc | 318 : DiagnosticTest(name), path_(path), max_file_size_(max_file_size) { in JSONTest() 324 if (!file_util::PathExists(path_)) { in ExecuteImpl() 329 if (!file_util::GetFileSize(path_, &file_size)) { in ExecuteImpl() 340 if (!file_util::ReadFileToString(path_, &json_data)) { in ExecuteImpl() 363 FilePath path_; member in __anon8dfe0d330111::JSONTest
|
/external/chromium/net/spdy/ |
D | spdy_stream.h | 118 const std::string& path() const { return path_; } in path() 119 void set_path(const std::string& path) { path_ = path; } in set_path() 278 std::string path_; variable
|