Lines Matching refs:f
35 self.simg_f = f = open(simg_fn, "rb")
37 header_bin = f.read(28)
70 header_bin = f.read(12)
85 offset_map.append((pos, chunk_sz, f.tell(), None))
87 f.seek(data_sz, os.SEEK_CUR)
90 fill_data = f.read(4)
155 f = self.simg_f
166 f.seek(p, os.SEEK_SET)
167 yield f.read(this_read * self.blocksize)
178 f.seek(filepos, os.SEEK_SET)
179 yield f.read(this_read * self.blocksize)
188 with open(fn) as f:
189 for line in f:
213 f = self.simg_f
220 f.seek(filepos, os.SEEK_SET)
221 data = f.read(self.blocksize)