/external/libpng/ |
H A D | pngpread.c | 137 num_to_check = 8 - num_checked; local 139 if (png_ptr->buffer_size < num_to_check) 141 num_to_check = png_ptr->buffer_size; 145 num_to_check); 146 png_ptr->sig_bytes = (png_byte)(png_ptr->sig_bytes + num_to_check); 148 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check)) 151 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4))
|
H A D | png.c | 54 png_sig_cmp(png_const_bytep sig, png_size_t start, png_size_t num_to_check) argument 58 if (num_to_check > 8) 59 num_to_check = 8; 61 else if (num_to_check < 1) 67 if (start + num_to_check > 8) 68 num_to_check = 8 - start; 70 return ((int)(memcmp(&sig[start], &png_signature[start], num_to_check)));
|
H A D | pngrutil.c | 123 png_size_t num_checked, num_to_check; local 130 num_to_check = 8 - num_checked; 137 png_read_data(png_ptr, &(info_ptr->signature[num_checked]), num_to_check); 140 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check) != 0) 143 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4))
|
H A D | png.h | 943 /* Check sig[start] through sig[start + num_to_check - 1] to see if it's a 945 * signature, and non-zero otherwise. Having num_to_check == 0 or 949 png_size_t num_to_check));
|
/external/pdfium/third_party/libpng16/ |
H A D | pngpread.c | 137 num_to_check = 8 - num_checked; local 139 if (png_ptr->buffer_size < num_to_check) 141 num_to_check = png_ptr->buffer_size; 145 num_to_check); 146 png_ptr->sig_bytes = (png_byte)(png_ptr->sig_bytes + num_to_check); 148 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check)) 151 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4))
|
H A D | png.c | 54 png_sig_cmp(png_const_bytep sig, png_size_t start, png_size_t num_to_check) argument 58 if (num_to_check > 8) 59 num_to_check = 8; 61 else if (num_to_check < 1) 67 if (start + num_to_check > 8) 68 num_to_check = 8 - start; 70 return ((int)(memcmp(&sig[start], &png_signature[start], num_to_check)));
|
H A D | pngrutil.c | 123 png_size_t num_checked, num_to_check; local 130 num_to_check = 8 - num_checked; 137 png_read_data(png_ptr, &(info_ptr->signature[num_checked]), num_to_check); 140 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check) != 0) 143 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4))
|
H A D | png.h | 943 /* Check sig[start] through sig[start + num_to_check - 1] to see if it's a 945 * signature, and non-zero otherwise. Having num_to_check == 0 or 949 png_size_t num_to_check));
|
/external/skia/third_party/libpng/ |
H A D | pngpread.c | 137 num_to_check = 8 - num_checked; local 139 if (png_ptr->buffer_size < num_to_check) 141 num_to_check = png_ptr->buffer_size; 145 num_to_check); 146 png_ptr->sig_bytes = (png_byte)(png_ptr->sig_bytes + num_to_check); 148 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check)) 151 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4))
|
H A D | png.c | 54 png_sig_cmp(png_const_bytep sig, png_size_t start, png_size_t num_to_check) argument 58 if (num_to_check > 8) 59 num_to_check = 8; 61 else if (num_to_check < 1) 67 if (start + num_to_check > 8) 68 num_to_check = 8 - start; 70 return ((int)(memcmp(&sig[start], &png_signature[start], num_to_check)));
|
H A D | pngrutil.c | 123 png_size_t num_checked, num_to_check; local 130 num_to_check = 8 - num_checked; 137 png_read_data(png_ptr, &(info_ptr->signature[num_checked]), num_to_check); 140 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check) != 0) 143 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4))
|
H A D | png.h | 943 /* Check sig[start] through sig[start + num_to_check - 1] to see if it's a 945 * signature, and non-zero otherwise. Having num_to_check == 0 or 949 png_size_t num_to_check));
|
/external/syslinux/com32/lib/libpng/ |
H A D | png.c | 121 png_sig_cmp(png_bytep sig, png_size_t start, png_size_t num_to_check) argument 124 if (num_to_check > 8) 125 num_to_check = 8; 126 else if (num_to_check < 1) 132 if (start + num_to_check > 8) 133 num_to_check = 8 - start; 135 return ((int)(png_memcmp(&sig[start], &png_signature[start], num_to_check)));
|
H A D | pngpread.c | 122 num_to_check = 8 - num_checked; local 124 if (png_ptr->buffer_size < num_to_check) 126 num_to_check = png_ptr->buffer_size; 130 num_to_check); 131 png_ptr->sig_bytes = (png_byte)(png_ptr->sig_bytes + num_to_check); 133 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check)) 136 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4))
|
H A D | pngread.c | 365 num_to_check = 8 - num_checked; local 367 png_read_data(png_ptr, &(info_ptr->signature[num_checked]), num_to_check); 370 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check)) 373 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4))
|
/external/syslinux/com32/include/ |
H A D | png.h | 1569 /* Check sig[start] through sig[start + num_to_check - 1] to see if it's a 1571 * signature, and non-zero otherwise. Having num_to_check == 0 or 1575 png_size_t num_to_check));
|