Searched refs:sig_bytes (Results 1 – 10 of 10) sorted by relevance
154 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()
307 png_byte sig_bytes; /* magic bytes read/written from start of file */ member
61 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()
120 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()
37 png_ptr->sig_bytes = (png_byte)(num_bytes < 0 ? 0 : num_bytes); in png_set_sig_bytes()
153 png_size_t num_checked = png_ptr->sig_bytes, /* SAFE, does not exceed 8 */ in png_push_read_sig()163 png_ptr->sig_bytes = (png_byte)(png_ptr->sig_bytes + num_to_check); in png_push_read_sig()176 if (png_ptr->sig_bytes >= 8) in png_push_read_sig()
260 png_byte sig_bytes; /* magic bytes read/written from start of file */ member
60 png_write_data(png_ptr, &png_signature[png_ptr->sig_bytes], in png_write_sig()61 (png_size_t)(8 - png_ptr->sig_bytes)); in png_write_sig()63 if (png_ptr->sig_bytes < 3) in png_write_sig()
119 if (png_ptr->sig_bytes >= 8) in png_read_sig()122 num_checked = png_ptr->sig_bytes; in png_read_sig()131 png_ptr->sig_bytes = 8; in png_read_sig()
36 png_ptr->sig_bytes = (png_byte)(num_bytes < 0 ? 0 : num_bytes); in png_set_sig_bytes()