/external/libpng/ |
D | pngpread.c | 136 png_size_t num_checked = png_ptr->sig_bytes, /* SAFE, does not exceed 8 */ in png_push_read_sig() local 137 num_to_check = 8 - num_checked; in png_push_read_sig() 144 png_push_fill_buffer(png_ptr, &(info_ptr->signature[num_checked]), in png_push_read_sig() 148 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check)) in png_push_read_sig() 150 if (num_checked < 4 && in png_push_read_sig() 151 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) in png_push_read_sig()
|
D | pngrutil.c | 123 png_size_t num_checked, num_to_check; in png_read_sig() local 129 num_checked = png_ptr->sig_bytes; in png_read_sig() 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() 142 if (num_checked < 4 && in png_read_sig() 143 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) in png_read_sig() 148 if (num_checked < 3) in png_read_sig()
|
/external/pdfium/third_party/libpng16/ |
D | pngpread.c | 136 png_size_t num_checked = png_ptr->sig_bytes, /* SAFE, does not exceed 8 */ in png_push_read_sig() local 137 num_to_check = 8 - num_checked; in png_push_read_sig() 144 png_push_fill_buffer(png_ptr, &(info_ptr->signature[num_checked]), in png_push_read_sig() 148 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check)) in png_push_read_sig() 150 if (num_checked < 4 && in png_push_read_sig() 151 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) in png_push_read_sig()
|
D | pngrutil.c | 123 png_size_t num_checked, num_to_check; in png_read_sig() local 129 num_checked = png_ptr->sig_bytes; in png_read_sig() 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() 142 if (num_checked < 4 && in png_read_sig() 143 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) in png_read_sig() 148 if (num_checked < 3) in png_read_sig()
|
/external/skia/third_party/libpng/ |
D | pngpread.c | 136 png_size_t num_checked = png_ptr->sig_bytes, /* SAFE, does not exceed 8 */ in png_push_read_sig() local 137 num_to_check = 8 - num_checked; in png_push_read_sig() 144 png_push_fill_buffer(png_ptr, &(info_ptr->signature[num_checked]), in png_push_read_sig() 148 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check)) in png_push_read_sig() 150 if (num_checked < 4 && in png_push_read_sig() 151 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) in png_push_read_sig()
|
D | pngrutil.c | 123 png_size_t num_checked, num_to_check; in png_read_sig() local 129 num_checked = png_ptr->sig_bytes; in png_read_sig() 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() 142 if (num_checked < 4 && in png_read_sig() 143 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) in png_read_sig() 148 if (num_checked < 3) in png_read_sig()
|
/external/syslinux/com32/lib/libpng/ |
D | pngread.c | 364 png_size_t num_checked = png_ptr->sig_bytes, in png_read_info() local 365 num_to_check = 8 - num_checked; in png_read_info() 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() 372 if (num_checked < 4 && in png_read_info() 373 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) in png_read_info() 378 if (num_checked < 3) in png_read_info()
|
D | pngpread.c | 121 png_size_t num_checked = png_ptr->sig_bytes, in png_push_read_sig() local 122 num_to_check = 8 - num_checked; in png_push_read_sig() 129 png_push_fill_buffer(png_ptr, &(info_ptr->signature[num_checked]), in png_push_read_sig() 133 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check)) in png_push_read_sig() 135 if (num_checked < 4 && in png_push_read_sig() 136 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) in png_push_read_sig()
|