/external/libpng/ |
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))
|
png.c | 54 png_sig_cmp(png_const_bytep sig, png_size_t start, png_size_t num_to_check) 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))); [all...] |
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)) [all...] |
png.h | [all...] |
/external/opencv3/3rdparty/libpng/ |
pngpread.c | 155 num_to_check = 8 - num_checked; local 157 if (png_ptr->buffer_size < num_to_check) 159 num_to_check = png_ptr->buffer_size; 163 num_to_check); 164 png_ptr->sig_bytes = (png_byte)(png_ptr->sig_bytes + num_to_check); 166 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check)) 169 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) [all...] |
png.c | 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))); [all...] |
pngrutil.c | 119 png_size_t num_checked, num_to_check; local 126 num_to_check = 8 - num_checked; 133 png_read_data(png_ptr, &(info_ptr->signature[num_checked]), num_to_check); 136 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check)) 139 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) [all...] |
png.h | [all...] |
/external/pdfium/third_party/lpng_v163/ |
pngpread.c | 154 num_to_check = 8 - num_checked;
local 156 if (png_ptr->buffer_size < num_to_check)
158 num_to_check = png_ptr->buffer_size;
162 num_to_check);
163 png_ptr->sig_bytes = (png_byte)(png_ptr->sig_bytes + num_to_check);
165 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check))
168 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4))
[all...] |
png.c | 48 png_sig_cmp(png_const_bytep sig, png_size_t start, png_size_t num_to_check)
52 if (num_to_check > 8)
53 num_to_check = 8;
55 else if (num_to_check < 1)
61 if (start + num_to_check > 8)
62 num_to_check = 8 - start;
64 return ((int)(memcmp(&sig[start], &png_signature[start], num_to_check)));
[all...] |
pngrutil.c | 116 png_size_t num_checked, num_to_check;
local 123 num_to_check = 8 - num_checked;
130 png_read_data(png_ptr, &(info_ptr->signature[num_checked]), 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))
[all...] |
png.h | [all...] |
/ndk/tests/build/issue20862-libpng-O0/jni/ |
png.h | [all...] |