Lines Matching defs:proc

82 	proc_list *proc;
85 for (proc = vp->procs; proc != NULL; proc = proc->next) {
88 ptype(proc->res_prefix, proc->res_type, 1);
90 pvname(proc->proc_name, vp->vers_num);
91 printarglist(proc, RESULT, "clnt", "CLIENT *");
94 pvname(proc->proc_name, vp->vers_num);
95 printarglist(proc, RESULT, "clnt", "CLIENT *");
99 printbody(proc);
115 printarglist(proc_list *proc, const char *result, const char *addargname,
124 ptype(proc->args.decls->decl.prefix,
125 proc->args.decls->decl.type, 1);
129 ptype(proc->res_prefix, proc->res_type, 1);
134 } else if (streq(proc->args.decls->decl.type, "void")) {
138 ptype(proc->res_prefix, proc->res_type, 1);
146 for (l = proc->args.decls; l != NULL; l = l->next) {
147 pdeclaration(proc->args.argname, &l->decl, 0, ", ");
150 ptype(proc->res_prefix, proc->res_type, 1);
171 printbody(proc_list *proc)
174 bool_t args2 = (proc->arg_num > 1);
183 f_print(fout, "\t%s", proc->args.argname);
188 if (streq(proc->res_type, "void")) {
191 ptype(proc->res_prefix, proc->res_type, 0);
196 ampr(proc->res_type), RESULT, RESULT);
200 (streq(proc->args.decls->decl.type, "void"))) {
210 proc->proc_name);
213 stringfix(proc->res_type), (mtflag)?"":ampr(proc->res_type),
226 for (l = proc->args.decls; l != NULL; l = l->next) {
236 proc->proc_name,proc->args.argname);
239 stringfix(proc->res_type), (mtflag)?"":ampr(proc->res_type),
249 proc->proc_name,
250 stringfix(proc->args.decls->decl.type),
252 (newstyle ? proc->args.decls->decl.name : "argp"),
253 stringfix(proc->res_type), ampr(proc->res_type),
259 proc->proc_name,
260 stringfix(proc->args.decls->decl.type),
262 (newstyle ? proc->args.decls->decl.name : "argp"),
263 stringfix(proc->res_type), "",
270 if (streq(proc->res_type, "void")) {
272 ampr(proc->res_type), RESULT);
275 ampr(proc->res_type), RESULT);