Lines Matching refs:proto
40 def __init__(self, proto='', desc='', ret=''): argument
41 self.proto = proto
66 capture = proto_re.match(self.proto)
105 proto = self.parse_symbol()
106 desc = self.parse_desc(proto)
107 ret = self.parse_ret(proto)
108 return APIElement(proto=proto, desc=desc, ret=ret)
111 proto = self.parse_proto()
112 desc = self.parse_desc(proto)
113 ret = self.parse_ret(proto)
114 return Helper(proto=proto, desc=desc, ret=ret)
143 def parse_desc(self, proto): argument
147 raise Exception("No description section found for " + proto)
166 raise Exception("No description found for " + proto)
169 def parse_ret(self, proto): argument
173 raise Exception("No return section found for " + proto)
192 raise Exception("No return found for " + proto)
213 self.desc_syscalls.append(command.proto)
251 proto = helper.proto_break_down()
252 self.desc_unique_helpers.add(proto['name'])
289 proto = helper.proto_break_down()
290 name = proto['name']
589 proto = helper.proto_break_down()
591 print('**%s %s%s(' % (proto['ret_type'],
592 proto['ret_star'].replace('*', '\\*'),
593 proto['name']),
597 for a in proto['args']:
645 print('**%s**' % (command.proto))
808 proto = helper.proto_break_down()
810 if proto['name'] in self.seen_helpers:
812 self.seen_helpers.add(proto['name'])
815 print(" * %s" % proto['name'])
830 print('static %s %s(*%s)(' % (self.map_type(proto['ret_type']),
831 proto['ret_star'], proto['name']), end='')
833 for i, a in enumerate(proto['args']):
836 if proto['name'] in self.overloaded_helpers and i == 0: