Home | History | Annotate | Download | only in libpng

Lines Matching full:num_bytes

19 /* Tells libpng that we have already handled the first "num_bytes" bytes
21 * stream we can set num_bytes = 8 so that libpng will not attempt to read
27 png_set_sig_bytes(png_structp png_ptr, int num_bytes)
34 if (num_bytes > 8)
37 png_ptr->sig_bytes = (png_byte)(num_bytes < 0 ? 0 : num_bytes);
78 png_alloc_size_t num_bytes;
88 num_bytes = (png_alloc_size_t)items * size;
91 ptr = (png_voidp)png_malloc((png_structp)png_ptr, num_bytes);