Home | History | Annotate | Download | only in etc1tool

Lines Matching refs:pIn

120 int fread_big_endian_uint16(png_uint_32* data, FILE* pIn) {
122 if ((a = fgetc(pIn)) == EOF) {
125 if ((b = fgetc(pIn)) == EOF) {
138 FILE* pIn = NULL;
149 if ((pIn = fopen(pInput, "rb")) == NULL) {
157 if (fread(pngHeader, 1, PNG_HEADER_SIZE, pIn) != PNG_HEADER_SIZE) {
187 png_init_io(png_ptr, pIn);
224 if (pIn) {
225 fclose(pIn);
237 FILE* pIn = NULL;
247 if ((pIn = fopen(pInput, "rb")) == NULL) {
253 if (fread(header, sizeof(header), 1, pIn) != 1) {
274 if (fread(pEncodedData, encodedSize, 1, pIn) != 1) {
280 fclose(pIn);
281 pIn = NULL;
302 if (pIn) {
303 fclose(pIn);