Home
last modified time | relevance | path

Searched refs:fout (Results 1 – 25 of 57) sorted by relevance

123

/external/bison/src/
Dgraphviz.c42 start_graph (FILE *fout) in start_graph() argument
44 fprintf (fout, in start_graph()
52 fprintf (fout, in start_graph()
56 fprintf (fout, in start_graph()
63 output_node (int id, char const *label, FILE *fout) in output_node() argument
65 fprintf (fout, " %d [label=\"%s\"]\n", id, label); in output_node()
70 char const *style, FILE *fout) in output_edge() argument
72 fprintf (fout, " %d -> %d [style=%s", source, destination, style); in output_edge()
74 fprintf (fout, " label=%s", quote (label)); in output_edge()
75 fputs ("]\n", fout); in output_edge()
[all …]
Dgraphviz.h31 void start_graph (FILE *fout);
39 void output_node (int id, char const *label, FILE *fout);
50 char const *style, FILE *fout);
57 void output_red (state const *s, reductions const *reds, FILE *fout);
63 void finish_graph (FILE *fout);
/external/mesa3d/src/gallium/auxiliary/os/
Dos_misc.c56 static FILE *fout = NULL; in os_log_message() local
58 if (!fout) { in os_log_message()
62 fout = fopen(filename, "w"); in os_log_message()
63 if (!fout) in os_log_message()
64 fout = stderr; in os_log_message()
71 fputs(message, fout); in os_log_message()
72 fflush(fout); in os_log_message()
74 else if (fout != stderr) { in os_log_message()
75 fputs(message, fout); in os_log_message()
76 fflush(fout); in os_log_message()
[all …]
/external/lldb/test/pexpect-2.4/examples/
Dchess3.py27 fout = open ('log','a')
31 fout.write ('(r,c):(%d,%d)\n' %(self.term.cur_r, self.term.cur_c))
32 fout.flush()
34 fout.close()
40 fout = open ('log','a')
44 fout.write ('(r,c):(%d,%d)\n' %(self.term.cur_r, self.term.cur_c))
45 fout.flush()
88 fout = open ('log','a') variable
89 fout.write ('Computer:%s%s%s%s\n' %(c1,c2,c3,c4))
90 fout.close()
[all …]
Dchess2.py30 fout = open ('log','a')
38 fout.write ('(r,c):(%d,%d)\n' %(self.term.cur_r, self.term.cur_c))
39 fout.flush()
44 fout.close()
47 fout.close()
56 fout = open ('log','a')
60 fout.write ('(r,c):(%d,%d)\n' %(self.term.cur_r, self.term.cur_c))
61 fout.flush()
105 fout = open ('moves.log', 'a')
106 fout.write (s + '\n')
[all …]
Dscript.py56 fout = file (script_filename, "ab")
58 fout = file (script_filename, "wb")
65 fout.write ('# %4d%02d%02d.%02d%02d%02d \n' % time.localtime()[:-3])
71 p.logfile = fout
78 fout.close()
Dtopip.py243 fout = file(TOPIP_LOG_FILE,'a')
246 fout.write ('%s - %d connections from %s\n' % (dts,s['maxip'][1],str(s['maxip'][0])))
247 fout.close()
/external/libopus/src/
Drepacketizer_demo.c61 FILE *fin, *fout; in main() local
105 fout = fopen(argv[argc-1], "w"); in main()
106 if(fout==NULL) in main()
133 fclose(fout); in main()
164 if(fwrite(int_field, 1, 4, fout)!=4){ in main()
169 if (fwrite(int_field, 1, 4, fout)!=4) { in main()
173 if (fwrite(output_packet, 1, err, fout)!=(unsigned)err) { in main()
189 if (fwrite(int_field, 1, 4, fout)!=4) { in main()
197 if (fwrite(int_field, 1, 4, fout)!=4) { in main()
201 if (fwrite(output_packet, 1, err, fout)!=(unsigned)err) { in main()
[all …]
Dopus_demo.c221 FILE *fin, *fout; in main() local
516 fout = fopen(outFile, "wb+"); in main()
517 if (!fout) in main()
531 fclose(fout); in main()
555 fclose(fout); in main()
727 fclose(fout); in main()
754 if (fwrite(int_field, 1, 4, fout) != 4) { in main()
759 if (fwrite(int_field, 1, 4, fout) != 4) { in main()
763 if (fwrite(data[toggle], 1, len[toggle], fout) != (unsigned)len[toggle]) { in main()
806 …if (fwrite(fbytes, sizeof(short)*channels, output_samples-skip, fout) != (unsigned)(output_samples… in main()
[all …]
/external/jsoncpp/src/jsontestrunner/
Dmain.cpp63 printValueTree( FILE *fout, Json::Value &value, const std::string &path = "." ) in printValueTree() argument
68 fprintf( fout, "%s=null\n", path.c_str() ); in printValueTree()
71 fprintf( fout, "%s=%s\n", path.c_str(), Json::valueToString( value.asLargestInt() ).c_str() ); in printValueTree()
74 … fprintf( fout, "%s=%s\n", path.c_str(), Json::valueToString( value.asLargestUInt() ).c_str() ); in printValueTree()
77 … fprintf( fout, "%s=%s\n", path.c_str(), normalizeFloatingPointStr(value.asDouble()).c_str() ); in printValueTree()
80 fprintf( fout, "%s=\"%s\"\n", path.c_str(), value.asString().c_str() ); in printValueTree()
83 fprintf( fout, "%s=%s\n", path.c_str(), value.asBool() ? "true" : "false" ); in printValueTree()
87 fprintf( fout, "%s=[]\n", path.c_str() ); in printValueTree()
93 printValueTree( fout, value[index], path + buffer ); in printValueTree()
99 fprintf( fout, "%s={}\n", path.c_str() ); in printValueTree()
[all …]
/external/libopus/celt/
Dopus_custom_demo.c46 FILE *fin, *fout; in main() local
96 fout = fopen(outFile, "wb+"); in main()
97 if (!fout) in main()
109 fclose(fout); in main()
117 fclose(fout); in main()
185 fwrite(out+skip*channels, sizeof(short), (ret-skip)*channels, fout); in main()
193 fclose(fout); in main()
Dkiss_fft.c609 void opus_fft(const kiss_fft_state *st,const kiss_fft_cpx *fin,kiss_fft_cpx *fout) in opus_fft() argument
621 celt_assert2 (fin != fout, "In-place FFT not supported"); in opus_fft()
625 fout[st->bitrev[i]] = fin[i]; in opus_fft()
627 fout[st->bitrev[i]].r *= st->scale; in opus_fft()
628 fout[st->bitrev[i]].i *= st->scale; in opus_fft()
650 kf_bfly2(fout,fstride[i]<<shift,st,m, fstride[i], m2); in opus_fft()
653 kf_bfly4(fout,fstride[i]<<shift,st,m, fstride[i], m2); in opus_fft()
657 kf_bfly3(fout,fstride[i]<<shift,st,m, fstride[i], m2); in opus_fft()
660 kf_bfly5(fout,fstride[i]<<shift,st,m, fstride[i], m2); in opus_fft()
668 void opus_ifft(const kiss_fft_state *st,const kiss_fft_cpx *fin,kiss_fft_cpx *fout) in opus_ifft() argument
[all …]
Dkiss_fft.h130 void opus_fft(const kiss_fft_state *cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout);
131 void opus_ifft(const kiss_fft_state *cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout);
/external/libopus/doc/
Dtrivial_example.c53 FILE *fout; in main() local
104 fout = fopen(outFile, "w"); in main()
105 if (fout==NULL) in main()
152 fwrite(pcm_bytes, sizeof(short), frame_size*CHANNELS, fout); in main()
158 fclose(fout); in main()
/external/jetty/src/java/org/eclipse/jetty/util/resource/
DJarResource.java234 FileOutputStream fout = null;
237 fout = new FileOutputStream(file);
238 IO.copy(jin,fout);
242 IO.close(fout);
259 FileOutputStream fout = new FileOutputStream(f);
260 manifest.write(fout);
261 fout.close();
/external/parameter-framework/test/functional-tests/
DACTCampaignEngine.py79 with open(isAlive, 'w') as fout:
80 fout.write('true')
83 with open(needResync, 'w') as fout:
84 fout.write('false')
/external/zlib/src/contrib/minizip/
Dminiunz.c322 FILE *fout=NULL; local
411 fout=FOPEN_FUNC(write_filename,"wb");
413 if ((fout==NULL) && ((*popt_extract_without_path)==0) &&
420 fout=FOPEN_FUNC(write_filename,"wb");
423 if (fout==NULL)
429 if (fout!=NULL)
442 if (fwrite(buf,err,1,fout)!=1)
450 if (fout)
451 fclose(fout);
484 FILE* fout=NULL; local
/external/libvpx/libvpx/examples/
Dresize_util.c42 char *fin, *fout; in main() local
57 fout = argv[4]; in main()
75 fpout = fopen(fout, "wb"); in main()
77 printf("Can't open file %s to write\n", fout); in main()
/external/lldb/test/pexpect-2.4/
DANSI.py157 fout = open ('log', 'a')
158 fout.write (fsm.input_symbol + ',' + fsm.current_state + '\n')
159 fout.close()
284 fout = open ('log', 'a')
285 fout.write ('Nonprint: ' + str(ord(ch)) + '\n')
286 fout.close()
/external/icu/icu4c/source/tools/tzcode/
Dicuzdump.cpp385 ofstream* fout = new ofstream(path.str().c_str(), mode); in main() local
386 if (fout->fail()) { in main()
388 delete fout; in main()
393 dumper.dump(*fout); in main()
394 fout->close(); in main()
395 delete fout; in main()
/external/protobuf/src/google/protobuf/testing/
Dzcgzip.cc54 FileOutputStream fout(STDOUT_FILENO); in main() local
55 GzipOutputStream out(&fout); in main()
/external/speex/libspeex/
Dkiss_fft.h86 void kiss_fft(kiss_fft_cfg cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout);
91 void kiss_fft_stride(kiss_fft_cfg cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout,int fin_stride);
/external/clang/test/CodeGenOpenCL/
Dlogical-ops.cl11 kernel void floatops(global int4 *out, global float4 *fout) {
29 fout[0] = (float4)(!0.0f);
31 fout[1] = (float4)(!1.0f);
/external/javassist/sample/evolve/
DDemoServer.java92 FileOutputStream fout in updateClassfile() local
97 fout.write(buf, 0, len); in updateClassfile()
/external/jsoncpp/devtools/
Dlicenseupdater.py35 with open( path, 'wb' ) as fout:
36 fout.write( new_text.replace('\n', newline ) )

123