Home
last modified time | relevance | path

Searched refs:out_file (Results 1 – 25 of 116) sorted by relevance

12345

/third_party/python/Lib/
Duu.py42 def encode(in_file, out_file, name=None, mode=None, *, backtick=False): argument
64 if out_file == '-':
65 out_file = sys.stdout.buffer
66 elif isinstance(out_file, str):
67 out_file = open(out_file, 'wb')
68 opened_files.append(out_file)
86 out_file.write(('begin %o %s\n' % ((mode & 0o777), name)).encode("ascii"))
89 out_file.write(binascii.b2a_uu(data, backtick=backtick))
92 out_file.write(b'`\nend\n')
94 out_file.write(b' \nend\n')
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/
Dgen_mtl_internal_shaders.py101 with open('format_autogen.h', 'wt') as out_file:
102 out_file.write(shader_autogen_header)
103 out_file.close()
128 with open('mtl_default_shaders_src_autogen.inc', 'wt') as out_file:
129 out_file.write(boilerplate_code)
130 out_file.write('\n')
131 out_file.write('// C++ string version of combined Metal default shaders.\n\n')
132 out_file.write('\n\nstatic char gDefaultMetallibSrc[] = R"(\n')
133 out_file.write(final_combined_src_string.decode("utf-8"))
134 out_file.write('\n')
[all …]
/third_party/elfutils/tests/
Drun-reverse-sections-self.sh24 out_file="${base_name}.rev"
25 out_file_mmap="${out_file}.mmap"
27 tempfiles ${out_file} ${out_file_mmap}
30 testrun ${abs_builddir}/elfcopy --reverse-offs ${in_file} ${out_file}
31 testrun ${abs_top_builddir}/src/elfcmp ${in_file} ${out_file}
32 testrun ${abs_top_builddir}/src/elflint --gnu ${out_file}
34 testrun ${abs_builddir}/elfrdwrnop ${out_file}
35 testrun ${abs_top_builddir}/src/elfcmp ${in_file} ${out_file}
36 testrun ${abs_top_builddir}/src/elflint --gnu ${out_file}
Drun-reverse-sections.sh23 out_file="${in_file}.rev"
24 out_file_mmap="${out_file}.mmap"
27 tempfiles ${out_file} ${out_file_mmap}
30 testrun ${abs_builddir}/elfcopy --reverse-offs ${in_file} ${out_file}
31 testrun ${abs_top_builddir}/src/elfcmp ${in_file} ${out_file}
32 testrun ${abs_top_builddir}/src/elflint --gnu ${out_file}
34 testrun ${abs_builddir}/elfrdwrnop ${out_file}
35 testrun ${abs_top_builddir}/src/elfcmp ${in_file} ${out_file}
36 testrun ${abs_top_builddir}/src/elflint --gnu ${out_file}
Drun-copyadd-sections.sh23 out_file="${in_file}.copy"
24 out_file_mmap="${out_file}.mmap"
27 tempfiles ${out_file} ${out_file_mmap} readelf.out
30 testrun ${abs_builddir}/elfcopy ${in_file} ${out_file}
31 testrun ${abs_top_builddir}/src/elfcmp ${in_file} ${out_file}
34 testrun ${abs_builddir}/addsections 3 ${out_file}
35 testrun ${abs_top_builddir}/src/readelf -S ${out_file} > readelf.out
39 testrun ${abs_top_builddir}/src/readelf -S ${out_file}
Drun-copymany-sections.sh28 out_file="${in_file}.copy"
29 out_file_mmap="${out_file}.mmap"
31 tempfiles ${out_file} ${out_file_mmap} readelf.out
34 testrun ${abs_builddir}/elfcopy ${in_file} ${out_file}
35 testrun ${abs_top_builddir}/src/elfcmp ${in_file} ${out_file}
38 testrun ${abs_builddir}/addsections 65535 ${out_file}
39 testrun ${abs_top_builddir}/src/readelf -S ${out_file} > readelf.out
44 testrun ${abs_top_builddir}/src/readelf -S ${out_file}
/third_party/skia/third_party/externals/brotli/python/tests/
Dcompressor_test.py28 with open(temp_uncompressed, 'wb') as out_file:
30 out_file.write(brotli.decompress(in_file.read()))
36 with open(temp_compressed, 'wb') as out_file:
38 out_file.write(self.compressor.process(in_file.read()))
39 out_file.write(self.compressor.finish())
45 with open(temp_compressed, 'wb') as out_file:
49 out_file.write(self.compressor.process(data))
50 out_file.write(self.compressor.finish())
56 with open(temp_compressed, 'wb') as out_file:
60 out_file.write(self.compressor.process(data))
[all …]
Dcompress_test.py22 with open(temp_uncompressed, 'wb') as out_file:
24 out_file.write(brotli.decompress(in_file.read(), **kwargs))
29 with open(temp_compressed, 'wb') as out_file:
31 out_file.write(brotli.compress(in_file.read(), **kwargs))
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dwpa_debug.c35 static FILE *out_file = NULL; variable
79 if (out_file) in wpa_debug_print_timestamp()
80 fprintf(out_file, "%ld.%06u: ", (long) tv.sec, in wpa_debug_print_timestamp()
83 if (!out_file && !wpa_debug_syslog) in wpa_debug_print_timestamp()
306 if (out_file) { in wpa_printf()
308 vfprintf(out_file, fmt, ap); in wpa_printf()
309 fprintf(out_file, "\n"); in wpa_printf()
313 if (!wpa_debug_syslog && !out_file) { in wpa_printf()
472 if (out_file) { in _wpa_hexdump()
473 fprintf(out_file, "%s - hexdump(len=%lu):", in _wpa_hexdump()
[all …]
/third_party/icu/tools/unicode/py/
Dpreparseucd.py1136 def WriteFieldsRangeProps(fields, start, end, props, out_file): argument
1139 out_file.write(";".join(fields))
1140 out_file.write("\n")
1159 def WritePreparsedUCD(out_file): argument
1160 out_file.write("""# Preparsed UCD generated by ICU preparseucd.py
1164 out_file.write("ucd;%s\n\n" % _ucd_version)
1170 out_file.write(";".join(["property", prop[0]] + prop[1]))
1171 out_file.write("\n")
1172 out_file.write("\n")
1173 out_file.write(";".join(["binary"] + _binary_values["N"]))
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dwpa_debug.c65 static FILE *out_file = NULL; variable
79 if (out_file) { in wpa_debug_print_timestamp()
80 fprintf(out_file, "%ld.%06u: ", (long) tv.sec, in wpa_debug_print_timestamp()
303 if (out_file) { in wpa_printf()
304 vfprintf(out_file, fmt, ap); in wpa_printf()
305 fprintf(out_file, "\n"); in wpa_printf()
469 if (out_file) { in _wpa_hexdump()
470 fprintf(out_file, "%s - hexdump(len=%lu):", in _wpa_hexdump()
473 fprintf(out_file, " [NULL]"); in _wpa_hexdump()
476 fprintf(out_file, " %02x", buf[i]); in _wpa_hexdump()
[all …]
/third_party/icu/tools/unicode/c/genprops/misc/
Ducdcopy.py36 out_file = open(t, "w")
57 out_file.write("%04X%s\n" % (first, first_data))
59 out_file.write("%04X..%04X%s\n" % (first, last, first_data))
65 out_file.write(line)
66 out_file.write("\n")
81 out_file.write(line)
82 out_file.write("\n")
86 out_file.write("%04X%s\n" % (first, first_data))
88 out_file.write("%04X..%04X%s\n" % (first, last, first_data))
93 out_file.flush()
[all …]
/third_party/skia/third_party/externals/angle2/scripts/
Dgen_proc_table.py189 with open(out_file_name_gles, 'w') as out_file:
198 out_file.write(output_cpp)
199 out_file.close()
232 with open(out_file_name_gl, 'w') as out_file:
241 out_file.write(output_cpp)
242 out_file.close()
267 with open(out_file_name_cl, 'w') as out_file:
275 out_file.write(output_cpp)
276 out_file.close()
278 with open(out_file_name_cl_map, 'w') as out_file:
[all …]
/third_party/mesa3d/src/imagination/rogue/tools/
Doffline_compiler.c70 char *out_file; member
134 if (opts->out_file) in parse_cmdline()
137 opts->out_file = optarg; in parse_cmdline()
175 if (!opts->out_file) in parse_cmdline()
176 opts->out_file = "out.bin"; in parse_cmdline()
276 fp = fopen(opts.out_file, "wb"); in main()
278 fprintf(stderr, "Failed to open output file \"%s\".\n", opts.out_file); in main()
290 opts.out_file, in main()
/third_party/skia/buildtools/checkdeps/
Dgraphdeps.py45 out_file, argument
90 self.out_file = out_file
123 out = pipe.open(self.out_file, 'w')
125 out = open(self.out_file, 'w')
134 out = pipe.open(self.out_file, 'w')
368 if not options.out_file.endswith(options.out_format):
369 options.out_file += '.' + options.out_format
381 out_file=options.out_file,
/third_party/skia/build/fuchsia/skqp/
Dappend_assets_to_manifest43 out_file = open(manifest, 'w') variable
48 out_file.write(base_line)
67 out_file.write('data%s=' % dest)
68 out_file.write('%s\n' % source)
72 out_file.close()
/third_party/flutter/skia/third_party/externals/angle2/scripts/
Dgen_proc_table.py159 with open(out_file_name_gles, 'w') as out_file:
169 out_file.write(output_cpp)
170 out_file.close()
208 with open(out_file_name_gl, 'w') as out_file:
218 out_file.write(output_cpp)
219 out_file.close()
/third_party/skia/third_party/externals/angle2/src/tests/restricted_traces/
Dgen_restricted_traces.py222 with open(gni_file, "w") as out_file:
223 out_file.write(gni_data)
321 with open(header_file, "w") as out_file:
322 out_file.write(header_data)
328 with open(source_file, "w") as out_file:
329 out_file.write(source_data)
335 with open('.gitignore', 'w') as out_file:
336 out_file.write('\n'.join(sorted(ignores)))
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/opt/
Dopt.cpp589 const char** out_file,
602 const char** out_file, in ParseOconfigFlag() argument
629 out_file, validator_options, optimizer_options); in ParseOconfigFlag()
684 const char** out_file, in ParseFlags() argument
699 if (!*out_file && argi + 1 < argc) { in ParseFlags()
700 *out_file = argv[++argi]; in ParseFlags()
716 ParseOconfigFlag(argv[0], cur_arg, optimizer, in_file, out_file, in ParseFlags()
810 const char* out_file = nullptr; in main() local
819 OptStatus status = ParseFlags(argc, argv, &optimizer, &in_file, &out_file, in main()
827 if (out_file == nullptr) { in main()
[all …]
/third_party/skia/third_party/externals/spirv-tools/tools/opt/
Dopt.cpp589 const char** out_file,
602 const char** out_file, in ParseOconfigFlag() argument
629 out_file, validator_options, optimizer_options); in ParseOconfigFlag()
684 const char** out_file, in ParseFlags() argument
699 if (!*out_file && argi + 1 < argc) { in ParseFlags()
700 *out_file = argv[++argi]; in ParseFlags()
716 ParseOconfigFlag(argv[0], cur_arg, optimizer, in_file, out_file, in ParseFlags()
810 const char* out_file = nullptr; in main() local
819 OptStatus status = ParseFlags(argc, argv, &optimizer, &in_file, &out_file, in main()
827 if (out_file == nullptr) { in main()
[all …]
/third_party/spirv-tools/tools/opt/
Dopt.cpp601 const char** out_file,
614 const char** out_file, in ParseOconfigFlag() argument
641 out_file, validator_options, optimizer_options); in ParseOconfigFlag()
696 const char** out_file, in ParseFlags() argument
711 if (!*out_file && argi + 1 < argc) { in ParseFlags()
712 *out_file = argv[++argi]; in ParseFlags()
728 ParseOconfigFlag(argv[0], cur_arg, optimizer, in_file, out_file, in ParseFlags()
822 const char* out_file = nullptr; in main() local
831 OptStatus status = ParseFlags(argc, argv, &optimizer, &in_file, &out_file, in main()
839 if (out_file == nullptr) { in main()
[all …]
/third_party/skia/third_party/externals/libwebp/examples/
Danim_dump.c99 W_CHAR out_file[1024]; in main() local
109 WSNPRINTF(out_file, sizeof(out_file), "%s/%s%.4d.%s", in main()
111 if (!WebPSaveImage(&buffer, format, (const char*)out_file)) { in main()
112 WFPRINTF(stderr, "Error while saving image '%s'\n", out_file); in main()
/third_party/flutter/skia/third_party/externals/libwebp/examples/
Danim_dump.c99 W_CHAR out_file[1024]; in main() local
109 WSNPRINTF(out_file, sizeof(out_file), "%s/%s%.4d.%s", in main()
111 if (!WebPSaveImage(&buffer, format, (const char*)out_file)) { in main()
112 WFPRINTF(stderr, "Error while saving image '%s'\n", out_file); in main()
/third_party/cJSON/tests/unity/auto/
Dstylize_as_junit.rb24 options.out_file = 'results.xml'
41 o.on('-o', '--output <filename>', 'XML file to generate.') do |out_file|
43 options.out_file = out_file
245 utj.out_file = options.out_file
/third_party/unity/auto/
Dstylize_as_junit.rb24 options.out_file = 'results.xml'
41 o.on('-o', '--output <filename>', 'XML file to generate.') do |out_file|
43 options.out_file = out_file
244 utj.out_file = options.out_file

12345