/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
CheckedOutputStreamTest.java | 35 FileOutputStream outFile = new FileOutputStream("chkOut.txt"); 36 CheckedOutputStream chkOut = new CheckedOutputStream(outFile, 40 outFile.close(); 56 FileOutputStream outFile = new FileOutputStream("chkOut.txt"); 57 CheckedOutputStream chkOut = new CheckedOutputStream(outFile, 72 outFile.close(); 88 FileOutputStream outFile = new FileOutputStream("chkOut.txt"); 89 CheckedOutputStream chkOut = new CheckedOutputStream(outFile, 97 outFile.close(); 112 FileOutputStream outFile = new FileOutputStream("chkOut.txt") [all...] |
GZIPOutputStreamTest.java | 50 FileOutputStream outFile = new FileOutputStream("GZIPOutCon.txt"); 51 TestGZIPOutputStream outGZIP = new TestGZIPOutputStream(outFile); 69 FileOutputStream outFile = new FileOutputStream("GZIPOutCon.txt"); 70 TestGZIPOutputStream outGZIP = new TestGZIPOutputStream(outFile, 90 FileOutputStream outFile = new FileOutputStream("GZIPOutFinish.txt"); 91 TestGZIPOutputStream outGZIP = new TestGZIPOutputStream(outFile); 117 FileOutputStream outFile = new FileOutputStream("GZIPOutClose2.txt"); 118 TestGZIPOutputStream outGZIP = new TestGZIPOutputStream(outFile); 141 FileOutputStream outFile = new FileOutputStream("GZIPOutWrite.txt"); 142 TestGZIPOutputStream outGZIP = new TestGZIPOutputStream(outFile); [all...] |
/external/llvm/runtime/libprofile/ |
CommonProfiling.c | 118 static int OutFile = -1; 123 if (OutFile == -1) { 124 OutFile = open(OutputFilename, O_CREAT | O_WRONLY, 0666); 125 lseek(OutFile, 0, SEEK_END); /* O_APPEND prevents seeking */ 126 if (OutFile == -1) { 130 return(OutFile); 137 if (write(OutFile, &PTy, sizeof(int)) < 0 || 138 write(OutFile, &SavedArgsLength, sizeof(unsigned)) < 0 || 139 write(OutFile, SavedArgs, SavedArgsLength) < 0 ) { 145 if (write(OutFile, &Zeros, 4-(SavedArgsLength&3)) < 0) [all...] |
PathProfiling.c | 56 int outFile = getOutFile(); 77 arrayHeaderLocation = lseek(outFile, 0, SEEK_CUR); 78 lseek(outFile, sizeof(PathProfileHeader), SEEK_CUR); 84 if (write(outFile, &pte, sizeof(PathProfileTableEntry)) < 0) { 97 arrayCurrentLocation = lseek(outFile, 0, SEEK_CUR); 98 lseek(outFile, arrayHeaderLocation, SEEK_SET); 100 if (write(outFile, &fHeader, sizeof(PathProfileHeader)) < 0) { 106 lseek(outFile, arrayCurrentLocation, SEEK_SET); 117 int outFile = getOutFile(); 124 if (write(outFile, &header, sizeof(PathProfileHeader)) < 0) [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/ |
ISACHist.cc | 27 FILE *outFile; 50 outFile = fopen(argv[2], "w"); 51 if(outFile == NULL) 153 fprintf(outFile, "%10lu\n", hist[n]); 155 fclose(outFile);
|
Isac_test.cc | 64 WebRtc_Word8 outFile[40]; 113 strcpy(outFile,argv[2]); 121 strcat(outFile,"_"); 122 strcat(outFile, argv[4]); 123 strcat(outFile,"_"); 124 strcat(outFile, codec); 127 strcat(outFile,"_"); 128 strcat(outFile, argv[6]); 131 strcat(outFile,"_"); 132 strcat(outFile, "plc") [all...] |
/frameworks/base/core/java/android/app/backup/ |
FullBackup.java | 91 * @param outFile Location within the filesystem to place the data. This must point 96 long size, int type, long mode, long mtime, File outFile) throws IOException { 101 if (outFile != null) outFile.mkdirs(); 107 if (outFile != null) { 108 File parent = outFile.getParentFile(); 114 out = new FileOutputStream(outFile); 117 Log.e(TAG, "Unable to create/open file " + outFile.getPath(), e); 137 Log.e(TAG, "Unable to write to file " + outFile.getPath(), e); 140 outFile.delete() [all...] |
/external/chromium_org/third_party/opus/src/celt/ |
opus_custom_demo.c | 45 char *inFile, *outFile; 95 outFile = argv[argc-1]; 96 fout = fopen(outFile, "wb+");
|
/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/ |
MultipartTest.java | 36 FileWriter outFile = new FileWriter(upload); 37 BufferedWriter out = new BufferedWriter(outFile);
|
/frameworks/rs/ |
rsg_generator.c | 647 fprintf(stderr, "usage: %s commandFile outFile\n", argv[0]); 651 const char* outFile = argv[2]; 665 FILE *f = fopen(outFile, "w");
|
/frameworks/base/core/tests/coretests/src/android/app/ |
DownloadManagerStressTest.java | 160 File outFile = File.createTempFile("DM_TEST", null, new File(CACHE_DIR)); 174 fo = new FileOutputStream(outFile); 199 if (outFile != null) { 200 outFile.delete();
|
/frameworks/support/tests/java/android/support/v4/content/ |
FileProviderTest.java | 160 File outFile = new File(mContext.getFilesDir(), "/foo/bar"); 165 assertEquals(outFile.getPath(),
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarDebugActivity.java | 98 File outFile = new File(Environment.getExternalStorageDirectory(), OUT_FILE); 99 outFile.delete(); 118 File outFile = new File(path, OUT_FILE); 119 outFile.delete(); 120 Log.i(TAG, "Outfile=" + outFile.getAbsolutePath()); 125 os = new ZipOutputStream(new FileOutputStream(outFile)); 148 outFile.toString() 152 return outFile; 175 protected void onPostExecute(File outFile) { [all...] |
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
StorageManagerBaseTest.java | 225 * @param outFile A File representing the file we want to copy the OBB to 228 private void copyRawToFile(int rawResId, File outFile) throws NotFoundException { 237 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG 239 assertTrue(FileUtils.copyToFile(is, outFile)); 240 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG 252 File outFile = null; 255 outFile = new File(filesDir, name); 256 copyRawToFile(rawResId, outFile); 258 if (outFile != null) { 259 outFile.delete() [all...] |
/cts/tools/cfassembler/src/dxconvext/ |
ClassFileParser.java | 80 // write the outfile to the same directory as the corresponding .java 82 String outFile = absSrcFilePath.substring(0, absSrcFilePath 86 w = new OutputStreamWriter(new FileOutputStream(new File(outFile))); 88 throw new RuntimeException("cannot write to file:"+outFile, e);
|
ClassFileAssembler.java | 101 File outFile = new File(tFile); 102 System.out.println("outfile:" + outFile); 107 OutputStream os = new FileOutputStream(outFile);
|
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
SharedStorageAgent.java | 70 File outFile = null; 78 outFile = new File(mVolumes[i].getPath(), relpath.substring(slash + 1)); 79 if (DEBUG) Slog.i(TAG, " => " + outFile.getAbsolutePath()); 89 if (outFile == null) { 93 FullBackup.restoreFile(data, size, type, -1, mtime, outFile);
|
/frameworks/compile/libbcc/bcinfo/tools/ |
main.cpp | 53 std::string outFile; 103 outFile = std::string(inFile.begin(), inFile.end() - 3) + ".ll"; 106 outFile = inFile + ".ll"; 338 new llvm::tool_output_file(outFile.c_str(), errmsg,
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
MountServiceTests.java | 117 final File outFile = new File(filesDir, name); 118 return outFile; 121 private void copyRawToFile(int rawResId, File outFile) { 129 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG 131 assertTrue(FileUtils.copyToFile(is, outFile)); 132 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG 215 final File outFile = getFilePath("test1.obb"); 217 mountObb(sm, R.raw.test1, outFile, OnObbStateChangeListener.MOUNTED); 219 mountObb(sm, R.raw.test1, outFile, OnObbStateChangeListener.ERROR_ALREADY_MOUNTED); 221 final String mountPath = checkMountedPath(sm, outFile); [all...] |
/external/emma/tools/java/com/vladium/tools/ |
ClassDep.java | 62 final File outFile = new File (args [1]); 85 final File parent = outFile.getParentFile (); 88 final FileOutputStream out = new FileOutputStream (outFile);
|
/external/lzma/Java/SevenZip/ |
LzmaAlone.java | 30 public String OutFile;
134 OutFile = s;
193 java.io.File outFile = new java.io.File(params.OutFile);
196 java.io.BufferedOutputStream outStream = new java.io.BufferedOutputStream(new java.io.FileOutputStream(outFile));
|
/external/yaffs2/yaffs2/utils/ |
mkyaffsimage.c | 56 static int outFile; 239 error = write(outFile,data,512); 261 return write(outFile,&s,sizeof(yaffs_Spare)); 561 outFile = open(argv[2],O_CREAT | O_TRUNC | O_WRONLY, S_IREAD | S_IWRITE); 564 if(outFile < 0) 575 close(outFile); 589 close(outFile);
|
/frameworks/base/core/java/android/webkit/ |
CacheManager.java | 74 File outFile;
|
/frameworks/base/services/java/com/android/server/ |
SystemBackupAgent.java | 133 File outFile = null; 137 outFile = new File(WALLPAPER_INFO); 140 outFile = new File(WALLPAPER_IMAGE); 146 if (outFile == null) { 149 FullBackup.restoreFile(data, size, type, mode, mtime, outFile);
|
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/ |
BandwidthEnforcementTestService.java | 67 File outFile = new File(extStorage, outputFile); 68 FileWriter writer = new FileWriter(outFile, true);
|