Lines Matching defs:fic
399 FILE *fic = NULL;
407 fic = fopen (name, "wb");
408 if (fic != NULL)
409 fclose (fic);
411 fic = fopen (name, "rb");
412 if (fic != NULL)
414 fread (buffer, 64, 1, fic);
415 fclose (fic);
9378 FILE *fic;
9390 fic = fopen (titre, "wb");
9391 if (fic == NULL)
9396 fwrite (data, 1, len, fic);
9397 fclose (fic);
9404 FILE *fic;
9416 fic = fopen (titre, "wb");
9417 if (fic == NULL)
9422 fprintf (fic, "P5\n%d %d\n255\n", width, height);
9423 fwrite (data, width, height, fic);
9424 fclose (fic);
9433 FILE *fic;
9446 fic = fopen (titre, "wb");
9447 if (fic == NULL)
9452 fprintf (fic, "P6\n%d %d\n255\n", width, height);
9457 fputc (data[3 * y * width + 2 * width + x], fic);
9458 fputc (data[3 * y * width + width + x], fic);
9459 fputc (data[3 * y * width + x], fic);
9462 fclose (fic);
9469 FILE *fic;
9482 fic = fopen (titre, "wb");
9483 fprintf (fic, "P6\n%d %d\n255\n", width, height);
9484 if (fic == NULL)
9493 fputc (data[3 * y * width + x * 3], fic);
9494 fputc (data[3 * y * width + x * 3 + 1], fic);
9495 fputc (data[3 * y * width + x * 3 + 2], fic);
9498 fclose (fic);