Lines Matching refs:self
71 def __init__(self):
72 super(PrintCode, self).__init__()
74 self.name = 'gl_marshal.py'
75 self.license = license.bsd_license_template % (
78 def printRealHeader(self):
81 def printRealFooter(self):
84 def print_sync_call(self, func, unmarshal = 0):
95 def print_sync_body(self, func):
105 self.print_sync_call(func)
110 def print_async_dispatch(self, func):
159 def get_type_size(self, str):
196 def print_async_struct(self, func):
210 for p in sorted(fixed_params, key=lambda p: self.get_type_size(p.type_string())):
235 def print_async_unmarshal(self, func):
285 self.print_sync_call(func, unmarshal = 1)
295 def validate_count_or_fallback(self, func):
313 self.print_sync_call(func)
317 def print_async_marshal(self, func):
346 self.print_sync_call(func)
350 self.validate_count_or_fallback(func)
352 self.print_async_dispatch(func)
357 def print_async_body(self, func):
359 self.print_async_struct(func)
360 self.print_async_unmarshal(func)
361 self.print_async_marshal(func)
365 def print_unmarshal_dispatch_cmd(self, api):
377 def print_create_marshal_table(self, api):
425 def printBody(self, api):
428 self.print_unmarshal_dispatch_cmd(api)
429 self.print_create_marshal_table(api)
444 self.print_async_body(func)
446 self.print_sync_body(func)