Lines Matching refs:ifp
238 with io.open(inp, 'rb') as ifp:
241 d = ifp.read(128000)
246 ifp = openrsrc(inp, 'rb')
248 d = ifp.read(128000)
252 ifp.close()
257 def __init__(self, ifp): argument
258 self.ifp = ifp
271 data = self.ifp.read(wtd)
283 newdata = self.ifp.read(1)
294 self.ifp.close()
299 def __init__(self, ifp): argument
300 self.ifp = ifp
313 self.pre_buffer = self.pre_buffer + self.ifp.read(wtd + 4)
314 if self.ifp.eof:
348 self.ifp.close()
351 def __init__(self, ifp): argument
352 if isinstance(ifp, str):
353 ifp = io.open(ifp, 'rb')
358 ch = ifp.read(1)
368 hqxifp = _Hqxdecoderengine(ifp)
369 self.ifp = _Rledecoderengine(hqxifp)
374 data = self.ifp.read(len)
379 filecrc = struct.unpack('>h', self.ifp.read(2))[0] & 0xffff
452 self.ifp.close()
456 ifp = HexBin(inp)
457 finfo = ifp.FInfo
459 out = ifp.FName
464 d = ifp.read(128000)
467 ifp.close_data()
469 d = ifp.read_rsrc(128000)
474 d = ifp.read_rsrc(128000)
479 ifp.close()