Lines Matching refs:fputs

227 	fputs(writer, hfile);  in output()
228 fputs("#include <zircon/types.h>\n\n", hfile); in output()
231 fputs("\n\n\n", hfile); in output()
237 fputs("};\n\n\n", hfile); in output()
239 fputs("union node {\n", hfile); in output()
244 fputs("};\n\n\n", hfile); in output()
245 fputs("struct nodelist {\n", hfile); in output()
246 fputs("\tstruct nodelist *next;\n", hfile); in output()
247 fputs("\tunion node *n;\n", hfile); in output()
248 fputs("};\n\n\n", hfile); in output()
249 fputs("struct funcnode {\n", hfile); in output()
250 fputs("\tint count;\n", hfile); in output()
251 fputs("\tunion node n;\n", hfile); in output()
252 fputs("};\n\n\n", hfile); in output()
253 fputs("struct funcnode *copyfunc(union node *);\n", hfile); in output()
254 fputs("void freefunc(struct funcnode *);\n", hfile); in output()
255 fputs("zx_status_t codec_encode(struct nodelist *nlist, zx_handle_t *vmo);\n", hfile); in output()
256 fputs("struct nodelist* codec_decode(char *buffer, size_t length);\n", hfile); in output()
258 fputs(writer, cfile); in output()
272 fputs(line, cfile); in output()
299 fputs("\tif (n == NULL)\n", cfile); in outfunc()
301 fputs("\t\treturn;\n", cfile); in outfunc()
303 fputs("\t\treturn NULL;\n", cfile); in outfunc()
305 fputs("\tfuncblocksize += nodesize[n->type];\n", cfile); in outfunc()
307 fputs("\tnew = funcblock;\n", cfile); in outfunc()
308 fputs("\tfuncblock = (char *) funcblock + nodesize[n->type];\n", cfile); in outfunc()
310 fputs("\tswitch (n->type) {\n", cfile); in outfunc()
363 fputs("break;\n", cfile); in outfunc()
365 fputs("\t};\n", cfile); in outfunc()
367 fputs("\tnew->type = n->type;\n", cfile); in outfunc()
378 fputs("\tif (n == NULL)\n", cfile); in outencode()
379 fputs("\t\treturn;\n", cfile); in outencode()
380 fputs("\tswitch (n->type) {\n", cfile); in outencode()
409 fputs("break;\n", cfile); in outencode()
411 fputs("\t};\n", cfile); in outencode()
422 fputs("\tif (*npp == NULL)\n", cfile); in outdecode()
423 fputs("\t\treturn;\n", cfile); in outdecode()
424 fputs("\t*npp = funcblock;\n", cfile); in outdecode()
425 fputs("\tunion node *n = *npp;\n", cfile); in outdecode()
426 fputs("\tfuncblock = (char *) funcblock + nodesize[n->type];\n", cfile); in outdecode()
427 fputs("\tswitch (n->type) {\n", cfile); in outdecode()
454 fputs("break;\n", cfile); in outdecode()
456 fputs("\t};\n", cfile); in outdecode()