Lines Matching refs:func
85 for func in api.functionIterateByOffset():
86 name = func.dispatch_name()
87 self.printFunctionString(func.name)
88 table.append((base_offset, "gl" + name, "gl" + name, "NULL", func.offset))
93 base_offset += len(func.name) + 3
96 for func in api.functionIterateByOffset():
97 for n in func.entry_points:
98 if n != func.name:
99 name = func.dispatch_name()
102 if func.has_different_protocol(n):
103 alt_name = "gl" + func.static_glx_name(n)
104 table.append((base_offset, "gl" + name, alt_name, alt_name, func.offset))
106 table.append((base_offset, "gl" + name, "gl" + name, "NULL", func.offset))
115 for func in api.functionIterateByOffset():
116 for n in func.entry_points:
117 if (not func.is_static_entry_point(func.name)) or (func.has_different_protocol(n) and not func.is_static_entry_point(n)):
118 print('%s GLAPIENTRY gl_dispatch_stub_%u(%s);' % (func.return_type, func.offset, func.get_parameter_string()))
123 for func in api.functionIterateByOffset():
124 for n in func.entry_points:
130 % (func.return_type, "gl" + n, func.get_parameter_string(n))