Home | History | Annotate | Download | only in core

Lines Matching refs:fFILE

197     fFILE = file ? sk_fopen(fName.c_str(), kRead_SkFILE_Flag) : NULL;
202 if (fFILE)
203 sk_fclose(fFILE);
209 if (fFILE)
211 sk_fclose(fFILE);
212 fFILE = NULL;
215 fFILE = sk_fopen(fName.c_str(), kRead_SkFILE_Flag);
225 if (fFILE)
227 if (sk_frewind(fFILE))
230 sk_fclose(fFILE);
231 fFILE = NULL;
238 if (fFILE)
241 return sk_fgetsize(fFILE);
243 return sk_fread(buffer, size, fFILE);
509 fFILE = sk_fopen(path, kWrite_SkFILE_Flag);
514 if (fFILE)
515 sk_fclose(fFILE);
520 if (fFILE == NULL)
523 if (sk_fwrite(buffer, size, fFILE) != size)
526 sk_fclose(fFILE);
527 fFILE = NULL;
535 if (fFILE)
536 sk_fflush(fFILE);