Home
last modified time | relevance | path

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

1234

/external/e2fsprogs/debugfs/
Dlogdump.c81 FILE *out_file; in do_logdump() local
180 out_file = stdout; in do_logdump()
183 out_file = fopen(out_fn, "w"); in do_logdump()
184 if (!out_file) { in do_logdump()
258 fprintf(out_file, "Using external journal found at %s\n", in do_logdump()
265 dump_journal(argv[0], out_file, &journal_source); in do_logdump()
273 if (out_file && (out_file != stdout)) in do_logdump()
274 fclose(out_file); in do_logdump()
343 static void dump_journal(char *cmdname, FILE *out_file, in dump_journal() argument
375 fprintf(out_file, "Ext2 superblock header found.\n"); in dump_journal()
[all …]
/external/python/cpython3/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)
79 out_file.write(('begin %o %s\n' % ((mode & 0o777), name)).encode("ascii"))
82 out_file.write(binascii.b2a_uu(data, backtick=backtick))
85 out_file.write(b'`\nend\n')
87 out_file.write(b' \nend\n')
[all …]
/external/python/cpython2/Lib/
Duu.py42 def encode(in_file, out_file, name=None, mode=None): argument
64 if out_file == '-':
65 out_file = sys.stdout
66 elif isinstance(out_file, basestring):
67 out_file = open(out_file, 'wb')
68 opened_files.append(out_file)
79 out_file.write('begin %o %s\n' % ((mode&0777),name))
82 out_file.write(binascii.b2a_uu(data))
84 out_file.write(' \nend\n')
90 def decode(in_file, out_file=None, mode=None, quiet=0): argument
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Drtp_analyze.cc83 FILE* out_file; in main() local
85 out_file = fopen(argv[2], "wt"); in main()
86 if (!out_file) { in main()
92 out_file = stdout; in main()
96 fprintf(out_file, "SeqNo TimeStamp SendTime Size PT M SSRC"); in main()
98 fprintf(out_file, " AuLvl (V)"); in main()
101 fprintf(out_file, " AbsSendTime"); in main()
103 fprintf(out_file, "\n"); in main()
116 fprintf(out_file, in main()
126 fprintf(out_file, in main()
[all …]
/external/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))
/external/autotest/client/cros/audio/
Dpack_audio_quality.py53 def pack_files(out_file): argument
63 command.append(out_file)
71 def check_packed_file(out_file): argument
77 command = ['python', out_file, '--help']
113 def append_name_with_git_hash(out_file): argument
122 basename, ext = os.path.splitext(out_file)
141 out_file = append_name_with_git_hash(args.out) variable
145 pack_files(out_file)
146 check_packed_file(out_file)
151 logging.info('Packed file: %s', out_file)
/external/wpa_supplicant_8/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()
225 if (out_file) { in wpa_printf()
226 vfprintf(out_file, fmt, ap); in wpa_printf()
227 fprintf(out_file, "\n"); in wpa_printf()
352 if (out_file) { in _wpa_hexdump()
353 fprintf(out_file, "%s - hexdump(len=%lu):", in _wpa_hexdump()
356 fprintf(out_file, " [NULL]"); in _wpa_hexdump()
359 fprintf(out_file, " %02x", buf[i]); in _wpa_hexdump()
[all …]
/external/elfutils/tests/
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}
/external/toolchain-utils/
Dgenerate-waterfall-reports.py166 with open(filename, 'w') as out_file:
168 out_file.write('\n\nSummary of Test Failures as of %s\n\n' % date_string)
194 out_file.write('Suite: %s\n' % suite)
195 out_file.write(' %s (%d failures)\n' % (test, len(err_list)))
196 out_file.write(' (%s)\n' % err_msg)
199 out_file.write(' %s, %s, %s\n' % (format_date(err[0]), err[1],
201 out_file.write('\n')
228 with open(filename, 'w') as out_file:
230 out_file.write('\nStatus of %s Waterfall Builds from %s\n\n' %
232 out_file.write(' '
[all …]
Dnew-generate-waterfall-reports.py112 with open(filename, 'w') as out_file:
114 out_file.write('\nStatus of %s Waterfall Builds from %s\n\n' %
116 out_file.write(' \n')
117 out_file.write(
121 out_file.write(
146 out_file.write(
150 out_file.write(' build url: https://cros-goldeneye.corp.google.com/'
154 out_file.write(' build url: https://ci.chromium.org/p/chromeos/'
159 out_file.write('\n report status url: %s\n' % report_url)
160 out_file.write('\n')
/external/toolchain-utils/binary_search_tool/cros_pkg/
Dcreate_cleanup_script.py85 with open(out_filename, 'w') as out_file:
86 out_file.write('#!/bin/bash\n\n')
88 out_file.write('sudo rm /build/%s\n' % options.board)
93 out_file.write('sudo mv /build/%s.save /build/%s\n' % (options.board,
103 out_file.write('sudo ln -s %s /build/%s\n' % (original_link,
105 out_file.write('\n')
107 out_file.write('rm common/common.sh\n')
/external/webrtc/webrtc/modules/audio_processing/beamformer/
Dnonlinear_beamformer_test.cc46 WavWriter out_file(FLAGS_o, in_file.sample_rate(), 1); in main() local
59 FLAGS_o.c_str(), out_file.num_channels(), out_file.sample_rate()); in main()
65 rtc::CheckedDivExact(out_file.sample_rate(), kChunksPerSecond), in main()
66 out_file.num_channels()); in main()
80 out_file.WriteSamples(&interleaved[0], interleaved.size()); in main()
/external/deqp-deps/SPIRV-Tools/tools/opt/
Dopt.cpp425 const char** out_file,
437 const char** out_file) { in ParseOconfigFlag() argument
461 in_file, out_file, nullptr, nullptr); in ParseOconfigFlag()
514 const char** out_file, in ParseFlags() argument
529 if (!*out_file && argi + 1 < argc) { in ParseFlags()
530 *out_file = argv[++argi]; in ParseFlags()
546 ParseOconfigFlag(argv[0], cur_arg, optimizer, in_file, out_file); in ParseFlags()
619 const char* out_file = nullptr; in main() local
629 OptStatus status = ParseFlags(argc, argv, &optimizer, &in_file, &out_file, in main()
637 if (out_file == nullptr) { in main()
[all …]
/external/chromium-trace/catapult/systrace/atrace_helper/jni/
Dmain.cc55 char out_file[PATH_MAX] = {}; in main() local
91 strncpy(out_file, optarg, sizeof(out_file)); in main()
110 unlink(out_file); in main()
111 sprintf(tmp_file, "%s.tmp", out_file); in main()
133 rename(tmp_file, out_file); in main()
/external/swiftshader/third_party/SPIRV-Tools/tools/opt/
Dopt.cpp443 const char** out_file,
456 const char** out_file, in ParseOconfigFlag() argument
483 out_file, validator_options, optimizer_options); in ParseOconfigFlag()
538 const char** out_file, in ParseFlags() argument
555 if (!*out_file && argi + 1 < argc) { in ParseFlags()
556 *out_file = argv[++argi]; in ParseFlags()
572 ParseOconfigFlag(argv[0], cur_arg, optimizer, in_file, out_file, in ParseFlags()
662 const char* out_file = nullptr; in main() local
671 OptStatus status = ParseFlags(argc, argv, &optimizer, &in_file, &out_file, in main()
679 if (out_file == nullptr) { in main()
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
DRTPchange.cc41 FILE* out_file = fopen(argv[3], "wb"); in main() local
42 if (!out_file) { in main()
77 fputs(first_line, out_file); in main()
85 if (fwrite(first_line, 1, kRtpDumpHeaderSize, out_file) in main()
121 if ((*it)->writeToFile(out_file) < 0) { in main()
130 fclose(out_file); in main()
Daudio_classifier_test.cc65 FILE* out_file = fopen(output_filename.c_str(), "wb"); in main() local
66 if (!out_file) { in main()
77 if (!fwrite(&is_music, sizeof(is_music), 1, out_file)) { in main()
87 if (!fwrite(&music_prob, sizeof(music_prob), 1, out_file)) { in main()
103 fclose(out_file); in main()
DRTPjitter.cc106 FILE* out_file=fopen(argv[3],"wb"); in main() local
107 CHECK_NOT_NULL(out_file); in main()
140 EXPECT_GT(fputs(firstline, out_file), 0); in main()
144 out_file)); in main()
198 out_file) != in main()
214 fclose(out_file); in main()
/external/webrtc/webrtc/modules/audio_processing/test/
Daudio_file_processor.cc46 scoped_ptr<WavWriter> out_file) in WavFileProcessor() argument
49 out_buf_(GetChannelBuffer(*out_file)), in WavFileProcessor()
51 output_config_(GetStreamConfig(*out_file)), in WavFileProcessor()
53 buffer_writer_(std::move(out_file)) {} in WavFileProcessor()
71 scoped_ptr<WavWriter> out_file) in AecDumpFileProcessor() argument
74 out_buf_(GetChannelBuffer(*out_file)), in AecDumpFileProcessor()
75 output_config_(GetStreamConfig(*out_file)), in AecDumpFileProcessor()
76 buffer_writer_(std::move(out_file)) { in AecDumpFileProcessor()
/external/perfetto/gn/standalone/
Dgen_git_revision.py25 out_file = argv[1]
27 if os.path.isfile(out_file):
28 with open(out_file) as f:
32 with open(out_file, 'w') as f:
/external/libvpx/libvpx/build/make/
Dversion.sh23 out_file=${2}
73 if [ -n "$out_file" ]; then
74 diff $$.tmp ${out_file} >/dev/null 2>&1 || cat $$.tmp > ${out_file}
/external/webrtc/webrtc/modules/audio_processing/intelligibility/test/
Dintelligibility_proc.cc66 DEFINE_string(out_file,
135 WavWriter out_file(temp_out_filename, FLAGS_sample_rate, kNumChannels); in void_main() local
136 out_file.WriteSamples(&in_fpcm[0], samples); in void_main()
141 WavWriter out_file(FLAGS_out_file, FLAGS_sample_rate, kNumChannels); in void_main() local
142 out_file.WriteSamples(&in_fpcm[0], samples); in void_main()
/external/u-boot/scripts/kconfig/tests/
Dconftest.py39 def _run_conf(self, mode, dot_config=None, out_file='.config', argument
89 if self.retcode == 0 and out_file:
90 with open(os.path.join(temp_dir, out_file)) as f:
111 print("[output for '{}']".format(out_file))
208 return self._run_conf('--savedefconfig', out_file='defconfig')
217 out_file=None)

1234