Home | History | Annotate | Download | only in python2.7

Lines Matching refs:ofp

114     def __init__(self, ofp):
115 self.ofp = ofp
135 self.ofp.write(self.hqxdata[first:last]+'\n')
140 self.ofp.write(self.hqxdata + ':\n')
147 self.ofp.close()
148 del self.ofp
153 def __init__(self, ofp):
154 self.ofp = ofp
162 self.ofp.write(rledata)
168 self.ofp.write(rledata)
169 self.ofp.close()
170 del self.ofp
173 def __init__(self, name_finfo_dlen_rlen, ofp):
175 if type(ofp) == type(''):
176 ofname = ofp
177 ofp = open(ofname, 'w')
178 ofp.write('(This file must be converted with BinHex 4.0)\n\n:')
179 hqxer = _Hqxcoderengine(ofp)
180 self.ofp = _Rlecoderengine(hqxer)
205 self.ofp.write(data)
214 self.ofp.write(struct.pack(fmt, self.crc))
246 self.ofp.close()
248 del self.ofp
253 ofp = BinHex(finfo, out)
260 ofp.write(d)
261 ofp.close_data()
268 ofp.write_rsrc(d)
269 ofp.close()
479 ofp = open(out, 'wb')
484 ofp.write(d)
485 ofp.close()
490 ofp = openrsrc(out, 'wb')
491 ofp.write(d)
495 ofp.write(d)
496 ofp.close()