Searched refs:raf (Results 1 – 2 of 2) sorted by relevance
287 RandomAccessFile raf = null; in fileReadLoop() local293 raf = new RandomAccessFile(filename, "rw"); in fileReadLoop()294 raf.write(buf); in fileReadLoop()295 raf.close(); in fileReadLoop()296 raf = null; in fileReadLoop()299 raf = new RandomAccessFile(filename, "r"); in fileReadLoop()302 raf.seek(0); in fileReadLoop()303 raf.read(buf); in fileReadLoop()312 try { if (raf != null) raf.close(); } catch (IOException e) {} in fileReadLoop()317 RandomAccessFile raf = null; in fileWriteLoop() local[all …]
421 RandomAccessFile raf = null; in fileReadLoop() local433 raf = new RandomAccessFile(filename, "r"); in fileReadLoop()434 raf.seek(0); in fileReadLoop()435 raf.read(buf); in fileReadLoop()439 try { if (raf != null) raf.close(); } catch (IOException e) {} in fileReadLoop()