Home
last modified time | relevance | path

Searched refs:output_file (Results 1 – 25 of 386) sorted by relevance

12345678910>>...16

/external/webrtc/api/
Drtc_event_log_output_file_unittest.cc54 auto output_file = std::make_unique<RtcEventLogOutputFile>(output_file_name_); in TEST_F() local
55 EXPECT_TRUE(output_file->IsActive()); in TEST_F()
60 auto output_file = std::make_unique<RtcEventLogOutputFile>(illegal_filename); in TEST_F() local
61 EXPECT_FALSE(output_file->IsActive()); in TEST_F()
68 auto output_file = std::make_unique<RtcEventLogOutputFile>(output_file_name_); in TEST_F() local
69 output_file->Write(output_str); in TEST_F()
70 output_file.reset(); // Closing the file flushes the buffer to disk. in TEST_F()
78 auto output_file = in TEST_F() local
81 output_file->Write("1"); in TEST_F()
82 output_file->Write("2"); in TEST_F()
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/
Dgenerate.py182 def WriteToFile(self, output_file): argument
183 _AssertIsUTF8(output_file)
191 output_file.write('<script %s>\n' % ' '.join(attrs))
193 output_file.write('<script>\n')
195 output_file.write(self.text_content)
196 output_file.write('</script>\n')
225 def _WriteOriginTrialTokens(output_file): argument
227 output_file.write(' <meta http-equiv="origin-trial" content="')
228 output_file.write(token)
229 output_file.write('">\n')
[all …]
/external/sfntly/cpp/src/test/
Dchrome_subsetter.cc52 FILE* output_file = NULL; in TestChromeSubsetter() local
54 fopen_s(&output_file, kOutputFileName, "wb"); in TestChromeSubsetter()
56 output_file = fopen(kOutputFileName, "wb"); in TestChromeSubsetter()
58 EXPECT_TRUE((output_file != NULL)); in TestChromeSubsetter()
59 if (output_file) { in TestChromeSubsetter()
60 int byte_count = fwrite(output_buffer, 1, output_length, output_file); in TestChromeSubsetter()
62 fflush(output_file); in TestChromeSubsetter()
63 fclose(output_file); in TestChromeSubsetter()
Dtest_font_utils.cc87 FILE* output_file = NULL; in SerializeToFile() local
89 fopen_s(&output_file, file_path, "wb"); in SerializeToFile()
91 output_file = fopen(file_path, "wb"); in SerializeToFile()
93 EXPECT_NE(output_file, reinterpret_cast<FILE*>(NULL)); in SerializeToFile()
94 fwrite(output_stream->Get(), 1, output_stream->Size(), output_file); in SerializeToFile()
95 fflush(output_file); in SerializeToFile()
96 fclose(output_file); in SerializeToFile()
/external/libjpeg-turbo/
Dwrgif.c117 if (JFWRITE(dinfo->pub.output_file, dinfo->packetbuf, dinfo->bytesinpkt) != in flush_packet()
236 putc(w & 0xFF, dinfo->pub.output_file); in put_word()
237 putc((w >> 8) & 0xFF, dinfo->pub.output_file); in put_word()
245 putc(val, dinfo->pub.output_file); in put_3bytes()
246 putc(val, dinfo->pub.output_file); in put_3bytes()
247 putc(val, dinfo->pub.output_file); in put_3bytes()
275 putc('G', dinfo->pub.output_file); in emit_header()
276 putc('I', dinfo->pub.output_file); in emit_header()
277 putc('F', dinfo->pub.output_file); in emit_header()
278 putc('8', dinfo->pub.output_file); in emit_header()
[all …]
/external/googletest/googletest/scripts/
Dfuse_gtest_files.py120 output_file = os.path.join(output_dir, relative_path)
121 if os.path.exists(output_file):
134 parent_directory = os.path.dirname(output_file)
152 output_file = open(os.path.join(output_dir, GTEST_H_OUTPUT), 'w')
172 output_file.write(line)
175 output_file.close()
178 def FuseGTestAllCcToFile(gtest_root, output_file): argument
209 output_file.write('#include "%s"\n' % (GTEST_H_OUTPUT,))
216 output_file.write(line)
224 output_file = open(os.path.join(output_dir, GTEST_ALL_CC_OUTPUT), 'w')
[all …]
/external/grpc-grpc/src/php/bin/
Dgenerate_proto_php.sh27 output_file=$(mktemp)
29 src/proto/grpc/testing/empty.proto > $output_file
30 mv $output_file ./src/proto/grpc/testing/empty.proto
32 src/proto/grpc/testing/test.proto > $output_file
33 mv $output_file ./src/proto/grpc/testing/test.proto
45 src/proto/grpc/testing/empty.proto > $output_file
46 mv $output_file ./src/proto/grpc/testing/empty.proto
48 src/proto/grpc/testing/test.proto > $output_file
49 mv $output_file ./src/proto/grpc/testing/test.proto
/external/webrtc/rtc_tools/
Dvideo_file_writer.cc31 FILE* output_file = fopen(file_name.c_str(), "wb"); in WriteVideoToFile() local
32 if (output_file == nullptr) { in WriteVideoToFile()
38 fprintf(output_file, "YUV4MPEG2 W%d H%d F%d:1 C420\n", video->width(), in WriteVideoToFile()
44 fwrite(frame.c_str(), 1, 6, output_file); in WriteVideoToFile()
52 fwrite(data_y + i * stride, /*size=*/1, stride, output_file); in WriteVideoToFile()
57 fwrite(data_u + i * stride, /*size=*/1, stride, output_file); in WriteVideoToFile()
62 fwrite(data_v + i * stride, /*size=*/1, stride, output_file); in WriteVideoToFile()
65 if (ferror(output_file) != 0) { in WriteVideoToFile()
68 fclose(output_file); in WriteVideoToFile()
/external/icu/icu4c/source/python/icutools/databuilder/renderers/
Dmakefile.py58 OUT_FILE = files_to_makefile([rule.output_file], **kwargs),
99 output_file = request.output_file,
103 MAKEFILENAME = files_to_makefile([request.output_file], common_vars),
117 output_file = request.output_file,
120 files_to_makefile([request.output_file], common_vars))
162 output_file = timestamp_file,
177 output_file = file,
195 output_file = request.output_files[0],
206 output_file = request.output_files[0],
226 (_, specific_dep_files, input_file, output_file) = loop_vars
[all …]
/external/libchrome/build/
Dwrite_buildflag_header.py79 with open(options.output, 'w') as output_file:
80 output_file.write("// Generated by build/write_buildflag_header.py\n")
82 output_file.write('// From "' + options.rulename + '"\n')
84 output_file.write('\n#ifndef %s\n' % options.header_guard)
85 output_file.write('#define %s\n\n' % options.header_guard)
86 output_file.write('#include "build/buildflag.h"\n\n')
89 output_file.write('#define BUILDFLAG_INTERNAL_%s() (%s)\n' % pair)
91 output_file.write('\n#endif // %s\n' % options.header_guard)
/external/googletest/googlemock/scripts/
Dfuse_gmock_files.py130 output_file = open(os.path.join(output_dir, GMOCK_H_OUTPUT), 'w')
161 output_file.write('#include "%s"\n' % (gtest.GTEST_H_OUTPUT,))
164 output_file.write(line)
167 output_file.close()
170 def FuseGMockAllCcToFile(gmock_root, output_file): argument
199 output_file.write('#include "%s"\n' % (GMOCK_H_OUTPUT,))
215 output_file.write(line)
224 'w') as output_file:
226 gtest.FuseGTestAllCcToFile(GetGTestRootDir(gmock_root), output_file)
228 FuseGMockAllCcToFile(gmock_root, output_file)
/external/sfntly/cpp/src/sample/subtly/
Dutils.cc76 FILE* output_file = NULL; in SerializeFont() local
78 fopen_s(&output_file, font_path, "wb"); in SerializeFont()
80 output_file = fopen(font_path, "wb"); in SerializeFont()
82 if (output_file == reinterpret_cast<FILE*>(NULL)) in SerializeFont()
85 fwrite(&(output_stream.Get()[i]), 1, 1, output_file); in SerializeFont()
87 fflush(output_file); in SerializeFont()
88 fclose(output_file); in SerializeFont()
/external/deqp-deps/glslang/
Dbuild_info.py149 output_file = None
173 output_file = val
181 "output_file": output_file,
199 output_file = args["output_file"]
212 if output_file is None:
215 mkdir_p(os.path.dirname(output_file))
217 if os.path.isfile(output_file):
218 with open(output_file, 'r') as f:
222 with open(output_file, 'w') as f:
/external/angle/third_party/vulkan-deps/glslang/src/
Dbuild_info.py149 output_file = None
173 output_file = val
181 "output_file": output_file,
199 output_file = args["output_file"]
212 if output_file is None:
215 mkdir_p(os.path.dirname(output_file))
217 if os.path.isfile(output_file):
218 with open(output_file, 'r') as f:
222 with open(output_file, 'w') as f:
/external/llvm-project/llvm/utils/lit/lit/
Dreports.py16 def __init__(self, output_file): argument
17 self.output_file = output_file
66 with open(self.output_file, 'w') as file:
86 def __init__(self, output_file): argument
87 self.output_file = output_file
95 with open(self.output_file, 'w') as file:
164 def __init__(self, output_file): argument
165 self.output_file = output_file
177 with open(self.output_file, "w") as time_trace_file:
/external/libchrome/base/test/launcher/
Dunit_test_launcher.cc139 const base::FilePath& output_file, in GetCommandLineForChildGTestProcess() argument
152 new_cmd_line.AppendSwitchPath(switches::kTestLauncherOutput, output_file); in GetCommandLineForChildGTestProcess()
283 const base::FilePath& output_file, in ProcessTestResults() argument
291 ProcessGTestOutput(output_file, &test_results, &crashed); in ProcessTestResults()
424 const FilePath& output_file() { return output_file_; } in output_file() function in base::__anonc8e4651a0111::UnitTestProcessLifetimeObserver
432 const FilePath& output_file, in UnitTestProcessLifetimeObserver() argument
439 output_file_(output_file), in UnitTestProcessLifetimeObserver()
463 const FilePath& output_file, in ParallelUnitTestProcessLifetimeObserver() argument
469 output_file, in ParallelUnitTestProcessLifetimeObserver()
490 ProcessTestResults(test_launcher(), test_names(), output_file(), output, in OnCompleted()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/
Dgoogletest-options-test.cc88 const std::string& output_file = in TEST() local
91 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST()
93 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST()
171 const std::string& output_file = in TEST_F() local
174 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST_F()
176 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST_F()
202 const std::string& output_file = in TEST_F() local
206 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST_F()
208 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST_F()
/external/googletest/googletest/test/
Dgoogletest-options-test.cc91 const std::string& output_file = in TEST() local
94 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST()
96 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST()
180 const std::string& output_file = in TEST_F() local
183 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST_F()
185 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST_F()
211 const std::string& output_file = in TEST_F() local
215 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST_F()
217 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST_F()
/external/sfntly/cpp/src/sample/chromium/
Dchrome_subsetter.cc66 FILE* output_file = NULL; in SaveFile() local
68 fopen_s(&output_file, output_file_path, "wb"); in SaveFile()
70 output_file = fopen(output_file_path, "wb"); in SaveFile()
72 if (output_file) { in SaveFile()
73 byte_count = fwrite(output_buffer, 1, buffer_length, output_file); in SaveFile()
74 fflush(output_file); in SaveFile()
75 fclose(output_file); in SaveFile()
/external/webrtc/rtc_tools/converter/
Dconverter.cc37 FILE* output_file = fopen(output_file_name.c_str(), "wb"); in ConvertRGBAToI420Video() local
40 if (output_file == NULL) { in ConvertRGBAToI420Video()
87 v_plane_size, output_file); in ConvertRGBAToI420Video()
100 fclose(output_file); in ConvertRGBAToI420Video()
111 FILE* output_file) { in AddYUVToFile() argument
112 bool success = AddYUVPlaneToFile(y_plane, y_plane_size, output_file) && in AddYUVToFile()
113 AddYUVPlaneToFile(u_plane, u_plane_size, output_file) && in AddYUVToFile()
114 AddYUVPlaneToFile(v_plane, v_plane_size, output_file); in AddYUVToFile()
/external/catch2/scripts/
DupdateDocumentToC.py261 def outputMarkdown(markdown_cont, output_file): argument
266 if output_file:
267 with open(output_file, 'w') as out:
272 output_file=None, argument
354 if output_file:
355 outputMarkdown(cont, output_file)
368 output_file = input_file + '.tmp'
372 output_file=output_file,
384 os.replace(output_file, input_file)
387 os.rename(output_file, input_file)
/external/pigweed/pw_rpc/py/pw_rpc/
Dcodegen_raw.py19 from pw_protobuf.output_file import OutputFile
105 output_file = OutputFile(output_filename)
106 _generate_code_for_package(proto_file, package_root, output_file)
108 output_file.write_line()
109 codegen.package_stubs(package_root, output_file, StubGenerator())
111 return [output_file]
/external/tensorflow/tensorflow/lite/toco/
Dtoco_convert.cc35 void CheckOutputFilePermissions(const Arg<std::string>& output_file) { in CheckOutputFilePermissions() argument
36 QCHECK(output_file.specified()) << "Missing required flag --output_file.\n"; in CheckOutputFilePermissions()
37 QCHECK(port::file::Writable(output_file.value()).ok()) in CheckOutputFilePermissions()
38 << "Specified output_file is not writable: " << output_file.value() in CheckOutputFilePermissions()
101 CheckOutputFilePermissions(parsed_toco_flags.output_file); in Convert()
108 port::file::SetContents(parsed_toco_flags.output_file.value(), in Convert()
/external/tensorflow/tensorflow/lite/testing/kernel_test/
Ddiff_analyzer.cc92 std::ofstream output_file; in WriteReport() local
93 output_file.open(filename, std::fstream::out | std::fstream::trunc); in WriteReport()
94 if (!output_file) { in WriteReport()
99 output_file << "Normalized L2 Error" in WriteReport()
108 output_file << l2_error << "," << max_diff << "\n"; in WriteReport()
111 output_file.close(); in WriteReport()
/external/icu/icu4c/source/data/
DBUILDRULES.py105 output_file = TmpFile("icudata.lst"),
116 output_file = OutFile("cnvalias.icu")
123 output_files = [output_file],
277 output_file = OutFile("coll/ucadata.icu")
284 output_files = [output_file],
325 output_file = OutFile("unames.icu")
332 output_files = [output_file],
344 output_file = OutFile("%s.icu" % basename)
351 output_files = [output_file],
387 output_file = OutFile("curr/supplementalData.res")
[all …]

12345678910>>...16