Home
last modified time | relevance | path

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

/external/libpng/
Dpngpread.c136 png_size_t num_checked = png_ptr->sig_bytes, /* SAFE, does not exceed 8 */ in png_push_read_sig()
146 png_ptr->sig_bytes = (png_byte)(png_ptr->sig_bytes + num_to_check); in png_push_read_sig()
159 if (png_ptr->sig_bytes >= 8) in png_push_read_sig()
Dpngstruct.h261 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.c126 if (png_ptr->sig_bytes >= 8) in png_read_sig()
129 num_checked = png_ptr->sig_bytes; in png_read_sig()
138 png_ptr->sig_bytes = 8; in png_read_sig()
Dpng.c42 png_ptr->sig_bytes = (png_byte)nb; in png_set_sig_bytes()
/external/pdfium/third_party/libpng16/
Dpngpread.c136 png_size_t num_checked = png_ptr->sig_bytes, /* SAFE, does not exceed 8 */ in png_push_read_sig()
146 png_ptr->sig_bytes = (png_byte)(png_ptr->sig_bytes + num_to_check); in png_push_read_sig()
159 if (png_ptr->sig_bytes >= 8) in png_push_read_sig()
Dpngstruct.h261 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.c126 if (png_ptr->sig_bytes >= 8) in png_read_sig()
129 num_checked = png_ptr->sig_bytes; in png_read_sig()
138 png_ptr->sig_bytes = 8; in png_read_sig()
Dpng.c42 png_ptr->sig_bytes = (png_byte)nb; in png_set_sig_bytes()
/external/skia/third_party/libpng/
Dpngpread.c136 png_size_t num_checked = png_ptr->sig_bytes, /* SAFE, does not exceed 8 */ in png_push_read_sig()
146 png_ptr->sig_bytes = (png_byte)(png_ptr->sig_bytes + num_to_check); in png_push_read_sig()
159 if (png_ptr->sig_bytes >= 8) in png_push_read_sig()
Dpngstruct.h261 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.c126 if (png_ptr->sig_bytes >= 8) in png_read_sig()
129 num_checked = png_ptr->sig_bytes; in png_read_sig()
138 png_ptr->sig_bytes = 8; in png_read_sig()
Dpng.c42 png_ptr->sig_bytes = (png_byte)nb; in png_set_sig_bytes()
/external/syslinux/com32/lib/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()
/external/syslinux/com32/include/
Dpng.h1323 png_byte sig_bytes PNG_DEPSTRUCT; /* magic bytes read/written from start of file */