Searched refs:outfile (Results 1 - 8 of 8) 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/lib/ExecutionEngine/
H A DGDBJITRegistrar.cpp178 std::ofstream outfile(Filename.c_str(), std::ofstream::binary);
179 outfile.write((char*)JITCodeEntry->symfile_addr, JITCodeEntry->symfile_size);
180 outfile.close();
/frameworks/compile/libbcc/include/bcinfo/Wrap/
H A Dbitcode_wrapperer.h53 BitcodeWrapperer(WrapperInput* infile, WrapperOutput* outfile);
72 // outfile. Return true on success.
153 // Copies size bytes of infile to outfile, using the buffer.
159 // Discards the old outfile and replaces it with the given file.
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsUsageMonitor.java506 FileOutputStream outfile = null;
508 outfile = mPolicyFile.startWrite();
511 out.setOutput(outfile, "utf-8");
527 mPolicyFile.finishWrite(outfile);
530 if (outfile != null) {
531 mPolicyFile.failWrite(outfile);
/frameworks/compile/libbcc/bcinfo/Wrap/
H A Dbitcode_wrapperer.cpp57 BitcodeWrapperer::BitcodeWrapperer(WrapperInput* infile, WrapperOutput* outfile) argument
59 outfile_(outfile),
/frameworks/base/services/java/com/android/server/
H A DNotificationManagerService.java214 FileOutputStream outfile = null;
216 outfile = mPolicyFile.startWrite();
219 out.setOutput(outfile, "utf-8");
237 mPolicyFile.finishWrite(outfile);
239 if (outfile != null) {
240 mPolicyFile.failWrite(outfile);

Completed in 100 milliseconds