/external/tensorflow/tensorflow/core/util/ |
D | events_writer.cc | 52 CHECK(!filename_.empty()); in InitIfNeeded() 67 filename_ = in InitIfNeeded() 77 env_->NewWritableFile(filename_, &recordio_file_), in InitIfNeeded() 78 "Creating writable file ", filename_); in InitIfNeeded() 84 VLOG(1) << "Successfully opened events file: " << filename_; in InitIfNeeded() 99 if (filename_.empty()) { in FileName() 102 return filename_; in FileName() 130 filename_); in Flush() 133 filename_); in Flush() 154 if (env_->FileExists(filename_).ok()) { in FileStillExists() [all …]
|
/external/icing/icing/legacy/index/ |
D | icing-storage-file.cc | 32 : IIcingStorage(), filesystem_(filesystem), filename_(filename) {} in IcingStorageFile() 37 std::string storage_dir = filesystem_->GetDirname(filename_.c_str()); in Init() 62 return filesystem_->DeleteFile(filename_.c_str()); in Remove() 73 filename_.c_str()); in Sync() 78 filename_.c_str()); in Sync() 83 filename_.c_str()); in Sync() 87 "Syncing %s took %.3fms", filename_.c_str(), timer.Elapsed() * 1000.); in Sync() 113 out, 1000, "Filename: %s Size: %" PRIu64 "\n", filename_.c_str(), size); in GetDebugInfo()
|
D | icing-flash-bitmap.cc | 77 "Can't verify unopened flash bitmap %s", filename_.c_str()); in Verify() 87 "Flash bitmap %s has incorrect magic header", filename_.c_str()); in Verify() 92 "Flash bitmap %s has incorrect version", filename_.c_str()); in Verify() 97 "Flash bitmap %s is dirty", filename_.c_str()); in Verify() 104 "Flash bitmap %s has incorrect CRC32 %u %u", filename_.c_str(), in Verify() 115 std::string storage_dir = filesystem_->GetDirname(filename_.c_str()); in Init() 120 IcingScopedFd fd(filesystem_->OpenForWrite(filename_.c_str())); in Init() 176 if (!filesystem_->FileExists(filename_.c_str()) || in InitForRead() 177 filesystem_->GetFileSize(filename_.c_str()) == 0) { in InitForRead() 182 IcingScopedFd fd(filesystem_->OpenForRead(filename_.c_str())); in InitForRead() [all …]
|
D | icing-flash-bitmap.h | 61 : filesystem_(filesystem), filename_(filename), open_type_(UNOPENED) {} in IcingFlashBitmap() 119 const std::string &filename() const { return filename_; } in filename() 143 std::string filename_; variable
|
/external/icing/icing/file/ |
D | file-backed-proto_test.cc | 35 void SetUp() override { filename_ = GetTestTempDir() + "/schema.pb"; } in SetUp() 37 void TearDown() override { filesystem_.DeleteFile(filename_.c_str()); } in TearDown() 40 std::string filename_; member in icing::lib::__anon6d7252d40111::FileBackedProtoTest 47 FileBackedProto<DocumentProto> file_proto(filesystem_, filename_); in TEST_F() 60 FileBackedProto<DocumentProto> file_proto(filesystem_, filename_); in TEST_F() 70 FileBackedProto<DocumentProto> file_proto(filesystem_, filename_); in TEST_F() 85 FileBackedProto<DocumentProto> file_proto(filesystem_, filename_); in TEST_F() 98 FileBackedProto<DocumentProto> file_proto(filesystem_, filename_); in TEST_F() 129 FileBackedProto<DocumentProto> file_proto(filesystem_, filename_); in TEST_F() 138 filesystem_.PWrite(filename_.c_str(), in TEST_F() [all …]
|
/external/libgav1/libgav1/tests/fuzzer/ |
D | fuzzer_temp_file.h | 105 filename_ = strdup(original_filename_); in FuzzerTemporaryFile() 106 if (!filename_) { in FuzzerTemporaryFile() 114 filename_ = strdup(original_filename_); in FuzzerTemporaryFile() 115 if (!filename_) { in FuzzerTemporaryFile() 122 free(filename_); in ~FuzzerTemporaryFile() 132 const char* filename() const { return filename_; } in filename() 137 char* mutable_filename() const { return filename_; } in mutable_filename() 145 char* filename_; variable
|
/external/marisa-trie/include/marisa/ |
D | exception.h | 17 : std::exception(), filename_(filename), line_(line), in Exception() 20 : std::exception(), filename_(ex.filename_), line_(ex.line_), in Exception() 25 filename_ = rhs.filename_; 33 return filename_; in filename() 50 const char *filename_;
|
/external/libchrome/base/files/ |
D | file_enumerator_posix.cc | 46 return filename_; in GetName() 126 dotdot.filename_ = FilePath(".."); in Next() 127 if (!ShouldSkip(dotdot.filename_)) { in Next() 136 info.filename_ = FilePath(dent->d_name); in Next() 138 if (ShouldSkip(info.filename_)) in Next() 141 const bool is_pattern_matched = IsPatternMatched(info.filename_); in Next() 156 const FilePath full_path = root_path_.Append(info.filename_); in Next() 176 directory_entries_[current_directory_entry_].filename_); in Next()
|
/external/libwebm/testing/ |
D | mkvmuxer_tests.cc | 51 filename_ = libwebm::GetTempFileName(); in Init() 52 ASSERT_GT(filename_.length(), 0u); in Init() 53 temp_file_ = libwebm::FilePtr(std::fopen(filename_.c_str(), "wb"), in Init() 109 remove(filename_.c_str()); in TearDown() 116 std::string filename_; member in test::MuxerTest 135 EXPECT_TRUE(CompareFiles(GetTestFilePath("segment_info.webm"), filename_)); in TEST_F() 179 EXPECT_TRUE(CompareFiles(GetTestFilePath("tracks.webm"), filename_)); in TEST_F() 196 EXPECT_TRUE(CompareFiles(GetTestFilePath("chapters.webm"), filename_)); in TEST_F() 224 EXPECT_TRUE(CompareFiles(GetTestFilePath("simple_block.webm"), filename_)); in TEST_F() 256 EXPECT_TRUE(CompareFiles(GetTestFilePath("simple_block.webm"), filename_)); in TEST_F() [all …]
|
/external/google-breakpad/src/common/mac/ |
D | macho_reader.cc | 71 " nor a Mach-O object file\n", filename_.c_str()); in BadHeader() 76 filename_.c_str()); in TooShort() 81 " to contain\n", filename_.c_str()); in MisplacedObjectFile() 161 fprintf(stderr, "%s: file is not a Mach-O object file\n", filename_.c_str()); in BadHeader() 170 filename_.c_str(), cpu_type, cpu_subtype, in CPUTypeMismatch() 176 filename_.c_str()); in HeaderTruncated() 181 " given in Mach-O header\n", filename_.c_str()); in LoadCommandRegionTruncated() 188 filename_.c_str(), claimed, i); in LoadCommandsOverrun() 196 filename_.c_str(), i, type); in LoadCommandTooShort() 202 filename_.c_str(), name.c_str()); in SectionsMissing() [all …]
|
D | macho_reader.h | 81 explicit Reporter(const string &filename) : filename_(filename) { } in Reporter() 100 string filename_; 243 explicit Reporter(const string &filename) : filename_(filename) { } in Reporter() 305 string filename_;
|
/external/tensorflow/tensorflow/core/platform/default/ |
D | posix_file_system.cc | 50 string filename_; member in tensorflow::PosixRandomAccessFile 55 : filename_(fname), fd_(fd) {} in PosixRandomAccessFile() 63 *result = filename_; in Name() 91 s = IOError(filename_, errno); in Read() 129 string filename_; member in tensorflow::PosixWritableFile 134 : filename_(fname), file_(f) {} in PosixWritableFile() 146 return IOError(filename_, errno); in Append() 157 return IOError(filename_, errno); in Append() 166 return IOError(filename_, EBADF); in Close() 170 result = IOError(filename_, errno); in Close() [all …]
|
/external/oss-fuzz/projects/opencv/ |
D | fuzzer_temp_file.h | 70 : filename_(fuzzer_get_tmpfile(data, size)) {} in FuzzerTemporaryFile() 72 ~FuzzerTemporaryFile() { fuzzer_release_tmpfile(filename_); } in ~FuzzerTemporaryFile() 74 const char* filename() const { return filename_; } in filename() 77 char* filename_;
|
/external/oss-fuzz/projects/tidy-html5/ |
D | fuzzer_temp_file.h | 70 : filename_(fuzzer_get_tmpfile(data, size)) {} in FuzzerTemporaryFile() 72 ~FuzzerTemporaryFile() { fuzzer_release_tmpfile(filename_); } in ~FuzzerTemporaryFile() 74 const char* filename() const { return filename_; } in filename() 77 char* filename_;
|
/external/oss-fuzz/projects/gdk-pixbuf/targets/ |
D | fuzzer_temp_file.h | 70 : filename_(fuzzer_get_tmpfile(data, size)) {} in FuzzerTemporaryFile() 72 ~FuzzerTemporaryFile() { fuzzer_release_tmpfile(filename_); } in ~FuzzerTemporaryFile() 74 const char *filename() const { return filename_; } in filename() 77 char *filename_;
|
/external/oss-fuzz/projects/alembic/ |
D | fuzzer_temp_file.h | 70 : filename_(fuzzer_get_tmpfile(data, size)) {} in FuzzerTemporaryFile() 72 ~FuzzerTemporaryFile() { fuzzer_release_tmpfile(filename_); } in ~FuzzerTemporaryFile() 74 const char *filename() const { return filename_; } in filename() 77 char *filename_;
|
/external/oss-fuzz/projects/cairo/targets/ |
D | fuzzer_temp_file.h | 70 : filename_(fuzzer_get_tmpfile(data, size)) {} in FuzzerTemporaryFile() 72 ~FuzzerTemporaryFile() { fuzzer_release_tmpfile(filename_); } in ~FuzzerTemporaryFile() 74 const char* filename() const { return filename_; } in filename() 77 char* filename_;
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | cache_dataset_ops.cc | 77 filename_(std::move(filename)), in FileDatasetBase() 126 const tstring filename_; member in tensorflow::data::CacheDatasetOp::FileDatasetBase 143 ->FileExists(MetaFilename(params.dataset->filename_)) in FileIterator() 186 ->env_->FileExists(MetaFilename(dataset()->filename_)) in RestoreInternal() 192 << MetaFilename(dataset()->filename_) in RestoreInternal() 225 filename_( in FileWriterIterator() 226 strings::StrCat(params.dataset->filename_, "_", shard_id_)), in FileWriterIterator() 227 lockfile_(strings::StrCat(filename_, kLockFileSuffix)), in FileWriterIterator() 232 if (!dataset()->env_->FileExists(MetaFilename(filename_)).ok()) { in ~FileWriterIterator() 236 strings::StrCat(filename_, "*"), &cache_files); in ~FileWriterIterator() [all …]
|
/external/bsdiff/ |
D | test_utils.h | 46 std::string filename() const { return filename_; } in filename() 47 const char* c_str() const { return filename_.c_str(); } in c_str() 51 void release() { filename_.clear(); } in release() 54 std::string filename_;
|
/external/webrtc/test/ |
D | rtp_file_writer_unittest.cc | 27 filename_ = test::OutputPath() + filename; in Init() 29 test::RtpFileWriter::Create(test::RtpFileWriter::kRtpDump, filename_)); in Init() 50 test::RtpFileReader::Create(test::RtpFileReader::kRtpDump, filename_)); in VerifyFileContents() 68 std::string filename_; member in webrtc::RtpFileWriterTest
|
/external/tensorflow/tensorflow/core/platform/windows/ |
D | windows_file_system.cc | 106 string filename_; member in tensorflow::__anon9e9b41040111::WindowsRandomAccessFile 111 : filename_(fname), hfile_(hfile) {} in WindowsRandomAccessFile() 119 *result = filename_; in Name() 144 s = IOError(filename_, errno); in Read() 182 string filename_; member in tensorflow::__anon9e9b41040111::WindowsWritableFile 187 : filename_(fname), hfile_(hFile) {} in WindowsWritableFile() 201 return IOErrorFromWindowsError("Failed to WriteFile: " + filename_); in Append() 217 return IOErrorFromWindowsError("Failed to WriteFile: " + filename_); in Append() 236 filename_); in Tell() 251 return IOErrorFromWindowsError("CloseHandle failed for: " + filename_); in Close() [all …]
|
/external/tensorflow/tensorflow/core/platform/hadoop/ |
D | hadoop_file_system.cc | 219 : filename_(filename), in HDFSRandomAccessFile() 239 *result = filename_; in Name() 274 return IOError(filename_, errno); in Read() 279 return IOError(filename_, errno); in Read() 287 s = IOError(filename_, errno); in Read() 295 string filename_; member in tensorflow::HDFSRandomAccessFile 323 : filename_(fname), fs_(fs), file_(file) {} in HDFSWritableFile() 345 return IOError(filename_, errno); in Append() 357 result = IOError(filename_, errno); in Close() 366 return IOError(filename_, errno); in Flush() [all …]
|
/external/libwebm/common/ |
D | vp9_header_parser_tests.cc | 42 filename_ = test::GetTestFilePath(filename); in CreateAndLoadSegment() 43 ASSERT_EQ(0, reader_.Open(filename_.c_str())); in CreateAndLoadSegment() 64 filename_ = test::GetTestFilePath(filename); in CreateAndLoadInvalidSegment() 65 ASSERT_EQ(0, reader_.Open(filename_.c_str())); in CreateAndLoadInvalidSegment() 128 std::string filename_; member in __anon0816e93a0111::Vp9HeaderParserTests
|
/external/webrtc/test/logging/ |
D | memory_log_writer.cc | 23 : target_(target), filename_(filename) {} in MemoryLogWriter() 27 target_->insert({filename_, std::string(buffer_.GetBuffer(), size)}); in ~MemoryLogWriter() 41 const std::string filename_; member in webrtc::__anon2976a2bd0111::MemoryLogWriter
|
/external/protobuf/src/google/protobuf/stubs/ |
D | common.h | 196 : filename_(filename), line_(line), message_(message) {} in FatalException() 201 const char* filename() const { return filename_; } in filename() 206 const char* filename_;
|