Searched defs:num_to_check (Results 1 - 6 of 6) sorted by relevance
/external/libpng/ |
H A D | 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))
|
H A D | pngrutil.c | 117 png_size_t num_checked, num_to_check; local 124 num_to_check = 8 - num_checked; 131 png_read_data(png_ptr, &(info_ptr->signature[num_checked]), num_to_check); 134 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check)) 137 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4))
|
H A D | png.c | 49 png_sig_cmp(png_const_bytep sig, png_size_t start, png_size_t num_to_check) argument 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)(memcmp(&sig[start], &png_signature[start], num_to_check)));
|
/external/pdfium/samples/fx_lpng/lpng_v163/ |
H A D | fx_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))
|
H A D | fx_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))
|
H A D | fx_png.c | 48 png_sig_cmp(png_const_bytep sig, png_size_t start, png_size_t num_to_check)
argument 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)));
|
Completed in 111 milliseconds