Lines Matching refs:meth

262 def method_function_pointer(meth, name, with_names=False):
263 if meth.use_raw_handler():
269 method_arg_types(meth.in_args, with_names))
333 for meth in iface.methods:
334 if meth.use_raw_handler() or not meth.in_args:
336 signature = meth.in_signature()
339 forward_method_invoker(signature, meth.in_args)
340 invokers[signature] = meth
344 for (signature, meth) in invokers.items():
345 source_method_invoker(signature, meth.in_args)
347 def source_finisher(meth):
350 meth.fq_c_name(), method_arg_types(meth.out_args, with_names=True))
353 for arg in meth.out_args:
358 for arg in meth.out_args:
370 def header_reply(meth):
371 for arg in meth.out_args:
377 types = [arg.sssd_type for arg in meth.in_args]
389 for meth in methods:
390 if meth.in_args:
391 source_args(meth, meth.in_args, "__in")
392 if meth.out_args:
393 source_args(meth, meth.out_args, "__out")
395 if not meth.use_raw_handler():
396 source_finisher(meth)
401 for meth in methods:
403 out(" \"%s\", /* name */", meth.name)
404 if meth.in_args:
405 out(" %s__in,", meth.fq_c_name())
408 if meth.out_args:
409 out(" %s__out,", meth.fq_c_name())
412 out(" offsetof(struct %s, %s),", iface.c_name(), meth.c_name())
413 if meth.use_raw_handler() or not meth.in_args:
416 out(" invoke_%s_method,", meth.in_signature())
528 def header_finisher(iface, meth):
529 if meth.use_raw_handler():
532 out("/* finish function for %s */", meth.name)
534 meth.fq_c_name(), method_arg_types(meth.out_args, with_names=True))
543 for meth in iface.methods:
544 out(" %s;", method_function_pointer(meth, meth.c_name(), with_names=True))
554 for meth in iface.methods:
555 out("#define %s \"%s\"", meth.fq_c_name().upper(), meth.name)
604 for meth in iface.methods:
605 header_finisher(iface, meth)