/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);
|
/external/chromium_org/third_party/libvpx/source/libvpx/examples/ |
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/libvpx/libvpx/examples/ |
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);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
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);
|
/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/doc/ |
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/ |
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)!=(unsigned)err) [all...] |
/external/libopus/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/libopus/doc/ |
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/ |
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)!=(unsigned)err) [all...] |
/external/lldb/test/pexpect-2.4/examples/ |
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.close( 97 fout = open ('log','a') variable [all...] |
/cts/tests/tests/content/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/mockito/cglib-and-asm/src/org/mockito/cglib/transform/ |
AbstractTransformTask.java | 136 FileOutputStream fout = new FileOutputStream(tempFile, false); local 138 ZipOutputStream out = new ZipOutputStream(fout); 183 fout.close();
|
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/ |
BluetoothMapEmailProvider.java | 188 FileOutputStream fout = null; local 191 fout = new FileOutputStream(output.getFileDescriptor()); 210 WriteMessageToStream(accountId, messageId, includeAttachments, download, fout); 218 fout.flush(); 223 fout.close();
|
/external/jsoncpp/src/jsontestrunner/ |
main.cpp | 63 printValueTree( FILE *fout, Json::Value &value, const std::string &path = "." ) 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, "%s={}\n", path.c_str() ) 160 FILE *fout = fopen( rewritePath.c_str(), "wt" ); local [all...] |
/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...] |
/frameworks/base/cmds/idmap/ |
scan.cpp | 37 FILE* fout = fopen(filename, "w"); local 38 if (fout == NULL) { 44 fprintf(fout, "%s %s\n", overlay.apk_path.string(), overlay.idmap_path.string()); 47 fclose(fout);
|
/ndk/tests/abcc/jni/ |
Abcc.cpp | 288 std::fstream fout; local 290 fout.open(file.c_str(), std::fstream::out | std::fstream::app); 291 fout << "Failed command: " << cmd << "\n"; 292 fout << "Error message: " << sstr.str() << "\n"; 293 fout.close();
|
/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();
|