Lines Matching refs:entry
194 # key = extension name, value = registry entry
238 entry = ExtensionRegistryEntry()
239 entry.ext_type = ext.attrib["type"]
240 entry.promoted_in = self.parse_promotedto(ext.get("promotedto"))
242 entry.device_commands = []
243 entry.pdevice_commands = []
244 entry.instance_commands = []
245 entry.features_fields = []
246 entry.properties_fields = []
252 entry.device_commands.append(cmd_name)
254 entry.pdevice_commands.append(cmd_name)
256 entry.instance_commands.append(cmd_name)
258 entry.constants = []
265 entry.constants.append(enum_name)
270 entry.features_struct is None):
271 entry.features_struct = ty_name
274 entry.properties_struct is None):
275 entry.properties_struct = ty_name
277 if entry.features_struct:
278 struct_name = entry.features_struct
279 if entry.features_struct in struct_aliases:
280 struct_name = struct_aliases[entry.features_struct]
281 entry.features_promoted = True
283 elif entry.promoted_in is not None:
287 entry.features_promoted = False
294 entry.features_fields.append(field_name)
296 if entry.properties_struct:
297 struct_name = entry.properties_struct
298 if entry.properties_struct in struct_aliases:
299 struct_name = struct_aliases[entry.properties_struct]
300 entry.properties_promoted = True
302 elif entry.promoted_in is not None:
305 entry.properties_promoted = False
312 entry.properties_fields.append(field_name)
315 entry.platform_guard = platform_guards[ext.get("platform")]
317 self.registry[name] = entry