Lines Matching refs:outputHeader
14 def __init__(self, output, outputHeader=None, argument
18 self.outputHeader = outputHeader
21 self.writeBody = outputHeader or outputTests or outputDriver
29 for f in (self.output,self.outputHeader,self.outputTests,self.outputDriver):
73 if self.outputHeader:
74 print >>self.outputHeader, decl
117 if self.outputHeader:
118 print >>self.outputHeader,'%s %s(%s);'%(retvalTypeName, fnName, args)
143 if self.outputHeader:
144 print >>self.outputHeader, 'void test_%s(void);'%(fnName,)
179 if self.outputHeader:
180 print >>self.outputHeader, 'extern %s %s;'%(typeName,name)
611 outputHeader = None
612 if opts.outputHeader:
613 outputHeader = open(opts.outputHeader,'w')
614 atexit.register(lambda: outputHeader.close())
636 outputHeader=outputHeader,
639 headerName=opts.outputHeader,