Home
last modified time | relevance | path

Searched refs:sig_bytes (Results 1 – 15 of 15) sorted by relevance

/external/libpng/
Dpngpread.c154 png_size_t num_checked = png_ptr->sig_bytes, /* SAFE, does not exceed 8 */ in png_push_read_sig()
164 png_ptr->sig_bytes = (png_byte)(png_ptr->sig_bytes + num_to_check); in png_push_read_sig()
177 if (png_ptr->sig_bytes >= 8) in png_push_read_sig()
Dpngstruct.h307 png_byte sig_bytes; /* magic bytes read/written from start of file */ member
Dpngwutil.c61 png_write_data(png_ptr, &png_signature[png_ptr->sig_bytes], in png_write_sig()
62 (png_size_t)(8 - png_ptr->sig_bytes)); in png_write_sig()
64 if (png_ptr->sig_bytes < 3) in png_write_sig()
Dpngrutil.c120 if (png_ptr->sig_bytes >= 8) in png_read_sig()
123 num_checked = png_ptr->sig_bytes; in png_read_sig()
132 png_ptr->sig_bytes = 8; in png_read_sig()
Dpng.c37 png_ptr->sig_bytes = (png_byte)(num_bytes < 0 ? 0 : num_bytes); in png_set_sig_bytes()
/external/chromium_org/third_party/libpng/
Dpngpread.c121 png_size_t num_checked = png_ptr->sig_bytes, in png_push_read_sig()
131 png_ptr->sig_bytes = (png_byte)(png_ptr->sig_bytes + num_to_check); in png_push_read_sig()
143 if (png_ptr->sig_bytes >= 8) in png_push_read_sig()
Dpngread.c362 if (png_ptr->sig_bytes < 8) in png_read_info()
364 png_size_t num_checked = png_ptr->sig_bytes, in png_read_info()
368 png_ptr->sig_bytes = 8; in png_read_info()
Dpngwutil.c68 png_write_data(png_ptr, &png_signature[png_ptr->sig_bytes], in png_write_sig()
69 (png_size_t)(8 - png_ptr->sig_bytes)); in png_write_sig()
70 if (png_ptr->sig_bytes < 3) in png_write_sig()
Dpng.c109 png_ptr->sig_bytes = (png_byte)(num_bytes < 0 ? 0 : num_bytes); in png_set_sig_bytes()
Dpng.h1328 png_byte sig_bytes PNG_DEPSTRUCT; /* magic bytes read/written from start of file */
/external/qemu/distrib/libpng-1.2.46/
Dpngpread.c121 png_size_t num_checked = png_ptr->sig_bytes, in png_push_read_sig()
131 png_ptr->sig_bytes = (png_byte)(png_ptr->sig_bytes + num_to_check); in png_push_read_sig()
143 if (png_ptr->sig_bytes >= 8) in png_push_read_sig()
Dpngread.c366 if (png_ptr->sig_bytes < 8) in png_read_info()
368 png_size_t num_checked = png_ptr->sig_bytes, in png_read_info()
372 png_ptr->sig_bytes = 8; in png_read_info()
Dpng.c110 png_ptr->sig_bytes = (png_byte)(num_bytes < 0 ? 0 : num_bytes); in png_set_sig_bytes()
Dpngwutil.c68 png_write_data(png_ptr, &png_signature[png_ptr->sig_bytes], in png_write_sig()
69 (png_size_t)(8 - png_ptr->sig_bytes)); in png_write_sig()
70 if (png_ptr->sig_bytes < 3) in png_write_sig()
Dpng.h1381 png_byte sig_bytes PNG_DEPSTRUCT; /* magic bytes read/written from start of file */