Home
last modified time | relevance | path

Searched refs:genOpts (Results 1 – 6 of 6) sorted by relevance

/external/vulkan-validation-layers/
Dgenerator.py214 self.genOpts = None
315 def beginFile(self, genOpts): argument
316 self.genOpts = genOpts
320 if (self.genOpts.filename != None):
321 self.outFile = open(self.genOpts.directory + '/' + self.genOpts.filename, 'w')
331 self.genOpts = None
374 return self.genOpts.apientry + name + tail
376 return '(' + self.genOpts.apientryp + 'PFN_' + name + tail + ')'
390 … self.logMsg('diag', 'Aligning parameter', elem.text, 'to column', self.genOpts.alignFuncParam)
424 re.match(self.genOpts.addExtensions, elem.get('extname')) is not None or
[all …]
Dlvl_genvk.py53 global genOpts
54 genOpts = {}
101 genOpts['thread_check.h'] = [
122 genOpts['parameter_validation.h'] = [
143 genOpts['unique_objects_wrappers.h'] = [
173 global genOpts
180 if (args.target in genOpts.keys()):
181 createGenerator = genOpts[args.target][0]
182 options = genOpts[args.target][1]
Dthreading_generator.py262 def beginFile(self, genOpts): argument
263 OutputGenerator.beginFile(self, genOpts)
267 if (genOpts.protectFile and self.genOpts.filename):
268 headerSym = '__' + re.sub('\.h', '_h_', os.path.basename(self.genOpts.filename))
276 if (genOpts.prefixText):
277 for s in genOpts.prefixText:
290 if (self.genOpts.protectFile and self.genOpts.filename):
311 if (self.genOpts.protectFeature):
332 if (self.genOpts.protectFeature):
359 body += self.makeCParamDecl(member, self.genOpts.alignFuncParam)
[all …]
Dreg.py207 self.genOpts = None
247 key = (fname, self.genOpts.apiname)
631 def apiGen(self, genOpts): argument
635 self.gen.logMsg('diag', ' Registry.apiGen file:', genOpts.filename,
636 'api:', genOpts.apiname,
637 'profile:', genOpts.profile)
640 self.genOpts = genOpts
645 regVersions = re.compile(self.genOpts.versions)
646 regEmitVersions = re.compile(self.genOpts.emitversions)
647 regAddExtensions = re.compile(self.genOpts.addExtensions)
[all …]
Dparameter_validation_generator.py172 def beginFile(self, genOpts): argument
173 OutputGenerator.beginFile(self, genOpts)
177 if (genOpts.prefixText):
178 for s in genOpts.prefixText:
182 if (genOpts.protectFile and self.genOpts.filename):
183 headerSym = re.sub('\.h', '_H', os.path.basename(self.genOpts.filename)).upper()
210 if (self.genOpts.protectFile and self.genOpts.filename):
265 if (self.genOpts.protectProto):
266 write(self.genOpts.protectProto,
267 self.genOpts.protectProtoStr, file=self.outFile)
[all …]
Dunique_objects_generator.py182 return self.genOpts.apientry + name[2:] + tail
188 def beginFile(self, genOpts): argument
189 OutputGenerator.beginFile(self, genOpts)
191 if (genOpts.prefixText):
192 for s in genOpts.prefixText:
233 if (self.genOpts.protectProto):
234 write(self.genOpts.protectProto,
235 self.genOpts.protectProtoStr, file=self.outFile)