Lines Matching refs:printh
80 function printh(s) {if (opt_h) print s > htmpfilename;} function
153 printh("#ifndef _" intname "_if_h_");
154 printh("#define _" intname "_if_h_\n");
303 printh("/** @brief Unique descriptor for the " umname "() method */");
304 printh("extern struct kobjop_desc " mname "_desc;");
306 printh("/** @brief A function implementing the " umname "() method */");
308 printh(format_line(prototype argument_list ");",
317 printh(doc);
319 printh("static __inline " ret " " umname "(" varname_list ")");
320 printh("\t" join(";\n\t", arguments, num_arguments) ";");
324 printh(format_line(prototype argument_list ")",
327 printh("{");
329 printh("\tstatic kobjop_t _m;");
331 printh("\tkobjop_t _m;");
333 printh("\t" ret " rc;");
337 printh(prolog);
339 printh("\tif (_m == NULL)");
340 printh("\tKOBJOPLOOKUP(" firstvar "->ops," mname ");");
342 printh("\t" rceq "((" mname "_t *) _m)(" varname_list ");");
344 printh(epilog);
346 printh("\treturn (rc);");
347 printh("}\n");
452 printh(common_head);
485 printh(lastdoc);
491 printh(handle_code());
518 printh("#endif /* _" intname "_if_h_ */");