Home
last modified time | relevance | path

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

/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/
Dcgenerator.py173 def beginFile(self, genOpts): argument
174 OutputGenerator.beginFile(self, genOpts)
175 if self.genOpts is None:
180 if self.genOpts.protectFile and self.genOpts.filename:
182 os.path.basename(self.genOpts.filename)).upper()
188 if genOpts.prefixText:
189 for s in genOpts.prefixText:
202 if self.genOpts is None:
208 if self.genOpts.protectFile and self.genOpts.filename:
229 if not self.genOpts.conventions.protectProtoComment:
[all …]
Dgenerator.py361 self.genOpts = None
440 if self.genOpts is None:
442 if self.genOpts.conventions is None:
571 if self.genOpts is None:
573 if self.genOpts.conventions is None:
583 if self.genOpts.conventions.constFlagBits and groupElem.get('type') == 'bitmask':
807 if (self.genOpts.codeGenerator or
875 def beginFile(self, genOpts): argument
880 self.genOpts = genOpts
881 if self.genOpts is None:
[all …]
Dgenvk.py79 global genOpts
80 genOpts = {}
175 genOpts['apiinc'] = [
200 genOpts['apimap.cjs'] = [
218 genOpts['apimap.py'] = [
236 genOpts['apimap.rb'] = [
260 genOpts['validinc'] = [
280 genOpts['hostsyncinc'] = [
302 genOpts['extinc'] = [
321 genOpts['interfaceinc'] = [
[all …]
Ddocgenerator.py152 def beginFile(self, genOpts): argument
153 OutputGenerator.beginFile(self, genOpts)
157 self.result_type = genOpts.conventions.type_prefix + "Result"
235 directory = self.genOpts.directory + '/' + directory
244 write(self.genOpts.conventions.warning_comment, file=fp)
247 if self.genOpts.conventions.generate_index_terms:
264 if self.genOpts.secondaryInclude:
271 write(self.genOpts.conventions.warning_comment, file=fp)
281 directory = Path(self.genOpts.directory) / 'enums'
312 directory = Path(self.genOpts.directory) / 'enums'
[all …]
Dreg.py404 def __init__(self, gen=None, genOpts=None): argument
412 if genOpts is None:
415 self.genOpts = GeneratorOptions(apiname = APIConventions().xml_api_name)
417 self.genOpts = genOpts
421 self.gen.genOpts = self.genOpts
422 self.gen.genOpts.registry = self
537 key = (fname, self.genOpts.apiname)
569 if self.genOpts.mergeApiNames:
570 mergeAPIs(self.reg, self.genOpts.mergeApiNames.split(','), self.genOpts.apiname)
572 stripNonmatchingAPIs(self.reg, self.genOpts.apiname, actuallyDelete = True)
[all …]
Dinterfacedocgenerator.py26 def beginFile(self, genOpts): argument
27 OutputGenerator.beginFile(self, genOpts)
30 self.makeDir(self.genOpts.directory)
101 filename = feature + self.genOpts.conventions.file_suffix
102 fp = open(self.genOpts.directory + '/' + filename, 'w', encoding='utf-8')
Djson_h_generator.py156 def beginFile(self, genOpts): argument
157 OutputGenerator.beginFile(self, genOpts)
178 … if self.genOpts.conventions.writeFeature(self.featureExtraProtect, self.genOpts.filename):
Dspirvcapgenerator.py36 def beginFile(self, genOpts): argument
37 OutputGenerator.beginFile(self, genOpts)
217 filename = self.genOpts.directory + '/' + basename
220 write(self.genOpts.conventions.warning_comment, file=fp)
Dhostsyncgenerator.py44 filename = self.genOpts.directory + '/' + basename
47 write(self.genOpts.conventions.warning_comment, file=fp)
93 if self.genOpts.conventions.is_externsync_command(protoname):
Dschema_generator.py129 def beginFile(self, genOpts): argument
130 OutputGenerator.beginFile(self, genOpts)
153 … if self.genOpts.conventions.writeFeature(self.featureExtraProtect, self.genOpts.filename):
Dformatsgenerator.py27 def beginFile(self, genOpts): argument
28 OutputGenerator.beginFile(self, genOpts)
159 filename = self.genOpts.directory + '/' + basename
162 write(self.genOpts.conventions.warning_comment, file=fp)
Dscriptgenerator.py34 return self.genOpts.conventions.is_api_name(name)
49 def beginFile(self, genOpts): argument
50 OutputGenerator.beginFile(self, genOpts)
Djson_generator.py507 def beginFile(self, genOpts): argument
508 OutputGenerator.beginFile(self, genOpts)
510 self.vulkanLayer = genOpts.vulkanLayer
516 self.isCTS = genOpts.isCTS
557 … if self.genOpts.conventions.writeFeature(self.featureExtraProtect, self.genOpts.filename):
Dextensionmetadocgenerator.py40 self.conventions = generator.genOpts.conventions
449 write(self.genOpts.conventions.warning_comment, file=fp)
452 def beginFile(self, genOpts): argument
453 OutputGenerator.beginFile(self, genOpts)
455 self.directory = self.genOpts.directory
456 self.file_suffix = self.genOpts.conventions.file_suffix
Djson_c_generator.py224 def beginFile(self, genOpts): argument
225 OutputGenerator.beginFile(self, genOpts)
245 … if self.genOpts.conventions.writeFeature(self.featureExtraProtect, self.genOpts.filename):
Djson_parser.py520 def beginFile(self, genOpts): argument
521 OutputGenerator.beginFile(self, genOpts)
526 self.isCTS = genOpts.isCTS
577 … if self.genOpts.conventions.writeFeature(self.featureExtraProtect, self.genOpts.filename):
Dsyncgenerator.py69 filename = self.genOpts.directory + '/' + basename
75 write(self.genOpts.conventions.warning_comment, file=fp)
Dcerealgenerator.py769 def beginFile(self, genOpts): argument
770 OutputGenerator.beginFile(self, genOpts)
772 self.forEachModule(lambda m: m.begin(self.genOpts.directory))
Dvaliditygenerator.py156 def beginFile(self, genOpts): argument
157 if not genOpts.conventions:
160 self.conventions = genOpts.conventions
165 OutputGenerator.beginFile(self, genOpts)
234 directory = Path(self.genOpts.directory) / directory
1055 vk11 = re.match(self.registry.genOpts.emitversions, 'VK_VERSION_1_1') is not None
DgenRef.py997 genOpts = GeneratorOptions(apiname = conventions.xml_api_name) variable
998 registry = Registry(genOpts = genOpts)
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/Retired/
DextensionStubSource.py101 def beginFile(self, genOpts): argument
102 OutputGenerator.beginFile(self, genOpts)
115 filename = self.genOpts.directory + '/' + 'vulkan_ext.h'
127 if (genOpts.prefixText):
128 for s in genOpts.prefixText:
187 if (self.genOpts.protectFeature):
205 if (self.genOpts.protectFeature):
291 paramdecl += self.makeCParamDecl(params[i], self.genOpts.alignFuncParam)
292 pfnCall += self.makeCCallParam(params[i], self.genOpts.alignFuncParam)
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/spec_tools/
Dconventions.py228 def should_insert_may_alias_macro(self, genOpts): argument