Lines Matching refs:genOpts

452         self.genOpts = None
543 def beginFile(self, genOpts): argument
544 self.genOpts = genOpts
548 if (self.genOpts.filename != None):
549 self.outFile = open(self.genOpts.filename, 'w')
559 self.genOpts = None
602 return self.genOpts.apientry + name + tail
604 return '(' + self.genOpts.apientryp + 'PFN_' + name + tail + ')'
618 … self.logMsg('diag', 'Aligning parameter', elem.text, 'to column', self.genOpts.alignFuncParam)
652 pdecl = self.genOpts.apicall
690 paramdecl = self.makeCParamDecl(params[i], self.genOpts.alignFuncParam)
747 def beginFile(self, genOpts): argument
748 OutputGenerator.beginFile(self, genOpts)
752 if (genOpts.protectFile and self.genOpts.filename):
753 headerSym = '__' + re.sub('\.h', '_h_', os.path.basename(self.genOpts.filename))
763 if (genOpts.prefixText):
764 for s in genOpts.prefixText:
787 if (self.genOpts.protectFile and self.genOpts.filename):
805 if (self.genOpts.protectFeature):
818 if (self.genOpts.genFuncPointers and self.sections['commandPointer']):
822 if (self.genOpts.protectProto):
823 write(self.genOpts.protectProto,
824 self.genOpts.protectProtoStr, file=self.outFile)
826 if (self.genOpts.protectProto):
832 if (self.genOpts.protectFeature):
858 s += self.genOpts.apientry + noneStr(elem.tail)
950 if (self.genOpts.genFuncPointers):
981 def beginFile(self, genOpts): argument
982 OutputGenerator.beginFile(self, genOpts)
999 filename = self.genOpts.genDirectory + '/' + directory + '/' + basename + '.txt'
1026 s += self.genOpts.apientry + noneStr(elem.tail)
1068 expand = self.genOpts.expandEnumerants and ('expand' in groupElem.keys())
1146 def beginFile(self, genOpts): argument
1147 OutputGenerator.beginFile(self, genOpts)
1281 def beginFile(self, genOpts): argument
1282 OutputGenerator.beginFile(self, genOpts)
1318 filename = self.genOpts.genDirectory + '/' + directory + '/' + basename + '.txt'
2192 filename = self.genOpts.genDirectory + '/' + self.genOpts.filename + '/parameters.txt'
2205 … filename = self.genOpts.genDirectory + '/' + self.genOpts.filename + '/parameterlists.txt'
2218 filename = self.genOpts.genDirectory + '/' + self.genOpts.filename + '/implicit.txt'
2496 def beginFile(self, genOpts): argument
2497 OutputGenerator.beginFile(self, genOpts)
2501 if (genOpts.protectFile and self.genOpts.filename):
2502 headerSym = '__' + re.sub('\.h', '_h_', os.path.basename(self.genOpts.filename))
2512 if (genOpts.prefixText):
2513 for s in genOpts.prefixText:
2528 if (self.genOpts.protectFile and self.genOpts.filename):
2549 if (self.genOpts.protectFeature):
2570 if (self.genOpts.protectFeature):
2597 body += self.makeCParamDecl(member, self.genOpts.alignFuncParam)
2744 def beginFile(self, genOpts): argument
2745 OutputGenerator.beginFile(self, genOpts)
2749 if (genOpts.prefixText):
2750 for s in genOpts.prefixText:
2754 if (genOpts.protectFile and self.genOpts.filename):
2755 headerSym = re.sub('\.h', '_H', os.path.basename(self.genOpts.filename)).upper()
2774 if (self.genOpts.protectFile and self.genOpts.filename):
2809 if (self.genOpts.protectProto):
2810 write(self.genOpts.protectProto,
2811 self.genOpts.protectProtoStr, file=self.outFile)
3043 reportData = ' debug_report_data*'.ljust(self.genOpts.alignFuncParam) + 'report_data,'
3232 … cmdDef += ' debug_report_data*'.ljust(self.genOpts.alignFuncParam) + ' report_data,\n'
3233 cmdDef += ' const char*'.ljust(self.genOpts.alignFuncParam) + ' pFuncName,\n'
3234 cmdDef += ' const char*'.ljust(self.genOpts.alignFuncParam) + ' pVariableName,\n'
3235 … cmdDef += ' const {}*'.format(struct.name).ljust(self.genOpts.alignFuncParam) + ' pStruct)\n'