Home
last modified time | relevance | path

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

123

/external/chromium_org/third_party/leveldatabase/
Denv_chromium_win.cc50 std::string filename_; member in leveldb_env::__anon67eb3ec40111::ChromiumSequentialFileWin
58 : filename_(fname), file_(f), uma_logger_(uma_logger) { in ChromiumSequentialFileWin()
76 filename_, GetWindowsErrorMessage(err), kSequentialFileRead, err); in Read()
92 filename_, GetWindowsErrorMessage(err), kSequentialFileSkip, err); in Skip()
100 std::string filename_; member in leveldb_env::__anon67eb3ec40111::ChromiumRandomAccessFileWin
108 : filename_(fname), file_(file.Pass()), uma_logger_(uma_logger) {} in ChromiumRandomAccessFileWin()
119 filename_, "Could not perform read", kRandomAccessFileRead); in Read()
152 : filename_(fname), in ChromiumWritableFileWin()
165 tracker_->DidCreateNewFile(filename_); in ChromiumWritableFileWin()
185 if (file_type_ == kManifest && tracker_->DoesDirNeedSync(filename_)) { in Append()
[all …]
Denv_chromium_stdio.cc79 std::string filename_; member in leveldb_env::__anon9a4d18390111::ChromiumSequentialFile
87 : filename_(fname), file_(f), uma_logger_(uma_logger) {} in ChromiumSequentialFile()
99 s = MakeIOError(filename_, strerror(errno), kSequentialFileRead, errno); in Read()
111 filename_, strerror(saved_errno), kSequentialFileSkip, saved_errno); in Skip()
119 std::string filename_; member in leveldb_env::__anon9a4d18390111::ChromiumRandomAccessFile
127 : filename_(fname), file_(file.Pass()), uma_logger_(uma_logger) {} in ChromiumRandomAccessFile()
138 filename_, "Could not perform read", kRandomAccessFileRead); in Read()
152 : filename_(fname), in ChromiumWritableFile()
164 tracker_->DidCreateNewFile(filename_); in ChromiumWritableFile()
197 if (file_type_ == kManifest && tracker_->DoesDirNeedSync(filename_)) { in Append()
[all …]
/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()
Djson_host_config.h37 base::FilePath filename_;
/external/chromium_org/chrome/browser/safe_browsing/
Dsafe_browsing_store_file_unittest.cc48 filename_ = temp_dir_.path(); in SetUp()
49 filename_ = filename_.AppendASCII("SafeBrowsingTestStore"); in SetUp()
52 store_->Init(filename_, in SetUp()
107 base::ScopedFILE file(base::OpenFile(filename_, "rb")); in ReadStride()
116 base::FilePath filename_; member in safe_browsing::SafeBrowsingStoreFileTest
439 EXPECT_FALSE(base::PathExists(filename_)); in TEST_F()
445 EXPECT_TRUE(base::PathExists(filename_)); in TEST_F()
447 EXPECT_FALSE(base::PathExists(filename_)); in TEST_F()
453 SafeBrowsingStoreFile::TemporaryFileForFilename(filename_); in TEST_F()
455 EXPECT_FALSE(base::PathExists(filename_)); in TEST_F()
[all …]
Dsafe_browsing_store_file.cc572 return DeleteStore(filename_); in Delete()
587 if (!base::GetFileSize(filename_, &size)) in CheckValidity()
625 filename_ = filename; in Init()
640 if (!base::PathExists(filename_)) in GetAddPrefixes()
644 if (!ReadDbStateHelper(filename_, &db_state)) in GetAddPrefixes()
654 if (!base::PathExists(filename_)) in GetAddFullHashes()
658 if (!ReadDbStateHelper(filename_, &db_state)) in GetAddFullHashes()
720 const base::FilePath new_filename = TemporaryFileForFilename(filename_); in BeginUpdate()
725 base::ScopedFILE file(base::OpenFile(filename_, "rb")); in BeginUpdate()
730 if (base::PathExists(filename_)) in BeginUpdate()
[all …]
/external/chromium_org/third_party/leveldatabase/src/util/
Denv_posix.cc40 std::string filename_; member in leveldb::__anon4b2daeca0111::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::__anon4b2daeca0111::PosixRandomAccessFile
79 : filename_(fname), fd_(fd) { } in PosixRandomAccessFile()
89 s = IOError(filename_, errno); in Read()
147 std::string filename_; member in leveldb::__anon4b2daeca0111::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/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_org/net/http/
Dhttp_content_disposition.h60 const std::string& filename() const { return filename_; } in filename()
71 std::string filename_; variable
Dhttp_content_disposition.cc396 DCHECK(filename_.empty()); in Parse()
431 filename_ = ext_filename; in Parse()
433 filename_ = filename; in Parse()
435 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/chrome/browser/extensions/
Dchrome_url_request_util.cc52 filename_(filename), in URLRequestResourceBundleJob()
79 filename_, in GetData()
118 base::FilePath filename_; member in __anon00de034a0111::URLRequestResourceBundleJob
/external/gtest/src/
Dgtest-port.cc532 filename_ = temp_file_path; in CapturedStream()
551 filename_ = name_template; in CapturedStream()
561 filename_ = name_template; in CapturedStream()
569 remove(filename_.c_str()); in ~CapturedStream()
581 FILE* const file = posix::FOpen(filename_.c_str(), "r"); in GetCapturedString()
584 << filename_.c_str() << ": " in GetCapturedString()
602 ::std::string filename_;
/external/llvm/utils/unittest/googletest/src/
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/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/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 __anon24523cc30111::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/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 __anon968e276d0111::ProfileDataChecker
165 FileDescriptor fd(open(filename_.c_str(), O_RDONLY)); in CheckWithSkips()
188 FileDescriptor fd(open(filename_.c_str(), O_RDONLY)); in ValidateProfile()
/external/mesa3d/src/gtest/src/
Dgtest-port.cc507 filename_ = temp_file_path; in CapturedStream()
514 filename_ = name_template; in CapturedStream()
522 remove(filename_.c_str()); in ~CapturedStream()
534 FILE* const file = posix::FOpen(filename_.c_str(), "r"); in GetCapturedString()
550 ::std::string filename_;
/external/chromium_org/third_party/mesa/src/src/gtest/src/
Dgtest-port.cc507 filename_ = temp_file_path; in CapturedStream()
514 filename_ = name_template; in CapturedStream()
522 remove(filename_.c_str()); in ~CapturedStream()
534 FILE* const file = posix::FOpen(filename_.c_str(), "r"); in GetCapturedString()
550 ::std::string filename_;
/external/chromium_org/net/tools/flip_server/
Dmem_cache.h74 const std::string& filename() { return filename_; } in filename()
79 std::string filename_; variable
/external/protobuf/src/google/protobuf/compiler/
Dimporter.cc90 : filename_(filename), in SingleFileErrorCollector()
100 multi_file_error_collector_->AddError(filename_, line, column, message); in AddError()
106 string filename_; member in google::protobuf::compiler::SourceTreeDescriptorDatabase::SingleFileErrorCollector
Dcommand_line_interface.cc271 string filename_; member in google::protobuf::compiler::CommandLineInterface::MemoryOutputStream
432 filename_(filename), in MemoryOutputStream()
440 filename_(filename), in MemoryOutputStream()
450 string** map_slot = &directory_->files_[filename_]; in ~MemoryOutputStream()
455 cerr << filename_ << ": Tried to write the same file twice." << endl; in ~MemoryOutputStream()
472 cerr << filename_ << ": Tried to insert into file that doesn't exist." in ~MemoryOutputStream()
485 cerr << filename_ << ": insertion point \"" << insertion_point_ in ~MemoryOutputStream()
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
Dimporter.cc90 : filename_(filename), in SingleFileErrorCollector()
100 multi_file_error_collector_->AddError(filename_, line, column, message); in AddError()
106 string filename_; member in google::protobuf::compiler::SourceTreeDescriptorDatabase::SingleFileErrorCollector

123