/external/chromium_org/chrome/browser/safe_browsing/ |
D | safe_browsing_store_file_unittest.cc | 23 filename_ = temp_dir_.path(); in SetUp() 24 filename_ = filename_.AppendASCII("SafeBrowsingTestStore"); in SetUp() 27 store_->Init(filename_, in SetUp() 45 base::FilePath filename_; member in __anon88dbea740111::SafeBrowsingStoreFileTest 50 TEST_STORE(SafeBrowsingStoreFileTest, store_.get(), filename_); 55 SafeBrowsingStoreFile::TemporaryFileForFilename(filename_); in TEST_F() 57 EXPECT_FALSE(base::PathExists(filename_)); in TEST_F() 67 store_->Init(filename_, base::Closure()); in TEST_F() 68 EXPECT_FALSE(base::PathExists(filename_)); in TEST_F() 73 EXPECT_FALSE(base::PathExists(filename_)); in TEST_F() [all …]
|
D | safe_browsing_store_file.cc | 218 return DeleteStore(filename_); in Delete() 233 if (!base::GetFileSize(filename_, &size)) in CheckValidity() 279 filename_ = filename; in Init() 295 file_util::ScopedFILE file(base::OpenFile(filename_, "rb")); in GetAddPrefixes() 299 if (!ReadAndVerifyHeader(filename_, file.get(), &header, NULL)) in GetAddPrefixes() 317 file_util::ScopedFILE file(base::OpenFile(filename_, "rb")); in GetAddFullHashes() 321 if (!ReadAndVerifyHeader(filename_, file.get(), &header, NULL)) in GetAddFullHashes() 395 CheckForOriginalAndDelete(filename_); in BeginUpdate() 399 const base::FilePath new_filename = TemporaryFileForFilename(filename_); in BeginUpdate() 404 file_util::ScopedFILE file(base::OpenFile(filename_, "rb")); in BeginUpdate() [all …]
|
/external/chromium/chrome/browser/safe_browsing/ |
D | safe_browsing_store_file_unittest.cc | 28 filename_ = temp_dir; in SetUp() 29 filename_ = filename_.AppendASCII("SafeBrowsingTestStore"); in SetUp() 30 file_util::Delete(filename_, false); in SetUp() 34 SafeBrowsingStoreFile::TemporaryFileForFilename(filename_); in SetUp() 38 store_->Init(filename_, NULL); in SetUp() 54 FilePath filename_; member in __anon96690ded0111::SafeBrowsingStoreFileTest 59 TEST_STORE(SafeBrowsingStoreFileTest, store_.get(), filename_); 64 SafeBrowsingStoreFile::TemporaryFileForFilename(filename_); in TEST_F() 66 EXPECT_FALSE(file_util::PathExists(filename_)); in TEST_F() 76 store_->Init(filename_, NULL); in TEST_F() [all …]
|
D | safe_browsing_store_file.cc | 248 if (!file_util::Delete(filename_, false) && in Delete() 249 file_util::PathExists(filename_)) { in Delete() 254 const FilePath new_filename = TemporaryFileForFilename(filename_); in Delete() 265 filename_.value() + FILE_PATH_LITERAL("-journal")); in Delete() 274 filename_ = filename; in Init() 291 file_util::ScopedFILE file(file_util::OpenFile(filename_, "rb")); in GetAddPrefixes() 295 if (!ReadAndVerifyHeader(filename_, file.get(), &header, NULL)) in GetAddPrefixes() 313 file_util::ScopedFILE file(file_util::OpenFile(filename_, "rb")); in GetAddFullHashes() 317 if (!ReadAndVerifyHeader(filename_, file.get(), &header, NULL)) in GetAddFullHashes() 392 CheckForOriginalAndDelete(filename_); in BeginUpdate() [all …]
|
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
D | base.h | 152 : filename_(filename), line_(line), status_(status) {} in Exception() 154 : filename_(ex.filename_), line_(ex.line_), status_(ex.status_) {} in Exception() 157 filename_ = rhs.filename_; 164 return filename_; in filename() 179 const char *filename_;
|
/external/chromium_org/remoting/host/ |
D | json_host_config.cc | 19 : filename_(filename) { in JsonHostConfig() 29 if (!base::ReadFileToString(filename_, &file_content)) { in Read() 30 LOG(WARNING) << "Failed to read " << filename_.value(); in Read() 40 return base::ImportantFileWriter::WriteFileAtomically(filename_, in Save() 54 LOG(WARNING) << "Failed to parse " << filename_.value(); in SetSerializedData()
|
/external/marisa-trie/lib/marisa/ |
D | base.h | 158 : filename_(filename), line_(line), status_(status) {} in Exception() 160 : filename_(ex.filename_), line_(ex.line_), status_(ex.status_) {} in Exception() 163 filename_ = rhs.filename_; 170 return filename_; in filename() 185 const char *filename_;
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
D | env_posix.cc | 40 std::string filename_; member in leveldb::__anon2c37141d0111::PosixSequentialFile 45 : filename_(fname), file_(f) { } in PosixSequentialFile() 57 s = IOError(filename_, errno); in Read() 65 return IOError(filename_, errno); in Skip() 74 std::string filename_; member in leveldb::__anon2c37141d0111::PosixRandomAccessFile 79 : filename_(fname), fd_(fd) { } in PosixRandomAccessFile() 89 s = IOError(filename_, errno); in Read() 147 std::string filename_; member in leveldb::__anon2c37141d0111::PosixMmapReadableFile 156 : filename_(fname), mmapped_region_(base), length_(length), in PosixMmapReadableFile() 170 s = IOError(filename_, EINVAL); in Read() [all …]
|
/external/chromium-trace/trace-viewer/src/cc/ |
D | picture_debugger.js | 42 this.filename_ = document.createElement('input'); 43 this.filename_.classList.add('filename'); 44 this.filename_.type = 'text'; 45 this.filename_.value = 'skpicture.skp'; 53 this.pictureInfo_.appendChild(this.filename_); 101 link.download = this.filename_.value;
|
/external/v8/src/ |
D | v8utils.cc | 269 : filename_(NULL), in MemoryMappedExternalResource() 280 : filename_(NULL), in MemoryMappedExternalResource() 293 OS::Remove(filename_); in ~MemoryMappedExternalResource() 295 DeleteArray<char>(filename_); in ~MemoryMappedExternalResource() 303 filename_ = StrDup(filename); in Init() 326 ASSERT(filename_ != NULL); in EnsureIsAscii() 329 c, filename_, line_no, char_no); in EnsureIsAscii()
|
/external/chromium/chrome/browser/ |
D | icon_loader_linux.cc | 29 filename_ = mime_util::GetMimeIcon(group_, SizeToInt(icon_size_)); in ReadIcon() 30 file_util::ReadFileToString(filename_, &icon_data_); in ReadIcon() 57 filename_.value(); in ParseIcon()
|
/external/chromium_org/base/files/ |
D | file_enumerator_posix.cc | 27 return filename_; in GetName() 94 FilePath full_path = root_path_.Append(i->filename_); in Next() 112 directory_entries_[current_directory_entry_].filename_); in Next() 136 info.filename_ = FilePath(dent->d_name); in ReadDirectory()
|
/external/chromium/sdch/open-vcdiff/src/gtest/ |
D | gtest-port.cc | 101 filename_ = name_template; in CapturedStderr() 108 remove(filename_.c_str()); in ~CapturedStderr() 123 ::std::string filename() const { return filename_; } in filename() 127 ::std::string filename_;
|
/external/chromium_org/net/http/ |
D | http_content_disposition.h | 60 const std::string& filename() const { return filename_; } in filename() 71 std::string filename_; variable
|
D | http_content_disposition.cc | 414 DCHECK(filename_.empty()); in Parse() 449 filename_ = ext_filename; in Parse() 451 filename_ = filename; in Parse() 453 filename_ = name; in Parse()
|
/external/chromium_org/ppapi/examples/crxfs/ |
D | crxfs.cc | 54 std::string filename_; member in MyInstance 68 filename_ = filename; in OpenCrxFsAndReadFile() 88 file_ref_ = pp::FileRef(file_system, filename_.c_str()); in CrxFileSystemCallback()
|
/external/chromium_org/third_party/leveldatabase/ |
D | env_chromium.cc | 149 std::string filename_; member in leveldb_env::__anonba9e1b4a0111::ChromiumSequentialFile 156 : filename_(fname), file_(f), uma_logger_(uma_logger) { } in ChromiumSequentialFile() 168 s = MakeIOError(filename_, strerror(errno), kSequentialFileRead, errno); in Read() 180 filename_, strerror(saved_errno), kSequentialFileSkip, saved_errno); in Skip() 188 std::string filename_; member in leveldb_env::__anonba9e1b4a0111::ChromiumRandomAccessFile 195 : filename_(fname), file_(file), uma_logger_(uma_logger) { } in ChromiumRandomAccessFile() 206 filename_, "Could not perform read", kRandomAccessFileRead); in Read() 501 : filename_(fname), in ChromiumWritableFile() 513 tracker_->DidCreateNewFile(filename_); in ChromiumWritableFile() 547 if (file_type_ == kManifest && tracker_->DoesDirNeedSync(filename_)) { in Append() [all …]
|
/external/chromium/chrome/browser/extensions/ |
D | extension_protocols.cc | 40 filename_(filename), in URLRequestResourceBundleJob() 56 result = net::GetMimeTypeFromFile(filename_, mime_type); in GetData() 72 FilePath filename_; member in __anon53c216420111::URLRequestResourceBundleJob
|
/external/llvm/utils/unittest/googletest/ |
D | gtest-port.cc | 507 filename_ = temp_file_path; in CapturedStream() 511 filename_ = name_template; in CapturedStream() 518 filename_ = name_template; in CapturedStream() 526 remove(filename_.c_str()); in ~CapturedStream() 538 FILE* const file = posix::FOpen(filename_.c_str(), "r"); in GetCapturedString() 554 ::std::string filename_;
|
/external/gtest/src/ |
D | gtest-port.cc | 507 filename_ = temp_file_path; in CapturedStream() 528 filename_ = name_template; in CapturedStream() 538 filename_ = name_template; in CapturedStream() 546 remove(filename_.c_str()); in ~CapturedStream() 558 FILE* const file = posix::FOpen(filename_.c_str(), "r"); in GetCapturedString() 574 ::std::string filename_;
|
/external/open-vcdiff/gtest/src/ |
D | gtest-port.cc | 461 filename_ = temp_file_path; in CapturedStderr() 468 filename_ = name_template; in CapturedStderr() 478 remove(filename_.c_str()); in ~CapturedStderr() 496 ::std::string filename() const { return filename_; } in filename() 500 ::std::string filename_;
|
/external/protobuf/gtest/src/ |
D | gtest-port.cc | 461 filename_ = temp_file_path; in CapturedStderr() 468 filename_ = name_template; in CapturedStderr() 478 remove(filename_.c_str()); in ~CapturedStderr() 496 ::std::string filename() const { return filename_; } in filename() 500 ::std::string filename_;
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
D | common.cc | 177 : level_(level), filename_(filename), line_(line) {} in LogMessage() 190 log_handler_(level_, filename_, line_, message_); in Finish() 195 throw FatalException(filename_, line_, message_); in Finish()
|
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
D | profiledata_unittest.cc | 123 filename_ = string(tmpdir) + "/profiledata_unittest.tmp"; in ProfileDataChecker() 126 string filename() const { return filename_; } in filename() 159 string filename_; member in __anon31cce2000111::ProfileDataChecker 165 FileDescriptor fd(open(filename_.c_str(), O_RDONLY)); in CheckWithSkips() 188 FileDescriptor fd(open(filename_.c_str(), O_RDONLY)); in ValidateProfile()
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
D | profiledata_unittest.cc | 123 filename_ = string(tmpdir) + "/profiledata_unittest.tmp"; in ProfileDataChecker() 126 string filename() const { return filename_; } in filename() 159 string filename_; member in __anon8a29e8160111::ProfileDataChecker 165 FileDescriptor fd(open(filename_.c_str(), O_RDONLY)); in CheckWithSkips() 188 FileDescriptor fd(open(filename_.c_str(), O_RDONLY)); in ValidateProfile()
|