/third_party/nghttp2/src/ |
H A D | app_helper.cc | 134 FILE *outfile = stdout; member 137 void set_output(FILE *file) { outfile = file; } in set_output() 140 void print_frame_attr_indent() { fprintf(outfile, " "); } in print_frame_attr_indent() 153 fprintf(outfile, "%s%s%s: %s\n", ansi_esc("\033[1;34m"), nv->name, in print_nv() 170 fprintf(outfile, "%s[%3ld.%03ld]%s", ansi_esc("\033[33m"), in print_timer() 177 fprintf(outfile, "<length=%zu, flags=0x%02x, stream_id=%d>\n", hd.length, in print_frame_hd() 245 fprintf(outfile, "; %s\n", s.c_str()); in print_flags() 259 fprintf(outfile, "%s%s%s frame ", frame_name_ansi_esc(ptype), in print_frame() 270 fprintf(outfile, "(padlen=%zu)\n", frame->data.padlen); in print_frame() 275 fprintf(outfile, "(padle in print_frame() [all...] |
/third_party/icu/icu4c/source/tools/gensprep/ |
H A D | filterRFC3454.pl | 71 $outfile = $destDir."/".$destFileName; 73 unlink($outfile); 74 $outFH = IO::File->new($outfile,"a") 75 or die "could not open the file $outfile for writing: $! \n"; 97 createUnassignedTable($inFH,$outfile); 100 createMapToNothing($inFH,$outfile); 103 createCaseMapNorm($inFH,$outfile); 106 createCaseMapNoNorm($inFH,$outfile); 109 createProhibitedTable($inFH,$outfile,$line); 112 createProhibitedTable($inFH,$outfile, [all...] |
/third_party/skia/third_party/externals/icu/source/tools/gensprep/ |
H A D | filterRFC3454.pl | 71 $outfile = $destDir."/".$destFileName; 73 unlink($outfile); 74 $outFH = IO::File->new($outfile,"a") 75 or die "could not open the file $outfile for writing: $! \n"; 97 createUnassignedTable($inFH,$outfile); 100 createMapToNothing($inFH,$outfile); 103 createCaseMapNorm($inFH,$outfile); 106 createCaseMapNoNorm($inFH,$outfile); 109 createProhibitedTable($inFH,$outfile,$line); 112 createProhibitedTable($inFH,$outfile, [all...] |
/third_party/skia/tools/skpbench/ |
H A D | sheet.py | 95 def print_csv(self, outfile=sys.stdout): 97 print(get_qualified_name(FLAGS.result, self.sheet_qualifiers), file=outfile) 100 outfile.write('bench,') 102 outfile.write('%s,' % fullconfig.qualified_name(self.config_qualifiers)) 103 outfile.write('\n') 107 outfile.write('%s,' % bench) 110 outfile.write('%s,' % row[fullconfig]) 112 outfile.write('NULL,') 117 outfile.write('\n') 121 outfile [all...] |
H A D | skiaperf.py | 27 __argparse.add_argument('-o', '--outfile', 61 def emit(self, outfile): 62 json.dump(self, outfile, indent=4, separators=(',', ' : '), sort_keys=True) 63 print('', file=outfile) 85 if FLAGS.outfile != '-': 86 with open(FLAGS.outfile, 'w+') as outfile: 87 data.emit(outfile)
|
/third_party/toybox/scripts/ |
H A D | mkstatus.py | 99 outfile=open("www/status.gen", "w") variable 100 outfile.write("<h1>Status of toybox %s</h1>\n" % version[0]); 101 outfile.write("<h3>Legend: [posix] <lsb> (development) {android}\n") 102 outfile.write("=klibc= #sash# @sbase@ *beastiebox* $tizen$ %shell% +request+ other\n") 103 outfile.write("<strike>pending</strike></h3>\n"); 105 outfile.write("<a name=done><h2><a href=#done>Completed</a></h2><blockquote><p>%s</p></blockquote>\n" % "\n".join(done)) 106 outfile.write("<a name=part><h2><a href=#part>Partially implemented</a></h2><blockquote><p>%s</p></blockquote>\n" % "\n".join(pend)) 107 outfile.write("<a name=todo><h2><a href=#todo>Not started yet</a></h2><blockquote><p>%s</p></blockquote>\n" % "\n".join(todo)) 111 outfile.write("<hr><h2>Categories of remaining todo items</h2>") 127 outfile [all...] |
/third_party/libsnd/programs/ |
H A D | common.c | 50 sfe_copy_data_fp (SNDFILE *outfile, SNDFILE *infile, int channels, int normalize) in sfe_copy_data_fp() argument 64 sf_writef_double (outfile, data, readcount) ; in sfe_copy_data_fp() 78 sf_writef_double (outfile, data, readcount) ; in sfe_copy_data_fp() 86 sfe_copy_data_int (SNDFILE *outfile, SNDFILE *infile, int channels) in sfe_copy_data_int() argument 95 sf_writef_int (outfile, data, readcount) ; in sfe_copy_data_int() 105 merge_broadcast_info (SNDFILE * infile, SNDFILE * outfile, int format, const METADATA_INFO * info) in merge_broadcast_info() argument 135 { if (infile == outfile) in merge_broadcast_info() 197 if (sf_command (outfile, SFC_SET_BROADCAST_INFO, &binfo, sizeof (binfo)) == 0) in merge_broadcast_info() 206 update_strings (SNDFILE * outfile, const METADATA_INFO * info) in update_strings() argument 209 sf_set_string (outfile, SF_STR_TITL in update_strings() 235 { SNDFILE *infile = NULL, *outfile = NULL ; sfe_apply_metadata_changes() local [all...] |
H A D | sndfile-convert.c | 48 static void copy_metadata (SNDFILE *outfile, SNDFILE *infile, int channels) ; 136 SNDFILE *infile = NULL, *outfile = NULL ; in main() local 345 if ((outfile = sf_open (outfilename, SFM_WRITE, &sfinfo)) == NULL) in main() 351 copy_metadata (outfile, infile, sfinfo.channels) ; in main() 361 { if (sfe_copy_data_fp (outfile, infile, sfinfo.channels, normalize) != 0) in main() 367 sfe_copy_data_int (outfile, infile, sfinfo.channels) ; in main() 370 sf_close (outfile) ; in main() 376 copy_metadata (SNDFILE *outfile, SNDFILE *infile, int channels) in copy_metadata() argument 386 sf_set_string (outfile, k, str) ; in copy_metadata() 397 sf_command (outfile, SFC_SET_CHANNEL_MAP_INF in copy_metadata() [all...] |
/third_party/ffmpeg/tools/ |
H A D | graph2dot.c | 53 static void print_digraph(FILE *outfile, AVFilterGraph *graph) in print_digraph() argument 57 fprintf(outfile, "digraph G {\n"); in print_digraph() 58 fprintf(outfile, "node [shape=box]\n"); in print_digraph() 59 fprintf(outfile, "rankdir=LR\n"); in print_digraph() 80 fprintf(outfile, "\"%s\" -> \"%s\" [ label= \"inpad:%s -> outpad:%s\\n", in print_digraph() 87 fprintf(outfile, in print_digraph() 95 fprintf(outfile, in print_digraph() 101 fprintf(outfile, "\" ];\n"); in print_digraph() 105 fprintf(outfile, "}\n"); in print_digraph() 112 FILE *outfile in main() local [all...] |
H A D | ffeval.c | 56 FILE *outfile = NULL, *infile = NULL; in main() local 106 outfile = stdout; in main() 108 outfile = fopen(outfilename, "w"); in main() 110 if (!outfile) { in main() 125 fprintf(outfile, "%s ", buf); in main() 126 if (ret >= 0) fprintf(outfile, "%s%f\n", prompt, d); in main() 127 else fprintf(outfile, "%s%f (%s)\n", prompt, d, av_err2str(ret)); in main()
|
/third_party/python/Programs/ |
H A D | _freeze_module.py | 34 def write_code(outfile, marshalled: bytes, varname: str) -> None: 37 outfile.write(f"const unsigned char {varname}[] = {{\n") 40 outfile.write(" ") 41 outfile.write(",".join(str(i) for i in marshalled[n : n + 16])) 42 outfile.write(",\n") 43 outfile.write("};\n") 47 with open(outpath, "w") as outfile: 48 outfile.write(header) 49 outfile.write("\n") 51 write_code(outfile, marshalle [all...] |
H A D | _freeze_module.c | 161 write_code(FILE *outfile, PyObject *marshalled, const char *varname) in write_code() argument 166 fprintf(outfile, "const unsigned char %s[] = {\n", varname); in write_code() 169 fprintf(outfile, " "); in write_code() 171 fprintf(outfile, "%u,", (unsigned int) data[i]); in write_code() 173 fprintf(outfile, "\n"); in write_code() 175 fprintf(outfile, "};\n"); in write_code() 184 FILE *outfile = fopen(outpath, "w"); in write_frozen() local 185 if (outfile == NULL) { in write_frozen() 190 fprintf(outfile, "%s\n", header); in write_frozen() 192 write_code(outfile, marshalle in write_frozen() [all...] |
/third_party/pcre2/pcre2/src/ |
H A D | pcre2test.c | 923 static FILE *outfile; variable 1294 pcre2_printint_8(compiled_code8,outfile,a); \ 1296 pcre2_printint_16(compiled_code16,outfile,a); \ 1298 pcre2_printint_32(compiled_code32,outfile,a) 1810 G(pcre2_printint_,BITONE)(G(compiled_code,BITONE),outfile,a); \ 1812 G(pcre2_printint_,BITTWO)(G(compiled_code,BITTWO),outfile,a) 2095 #define PCRE2_PRINTINT(a) pcre2_printint_8(compiled_code8,outfile,a) 2203 #define PCRE2_PRINTINT(a) pcre2_printint_16(compiled_code16,outfile,a) 2311 #define PCRE2_PRINTINT(a) pcre2_printint_32(compiled_code32,outfile,a) 2777 fprintf(outfile, "** mallo in my_malloc() 4377 PCHARSV(CASTVAR(void *, pbuffer), 0, len, FALSE, outfile); print_error_message() local 7943 PCHARSV(CASTFLD(void *, match_data, mark), -1, -1, utf, outfile); process_data() local 8074 PCHARSV(CASTFLD(void *, match_data, mark), -1, -1, utf, outfile); process_data() local [all...] |
/third_party/libsnd/examples/ |
H A D | sndfile-to-text.c | 64 convert_to_text (SNDFILE * infile, FILE * outfile, int channels, int full_precision) in convert_to_text() argument 81 fprintf (outfile, " %.*e", OP_DBL_Digs - 1, buf [k * channels + m]) ; in convert_to_text() 83 fprintf (outfile, " % 12.10f", buf [k * channels + m]) ; in convert_to_text() 84 fprintf (outfile, "\n") ; in convert_to_text() 97 FILE *outfile = NULL ; in main() local 150 if ((outfile = fopen (outfilename, "w")) == NULL) in main() 155 fprintf (outfile, "# Converted from file %s.\n", infilename) ; in main() 156 fprintf (outfile, "# Channels %d, Sample rate %d\n", sfinfo.channels, sfinfo.samplerate) ; in main() 158 ret = convert_to_text (infile, outfile, sfinfo.channels, full_precision) ; in main() 163 if (outfile ! in main() [all...] |
H A D | sndfile-loopify.c | 50 static void sfe_copy_data_int (SNDFILE *outfile, SNDFILE *infile, int channels) ; 51 static void add_instrument_data (SNDFILE *outfile, const SF_INFO * in_info) ; 64 SNDFILE *infile = NULL, *outfile = NULL ; in main() local 100 if ((outfile = sf_open (outfilename, SFM_WRITE, &out_sfinfo)) == NULL) in main() 107 add_instrument_data (outfile, &in_sfinfo) ; in main() 110 sfe_copy_data_int (outfile, infile, in_sfinfo.channels) ; in main() 113 sf_close (outfile) ; in main() 133 sfe_copy_data_int (SNDFILE *outfile, SNDFILE *infile, int channels) in sfe_copy_data_int() argument 142 sf_writef_int (outfile, data, readcount) ; in sfe_copy_data_int()
|
/third_party/elfutils/libcpu/ |
H A D | i386_parse.y | 207 extern FILE *outfile; 1081 fprintf (outfile, "%s\n \"%s", 1105 fprintf (outfile, " FCT_%s,\n", (*(struct argstring **) nodep)->str); 1123 fprintf (outfile, "#define MNEMONIC_BITS %zu\n", best_mnemonic_bits); 1125 fprintf (outfile, "#define MNEMONIC_BITS %ld\n", 1128 fprintf (outfile, "#define SUFFIX_BITS %d\n", nbitsuf); 1131 fprintf (outfile, "#define FCT%d_BITS %d\n", i + 1, nbitfct[i]); 1133 fprintf (outfile, "#define STR%d_BITS %d\n", i + 1, nbitstr[i]); 1134 fprintf (outfile, "#define OFF%d_1_BITS %d\n", i + 1, nbitoff[i][0]); 1135 fprintf (outfile, "#defin [all...] |
/third_party/python/Tools/scripts/ |
H A D | generate_token.py | 90 def make_h(infile, outfile='Include/token.h'): 97 if update_file(outfile, token_h_template % ( 102 print("%s regenerated from %s" % (outfile, infile)) 161 def make_c(infile, outfile='Parser/token.c'): 180 if update_file(outfile, token_c_template % ( 186 print("%s regenerated from %s" % (outfile, infile)) 197 def make_rst(infile, outfile='Doc/library/token-list.inc'): 209 if update_file(outfile, token_inc_template % '\n'.join(names)): 210 print("%s regenerated from %s" % (outfile, infile)) 243 def make_py(infile, outfile [all...] |
/third_party/zlib/examples/ |
H A D | gun.c | 120 int outfile; member 140 if (me->outfile != -1) in out() 145 ret = (int)write(me->outfile, buf, ret); in out() 191 /* Decompress a compress (LZW) file from indp to outfile. The compress magic 201 int outfile, z_stream *strm) in lunpipe() 222 outd.outfile = outfile; in lunpipe() 371 /* Decompress a gzip file from infile to outfile. strm is assumed to have been 374 to the output file. If outfile is -1, then the gzip stream(s) integrity is 383 local int gunpipe(z_stream *strm, int infile, int outfile) in gunpipe() argument 200 lunpipe(unsigned have, z_const unsigned char *next, struct ind *indp, int outfile, z_stream *strm) lunpipe() argument 551 int infile, outfile; gunzip() local [all...] |
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | wrbmp.c | 366 FILE *outfile = dest->pub.output_file; in write_colormap() local 373 putc(colormap[2][i], outfile); in write_colormap() 374 putc(colormap[1][i], outfile); in write_colormap() 375 putc(colormap[0][i], outfile); in write_colormap() 377 putc(0, outfile); in write_colormap() 382 putc(colormap[0][i], outfile); in write_colormap() 383 putc(colormap[0][i], outfile); in write_colormap() 384 putc(colormap[0][i], outfile); in write_colormap() 386 putc(0, outfile); in write_colormap() 392 putc(i, outfile); in write_colormap() 435 register FILE *outfile = dest->pub.output_file; finish_output_bmp() local [all...] |
/third_party/node/tools/ |
H A D | genv8constants.py | 17 print("Usage: genv8constants.py outfile libv8_base.a") 20 outfile = open(sys.argv[1], 'w') variable 41 outfile.write(""" 65 global curr_sym, curr_val, curr_octet, outfile, octets 70 outfile.write("#define %s -0x%x\n" % (curr_sym.upper(), wrapped_val)) 72 outfile.write("#define %s 0x%x\n" % (curr_sym.upper(), wrapped_val)) 113 outfile.write(""" 118 outfile.close()
|
/third_party/backends/testsuite/sanei/ |
H A D | test_wire.c | 62 char *outfile = default_outfile; in main() local 99 outfile = *argv; in main() 103 outfile = *argv + 9; in main() 164 printf ("reading %s output from %s\n", codec, outfile); in main() 169 printf ("creating %s\n", outfile); in main() 173 w.io.fd = open (outfile, flags, 0666); in main() 177 perror (outfile); in main() 201 printf ("%s output written to %s\n", codec, outfile); in main() 209 printf ("reading %s output from %s\n", codec, outfile); in main()
|
/third_party/ffmpeg/tests/ |
H A D | audiogen.c | 96 FILE *outfile; variable 100 fputc( v & 0xff, outfile); in put16() 101 fputc((v >> 8) & 0xff, outfile); in put16() 106 fputc( v & 0xff, outfile); in put32() 107 fputc((v >> 8) & 0xff, outfile); in put32() 108 fputc((v >> 16) & 0xff, outfile); in put32() 109 fputc((v >> 24) & 0xff, outfile); in put32() 122 fputs("RIFF", outfile); in put_wav_header() 124 fputs("WAVEfmt ", outfile); in put_wav_header() 133 fputs("data", outfile); in put_wav_header() [all...] |
/third_party/node/tools/icu/ |
H A D | icutrim.py | 69 parser.add_option("-O","--outfile", 71 dest="outfile", 72 help="outfile (NOT a full path)", 91 for opt in [ "datfile", "filterfile", "tmpdir", "outfile" ]: 133 outfile = os.path.join(options.tmpdir, options.outfile) variable 135 if os.path.isfile(outfile): 136 print("Error, output file does exist: %s" % (outfile)) 139 if not options.outfile.endswith(".dat"): 140 print("Outfile doesn't end with .dat: %s" % (options.outfile)) [all...] |
/third_party/node/deps/icu-small/source/tools/escapesrc/ |
H A D | escapesrc.cpp | 32 * escapesrc infile.cpp outfile.cpp 61 fprintf(stderr, "%s: usage: %s infile.cpp outfile.cpp\n", prog.c_str(), prog.c_str()); in usage() 68 int cleanup(const std::string &outfile) { in cleanup() argument 69 const char *outstr = outfile.c_str(); in cleanup() 364 * @param outfile 367 int convert(const std::string &infile, const std::string &outfile) { in convert() argument 368 fprintf(stderr, "escapesrc: %s -> %s\n", infile.c_str(), outfile.c_str()); in convert() 376 cleanup(outfile); in convert() 382 outf.open(outfile.c_str(), std::ios::out); in convert() 385 fprintf(stderr, "%s: could not open output file %s\n", prog.c_str(), outfile in convert() 424 std::string outfile = argv[2]; main() local [all...] |
/third_party/icu/icu4c/source/tools/escapesrc/ |
H A D | escapesrc.cpp | 32 * escapesrc infile.cpp outfile.cpp 61 fprintf(stderr, "%s: usage: %s infile.cpp outfile.cpp\n", prog.c_str(), prog.c_str()); in usage() 68 int cleanup(const std::string &outfile) { in cleanup() argument 69 const char *outstr = outfile.c_str(); in cleanup() 364 * @param outfile 367 int convert(const std::string &infile, const std::string &outfile) { in convert() argument 368 fprintf(stderr, "escapesrc: %s -> %s\n", infile.c_str(), outfile.c_str()); in convert() 376 cleanup(outfile); in convert() 382 outf.open(outfile.c_str(), std::ios::out); in convert() 385 fprintf(stderr, "%s: could not open output file %s\n", prog.c_str(), outfile in convert() 424 std::string outfile = argv[2]; main() local [all...] |