Searched refs:num_to_check (Results 1 – 10 of 10) sorted by relevance
/external/pdfium/third_party/libpng16/ |
D | pngpread.c | 137 size_t 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 | 74 png_sig_cmp(png_const_bytep sig, size_t start, size_t num_to_check) in png_sig_cmp() argument 78 if (num_to_check > 8) in png_sig_cmp() 79 num_to_check = 8; in png_sig_cmp() 81 else if (num_to_check < 1) in png_sig_cmp() 87 if (start + num_to_check > 8) in png_sig_cmp() 88 num_to_check = 8 - start; in png_sig_cmp() 90 return ((int)(memcmp(&sig[start], &png_signature[start], num_to_check))); in png_sig_cmp()
|
D | pngrutil.c | 123 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 | 914 size_t num_to_check));
|
/external/libpng/ |
D | pngpread.c | 137 size_t 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 | 74 png_sig_cmp(png_const_bytep sig, size_t start, size_t num_to_check) in png_sig_cmp() argument 78 if (num_to_check > 8) in png_sig_cmp() 79 num_to_check = 8; in png_sig_cmp() 81 else if (num_to_check < 1) in png_sig_cmp() 87 if (start + num_to_check > 8) in png_sig_cmp() 88 num_to_check = 8 - start; in png_sig_cmp() 90 return ((int)(memcmp(&sig[start], &png_signature[start], num_to_check))); in png_sig_cmp()
|
D | pngrutil.c | 123 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 | 914 size_t num_to_check));
|
/external/pdfium/xfa/fde/ |
D | cfde_texteditengine.h | 188 size_t CountCharsExceedingSize(const WideString& str, size_t num_to_check);
|
D | cfde_texteditengine.cpp | 208 size_t num_to_check) { in CountCharsExceedingSize() argument 235 for (size_t i = 0; i < num_to_check; i++) { in CountCharsExceedingSize()
|