Home | History | Annotate | Download | only in libpng

Lines Matching refs:num_to_check

49 png_sig_cmp(png_const_bytep sig, png_size_t start, png_size_t num_to_check)
53 if (num_to_check > 8)
54 num_to_check = 8;
56 else if (num_to_check < 1)
62 if (start + num_to_check > 8)
63 num_to_check = 8 - start;
65 return ((int)(png_memcmp(&sig[start], &png_signature[start], num_to_check)));