/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/os/ |
H A D | os_misc.c | 56 static FILE *fout = NULL; local 58 if (!fout) { 62 fout = fopen(filename, "w"); 63 if (!fout) 64 fout = stderr; 71 fputs(message, fout); 72 fflush(fout); 74 else if (fout != stderr) { 75 fputs(message, fout); 76 fflush(fout); [all...] |
/external/mesa3d/src/gallium/auxiliary/os/ |
H A D | os_misc.c | 56 static FILE *fout = NULL; local 58 if (!fout) { 62 fout = fopen(filename, "w"); 63 if (!fout) 64 fout = stderr; 71 fputs(message, fout); 72 fflush(fout); 74 else if (fout != stderr) { 75 fputs(message, fout); 76 fflush(fout); [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/examples/ |
H A D | resize_util.c | 42 char *fin, *fout; local 57 fout = argv[4]; 75 fpout = fopen(fout, "wb"); 77 printf("Can't open file %s to write\n", fout);
|
/external/chromium_org/third_party/opus/src/celt/ |
H A D | opus_custom_demo.c | 46 FILE *fin, *fout; local 96 fout = fopen(outFile, "wb+"); 97 if (!fout) 109 fclose(fout); 117 fclose(fout); 185 fwrite(out+skip*channels, sizeof(short), (ret-skip)*channels, fout); 193 fclose(fout);
|
H A D | kiss_fft.c | 609 void opus_fft(const kiss_fft_state *st,const kiss_fft_cpx *fin,kiss_fft_cpx *fout) argument 621 celt_assert2 (fin != fout, "In-place FFT not supported"); 625 fout[st->bitrev[i]] = fin[i]; 627 fout[st->bitrev[i]].r *= st->scale; 628 fout[st->bitrev[i]].i *= st->scale; 650 kf_bfly2(fout,fstride[i]<<shift,st,m, fstride[i], m2); 653 kf_bfly4(fout,fstride[i]<<shift,st,m, fstride[i], m2); 657 kf_bfly3(fout,fstride[i]<<shift,st,m, fstride[i], m2); 660 kf_bfly5(fout,fstride[i]<<shift,st,m, fstride[i], m2); 668 void opus_ifft(const kiss_fft_state *st,const kiss_fft_cpx *fin,kiss_fft_cpx *fout) argument [all...] |
/external/chromium_org/third_party/opus/src/doc/ |
H A D | trivial_example.c | 53 FILE *fout; local 104 fout = fopen(outFile, "w"); 105 if (fout==NULL) 152 fwrite(pcm_bytes, sizeof(short), frame_size*CHANNELS, fout); 158 fclose(fout);
|
/external/chromium_org/third_party/opus/src/src/ |
H A D | repacketizer_demo.c | 61 FILE *fin, *fout; local 105 fout = fopen(argv[argc-1], "w"); 106 if(fout==NULL) 133 fclose(fout); 164 if(fwrite(int_field, 1, 4, fout)!=4){ 169 if (fwrite(int_field, 1, 4, fout)!=4) { 173 if (fwrite(output_packet, 1, err, fout)!=(unsigned)err) { 189 if (fwrite(int_field, 1, 4, fout)!=4) { 197 if (fwrite(int_field, 1, 4, fout)!=4) { 201 if (fwrite(output_packet, 1, err, fout)! [all...] |
/external/libopus/celt/ |
H A D | opus_custom_demo.c | 46 FILE *fin, *fout; local 96 fout = fopen(outFile, "wb+"); 97 if (!fout) 109 fclose(fout); 117 fclose(fout); 185 fwrite(out+skip*channels, sizeof(short), (ret-skip)*channels, fout); 193 fclose(fout);
|
H A D | kiss_fft.c | 609 void opus_fft(const kiss_fft_state *st,const kiss_fft_cpx *fin,kiss_fft_cpx *fout) argument 621 celt_assert2 (fin != fout, "In-place FFT not supported"); 625 fout[st->bitrev[i]] = fin[i]; 627 fout[st->bitrev[i]].r *= st->scale; 628 fout[st->bitrev[i]].i *= st->scale; 650 kf_bfly2(fout,fstride[i]<<shift,st,m, fstride[i], m2); 653 kf_bfly4(fout,fstride[i]<<shift,st,m, fstride[i], m2); 657 kf_bfly3(fout,fstride[i]<<shift,st,m, fstride[i], m2); 660 kf_bfly5(fout,fstride[i]<<shift,st,m, fstride[i], m2); 668 void opus_ifft(const kiss_fft_state *st,const kiss_fft_cpx *fin,kiss_fft_cpx *fout) argument [all...] |
/external/libopus/doc/ |
H A D | trivial_example.c | 53 FILE *fout; local 104 fout = fopen(outFile, "w"); 105 if (fout==NULL) 152 fwrite(pcm_bytes, sizeof(short), frame_size*CHANNELS, fout); 158 fclose(fout);
|
/external/libopus/src/ |
H A D | repacketizer_demo.c | 61 FILE *fin, *fout; local 105 fout = fopen(argv[argc-1], "w"); 106 if(fout==NULL) 133 fclose(fout); 164 if(fwrite(int_field, 1, 4, fout)!=4){ 169 if (fwrite(int_field, 1, 4, fout)!=4) { 173 if (fwrite(output_packet, 1, err, fout)!=(unsigned)err) { 189 if (fwrite(int_field, 1, 4, fout)!=4) { 197 if (fwrite(int_field, 1, 4, fout)!=4) { 201 if (fwrite(output_packet, 1, err, fout)! [all...] |
/external/libvpx/libvpx/examples/ |
H A D | resize_util.c | 42 char *fin, *fout; local 57 fout = argv[4]; 75 fpout = fopen(fout, "wb"); 77 printf("Can't open file %s to write\n", fout);
|
/external/lldb/test/pexpect-2.4/examples/ |
H A D | chess3.py | 27 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 97 fout = open ('log','a') variable [all...] |
/external/bison/src/ |
H A D | graphviz.c | 42 start_graph (FILE *fout) argument 44 fprintf (fout, 52 fprintf (fout, 56 fprintf (fout, 63 output_node (int id, char const *label, FILE *fout) argument 65 fprintf (fout, " %d [label=\"%s\"]\n", id, label); 70 char const *style, FILE *fout) 72 fprintf (fout, " %d -> %d [style=%s", source, destination, style); 74 fprintf (fout, " label=%s", quote (label)); 75 fputs ("]\n", fout); 69 output_edge(int source, int destination, char const *label, char const *style, FILE *fout) argument 100 conclude_red(struct obstack *out, int source, rule_number ruleno, bool enabled, bool first, FILE *fout) argument 156 output_red(state const *s, reductions const *reds, FILE *fout) argument 215 finish_graph(FILE *fout) argument [all...] |
/external/javassist/src/main/javassist/ |
H A D | ClassPoolTail.java | 419 public static void copyStream(InputStream fin, OutputStream fout) argument 432 fout.write(buf, 0, size); 436 fout.write(buf);
|
/external/srec/tools/dictTest/ |
H A D | dictTest.c | 42 void doGetProns(SR_Vocabulary *vocab, LCHAR* phrase, size_t len, FILE* fout) argument 51 LFPRINTF(fout,"ERROR: %s\n", ESR_rc2str(rc)); 58 LFPRINTF(fout,"%s : %s\n", phrase, pron); 64 void doInputTestPhonemes(SR_Vocabulary *vocab, PFile* fin, FILE* fout) argument 84 LFPRINTF(fout, "ERROR: INVALID FORMAT for input line\n"); 96 LFPRINTF(fout,"ERROR: %s\n", ESR_rc2str(rc)); 99 LFPRINTF(fout,"%s|%s|%s|", phrase, expectedPhoneme, phoneme); 102 LFPRINTF(fout,"PASSED\n"); 104 LFPRINTF(fout,"FAILED\n"); 125 FILE* fout local [all...] |
/external/jsoncpp/src/jsontestrunner/ |
H A D | main.cpp | 63 printValueTree( FILE *fout, Json::Value &value, const std::string &path = "." ) argument 68 fprintf( fout, "%s=null\n", path.c_str() ); 71 fprintf( fout, "%s=%s\n", path.c_str(), Json::valueToString( value.asLargestInt() ).c_str() ); 74 fprintf( fout, "%s=%s\n", path.c_str(), Json::valueToString( value.asLargestUInt() ).c_str() ); 77 fprintf( fout, "%s=%s\n", path.c_str(), normalizeFloatingPointStr(value.asDouble()).c_str() ); 80 fprintf( fout, "%s=\"%s\"\n", path.c_str(), value.asString().c_str() ); 83 fprintf( fout, "%s=%s\n", path.c_str(), value.asBool() ? "true" : "false" ); 87 fprintf( fout, "%s=[]\n", path.c_str() ); 93 printValueTree( fout, value[index], path + buffer ); 99 fprintf( fout, " 160 FILE *fout = fopen( rewritePath.c_str(), "wt" ); local [all...] |
/external/libedit/src/ |
H A D | el.c | 88 el_init(const char *prog, FILE *fin, FILE *fout, FILE *ferr) argument 90 return el_init_fd(prog, fin, fout, ferr, fileno(fin), fileno(fout), 95 el_init_fd(const char *prog, FILE *fin, FILE *fout, FILE *ferr, argument 106 el->el_outfile = fout;
|
/external/speex/libspeex/ |
H A D | kiss_fft.c | 505 void kiss_fft_stride(kiss_fft_cfg st,const kiss_fft_cpx *fin,kiss_fft_cpx *fout,int in_stride) argument 507 if (fin == fout) 512 SPEEX_MOVE(fout,tmpbuf,st->nfft);*/ 514 kf_shuffle( fout, fin, 1,in_stride, st->factors,st); 515 kf_work( fout, fin, 1,in_stride, st->factors,st, 1, in_stride, 1); 519 void kiss_fft(kiss_fft_cfg cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout) argument 521 kiss_fft_stride(cfg,fin,fout,1);
|
/external/srec/tools/parseStringTest/ |
H A D | parseStringTest.c | 50 ESR_ReturnCode process_single_key_line(SR_Grammar* grammar, PFile* fin, PFile* fout); 51 ESR_ReturnCode process_multi_key_line(SR_Grammar* grammar, const LCHAR* rootrule, PFile* fin, PFile* fout); 79 void display_results(SR_SemanticResult *result, PFile* fout) argument 94 pfprintf(fout, "{%s : %s}\n", keys[i], value); 96 pfprintf(fout, "Error: %s\n", ESR_rc2str(rc)); 98 pfprintf(fout, "--Done--\n"); 101 pfprintf(fout, "Error: %s\n", ESR_rc2str(rc)); 104 ESR_ReturnCode Parse(SR_Grammar* grammar, LCHAR* trans, PFile* fout, Opts* opts) argument 124 Parse(grammar, trans, fout, &myopts); 183 pfprintf(fout, "erro 211 ParseTestSet(SR_Grammar* grammar, LCHAR* trans, LCHAR* key, LCHAR* ref, LCHAR* result, PFile* fout) argument 283 PFile *fin = NULL, *fout = NULL; local 448 process_single_key_line(SR_Grammar* grammar, PFile* fin, PFile* fout) argument 536 process_multi_key_line(SR_Grammar* grammar, const LCHAR* rootrule, PFile* fin, PFile* fout) argument [all...] |
/external/chromium_org/third_party/zlib/contrib/minizip/ |
H A D | miniunz.c | 309 FILE *fout=NULL; local 398 fout=fopen64(write_filename,"wb"); 401 if ((fout==NULL) && ((*popt_extract_without_path)==0) && 408 fout=fopen64(write_filename,"wb"); 411 if (fout==NULL) 417 if (fout!=NULL) 430 if (fwrite(buf,err,1,fout)!=1) 438 if (fout) 439 fclose(fout); 472 FILE* fout local [all...] |
/external/srec/tools/test_g2g/ |
H A D | test_g2g.c | 72 ESR_ReturnCode Parse(SR_Grammar* grammar, LCHAR* trans, PFile* fout); 415 void display_results(SR_SemanticResult *result, PFile* fout) argument 430 pfprintf(fout,"{%s : %s}\n",keys[i],value); 432 pfprintf(fout,"Error: %s\n",ESR_rc2str(rc)); 436 pfprintf(fout,"Error: %s\n",ESR_rc2str(rc)); 439 ESR_ReturnCode Parse(SR_Grammar* grammar, LCHAR* trans, PFile* fout) argument 457 pfprintf(fout,"no parse\n\n"); 462 pfprintf(fout,"parse ok (%d results)\n", result_count); 464 display_results(semanticResults[i],fout);
|
/external/webp/examples/ |
H A D | dwebp.c | 206 static int WritePPM(FILE* fout, const WebPDecBuffer* const buffer, int alpha) { argument 215 fprintf(fout, "P7\nWIDTH %d\nHEIGHT %d\nDEPTH 4\nMAXVAL 255\n" 218 fprintf(fout, "P6\n%d %d\n255\n", width, height); 221 if (fwrite(rgb + y * stride, width, bytes_per_px, fout) != bytes_per_px) { 228 static int WriteAlphaPlane(FILE* fout, const WebPDecBuffer* const buffer) { argument 235 fprintf(fout, "P5\n%d %d\n255\n", width, height); 237 if (fwrite(a + y * a_stride, width, 1, fout) != 1) { 248 static int WritePGMOrYUV(FILE* fout, const WebPDecBuffer* const buffer, argument 261 fprintf(fout, "P5\n%d %d\n255\n", 265 ok &= (fwrite(yuv->y + y * yuv->y_stride, width, 1, fout) 294 FILE* fout = NULL; local [all...] |
/external/zlib/src/contrib/minizip/ |
H A D | miniunz.c | 322 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 local [all...] |
/external/chromium_org/third_party/icu/source/tools/tzcode/ |
H A D | icuzdump.cpp | 388 ofstream* fout = new ofstream(path.str().c_str(), mode); local 389 if (fout->fail()) { 391 delete fout; 396 dumper.dump(*fout); 397 fout->close(); 398 delete fout;
|