/external/tpm2/generator/ |
D | command_generator.py | 409 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 …]
|
D | structure_generator.py | 203 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 …]
|
D | structure_generator_test.py | 28 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/python/cpython2/Lib/ |
D | uu.py | 42 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/e2fsprogs/debugfs/ |
D | logdump.c | 80 FILE *out_file; in do_logdump() local 175 out_file = stdout; in do_logdump() 178 out_file = fopen(out_fn, "w"); in do_logdump() 179 if (!out_file) { in do_logdump() 253 fprintf(out_file, "Using external journal found at %s\n", in do_logdump() 260 dump_journal(argv[0], out_file, &journal_source); in do_logdump() 268 if (out_file && (out_file != stdout)) in do_logdump() 269 fclose(out_file); in do_logdump() 338 static void dump_journal(char *cmdname, FILE *out_file, in dump_journal() argument 370 fprintf(out_file, "Ext2 superblock header found.\n"); in dump_journal() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
D | rtp_analyze.cc | 83 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/ |
D | compressor_test.py | 25 with open(temp_uncompressed, 'wb') as out_file: 27 out_file.write(brotli.decompress(in_file.read())) 33 with open(temp_compressed, 'wb') as out_file: 35 out_file.write(self.compressor.process(in_file.read())) 36 out_file.write(self.compressor.finish()) 42 with open(temp_compressed, 'wb') as out_file: 46 out_file.write(self.compressor.process(data)) 47 out_file.write(self.compressor.finish()) 53 with open(temp_compressed, 'wb') as out_file: 57 out_file.write(self.compressor.process(data)) [all …]
|
D | compress_test.py | 26 with open(temp_uncompressed, 'wb') as out_file: 28 out_file.write(brotli.decompress(in_file.read(), **kwargs)) 33 with open(temp_compressed, 'wb') as out_file: 35 out_file.write(brotli.compress(in_file.read(), **kwargs))
|
/external/autotest/client/cros/audio/ |
D | pack_audio_quality.py | 53 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/ |
D | wpa_debug.c | 61 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/toolchain-utils/ |
D | generate-waterfall-reports.py | 173 with open(filename, 'w') as out_file: 175 out_file.write('\n\nSummary of Test Failures as of %s\n\n' % date_string) 201 out_file.write('Suite: %s\n' % suite) 202 out_file.write(' %s (%d failures)\n' % (test, len(err_list))) 203 out_file.write(' (%s)\n' % err_msg) 206 out_file.write(' %s, %s, %s\n' % (format_date(err[0]), err[1], 208 out_file.write('\n') 235 with open(filename, 'w') as out_file: 237 out_file.write('\nStatus of %s Waterfall Builds from %s\n\n' % 239 out_file.write(' ' [all …]
|
/external/toolchain-utils/binary_search_tool/cros_pkg/ |
D | create_cleanup_script.py | 85 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' % 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/ |
D | nonlinear_beamformer_test.cc | 46 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/ltp/testcases/kernel/syscalls/sendfile/ |
D | sendfile08.c | 48 static char *out_file = "sendfile08.out"; variable 72 out_file); in main() 76 out_file); in main() 117 out_fd = open(out_file, O_TRUNC | O_CREAT | O_RDWR, 0777); in setup() 119 tst_brkm(TBROK | TERRNO, cleanup, "Open %s failed", out_file); in setup() 122 tst_brkm(TBROK | TERRNO, cleanup, "Write %s failed", out_file); in setup()
|
/external/webrtc/webrtc/modules/audio_coding/neteq/test/ |
D | RTPchange.cc | 41 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()
|
D | audio_classifier_test.cc | 65 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()
|
D | RTPjitter.cc | 106 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()
|
D | RTPencode.cc | 468 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/ |
D | audio_file_processor.cc | 46 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/libvpx/libvpx/build/make/ |
D | version.sh | 23 out_file=${2} 72 if [ -n "$out_file" ]; then 73 diff $$.tmp ${out_file} >/dev/null 2>&1 || cat $$.tmp > ${out_file}
|
/external/webrtc/webrtc/modules/audio_processing/intelligibility/test/ |
D | intelligibility_proc.cc | 66 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/e2fsprogs/contrib/android/ |
D | ext2simg.c | 31 char *out_file; member 206 params.out_file = strdup(argv[optind]); in main() 207 params.overwrite_input = same_file(params.in_file, params.out_file); in main() 211 out_fd = open(params.out_file, O_WRONLY | O_CREAT | O_TRUNC, 0664); in main() 213 ext2fs_fatal(errno, "opening %s\n", params.out_file); in main() 220 free(params.out_file); in main()
|
/external/chromium-trace/catapult/systrace/atrace_helper/jni/ |
D | main.cc | 106 char out_file[PATH_MAX] = {}; in main() local 128 strncpy(out_file, optarg, sizeof(out_file)); in main() 148 unlink(out_file); in main() 149 sprintf(tmp_file, "%s.tmp", out_file); in main() 197 rename(tmp_file, out_file); in main()
|
/external/python/cpython2/Doc/library/ |
D | uu.rst | 30 .. function:: encode(in_file, out_file[, name[, mode]]) 32 Uuencode file *in_file* into file *out_file*. The uuencoded file will have the 38 .. function:: decode(in_file[, out_file[, mode[, quiet]]]) 41 *out_file*. If *out_file* is a pathname, *mode* is used to set the permission 42 bits if the file must be created. Defaults for *out_file* and *mode* are taken
|
/external/libvpx/ |
D | lint_config.sh | 32 out_file=$OPTARG 105 if [ -n "$out_file" ]; then 106 echo "$combined_config" | sort | uniq > $out_file
|