Home
last modified time | relevance | path

Searched refs:output_file_ (Results 1 – 20 of 20) sorted by relevance

/external/tensorflow/tensorflow/core/util/
Dmemmapped_file_system_writer.cc23 auto status = env->NewWritableFile(filename, &output_file_); in InitializeToFile()
32 if (!output_file_) { in SaveTensor()
51 const auto result = output_file_->Append(tensor_data); in SaveTensor()
60 if (!output_file_) { in SaveProtobuf()
74 const auto res = output_file_->Append(encoded); in SaveProtobuf()
93 if (!output_file_) { in FlushAndClose()
98 TF_RETURN_IF_ERROR(output_file_->Append(dir)); in FlushAndClose()
102 TF_RETURN_IF_ERROR(output_file_->Append( in FlushAndClose()
106 TF_RETURN_IF_ERROR(output_file_->Flush()); in FlushAndClose()
107 TF_RETURN_IF_ERROR(output_file_->Close()); in FlushAndClose()
[all …]
Dmemmapped_file_system_writer.h47 std::unique_ptr<WritableFile> output_file_; variable
/external/webrtc/webrtc/test/testsupport/
Dframe_writer.cc22 output_file_(NULL) { in FrameWriterImpl()
35 output_file_ = fopen(output_filename_.c_str(), "wb"); in Init()
36 if (output_file_ == NULL) { in Init()
45 if (output_file_ != NULL) { in Close()
46 fclose(output_file_); in Close()
47 output_file_ = NULL; in Close()
55 if (output_file_ == NULL) { in WriteFrame()
60 output_file_); in WriteFrame()
Dframe_writer.h64 FILE* output_file_; variable
/external/webrtc/webrtc/modules/utility/source/
Dfile_player_unittests.cc36 output_file_(NULL) {} in FilePlayerTest()
42 output_file_ = fopen(output_file.c_str(), "wb"); in SetUp()
43 ASSERT_TRUE(output_file_ != NULL); in SetUp()
48 if (output_file_) in TearDown()
49 fclose(output_file_); in TearDown()
70 fwrite(out, sizeof(out[0]), num_samples, output_file_)); in PlayFileAndCheck()
81 FILE* output_file_; member in webrtc::FilePlayerTest
/external/webrtc/webrtc/base/
Devent_tracer.cc104 RTC_DCHECK(output_file_); in Log()
106 fprintf(output_file_, "{ \"traceEvents\": [\n"); in Log()
116 fprintf(output_file_, in Log()
135 fprintf(output_file_, "]}\n"); in Log()
137 fclose(output_file_); in Log()
138 output_file_ = nullptr; in Log()
143 RTC_DCHECK(!output_file_); in Start()
144 output_file_ = file; in Start()
189 FILE* output_file_ = nullptr; member in rtc::tracing::__anoneb84e6460211::EventLogger
/external/libbrillo/brillo/
Dprocess_unittest.cc109 output_file_ = temp_dir_.GetPath().Append("fork_out").value(); in SetUp()
110 process_.RedirectOutput(output_file_); in SetUp()
126 std::string output_file_; member in brillo::ProcessTest
134 ExpectFileEquals("hello world\n", output_file_.c_str()); in TEST_F()
142 ExpectFileEquals("--hello world\n", output_file_.c_str()); in TEST_F()
149 ExpectFileEquals("--answer 42\n", output_file_.c_str()); in TEST_F()
155 ExpectFileEquals("", output_file_.c_str()); in TEST_F()
188 EXPECT_TRUE(base::ReadFileToString(FilePath(output_file_), &contents)); in CheckStderrCaptured()
267 process_.RedirectOutput(output_file_); in TEST_F()
274 ExpectFileEquals(kMessage, output_file_.c_str()); in TEST_F()
[all …]
Dprocess.cc74 output_file_ = output_file; in RedirectOutput()
269 if (!output_file_.empty()) { in Start()
271 output_file_.c_str(), O_CREAT | O_WRONLY | O_TRUNC | O_NOFOLLOW, in Start()
274 PLOG(ERROR) << "Could not create " << output_file_; in Start()
Dprocess.h223 std::string output_file_; variable
/external/v8/tools/
Dperf-to-html.py159 self.output_file_ = output_file
167 if self.output_file_:
169 with open(self.output_file_, "w") as text_file:
Dperf-compare.py184 self.output_file_ = output_file
192 if self.output_file_:
194 with open(self.output_file_, "w") as text_file:
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/
Dgtest.cc3037 const String output_file_; member in testing::internal::XmlUnitTestResultPrinter
3044 : output_file_(output_file) { in XmlUnitTestResultPrinter()
3045 if (output_file_.c_str() == NULL || output_file_.empty()) { in XmlUnitTestResultPrinter()
3056 FilePath output_file(output_file_); in OnTestIterationEnd()
3060 xmlout = posix::FOpen(output_file_.c_str(), "w"); in OnTestIterationEnd()
3075 output_file_.c_str()); in OnTestIterationEnd()
/external/llvm/utils/unittest/googletest/src/
Dgtest.cc3038 const String output_file_; member in testing::internal::XmlUnitTestResultPrinter
3045 : output_file_(output_file) { in XmlUnitTestResultPrinter()
3046 if (output_file_.c_str() == NULL || output_file_.empty()) { in XmlUnitTestResultPrinter()
3057 FilePath output_file(output_file_); in OnTestIterationEnd()
3061 xmlout = posix::FOpen(output_file_.c_str(), "w"); in OnTestIterationEnd()
3076 output_file_.c_str()); in OnTestIterationEnd()
/external/google-breakpad/src/testing/gtest/src/
Dgtest.cc3063 const String output_file_; member in testing::internal::XmlUnitTestResultPrinter
3070 : output_file_(output_file) { in XmlUnitTestResultPrinter()
3071 if (output_file_.c_str() == NULL || output_file_.empty()) { in XmlUnitTestResultPrinter()
3082 FilePath output_file(output_file_); in OnTestIterationEnd()
3086 xmlout = posix::FOpen(output_file_.c_str(), "w"); in OnTestIterationEnd()
3101 output_file_.c_str()); in OnTestIterationEnd()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest.cc3495 const std::string output_file_; member in testing::internal::XmlUnitTestResultPrinter
3502 : output_file_(output_file) { in XmlUnitTestResultPrinter()
3503 if (output_file_.empty()) { in XmlUnitTestResultPrinter()
3511 FILE* xmlout = OpenFileForWriting(output_file_); in OnTestIterationEnd()
3520 FILE* xmlout = OpenFileForWriting(output_file_); in ListTestsMatchingFilter()
3925 const std::string output_file_; member in testing::internal::JsonUnitTestResultPrinter
3932 : output_file_(output_file) { in JsonUnitTestResultPrinter()
3933 if (output_file_.empty()) { in JsonUnitTestResultPrinter()
3940 FILE* jsonout = OpenFileForWriting(output_file_); in OnTestIterationEnd()
/external/googletest/googletest/src/
Dgtest.cc3541 const std::string output_file_; member in testing::internal::XmlUnitTestResultPrinter
3548 : output_file_(output_file) { in XmlUnitTestResultPrinter()
3549 if (output_file_.empty()) { in XmlUnitTestResultPrinter()
3557 FILE* xmlout = OpenFileForWriting(output_file_); in OnTestIterationEnd()
3566 FILE* xmlout = OpenFileForWriting(output_file_); in ListTestsMatchingFilter()
3969 const std::string output_file_; member in testing::internal::JsonUnitTestResultPrinter
3976 : output_file_(output_file) { in JsonUnitTestResultPrinter()
3977 if (output_file_.empty()) { in JsonUnitTestResultPrinter()
3984 FILE* jsonout = OpenFileForWriting(output_file_); in OnTestIterationEnd()
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest.cc3417 const std::string output_file_; member in testing::internal::XmlUnitTestResultPrinter
3424 : output_file_(output_file) { in XmlUnitTestResultPrinter()
3425 if (output_file_.c_str() == NULL || output_file_.empty()) { in XmlUnitTestResultPrinter()
3436 FilePath output_file(output_file_); in OnTestIterationEnd()
3440 xmlout = posix::FOpen(output_file_.c_str(), "w"); in OnTestIterationEnd()
3455 output_file_.c_str()); in OnTestIterationEnd()
/external/mesa3d/src/gtest/src/
Dgtest.cc3416 const std::string output_file_; member in testing::internal::XmlUnitTestResultPrinter
3423 : output_file_(output_file) { in XmlUnitTestResultPrinter()
3424 if (output_file_.c_str() == NULL || output_file_.empty()) { in XmlUnitTestResultPrinter()
3435 FilePath output_file(output_file_); in OnTestIterationEnd()
3439 xmlout = posix::FOpen(output_file_.c_str(), "w"); in OnTestIterationEnd()
3454 output_file_.c_str()); in OnTestIterationEnd()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/
Dgtest.cc3416 const std::string output_file_; member in testing::internal::XmlUnitTestResultPrinter
3423 : output_file_(output_file) { in XmlUnitTestResultPrinter()
3424 if (output_file_.c_str() == NULL || output_file_.empty()) { in XmlUnitTestResultPrinter()
3435 FilePath output_file(output_file_); in OnTestIterationEnd()
3439 xmlout = posix::FOpen(output_file_.c_str(), "w"); in OnTestIterationEnd()
3454 output_file_.c_str()); in OnTestIterationEnd()
/external/epid-sdk/ext/gtest/
Dgtest-all.cc4868 const std::string output_file_; member in testing::internal::XmlUnitTestResultPrinter
4875 : output_file_(output_file) { in XmlUnitTestResultPrinter()
4876 if (output_file_.c_str() == NULL || output_file_.empty()) { in XmlUnitTestResultPrinter()
4887 FilePath output_file(output_file_); in OnTestIterationEnd()
4891 xmlout = posix::FOpen(output_file_.c_str(), "w"); in OnTestIterationEnd()
4906 output_file_.c_str()); in OnTestIterationEnd()