Home
last modified time | relevance | path

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

12

/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 __anon4f8d8f090111::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 …]
Dsafe_browsing_store_file.h252 FilePath filename_; variable
/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/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/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()
Dv8utils.h252 char* filename_; variable
/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()
Dicon_loader.h87 FilePath filename_; variable
/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/chrome/browser/extensions/
Dextension_protocols.cc40 filename_(filename), in URLRequestResourceBundleJob()
56 result = net::GetMimeTypeFromFile(filename_, mime_type); in GetData()
72 FilePath filename_; member in __anon213d2bde0111::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/testing/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/libvpx/libvpx/third_party/googletest/src/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/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/protobuf/src/google/protobuf/stubs/
Dcommon.cc177 : level_(level), filename_(filename), line_(line) {} in LogMessage()
190 internal::log_handler_(level_, filename_, line_, message_); in Finish()
/external/openfst/src/include/fst/extensions/far/
Dfar.h237 : filename_(filename), error_(false), written_(false) {} in FstFarWriter()
248 error_ = !fst.Write(filename_); in Add()
260 string filename_;
/external/stressapptest/src/
Dworker.cc256 filename_ = ""; in FileThread()
1597 filename_ = filename_init; in SetFile()
1598 devicename_ = os_->FindFileDevice(filename_); in SetFile()
1605 int fd = open(filename_.c_str(), flags | O_DIRECT, 0644); in OpenFile()
1608 fd = open(filename_.c_str(), flags, 0644); // Try without O_DIRECT in OpenFile()
1612 filename_.c_str()); in OpenFile()
1769 filename_.c_str()); in SectorValidatePage()
1787 filename_.c_str()); in SectorValidatePage()
1928 filename_.c_str()); in ReadPages()
1947 filename_.c_str(), in Work()
Dsat.h223 vector<string> filename_; // Filenames for file IO. variable
Dsat.cc152 filename_.push_back(disk + "/sat_disk.a"); in CheckEnvironment()
154 filename_.push_back(disk + "/sat_disk.b"); in CheckEnvironment()
899 filename_.push_back(string(argv[i])); in ParseArgs()
1129 thread->SetFile(filename_[i].c_str()); in InitializeThreads()
Dworker.h471 string filename_; // Name of file to access. variable

12