Lines Matching defs:method
342 * method error payload types require additional information: it is
591 adr_method_t *method = zalloc(sizeof (adr_method_t));
592 if (method == NULL)
594 result->ao_methods[i] = method;
595 method->am_name = NULL;
596 if (!xdr_string(xdrs, (char **)&method->am_name, -1) ||
597 !xdr_stability_t(xdrs, &method->am_stability) ||
598 !xdr_bool(xdrs, (bool_t *)&method->am_nullable) ||
599 !xdr_r_typeref_t(xdrs, typeset, &method->am_result) ||
600 !xdr_r_errortype_t(xdrs, typeset, &method->am_error) ||
604 method->am_args = zalloc(n * sizeof (adr_parameter_t));
605 if (method->am_args == NULL)
607 method->am_nargs = n;
608 for (int j = 0; j < method->am_nargs; j++) {
609 adr_parameter_t *p = &method->am_args[j];