Lines Matching refs:fp
13 FILE* fp;
20 fp = fopen(nameBuf, "w");
21 if (fp == NULL) {
26 fprintf(fp, "interface Interface%03d {\n", i);
28 fprintf(fp, " int func%03d();\n", i);
29 fprintf(fp, "}\n");
30 fclose(fp);
33 fp = fopen("func-decl", "w");
34 fprintf(fp, " implements\n");
36 fprintf(fp, " Interface%03d%s\n", i, (i == count-1) ? "" : ",");
38 fprintf(fp, "\n");
40 fprintf(fp, " public int func%03d() { return %d; }\n", i, i);
42 fclose(fp);