Lines Matching full:handles
7 """Translate generic handles into ones optimized for the application.
76 def c_handle_comment(dev, handles): argument
83 if len(handles["depends"]) > 0:
85 for dep in handles["depends"]:
87 if len(handles["injected"]) > 0:
89 for dep in handles["injected"]:
91 if len(handles["supports"]) > 0:
93 for sup in handles["supports"]:
98 def c_handle_array(dev, handles, dynamic_deps, extra_support_handles=0): argument
99 handles = [
100 *[str(d.handle) for d in handles["depends"]],
102 *[str(d.handle) for d in handles["injected"]],
104 *[str(d.handle) for d in handles["supports"]],
116 'extern {:s} {:s}[{:d}];'.format(ctype, dev.ordinals.sym.name, len(handles)),
118 '{:s}[] = {{ {:s} }};'.format(dev.ordinals.sym.name, ', '.join(handles)),