/libcore/luni/src/test/java/tests/api/java/io/ |
RandomAccessFileTest.java | 43 java.io.RandomAccessFile raf; field in class:RandomAccessFileTest 65 RandomAccessFile raf = null; local 69 raf = new java.io.RandomAccessFile(tmpFile, "r"); 82 raf = new java.io.RandomAccessFile(tmpFile, "rwd"); 86 raf.close(); 88 raf = new java.io.RandomAccessFile(tmpFile, "rws"); 92 raf.close(); 94 raf = new java.io.RandomAccessFile(tmpFile, "rw"); 98 raf.close(); 102 raf = new java.io.RandomAccessFile(tmpFile, "i") 125 RandomAccessFile raf = null; local 195 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 213 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 241 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 259 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 283 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 316 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 364 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "r"); local 396 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 472 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 523 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 583 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 643 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 694 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 745 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 805 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 865 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 925 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 973 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 1030 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 1097 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 1130 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 1164 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 1195 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 1238 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 1280 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 1347 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 1394 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 1481 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local [all...] |
OpenRandomFileTest.java | 58 RandomAccessFile raf = new RandomAccessFile(fileName, "rw"); local 59 raf.close(); 77 RandomAccessFile raf = new RandomAccessFile(fileName, "rw"); local 78 raf.close();
|
FileDescriptorTest.java | 89 RandomAccessFile raf = new RandomAccessFile(f, "r"); local 90 fd = raf.getFD(); 92 raf.close();
|
FileTest.java | 1297 RandomAccessFile raf = new RandomAccessFile(f, "rwd"); local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
RandomAccessFileTest.java | 36 java.io.RandomAccessFile raf; field in class:RandomAccessFileTest 54 RandomAccessFile raf = new java.io.RandomAccessFile(f, "rw"); local 55 raf.write(20); 56 raf.seek(0); 57 assertEquals("Incorrect int read/written", 20, raf.read()); 58 raf.close(); 60 raf = new java.io.RandomAccessFile(f, "rwd"); 61 raf.write(20); 62 raf.seek(0); 63 assertEquals("Incorrect int read/written", 20, raf.read()) 92 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 111 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 125 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 137 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 149 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 165 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "r"); local 180 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "r"); local 193 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 209 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 221 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 233 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 245 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 258 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 272 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 288 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 306 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 319 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 336 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 349 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 362 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 374 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 388 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 400 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 413 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 427 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 471 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 628 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 642 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 654 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 668 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 683 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 696 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 711 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 724 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 737 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 750 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 763 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 777 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 790 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 805 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 847 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "r"); local 866 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "r"); local 881 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "r"); local 894 RandomAccessFile raf = new RandomAccessFile(f, "r"); local 911 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw"); local 949 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "r"); local [all...] |
FileTest.java | 1209 RandomAccessFile raf = new RandomAccessFile(f, "rwd"); local [all...] |
/external/emma/core/java12/com/vladium/emma/data/ |
DataFactory.java | 332 RandomAccessFileInputStream (final RandomAccessFile raf, final int bufSize) 335 super (new UCFileInputStream (raf.getFD ()), bufSize); 372 RandomAccessFileOutputStream (final RandomAccessFile raf, final int bufSize) 375 super (new UCFileOutputStream (raf.getFD ()), bufSize); 413 RandomAccessFile raf = null; local 416 raf = new RandomAccessFile (file, "r"); 419 final long length = raf.length (); 432 raf.seek (FILE_HEADER_LENGTH); 445 if (trace2) log.trace2 (method, "[" + file + "]: position " + raf.getFilePointer ()); 448 entryLength = raf.readLong () 519 RandomAccessFile raf = null; local [all...] |
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
Main.java | 49 RandomAccessFile raf = openInputFile(); local 50 DexData dexData = new DexData(raf); 73 RandomAccessFile raf; local 75 raf = openInputFileAsZip(); 76 if (raf == null) { 78 raf = new RandomAccessFile(inputFile, "r"); 81 return raf; 132 RandomAccessFile raf = new RandomAccessFile(tempFile, "rw"); local 146 raf.write(copyBuf, 0, actual); 150 raf.seek(0) [all...] |
DexData.java | 42 public DexData(RandomAccessFile raf) { 43 mDexFile = raf;
|
/dalvik/tests/068-classloader/src/ |
FancyLoader.java | 142 RandomAccessFile raf; local 145 raf = new RandomAccessFile(path, "r"); 153 fileData = new byte[(int) raf.length()]; 154 raf.readFully(fileData); 159 raf.close();
|
/libcore/luni/src/main/java/java/util/zip/ |
ZipFile.java | 169 RandomAccessFile raf = mRaf; local 171 if (raf != null) { // Only close initialized instances 172 synchronized(raf) { 174 raf.close(); 264 RandomAccessFile raf = mRaf; 265 synchronized (raf) { 270 RAFStream rafstrm = new RAFStream(raf, 399 public RAFStream(RandomAccessFile raf, long pos) throws IOException { 400 mSharedRaf = raf; 402 mLength = raf.length() [all...] |
ZipEntry.java | 429 static long readIntLE(RandomAccessFile raf) throws IOException { 430 int b0 = raf.read(); 431 int b1 = raf.read(); 432 int b2 = raf.read(); 433 int b3 = raf.read();
|
/frameworks/base/core/java/com/android/internal/widget/ |
LockPatternUtils.java | 188 RandomAccessFile raf = new RandomAccessFile(sLockPatternFilename, "r"); local 189 final byte[] stored = new byte[(int) raf.length()]; 190 int got = raf.read(stored, 0, stored.length); 191 raf.close(); 213 RandomAccessFile raf = new RandomAccessFile(sLockPasswordFilename, "r"); local 214 final byte[] stored = new byte[(int) raf.length()]; 215 int got = raf.read(stored, 0, stored.length); 216 raf.close(); 307 RandomAccessFile raf = new RandomAccessFile(sLockPatternFilename, "rw"); local 310 raf.setLength(0) 373 RandomAccessFile raf = new RandomAccessFile(sLockPasswordFilename, "rw"); local [all...] |
/frameworks/base/core/java/android/os/ |
RecoverySystem.java | 147 RandomAccessFile raf = new RandomAccessFile(packageFile, "r"); local 155 raf.seek(fileLen - 6); 157 raf.readFully(footer); 169 raf.seek(fileLen - (commentSize + 22)); 170 raf.readFully(eocd); 266 raf.seek(0); 276 int read = raf.read(buffer, 0, size); 303 raf.close();
|
/libcore/dalvik/src/main/java/dalvik/system/ |
PathClassLoader.java | 333 RandomAccessFile raf; local 338 raf = new RandomAccessFile(path, "r"); 346 fileData = new byte[(int) raf.length()]; 347 raf.read(fileData); 348 raf.close();
|
TouchDexLoader.java | 240 RandomAccessFile raf; local 245 raf = new RandomAccessFile(path, "r"); 253 fileData = new byte[(int) raf.length()]; 254 raf.read(fileData); 255 raf.close();
|
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/ |
ProviderPerfActivity.java | 288 RandomAccessFile raf = null; local 294 raf = new RandomAccessFile(filename, "rw"); 295 raf.write(buf); 296 raf.close(); 297 raf = null; 300 raf = new RandomAccessFile(filename, "r"); 303 raf.seek(0); 304 raf.read(buf); 313 try { if (raf != null) raf.close(); } catch (IOException e) { 318 RandomAccessFile raf = null; local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
FileLockTest.java | 278 RandomAccessFile raf = new RandomAccessFile(fileName, "rw"); local 279 FileLock lock = raf.getChannel().tryLock(); 280 raf.write("file lock test".getBytes()); 282 raf.close();
|
/external/guava/src/com/google/common/io/ |
Files.java | 670 RandomAccessFile raf = 675 MappedByteBuffer mbb = map(raf, mode, size); 679 Closeables.close(raf, threw); 683 private static MappedByteBuffer map(RandomAccessFile raf, MapMode mode, 685 FileChannel channel = raf.getChannel();
|
/libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
MappedByteBufferTest.java | 171 RandomAccessFile raf = new RandomAccessFile(tmpFile, "rw"); local 172 fc = raf.getChannel();
|
/packages/experimental/StrictModeTest/src/com/android/strictmodetest/ |
StrictModeActivity.java | 360 RandomAccessFile raf = null; local 366 //raf = new RandomAccessFile(filename, "rw"); 367 //raf.write(buf); 368 //raf.close(); 369 //raf = null; 372 raf = new RandomAccessFile(filename, "r"); 373 raf.seek(0); 374 raf.read(buf); 378 try { if (raf != null) raf.close(); } catch (IOException e) { [all...] |
/external/emma/core/java12/com/vladium/emma/instr/ |
InstrProcessorST.java | 806 RandomAccessFile raf = null; local [all...] |
/external/emma/lib/ |
emma.jar | |
/prebuilt/common/commons-compress/ |
commons-compress-1.0.jar | |
/prebuilt/common/ant/ |
ant.jar | |