Lines Matching defs:crc
137 /* The cast is safe because the crc is a 32-bit value. */
138 png_ptr->crc = (png_uint_32)crc32(0, Z_NULL, 0);
171 uLong crc = png_ptr->crc; /* Should never issue a warning */
181 crc = crc32(crc, ptr, safe_length);
192 /* And the following is always safe because the crc is only 32 bits. */
193 png_ptr->crc = (png_uint_32)crc;
2241 png_uint_32 adler, crc, length;
2248 # define PNG_ICC_CHECKSUM(adler, crc, md5, intent, broke, date, length, fname)\
2249 { adler, crc, length, md5, broke, intent },
2315 uLong crc = 0; /* the value for 0 length data */
2367 if (crc == 0)
2369 crc = crc32(0, NULL, 0);
2370 crc = crc32(crc, profile, length);
2375 if (crc == png_sRGB_checks[i].crc)