Searched refs:outfile (Results 1 - 5 of 5) sorted by relevance
/frameworks/compile/slang/ |
H A D | slang-data.c | 24 FILE *outfile = fopen(outfile_name, "w"); local 26 if (!outfile) { 34 fprintf(outfile, "#ifndef %s_data_pack_h\n", prefix); 35 fprintf(outfile, "#define %s_data_pack_h\n\n", prefix); 39 fprintf(outfile, "#include <stddef.h>\n\n"); 43 fprintf(outfile, "static const char %s_data[] =\n", prefix); 57 fprintf(outfile, 71 fprintf(outfile, "\""); 74 fprintf(outfile, "\\x%02x", buf[i]); 77 fprintf(outfile, "\"\ [all...] |
/frameworks/base/cmds/screenshot/ |
H A D | screenshot.c | 109 char outfile[PATH_MAX] = ""; local 131 strlcpy(outfile, argv[0], PATH_MAX); 136 while (stat(outfile, &st) == 0) { 138 char *p = strrchr(outfile, '.'); 140 strcpy(base, outfile); 142 snprintf(outfile, PATH_MAX, "%s-%d.png", base, ++i); 157 png = fopen(outfile, "w"); 160 outfile, strerror(errno));
|
/frameworks/base/media/libstagefright/codecs/aacenc/SampleCode/ |
H A D | AAC_E_SAMPLES.c | 135 FILE *infile, *outfile; local 176 outfile = fopen(outfileName, "wb"); 177 if (!outfile) { 249 fwrite(outData.Buffer, 1, outData.Length, outfile); 275 if (outfile) 277 fclose(outfile);
|
/frameworks/base/tools/localize/ |
H A D | localize.cpp | 504 do_pseudo(const string& infile, const string& outfile, bool expand) argument 515 err = write_to_file(outfile, xliff->ToString()); 682 string outfile; local 690 outfile = argv[index]; 697 return do_xlb_export(outfile, resFiles); 701 string outfile; local 721 outfile = argv[index]; 725 outfile = argv[index+1]; 732 return do_pseudo(infile, outfile, big);
|
H A D | xmb.cpp | 122 do_xlb_export(const string& outfile, const vector<string>& resFiles) argument 170 FILE* f = fopen(outfile.c_str(), "wb"); 172 fprintf(stderr, "can't open outputfile: %s\n", outfile.c_str());
|
Completed in 135 milliseconds