Home
last modified time | relevance | path

Searched refs:filename_ (Results 1 – 25 of 65) sorted by relevance

123

/external/chromium_org/chrome/browser/safe_browsing/
Dsafe_browsing_store_file_unittest.cc23 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 …]
Dsafe_browsing_store_file.cc218 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/
Dsafe_browsing_store_file_unittest.cc28 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 …]
Dsafe_browsing_store_file.cc248 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/
Dbase.h152 : 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/
Djson_host_config.cc19 : 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/
Dbase.h158 : 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/
Denv_posix.cc40 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/
Dpicture_debugger.js42 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/
Dv8utils.cc269 : 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/
Dicon_loader_linux.cc29 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/
Dfile_enumerator_posix.cc27 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/
Dgtest-port.cc101 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/
Dhttp_content_disposition.h60 const std::string& filename() const { return filename_; } in filename()
71 std::string filename_; variable
Dhttp_content_disposition.cc414 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/
Dcrxfs.cc54 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/
Denv_chromium.cc149 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/
Dextension_protocols.cc40 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/
Dgtest-port.cc507 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/
Dgtest-port.cc507 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/
Dgtest-port.cc461 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/
Dgtest-port.cc461 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/
Dcommon.cc177 : 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/
Dprofiledata_unittest.cc123 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/
Dprofiledata_unittest.cc123 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()

123