Searched defs:outfile (Results 1 - 4 of 4) sorted by relevance

/frameworks/compile/slang/
H A Dslang-data.c24 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 Dscreenshot.c109 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/av/media/libstagefright/codecs/aacenc/SampleCode/
H A DAAC_E_SAMPLES.c135 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/compile/libbcc/bcinfo/Wrap/
H A Dbitcode_wrapperer.cpp57 BitcodeWrapperer::BitcodeWrapperer(WrapperInput* infile, WrapperOutput* outfile) argument
59 outfile_(outfile),

Completed in 1071 milliseconds