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.py205 def defaultnamedtuple(typename, field_names, default): argument
235 if isinstance(field_names, str):
236 field_names = field_names.replace(',', ' ').split()
237 field_names = list(map(str, field_names))
238 num_fields = len(field_names)
240 base_cls = collections.namedtuple(typename, field_names)
244 arg = kwargs.get(field_names[i])
262 field_names = [name for name, ty in fields]
263 cls = collections.namedtuple(name, field_names)