Home
last modified time | relevance | path

Searched refs:filehandle (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/opengl/tools/glgen2/registry/
Dreg.py800 def dumpReg(self, maxlen = 40, filehandle = sys.stdout): argument
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)
[all …]
Dgenheaders.py111 reg.dumpReg(filehandle = open('regdump.txt','w'))