Lines Matching defs:fp
602 process_copyright (FILE *fp)
604 fprintf (fp, "/* This file is automatically generated by i386-gen. Do not edit! */\n\
1044 FILE *fp;
1055 fp = fopen (filename, "r");
1057 if (fp == NULL)
1073 while (!feof (fp))
1075 if (fgets (buf, sizeof (buf), fp) == NULL)
1161 fclose (fp);
1179 FILE *fp;
1187 fp = fopen (filename, "r");
1188 if (fp == NULL)
1195 while (!feof (fp))
1197 if (fgets (buf, sizeof (buf), fp) == NULL)
1251 fclose (fp);
1262 FILE *fp = fopen ("i386-init.h", "w");
1265 if (fp == NULL)
1269 process_copyright (fp);
1273 fprintf (fp, "\n#define %s \\\n", cpu_flag_init[i].name);
1275 process_i386_cpu_flag (fp, init, 1, "", " ", -1);
1281 fprintf (fp, "\n\n#define %s \\\n ", operand_type_init[i].name);
1283 process_i386_operand_type (fp, init, 1, " ", -1);
1286 fprintf (fp, "\n");
1288 fclose (fp);