Lines Matching defs:ifh
330 FILE * ifh;
354 ifh = fopen(o_images[i], "r+");
355 if (ifh)
357 copy_file(fh, ifh);
358 fclose(ifh);
369 FILE * ifh;
377 ifh = fopen(o_images[i], "r+");
378 if (ifh)
380 fsize = calculate_digest(ifh, 0, digest);
382 rewind(ifh);
392 copy_file(fh, ifh);
395 fclose(ifh);
423 FILE * ifh = NULL;
447 ifh = fopen(o_images[i], "r");
448 if (!ifh) continue;
450 while (!feof(ifh) && !ferror(ifh))
453 fread(&shdr, sizeof(shdr), 1, ifh);
462 m = fread(buf, sizeof(char), (msize < MAX_SEAMA_META_SIZE) ? msize : MAX_SEAMA_META_SIZE, ifh);
469 fread(buf, sizeof(char), 16, ifh);
473 fread(buf, sizeof(char), msize, ifh);
484 m = fread(buf, sizeof(char), (isize < MAX_SEAMA_META_SIZE) ? isize : MAX_SEAMA_META_SIZE, ifh);
497 m = fread(buf, sizeof(char), (isize < MAX_SEAMA_META_SIZE) ? isize : MAX_SEAMA_META_SIZE, ifh);
503 fclose(ifh);