Home
last modified time | relevance | path

Searched refs:sig_bytes (Results 1 – 10 of 10) 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/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngpread.c153 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()
Dpngstruct.h260 png_byte sig_bytes; /* magic bytes read/written from start of file */ member
Dfx_pngwutil.c60 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()
Dfx_pngrutil.c119 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()
Dfx_png.c36 png_ptr->sig_bytes = (png_byte)(num_bytes < 0 ? 0 : num_bytes); in png_set_sig_bytes()