/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/os/ |
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/ |
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...] |
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
InstallApk.java | 152 FileOutputStream fout = null; local 155 fout = openFileOutput("tmp.apk", Context.MODE_WORLD_READABLE); 158 fout.write(buffer, 0, n); 170 if (fout != null) { 171 fout.close();
|
FileProvider.java | 134 FileOutputStream fout = new FileOutputStream(output.getFileDescriptor()); local 137 fout.write(buffer, 0, n); 147 fout.close();
|
/external/javassist/sample/evolve/ |
DemoServer.java | 92 FileOutputStream fout
local 97 fout.write(buf, 0, len);
|
/cts/tests/tests/os/src/android/os/cts/ |
FileAccessPermissionTest.java | 159 FileOutputStream fout = null; local 163 fout = new FileOutputStream(file); 164 fout.write(data); 165 fout.flush(); 166 fout.close(); 167 fout = null; 179 if (fout != null) { 181 fout.close();
|
ParcelFileDescriptorTest.java | 364 FileOutputStream fout = null; local 366 fout = con.openFileOutput(fileName, Context.MODE_WORLD_WRITEABLE); 369 fout.write(new byte[] { 0x0, 0x1, 0x2, 0x3 }); 371 fout.close();
|
/external/chromium_org/third_party/opus/src/celt/ |
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);
|
/external/chromium_org/third_party/opus/src/src/ |
repacketizer_demo.c | 61 FILE *fin, *fout; local 100 fout = fopen(argv[argc-1], "w"); 101 if(fout==NULL) 128 fclose(fout); 159 if(fwrite(int_field, 1, 4, fout)!=4){ 164 if (fwrite(int_field, 1, 4, fout)!=4) { 168 if (fwrite(output_packet, 1, err, fout)!=(unsigned)err) { 184 if (fwrite(int_field, 1, 4, fout)!=4) { 192 if (fwrite(int_field, 1, 4, fout)!=4) { 196 if (fwrite(output_packet, 1, err, fout)!=(unsigned)err) [all...] |
/cts/tests/src/android/content/cts/ |
MockContentProvider.java | 400 FileOutputStream fout = new FileOutputStream(output.getFileDescriptor()); local 403 pw = new PrintWriter(new OutputStreamWriter(fout, "UTF-8")); 412 fout.close();
|
/external/srec/tools/dictTest/ |
dictTest.c | 42 void doGetProns(SR_Vocabulary *vocab, LCHAR* phrase, size_t len, FILE* fout) 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) 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 = stdout local [all...] |
/development/samples/NotePad/src/com/example/android/notepad/ |
NotePadProvider.java | 467 FileOutputStream fout = new FileOutputStream(output.getFileDescriptor()); local 470 pw = new PrintWriter(new OutputStreamWriter(fout, "UTF-8")); 482 fout.close();
|
/packages/apps/Browser/src/com/android/browser/ |
CrashRecoveryHandler.java | 232 FileOutputStream fout = new FileOutputStream(stateJournal); local 233 fout.write(p.marshall()); 234 fout.close();
|
/development/apps/WidgetPreview/src/com/android/widgetpreview/ |
WidgetPreviewActivity.java | 258 FileOutputStream fout = null; local 260 fout = new FileOutputStream(pic); 261 if (!bmp.compress(CompressFormat.PNG, 100, fout)) { 270 if (fout != null) { 271 fout.close();
|
/external/javassist/src/main/javassist/ |
ClassPoolTail.java | 419 public static void copyStream(InputStream fin, OutputStream fout) 432 fout.write(buf, 0, size); 436 fout.write(buf);
|
/external/srec/tools/parseStringTest/ |
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) 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) 124 Parse(grammar, trans, fout, &myopts); 183 pfprintf(fout, "error (%s)\n\n", trans) 283 PFile *fin = NULL, *fout = NULL; local [all...] |
/frameworks/compile/libbcc/lib/Support/ |
sha1.c | 466 FILE *fout = fopen(binary_output_file, "wb"); local 467 if (!fout) { 471 fwrite(digest, 1, HASHSIZE, fout); 472 fclose(fout);
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicBlur.cpp | 299 float4 *fout = (float4 *)buf; local 303 OneVFU4(fout, pi, stride, cp->mFp, cp->mIradius * 2 + 1, x1, x2); 306 OneVU4(p, fout, x1, y, pin, stride, cp->mFp, cp->mIradius); 307 fout++; 351 float *fout = (float *)buf; local 355 OneVFU1(fout, pi, stride, cp->mFp, cp->mIradius * 2 + 1, x1, x2); 358 OneVU1(p, fout, x1, y, pin, stride, cp->mFp, cp->mIradius); 359 fout++;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
FileLockTest.java | 175 FileOutputStream fout = new FileOutputStream(file); local 176 FileChannel fileChannel = fout.getChannel(); 187 fout = new FileOutputStream(file); 188 fileChannel = fout.getChannel();
|
/external/chromium_org/third_party/icu/source/tools/tzcode/ |
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;
|
/external/chromium_org/third_party/zlib/contrib/minizip/ |
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=NULL local [all...] |
/external/icu4c/tools/tzcode/ |
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;
|
/external/webp/examples/ |
dwebp.c | 206 static int WritePPM(FILE* fout, const WebPDecBuffer* const buffer, int alpha) { 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) { 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, 261 fprintf(fout, "P5\n%d %d\n255\n", 265 ok &= (fwrite(yuv->y + y * yuv->y_stride, width, 1, fout) == 1) 294 FILE* fout = NULL; local [all...] |
/external/zlib/src/contrib/minizip/ |
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=NULL local [all...] |
/frameworks/base/core/java/android/os/ |
Binder.java | 291 FileOutputStream fout = new FileOutputStream(fd); local 292 PrintWriter pw = new FastPrintWriter(fout); 326 final FileOutputStream fout = new FileOutputStream(fd); local 327 final PrintWriter pw = new FastPrintWriter(fout); 344 * @param fout The file to which you should dump your state. This will be 348 protected void dump(FileDescriptor fd, PrintWriter fout, String[] args) {
|