Lines Matching refs:method
39 #define FMT_METHOD " <method name=\"%s\">\n"
40 #define FMT_METHOD_NOARG " <method name=\"%s\" />\n"
42 #define FMT_METHOD_CLOSE " </method>\n"
165 const struct sbus_method_meta *method;
174 method = &methods[i];
176 if (!METHOD_HAS_ARGS(method)) {
177 WRITE_OR_FAIL(file, ret, done, FMT_METHOD_NOARG, method->name);
181 WRITE_OR_FAIL(file, ret, done, FMT_METHOD, method->name);
183 ret = sbus_introspect_generate_in_args(file, method->in_args);
188 ret = sbus_introspect_generate_out_args(file, method->out_args);