Lines Matching refs:fp
1323 const sp<AaptFile>& file, FILE* fp, image_info* imageInfo) { in read_png_protected() argument
1328 png_init_io(read_ptr, fp); in read_png_protected()
1378 FILE* fp; in preProcessImage() local
1387 fp = fopen(file->getSourceFile().string(), "rb"); in preProcessImage()
1388 if (fp == NULL) { in preProcessImage()
1404 if (!read_png_protected(read_ptr, printableName, read_info, file, fp, &imageInfo)) { in preProcessImage()
1431 fseek(fp, 0, SEEK_END); in preProcessImage()
1432 size_t oldSize = (size_t)ftell(fp); in preProcessImage()
1443 if (fp) { in preProcessImage()
1444 fclose(fp); in preProcessImage()
1462 FILE* fp; in preProcessImageToCache() local
1476 fp = fopen(source.string(),"rb"); in preProcessImageToCache()
1477 if (fp == NULL) { in preProcessImageToCache()
1485 fclose(fp); in preProcessImageToCache()
1493 fclose(fp); in preProcessImageToCache()
1500 fclose(fp); in preProcessImageToCache()
1506 png_init_io(read_ptr,fp); in preProcessImageToCache()
1513 fseek(fp, 0, SEEK_END); in preProcessImageToCache()
1514 size_t oldSize = (size_t)ftell(fp); in preProcessImageToCache()
1515 fclose(fp); in preProcessImageToCache()
1543 fp = fopen(dest.string(), "wb"); in preProcessImageToCache()
1544 if (!fp) { in preProcessImageToCache()
1551 png_init_io(write_ptr, fp); in preProcessImageToCache()
1555 fclose(fp); in preProcessImageToCache()
1577 fclose(fp); in preProcessImageToCache()