Lines Matching refs:f

195   FILE* f = fopen(filename, "rb");  in ReadZip()  local
196 if (fread(img, 1, st.st_size, f) != st.st_size) { in ReadZip()
198 fclose(f); in ReadZip()
201 fclose(f); in ReadZip()
385 FILE* f = fopen(filename, "rb"); in ReadImage() local
386 if (fread(img, 1, st.st_size, f) != st.st_size) { in ReadImage()
388 fclose(f); in ReadImage()
391 fclose(f); in ReadImage()
653 FILE* f = fopen(ptemp, "rb"); in MakePatch() local
654 if (f == NULL) { in MakePatch()
658 if (fread(data, 1, st.st_size, f) != st.st_size) { in MakePatch()
662 fclose(f); in MakePatch()
810 FILE* f = fopen(argv[2], "rb"); in main() local
811 if (f == NULL) { in main()
815 if (fread(bonus_data, 1, bonus_size, f) != bonus_size) { in main()
819 fclose(f); in main()
1004 FILE* f = fopen(argv[3], "wb"); in main() local
1008 fwrite("IMGDIFF2", 1, 8, f); in main()
1009 Write4(num_tgt_chunks, f); in main()
1011 Write4(tgt_chunks[i].type, f); in main()
1017 Write8(tgt_chunks[i].source_start, f); in main()
1018 Write8(tgt_chunks[i].source_len, f); in main()
1019 Write8(offset, f); in main()
1027 Write8(tgt_chunks[i].source_start, f); in main()
1028 Write8(tgt_chunks[i].source_len, f); in main()
1029 Write8(offset, f); in main()
1030 Write8(tgt_chunks[i].source_uncompressed_len, f); in main()
1031 Write8(tgt_chunks[i].len, f); in main()
1032 Write4(tgt_chunks[i].level, f); in main()
1033 Write4(tgt_chunks[i].method, f); in main()
1034 Write4(tgt_chunks[i].windowBits, f); in main()
1035 Write4(tgt_chunks[i].memLevel, f); in main()
1036 Write4(tgt_chunks[i].strategy, f); in main()
1043 Write4(patch_size[i], f); in main()
1044 fwrite(patch_data[i], 1, patch_size[i], f); in main()
1053 fwrite(patch_data[i], 1, patch_size[i], f); in main()
1057 fclose(f); in main()