Home
last modified time | relevance | path

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

/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py308 def defaultnamedtuple(typename, field_names, default): argument
338 if isinstance(field_names, str):
339 field_names = field_names.replace(',', ' ').split()
340 field_names = list(map(str, field_names))
341 num_fields = len(field_names)
343 base_cls = collections.namedtuple(typename, field_names)
347 arg = kwargs.get(field_names[i])
365 field_names = [name for name, ty in fields]
366 cls = collections.namedtuple(name, field_names)