Home
last modified time | relevance | path

Searched refs:num_to_check (Results 1 – 14 of 14) sorted by relevance

/external/pdfium/third_party/libpng16/
Dpngpread.c137 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()
Dpng.c54 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()
Dpngrutil.c123 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()
Dpng.h949 png_size_t num_to_check));
/external/libpng/
Dpngpread.c137 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()
Dpng.c74 png_sig_cmp(png_const_bytep sig, png_size_t start, png_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()
Dpngrutil.c123 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()
Dpng.h945 png_size_t num_to_check));
/external/syslinux/com32/lib/libpng/
Dpng.c121 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()
Dpngpread.c122 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()
Dpngread.c365 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/pdfium/xfa/fde/
Dcfde_texteditengine.h184 size_t CountCharsExceedingSize(const WideString& str, size_t num_to_check);
Dcfde_texteditengine.cpp219 size_t num_to_check) { in CountCharsExceedingSize() argument
246 for (size_t i = 0; i < num_to_check; i++) { in CountCharsExceedingSize()
/external/syslinux/com32/include/
Dpng.h1575 png_size_t num_to_check));