Lines Matching full:num_bytes
90 /* Tells libpng that we have already handled the first "num_bytes" bytes
92 * stream we can set num_bytes = 8 so that libpng will not attempt to read
98 png_set_sig_bytes(png_structp png_ptr, int num_bytes)
102 if (num_bytes > 8)
105 png_ptr->sig_bytes = (png_byte)(num_bytes < 0 ? 0 : num_bytes);
159 png_uint_32 num_bytes;
167 num_bytes = (png_uint_32)items * size;
170 ptr = (png_voidp)png_malloc((png_structp)png_ptr, num_bytes);
177 if (num_bytes > (png_uint_32)0x8000L)
181 (png_size_t)(num_bytes - (png_uint_32)0x8000L));
185 png_memset(ptr, 0, (png_size_t)num_bytes);