Lines Matching refs:file
5 * you may not use this file except in compliance with the License.
48 /** Path on the target device where the data file is available. */
67 RandomAccessFile file = new RandomAccessFile(f, "r");
69 long size = file.length();
70 MemoryMappedFile_Delegate newDelegate = new MemoryMappedFile_Delegate(file);
71 long filePointer = file.getFilePointer();
77 file.close();
94 static BufferIterator bigEndianIterator(MemoryMappedFile file) {
95 MemoryMappedFile_Delegate delegate = getDelegate(file);
101 public MemoryMappedFile_Delegate(RandomAccessFile file) throws IOException {
102 mSize = file.length();
105 mMappedByteBuffer = file.getChannel().map(MapMode.READ_ONLY, 0, mSize);
113 private static MemoryMappedFile_Delegate getDelegate(MemoryMappedFile file) {
114 Long index = sMemoryMappedFileMap.get(file);