/external/libpng/ |
D | pngpread.c | 137 num_to_check = 8 - num_checked; in png_push_read_sig() local 139 if (png_ptr->buffer_size < num_to_check) in png_push_read_sig() 141 num_to_check = png_ptr->buffer_size; in png_push_read_sig() 145 num_to_check); in png_push_read_sig() 146 png_ptr->sig_bytes = (png_byte)(png_ptr->sig_bytes + num_to_check); in png_push_read_sig() 148 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check)) in png_push_read_sig() 151 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) in png_push_read_sig()
|
D | png.c | 54 png_sig_cmp(png_const_bytep sig, png_size_t start, png_size_t num_to_check) in png_sig_cmp() argument 58 if (num_to_check > 8) in png_sig_cmp() 59 num_to_check = 8; in png_sig_cmp() 61 else if (num_to_check < 1) in png_sig_cmp() 67 if (start + num_to_check > 8) in png_sig_cmp() 68 num_to_check = 8 - start; in png_sig_cmp() 70 return ((int)(memcmp(&sig[start], &png_signature[start], num_to_check))); in png_sig_cmp()
|
D | pngrutil.c | 123 png_size_t num_checked, num_to_check; in png_read_sig() local 130 num_to_check = 8 - num_checked; in png_read_sig() 137 png_read_data(png_ptr, &(info_ptr->signature[num_checked]), num_to_check); in png_read_sig() 140 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check) != 0) in png_read_sig() 143 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) in png_read_sig()
|
D | png.h | 949 png_size_t num_to_check));
|
/external/pdfium/third_party/libpng16/ |
D | pngpread.c | 137 num_to_check = 8 - num_checked; in png_push_read_sig() local 139 if (png_ptr->buffer_size < num_to_check) in png_push_read_sig() 141 num_to_check = png_ptr->buffer_size; in png_push_read_sig() 145 num_to_check); in png_push_read_sig() 146 png_ptr->sig_bytes = (png_byte)(png_ptr->sig_bytes + num_to_check); in png_push_read_sig() 148 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check)) in png_push_read_sig() 151 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) in png_push_read_sig()
|
D | png.c | 54 png_sig_cmp(png_const_bytep sig, png_size_t start, png_size_t num_to_check) in png_sig_cmp() argument 58 if (num_to_check > 8) in png_sig_cmp() 59 num_to_check = 8; in png_sig_cmp() 61 else if (num_to_check < 1) in png_sig_cmp() 67 if (start + num_to_check > 8) in png_sig_cmp() 68 num_to_check = 8 - start; in png_sig_cmp() 70 return ((int)(memcmp(&sig[start], &png_signature[start], num_to_check))); in png_sig_cmp()
|
D | pngrutil.c | 123 png_size_t num_checked, num_to_check; in png_read_sig() local 130 num_to_check = 8 - num_checked; in png_read_sig() 137 png_read_data(png_ptr, &(info_ptr->signature[num_checked]), num_to_check); in png_read_sig() 140 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check) != 0) in png_read_sig() 143 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) in png_read_sig()
|
D | png.h | 949 png_size_t num_to_check));
|
/external/syslinux/com32/lib/libpng/ |
D | png.c | 121 png_sig_cmp(png_bytep sig, png_size_t start, png_size_t num_to_check) in png_sig_cmp() argument 124 if (num_to_check > 8) in png_sig_cmp() 125 num_to_check = 8; in png_sig_cmp() 126 else if (num_to_check < 1) in png_sig_cmp() 132 if (start + num_to_check > 8) in png_sig_cmp() 133 num_to_check = 8 - start; in png_sig_cmp() 135 return ((int)(png_memcmp(&sig[start], &png_signature[start], num_to_check))); in png_sig_cmp()
|
D | pngpread.c | 122 num_to_check = 8 - num_checked; in png_push_read_sig() local 124 if (png_ptr->buffer_size < num_to_check) in png_push_read_sig() 126 num_to_check = png_ptr->buffer_size; in png_push_read_sig() 130 num_to_check); in png_push_read_sig() 131 png_ptr->sig_bytes = (png_byte)(png_ptr->sig_bytes + num_to_check); in png_push_read_sig() 133 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check)) in png_push_read_sig() 136 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) in png_push_read_sig()
|
D | pngread.c | 365 num_to_check = 8 - num_checked; in png_read_info() local 367 png_read_data(png_ptr, &(info_ptr->signature[num_checked]), num_to_check); in png_read_info() 370 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check)) in png_read_info() 373 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) in png_read_info()
|
/external/skia/third_party/libpng/ |
D | pngpread.c | 137 num_to_check = 8 - num_checked; in png_push_read_sig() local 139 if (png_ptr->buffer_size < num_to_check) in png_push_read_sig() 141 num_to_check = png_ptr->buffer_size; in png_push_read_sig() 145 num_to_check); in png_push_read_sig() 146 png_ptr->sig_bytes = (png_byte)(png_ptr->sig_bytes + num_to_check); in png_push_read_sig() 148 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check)) in png_push_read_sig() 151 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) in png_push_read_sig()
|
D | png.c | 54 png_sig_cmp(png_const_bytep sig, png_size_t start, png_size_t num_to_check) in png_sig_cmp() argument 58 if (num_to_check > 8) in png_sig_cmp() 59 num_to_check = 8; in png_sig_cmp() 61 else if (num_to_check < 1) in png_sig_cmp() 67 if (start + num_to_check > 8) in png_sig_cmp() 68 num_to_check = 8 - start; in png_sig_cmp() 70 return ((int)(memcmp(&sig[start], &png_signature[start], num_to_check))); in png_sig_cmp()
|
D | pngrutil.c | 123 png_size_t num_checked, num_to_check; in png_read_sig() local 130 num_to_check = 8 - num_checked; in png_read_sig() 137 png_read_data(png_ptr, &(info_ptr->signature[num_checked]), num_to_check); in png_read_sig() 140 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check) != 0) in png_read_sig() 143 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) in png_read_sig()
|
D | png.h | 949 png_size_t num_to_check));
|
/external/syslinux/com32/include/ |
D | png.h | 1575 png_size_t num_to_check));
|