Searched refs:PNG_BYTES_TO_CHECK (Results 1 – 2 of 2) sorted by relevance
57 #define PNG_BYTES_TO_CHECK 460 char buf[PNG_BYTES_TO_CHECK];67 if (fread(buf, 1, PNG_BYTES_TO_CHECK, *fp) != PNG_BYTES_TO_CHECK)73 return(!png_sig_cmp(buf, (png_size_t)0, PNG_BYTES_TO_CHECK));
87 #define PNG_BYTES_TO_CHECK 4 macro1132 char buf[PNG_BYTES_TO_CHECK]; in DFactory()1133 if (stream->read(buf, PNG_BYTES_TO_CHECK) == PNG_BYTES_TO_CHECK && in DFactory()1134 !png_sig_cmp((png_bytep) buf, (png_size_t)0, PNG_BYTES_TO_CHECK)) { in DFactory()