Home
last modified time | relevance | path

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

123

/external/tpm2/generator/
Dcommand_generator.py409 def OutputMarshalFunction(self, out_file, typemap): argument
421 out_file.write(self._MARSHAL_COMMAND_START % {
425 out_file.write('\n // Marshal response handles.')
428 out_file, Field(handle['type'],
431 out_file.write(self._PARAMETERSIZE_CHECK)
433 out_file.write('\n // Marshal response parameters.')
436 out_file, Field(parameter['type'], parameter['name'],
438 out_file.write(self._MARSHAL_END)
440 def OutputUnmarshalFunction(self, out_file, typemap): argument
452 out_file.write(self._UNMARSHAL_COMMAND_START % {
[all …]
Dstructure_generator.py203 def OutputMarshal(self, out_file, typemap): argument
215 out_file.write(
220 typemap[self.field_type].OutputMarshalCall(out_file, self)
222 def OutputUnmarshal(self, out_file, typemap): argument
234 out_file.write(
239 typemap[self.field_type].OutputUnmarshalCall(out_file, self)
306 def _GetBaseType(self, out_file, marshalled_types, typemap): argument
332 out_file, marshalled_types, typemap)
339 def OutputMarshalCall(self, out_file, field): argument
349 out_file.write(self._MARSHAL_CALL % {'type': field.field_type,
[all …]
Dstructure_generator_test.py28 out_file = StringIO.StringIO()
29 typedef2.OutputMarshalImpl(out_file, marshalled_types, typemap)
32 out_file.close()
42 out_file = StringIO.StringIO()
43 constant.OutputMarshalImpl(out_file, marshalled_types, typemap)
46 out_file.close()
57 out_file = StringIO.StringIO()
58 attributeStruct.OutputMarshalImpl(out_file, marshalled_types, typemap)
61 out_file.close()
73 out_file = StringIO.StringIO()
[all …]
/external/e2fsprogs/debugfs/
Dlogdump.c79 FILE *out_file; in do_logdump() local
170 out_file = stdout; in do_logdump()
173 out_file = fopen(out_fn, "w"); in do_logdump()
174 if (!out_file) { in do_logdump()
248 fprintf(out_file, "Using external journal found at %s\n", in do_logdump()
255 dump_journal(argv[0], out_file, &journal_source); in do_logdump()
263 if (out_file && (out_file != stdout)) in do_logdump()
264 fclose(out_file); in do_logdump()
332 static void dump_journal(char *cmdname, FILE *out_file, in dump_journal() argument
367 fprintf(out_file, "Ext2 superblock header found.\n"); in dump_journal()
[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/wpa_supplicant_8/src/utils/
Dwpa_debug.c61 static FILE *out_file = NULL; variable
75 if (out_file) { in wpa_debug_print_timestamp()
76 fprintf(out_file, "%ld.%06u: ", (long) tv.sec, in wpa_debug_print_timestamp()
221 if (out_file) { in wpa_printf()
222 vfprintf(out_file, fmt, ap); in wpa_printf()
223 fprintf(out_file, "\n"); in wpa_printf()
348 if (out_file) { in _wpa_hexdump()
349 fprintf(out_file, "%s - hexdump(len=%lu):", in _wpa_hexdump()
352 fprintf(out_file, " [NULL]"); in _wpa_hexdump()
355 fprintf(out_file, " %02x", buf[i]); in _wpa_hexdump()
[all …]
/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/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()
DRTPencode.cc468 FILE* out_file = fopen(argv[2], "wb"); in main() local
469 CHECK_NOT_NULL(out_file); in main()
581 fprintf(out_file, "#!rtpplay%s \n", in main()
585 if (fwrite(&dummy_variable, 4, 1, out_file) != 1) { in main()
588 if (fwrite(&dummy_variable, 4, 1, out_file) != 1) { in main()
591 if (fwrite(&dummy_variable, 4, 1, out_file) != 1) { in main()
594 if (fwrite(&dummy_variable, 2, 1, out_file) != 1) { in main()
597 if (fwrite(&dummy_variable, 2, 1, out_file) != 1) { in main()
648 if (fwrite(&length, 2, 1, out_file) != 1) { in main()
651 if (fwrite(&plen, 2, 1, out_file) != 1) { in main()
[all …]
/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()
Daudioproc_float.cc131 auto out_file = rtc_make_scoped_ptr(new WavWriter( in main() local
133 std::cout << FLAGS_o << ": " << out_file->FormatAsString() << std::endl; in main()
138 std::move(out_file))); in main()
142 std::move(ap), fopen(FLAGS_dump.c_str(), "rb"), std::move(out_file))); in main()
/external/libvpx/libvpx/build/make/
Dversion.sh23 out_file=${2}
71 if [ -n "$out_file" ]; then
72 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/v8/build/util/
Dlastchange.py274 out_file = opts.output
277 while len(args) and out_file is None:
278 if out_file is None:
279 out_file = args.pop(0)
302 if not out_file and not opts.header:
305 if out_file:
306 WriteIfChanged(out_file, contents)
/external/libvpx/
Dlint_config.sh32 out_file=$OPTARG
105 if [ -n "$out_file" ]; then
106 echo "$combined_config" | sort | uniq > $out_file
/external/lldb/examples/python/
Dcrashlog.py543 out_file = open(args[0], 'w')
544 if not out_file:
552 out_file.write('Process: %s [%u]\n' % (identifier, pid))
553 out_file.write('Path: %s\n' % (lldb.target.executable.fullpath))
554 out_file.write('Identifier: %s\n' % (identifier))
555out_file.write('\nDate/Time: %s\n' % (datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")))
556out_file.write('OS Version: Mac OS X %s (%s)\n' % (platform.mac_ver()[0], commands.getoutput(…
557 out_file.write('Report Version: 9\n')
560 out_file.write('\nThread %u:\n' % (thread_idx))
574out_file.write('%-3u %-32s 0x%16.16x %s' % (frame_idx, frame.module.file.basename, frame_pc, frame…
[all …]
/external/lldb/test/functionalities/process_launch/
DTestProcessLaunch.py42 out_file = os.path.join (os.getcwd(), "output-test.out")
48 os.remove (out_file)
57 launch_command = "process launch -i " + in_file + " -o " + out_file + " -e " + err_file
68 out_f = open (out_file)
82 os.remove (out_file)
/external/webrtc/webrtc/modules/audio_coding/test/
DTestVADDTX.cc96 PCMFile out_file; in Run() local
98 out_file.Open(out_filename, kOutputFreqHz, "ab"); in Run()
100 out_file.Open(out_filename, kOutputFreqHz, "wb"); in Run()
112 out_file.Write10MsData(audio_frame); in Run()
116 out_file.Close(); in Run()
/external/clang/www/
Dmake_cxx_dr_status49 out_file = file(output, 'w') variable
51 print >> out_file, '''\
156 print >> out_file, '''\
167 print >> out_file, '''\
/external/chromium-trace/catapult/systrace/systrace/
Dutil.py22 def print_usage(self, out_file=None): argument
25 def print_help(self, out_file=None): argument
28 def print_version(self, out_file=None): argument
/external/autotest/scheduler/
Ddrone_utility.py333 out_file = None
337 out_file = open(log_file, 'a')
339 out_file.write('\n' + separator)
340 out_file.write("%s> %s\n" % (time.strftime("%X %x"), command))
341 out_file.write(separator)
346 if not out_file:
347 out_file = open('/dev/null', 'w')
357 subprocess.Popen(command, stdout=out_file, stderr=subprocess.STDOUT,
359 out_file.close()
/external/webrtc/webrtc/modules/audio_processing/transient/
Dtransient_suppression_test.cc165 FILE* out_file = fopen(out_file_name.c_str(), "wb"); in void_main() local
166 ASSERT_TRUE(out_file != NULL); in void_main()
230 out_file, audio_buffer_size, FLAGS_num_channels, audio_buffer_f.get()); in void_main()
240 fclose(out_file); in void_main()
/external/lldb/source/Core/
DInputReader.cpp313 File &out_file = m_debugger.GetOutputFile(); in RefreshPrompt() local
314 if (out_file.IsValid()) in RefreshPrompt()
316 out_file.Printf ("%s", m_prompt.c_str()); in RefreshPrompt()
317 out_file.Flush(); in RefreshPrompt()

123