Home
last modified time | relevance | path

Searched refs:file_name_ (Results 1 – 25 of 60) sorted by relevance

123

/external/icing/icing/index/main/
Dflash-index-storage_test.cc50 file_name_ = test_dir_ + "/test_file.idx.index"; in SetUp()
60 std::string file_name_; member in icing::lib::__anonea8b392d0111::FlashIndexStorageTest
69 FlashIndexStorage::Create(file_name_, &filesystem_)); in TEST_F()
75 FlashIndexStorage::Create(file_name_, &filesystem_)); in TEST_F()
79 ScopedFd sfd(filesystem_.OpenForWrite(file_name_.c_str())); in TEST_F()
87 ASSERT_THAT(FlashIndexStorage::Create(file_name_, &filesystem_), in TEST_F()
92 ScopedFd sfd(filesystem_.OpenForWrite(file_name_.c_str())); in TEST_F()
101 FlashIndexStorage::Create(file_name_, &filesystem_)); in TEST_F()
105 filesystem_.DeleteFile(file_name_.c_str()); in TEST_F()
113 FlashIndexStorage::Create(file_name_, &filesystem_)); in TEST_F()
[all …]
/external/webrtc/rtc_base/
Dlocation.h32 file_name_(file_name), in Location()
37 const char* file_name() const { return file_name_; } in file_name()
41 const char* file_and_line() const { return file_name_; } in file_and_line()
47 const char* file_name_ = "Unknown"; variable
/external/protobuf/src/google/protobuf/
Dsource_context.pb.cc48 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::SourceContext, file_name_),
102 file_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); in SourceContext()
104file_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fr… in SourceContext()
111 file_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); in SharedCtor()
120 file_name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); in SharedDtor()
138 file_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); in Clear()
320file_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fr… in MergeFrom()
345file_name_.Swap(&other->file_name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInite… in InternalSwap()
Dsource_context.pb.h200 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_name_;
217 file_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); in clear_file_name()
221 return file_name_.GetNoArena(); in file_name()
225 file_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); in set_file_name()
230 file_name_.SetNoArena( in set_file_name()
237file_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::st… in set_file_name()
242 file_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), in set_file_name()
249 …return file_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()… in mutable_file_name()
254 …return file_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()… in release_file_name()
262file_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), … in set_allocated_file_name()
/external/webrtc/test/testsupport/
Divf_video_frame_generator_unittest.cc101 file_name_ = in SetUp()
104 void TearDown() override { webrtc::test::RemoveFile(file_name_); } in TearDown()
130 file_name_, video_codec_type, kVideoFramesCount); in CreateTestVideoFile()
160 std::string file_name_; member in webrtc::test::__anon615374670111::IvfVideoFrameGeneratorTest
168 IvfVideoFrameGenerator generator(file_name_); in TEST_F()
178 IvfVideoFrameGenerator generator(file_name_); in TEST_F()
188 IvfVideoFrameGenerator generator(file_name_); in TEST_F()
201 IvfVideoFrameGenerator generator(file_name_); in TEST_F()
/external/webrtc/modules/video_coding/utility/
Divf_file_writer_unittest.cc33 file_name_ = in SetUp()
36 void TearDown() override { webrtc::test::RemoveFile(file_name_); } in TearDown()
109 IvfFileWriter::Wrap(FileWrapper::OpenWriteOnly(file_name_), 0); in RunBasicFileStructureTest()
118 FileWrapper out_file = FileWrapper::OpenReadOnly(file_name_); in RunBasicFileStructureTest()
126 std::string file_name_; member in webrtc::IvfFileWriterTest
168 FileWrapper::OpenWriteOnly(file_name_), in TEST_F()
177 FileWrapper out_file = FileWrapper::OpenReadOnly(file_name_); in TEST_F()
Divf_file_reader_unittest.cc33 file_name_ = in SetUp()
36 void TearDown() override { webrtc::test::RemoveFile(file_name_); } in TearDown()
73 IvfFileWriter::Wrap(FileWrapper::OpenWriteOnly(file_name_), 0); in CreateTestFile()
108 IvfFileReader::Create(FileWrapper::OpenReadOnly(file_name_)); in ValidateContent()
125 std::string file_name_; member in webrtc::IvfFileReaderTest
/external/libvpx/libvpx/test/
Dwebm_video_source.h28 : file_name_(file_name), vpx_ctx_(new VpxInputContext()), in WebMVideoSource()
42 vpx_ctx_->file = OpenTestDataFile(file_name_); in Begin()
44 << "Input file open failed. Filename: " << file_name_; in Begin()
82 std::string file_name_;
Divf_video_source.h32 : file_name_(file_name), input_file_(NULL), compressed_frame_buf_(NULL), in IVFVideoSource()
49 input_file_ = OpenTestDataFile(file_name_); in Begin()
51 << "Input file open failed. Filename: " << file_name_; in Begin()
96 std::string file_name_;
Dy4m_video_source.h26 : file_name_(file_name), input_file_(NULL), img_(new vpx_image_t()), in Y4mVideoSource()
37 input_file_ = OpenTestDataFile(file_name_); in OpenSource()
39 << "Input file open failed. Filename: " << file_name_; in OpenSource()
110 std::string file_name_; variable
Dvideo_source.h81 TempOutFile() { file_ = GetTempOutFile(&file_name_); } in TempOutFile()
84 if (!file_name_.empty()) { in ~TempOutFile()
85 EXPECT_EQ(0, remove(file_name_.c_str())); in ~TempOutFile()
89 const std::string &file_name() { return file_name_; } in file_name()
99 std::string file_name_; variable
/external/libaom/libaom/test/
Dwebm_video_source.h29 : file_name_(file_name), aom_ctx_(new AvxInputContext()), in WebMVideoSource()
43 aom_ctx_->file = OpenTestDataFile(file_name_); in Begin()
45 << "Input file open failed. Filename: " << file_name_; in Begin()
84 std::string file_name_;
Divf_video_source.h36 : file_name_(file_name), input_file_(NULL), compressed_frame_buf_(NULL), in IVFVideoSource()
54 input_file_ = OpenTestDataFile(file_name_); in Begin()
56 << "Input file open failed. Filename: " << file_name_; in Begin()
104 std::string file_name_;
Dy4m_video_source.h27 : file_name_(file_name), input_file_(NULL), img_(new aom_image_t()), in Y4mVideoSource()
38 input_file_ = OpenTestDataFile(file_name_); in OpenSource()
40 << "Input file open failed. Filename: " << file_name_; in OpenSource()
112 std::string file_name_; variable
Dvideo_source.h83 TempOutFile() { file_ = GetTempOutFile(&file_name_); } in TempOutFile()
86 if (!file_name_.empty()) { in ~TempOutFile()
87 EXPECT_EQ(0, remove(file_name_.c_str())); in ~TempOutFile()
91 const std::string &file_name() { return file_name_; } in file_name()
101 std::string file_name_; variable
/external/libvpx/libvpx/third_party/libwebm/common/
Dfile_util.h33 explicit TempFileDeleter(std::string file_name) : file_name_(file_name) {} in TempFileDeleter()
35 const std::string& name() const { return file_name_; } in name()
38 std::string file_name_;
/external/libwebm/common/
Dfile_util.h33 explicit TempFileDeleter(std::string file_name) : file_name_(file_name) {} in TempFileDeleter()
35 const std::string& name() const { return file_name_; } in name()
38 std::string file_name_;
/external/libaom/libaom/third_party/libwebm/common/
Dfile_util.h33 explicit TempFileDeleter(std::string file_name) : file_name_(file_name) {} in TempFileDeleter()
35 const std::string& name() const { return file_name_; } in name()
38 std::string file_name_;
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
Dgtest-test-part.h67 file_name_(a_file_name == NULL ? "" : a_file_name), in TestPartResult()
79 return file_name_.empty() ? NULL : file_name_.c_str(); in file_name()
113 std::string file_name_; variable
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/include/gtest/
Dgtest-test-part.h66 file_name_(a_file_name == nullptr ? "" : a_file_name), in TestPartResult()
77 return file_name_.empty() ? nullptr : file_name_.c_str(); in file_name()
114 std::string file_name_; variable
/external/mesa3d/src/gtest/include/gtest/
Dgtest-test-part.h66 file_name_(a_file_name == nullptr ? "" : a_file_name), in TestPartResult()
77 return file_name_.empty() ? nullptr : file_name_.c_str(); in file_name()
114 std::string file_name_; variable
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/
Dgtest-test-part.h65 : type_(a_type), file_name_(a_file_name == nullptr ? "" : a_file_name), in TestPartResult()
75 return file_name_.empty() ? nullptr : file_name_.c_str(); in file_name()
112 std::string file_name_; variable
/external/llvm-project/llvm/utils/unittest/googletest/include/gtest/
Dgtest-test-part.h65 file_name_(a_file_name == NULL ? "" : a_file_name), in TestPartResult()
77 return file_name_.empty() ? NULL : file_name_.c_str(); in file_name()
111 std::string file_name_; variable
/external/googletest/googletest/include/gtest/
Dgtest-test-part.h66 file_name_(a_file_name == nullptr ? "" : a_file_name), in TestPartResult()
77 return file_name_.empty() ? nullptr : file_name_.c_str(); in file_name()
114 std::string file_name_; variable
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_libc_test.cpp172 temp_file_name(file_name_, sizeof(file_name_), in SetUp()
175 if (FILE *f = fopen(file_name_, "wb")) { in SetUp()
182 void TearDown() override { Unlink(file_name_); } in TearDown()
185 char file_name_[256]; member in SanitizerCommonFileTest
193 EXPECT_TRUE(ReadFileToBuffer(file_name_, &buff, &len, &size)); in TEST_P()
203 EXPECT_TRUE(ReadFileToBuffer(file_name_, &buff, &len, &size, data_.size())); in TEST_P()
210 EXPECT_TRUE(ReadFileToVector(file_name_, &buff)); in TEST_P()
217 EXPECT_TRUE(ReadFileToVector(file_name_, &buff, data_.size())); in TEST_P()

123