/external/tensorflow/tensorflow/core/util/ |
D | memmapped_file_system_writer.cc | 23 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 …]
|
D | memmapped_file_system_writer.h | 47 std::unique_ptr<WritableFile> output_file_; variable
|
/external/webrtc/webrtc/test/testsupport/ |
D | frame_writer.cc | 22 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()
|
D | frame_writer.h | 64 FILE* output_file_; variable
|
/external/webrtc/webrtc/modules/utility/source/ |
D | file_player_unittests.cc | 36 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/ |
D | event_tracer.cc | 104 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/ |
D | process_unittest.cc | 109 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 …]
|
D | process.cc | 74 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()
|
D | process.h | 223 std::string output_file_; variable
|
/external/v8/tools/ |
D | perf-to-html.py | 159 self.output_file_ = output_file 167 if self.output_file_: 169 with open(self.output_file_, "w") as text_file:
|
D | perf-compare.py | 184 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/ |
D | gtest.cc | 3037 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/ |
D | gtest.cc | 3038 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/ |
D | gtest.cc | 3063 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/ |
D | gtest.cc | 3495 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/ |
D | gtest.cc | 3541 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/ |
D | gtest.cc | 3417 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/ |
D | gtest.cc | 3416 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/ |
D | gtest.cc | 3416 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/ |
D | gtest-all.cc | 4868 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()
|