Lines Matching refs:f
48 FILE *f = fopen(fileName, "rb"); in readFile() local
51 if (!f) in readFile()
54 if (len != fread(dst, 1, len, f)) in readFile()
57 if (fread(&len, 1, 1, f)) //make sure file is actually over in readFile()
63 fclose(f); in readFile()
70 FILE *f = fopen(fileName, "rb"); in loadFile() local
75 if (!f) { in loadFile()
83 block = fread(dst + total, 1, grow, f); in loadFile()
88 if (!feof(f)) { in loadFile()
92 fclose(f); in loadFile()
97 fclose(f); in loadFile()