/third_party/python/Lib/ |
H A D | uu.py | 29 encode(in_file, out_file [,name, mode], *, backtick=False) 30 decode(in_file [, out_file, mode, quiet]) 45 def encode(in_file, out_file, name=None, mode=None, *, backtick=False): 65 # Open out_file if it is a pathname 67 if out_file == '-': 68 out_file = sys.stdout.buffer 69 elif isinstance(out_file, str): 70 out_file = open(out_file, 'wb') 71 opened_files.append(out_file) [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/ |
H A D | gen_mtl_internal_shaders.py | 101 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 [all...] |
/third_party/elfutils/tests/ |
H A D | run-reverse-sections-self.sh | 24 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}
|
H A D | run-reverse-sections.sh | 23 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}
|
H A D | run-copyadd-sections.sh | 23 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}
|
H A D | run-copymany-sections.sh | 28 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/ |
H A D | compressor_test.py | 28 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 [all...] |
H A D | compress_test.py | 22 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/src/utils/ |
H A D | wpa_debug.c | 65 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, " in _wpa_hexdump() [all...] |
/third_party/icu/tools/unicode/py/ |
H A D | preparseucd.py | 1167 def WriteFieldsRangeProps(fields, start, end, props, out_file): 1170 out_file.write(";".join(fields)) 1171 out_file.write("\n") 1190 def WritePreparsedUCD(out_file): 1191 out_file.write("""# Preparsed UCD generated by ICU preparseucd.py 1195 out_file.write("ucd;%s\n\n" % _ucd_version) 1201 out_file.write(";".join(["property", prop[0]] + prop[1])) 1202 out_file.write("\n") 1203 out_file.write("\n") 1204 out_file [all...] |
/third_party/icu/tools/unicode/c/genprops/misc/ |
H A D | ucdcopy.py | 36 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 [all...] |
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | gen_proc_table.py | 189 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/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | wpa_debug.c | 37 static FILE *out_file = NULL; variable 86 if (out_file) in wpa_debug_print_timestamp() 87 fprintf(out_file, "%ld.%06u: ", (long) tv.sec, in wpa_debug_print_timestamp() 90 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() 486 if (out_file) { in _wpa_hexdump() 487 fprintf(out_file, " in _wpa_hexdump() [all...] |
/third_party/skia/build/fuchsia/skqp/ |
H A D | append_assets_to_manifest | 43 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/cJSON/tests/unity/auto/ |
H A D | stylize_as_junit.rb | 24 options.out_file = 'results.xml' 41 o.on('-o', '--output <filename>', 'XML file to generate.') do |out_file| 42 # puts "out_file: #{out_file}" 43 options.out_file = out_file 70 attr_writer :targets, :root, :out_file 80 # puts "Output File: #{@out_file}" 81 f = File.new(@out_file, 'w') 244 # puts "Output File from options: #{options.out_file}" [all...] |
/third_party/mesa3d/src/imagination/rogue/tools/ |
H A D | offline_compiler.c | 70 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/unity/auto/ |
H A D | stylize_as_junit.rb | 24 options.out_file = 'results.xml' 41 o.on('-o', '--output <filename>', 'XML file to generate.') do |out_file| 42 # puts "out_file: #{out_file}" 43 options.out_file = out_file 70 attr_writer :targets, :root, :out_file 80 # puts "Output File: #{@out_file}" 81 f = File.new(@out_file, 'w') 243 # puts "Output File from options: #{options.out_file}" [all...] |
/third_party/skia/buildtools/checkdeps/ |
H A D | graphdeps.py | 45 out_file, 62 out_file: Output file name. 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') 308 dest="out_file", default="DEPS", 368 if not options.out_file.endswith(options.out_format): 369 options.out_file [all...] |
/third_party/skia/third_party/externals/libwebp/examples/ |
H A D | anim_dump.c | 99 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/node/deps/v8/tools/debug_helper/ |
H A D | gen-heap-constants.py | 80 with open(sys.argv[2], "r") as out_file: 81 if out == out_file.read(): 85 with open(sys.argv[2], "w") as out_file: 86 out_file.write(out)
|
/third_party/skia/third_party/externals/angle2/src/tests/restricted_traces/ |
H A D | gen_restricted_traces.py | 222 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/spirv-tools/tools/opt/ |
H A D | opt.cpp | 589 const char** out_file, 596 // |optimizer|, |in_file|, |out_file|, |validator_options|, and 602 const char** out_file, in ParseOconfigFlag() 629 out_file, validator_options, optimizer_options); in ParseOconfigFlag() 679 // The name of the output file in |out_file|. The return value indicates whether 684 const char** out_file, in ParseFlags() 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 in main() local 600 ParseOconfigFlag(const char* prog_name, const char* opt_flag, spvtools::Optimizer* optimizer, const char** in_file, const char** out_file, spvtools::ValidatorOptions* validator_options, spvtools::OptimizerOptions* optimizer_options) ParseOconfigFlag() argument 682 ParseFlags(int argc, const char** argv, spvtools::Optimizer* optimizer, const char** in_file, const char** out_file, spvtools::ValidatorOptions* validator_options, spvtools::OptimizerOptions* optimizer_options) ParseFlags() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/opt/ |
H A D | opt.cpp | 589 const char** out_file, 596 // |optimizer|, |in_file|, |out_file|, |validator_options|, and 602 const char** out_file, in ParseOconfigFlag() 629 out_file, validator_options, optimizer_options); in ParseOconfigFlag() 679 // The name of the output file in |out_file|. The return value indicates whether 684 const char** out_file, in ParseFlags() 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 in main() local 600 ParseOconfigFlag(const char* prog_name, const char* opt_flag, spvtools::Optimizer* optimizer, const char** in_file, const char** out_file, spvtools::ValidatorOptions* validator_options, spvtools::OptimizerOptions* optimizer_options) ParseOconfigFlag() argument 682 ParseFlags(int argc, const char** argv, spvtools::Optimizer* optimizer, const char** in_file, const char** out_file, spvtools::ValidatorOptions* validator_options, spvtools::OptimizerOptions* optimizer_options) ParseFlags() argument [all...] |
/third_party/spirv-tools/tools/opt/ |
H A D | opt.cpp | 605 const char** out_file, 612 // |optimizer|, |in_file|, |out_file|, |validator_options|, and 618 const char** out_file, in ParseOconfigFlag() 645 out_file, validator_options, optimizer_options); in ParseOconfigFlag() 695 // The name of the output file in |out_file|. The return value indicates whether 700 const char** out_file, in ParseFlags() 715 if (!*out_file && argi + 1 < argc) { in ParseFlags() 716 *out_file = argv[++argi]; in ParseFlags() 732 ParseOconfigFlag(argv[0], cur_arg, optimizer, in_file, out_file, in ParseFlags() 826 const char* out_file in main() local 616 ParseOconfigFlag(const char* prog_name, const char* opt_flag, spvtools::Optimizer* optimizer, const char** in_file, const char** out_file, spvtools::ValidatorOptions* validator_options, spvtools::OptimizerOptions* optimizer_options) ParseOconfigFlag() argument 698 ParseFlags(int argc, const char** argv, spvtools::Optimizer* optimizer, const char** in_file, const char** out_file, spvtools::ValidatorOptions* validator_options, spvtools::OptimizerOptions* optimizer_options) ParseFlags() argument [all...] |
/third_party/skia/third_party/externals/harfbuzz/test/subset/ |
H A D | run-tests.py | 52 out_file = os.path.join (tempfile.mkdtemp (), test.get_font_name () + '-subset' + test.get_font_extension ()) 54 "--output-file=" + out_file, 67 with open (out_file, "rb") as fp: 73 if not check_ots (out_file): 92 with TTFont (out_file) as font:
|