Home | History | Annotate | Download | only in slang

Lines Matching refs:outfile

8         fprintf(stderr, "Usage: %s PREFIX OUTFILE INFILE\n", argv[0]);
24 FILE *outfile = fopen(outfile_name, "w");
26 if (!outfile) {
34 fprintf(outfile, "#ifndef %s_data_pack_h\n", prefix);
35 fprintf(outfile, "#define %s_data_pack_h\n\n", prefix);
39 fprintf(outfile, "#include <stddef.h>\n\n");
43 fprintf(outfile, "static const char %s_data[] =\n", prefix);
57 fprintf(outfile,
71 fprintf(outfile, "\"");
74 fprintf(outfile, "\\x%02x", buf[i]);
77 fprintf(outfile, "\"\n");
86 fprintf(outfile, ";\n\n");
90 fprintf(outfile, "static const size_t %s_size = %lu;\n",
95 fprintf(outfile, "\n#endif\n");
100 fclose(outfile);