Lines Matching refs:pOut
109 int fwrite_big_endian_uint16(png_uint_32 data, FILE* pOut) { in fwrite_big_endian_uint16() argument
110 if (fputc(0xff & (data >> 8), pOut) == EOF) { in fwrite_big_endian_uint16()
113 if (fputc(0xff & data, pOut) == EOF) { in fwrite_big_endian_uint16()
314 FILE* pOut = NULL; in encode() local
337 if ((pOut = fopen(pOutput, "wb")) == NULL) { in encode()
345 if (fwrite(header, sizeof(header), 1, pOut) != 1) { in encode()
353 if (fwrite(pEncodedData, encodedSize, 1, pOut) != 1) { in encode()
360 fclose(pOut); in encode()
361 pOut = NULL; in encode()
399 if (pOut) { in encode()
400 fclose(pOut); in encode()
408 FILE* pOut = NULL; in writePNGFile() local
423 if ((pOut = fopen(pOutput, "wb")) == NULL) { in writePNGFile()
428 png_init_io(png_ptr, pOut); in writePNGFile()
447 if (pOut) { in writePNGFile()
448 fclose(pOut); in writePNGFile()