Home | History | Annotate | Download | only in registry

Lines Matching refs:filehandle

662 #   dumpReg(maxlen, filehandle) - diagnostic to dump the dictionaries
800 def dumpReg(self, maxlen = 40, filehandle = sys.stdout):
802 write('***************************************', file=filehandle)
803 write(' ** Dumping Registry contents **', file=filehandle)
804 write('***************************************', file=filehandle)
805 write('// Types', file=filehandle)
808 write(' Type', name, '->', etree.tostring(tobj.elem)[0:maxlen], file=filehandle)
809 write('// Groups', file=filehandle)
812 write(' Group', name, '->', etree.tostring(gobj.elem)[0:maxlen], file=filehandle)
813 write('// Enums', file=filehandle)
816 write(' Enum', name, '->', etree.tostring(eobj.elem)[0:maxlen], file=filehandle)
817 write('// Commands', file=filehandle)
820 write(' Command', name, '->', etree.tostring(cobj.elem)[0:maxlen], file=filehandle)
821 write('// APIs', file=filehandle)
824 etree.tostring(self.apidict[key].elem)[0:maxlen], file=filehandle)
825 write('// Extensions', file=filehandle)
828 etree.tostring(self.extdict[key].elem)[0:maxlen], file=filehandle)
829 # write('***************************************', file=filehandle)
830 # write(' ** Dumping XML ElementTree **', file=filehandle)
831 # write('***************************************', file=filehandle)
832 # write(etree.tostring(self.tree.getroot(),pretty_print=True), file=filehandle)