Lines Matching refs:fnName
92 fnName = 'test_%s' % tyNameClean
94 print >>self.output,'void %s(void) {' % fnName
95 self.printSizeOfType(' %s'%fnName, tyName, ty, self.output)
96 self.printAlignOfType(' %s'%fnName, tyName, ty, self.output)
97 self.printOffsetsOfType(' %s'%fnName, tyName, ty, self.output)
101 self.layoutTests.append((i,fnName))
116 fnName = 'fn%d'%(FT.index,)
118 print >>self.outputHeader,'%s %s(%s);'%(retvalTypeName, fnName, args)
120 print >>self.outputTests,'%s %s(%s);'%(retvalTypeName, fnName, args)
122 print >>self.output,'%s %s(%s)'%(retvalTypeName, fnName, args),
127 self.printValueOfType(' %s'%fnName, 'arg%d'%i, t)
138 print >>self.outputDriver, ' extern void test_%s(void);' % fnName
139 print >>self.outputDriver, ' test_%s();' % fnName
144 print >>self.outputHeader, 'void test_%s(void);'%(fnName,)
151 print >>self.outputTests, 'void test_%s(void) {'%(fnName,)
154 print >>self.outputTests, ' printf("%s: testing return.\\n");'%(fnName,)
159 print >>self.outputTests, ' RV = %s(%s);'%(fnName, args)
160 … self.printValueOfType(' %s_RV'%fnName, 'RV', FT.returnType, output=self.outputTests, indent=4)
165 print >>self.outputTests, ' printf("%s: testing arguments.\\n");'%(fnName,)
170 print >>self.outputTests, ' %s(%s);'%(fnName, ', '.join(args),)