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