Lines Matching refs:length

115  * length, and does not need to be null terminated.  To be safe, pass the
117 * where the others are defined. The length is the length of the data.
124 png_const_bytep data, png_size_t length)
129 png_write_chunk_start(png_ptr, chunk_name, (png_uint_32)length);
130 png_write_chunk_data(png_ptr, data, (png_size_t)length);
140 png_uint_32 length)
144 png_debug2(0, "Writing %s chunk, length = %lu", chunk_name,
145 (unsigned long)length);
157 /* Write the length and the chunk name */
158 png_save_uint_32(buf, length);
185 png_size_t length)
191 if (data != NULL && length > 0)
193 png_write_data(png_ptr, data, length);
198 png_calculate_crc(png_ptr, data, length);
375 png_size_t input_len; /* Its length */
567 /* Text length is number of buffers plus last buffer */
971 png_write_IDAT(png_structp png_ptr, png_bytep data, png_size_t length)
993 if (length >= 2 &&
996 /* Compute the maximum possible length of the datastream */
1045 png_write_chunk(png_ptr, png_IDAT, data, length);
1142 "Embedded profile length in iCCP chunk is negative");
1151 "Embedded profile length too large in iCCP chunk");
1160 "Truncating profile to actual length in iCCP chunk");
1535 * length, forbids leading or trailing whitespace, multiple internal spaces,
1536 * and the non-break space (0x80) from ISO 8859-1. Returns keyword length.
1557 png_warning(png_ptr, "zero length keyword");
1648 png_warning(png_ptr, "Zero length keyword");
1653 png_warning(png_ptr, "keyword length must be 1 - 79 characters");
1739 /* Compute the compressed data; do it now for the length */
1809 /* Compute the compressed data; do it now for the length */
1902 png_debug1(3, "pCAL purpose length = %d", (int)purpose_len);
1904 png_debug1(3, "pCAL units length = %d", (int)units_len);
1910 /* Find the length of each parameter, making sure we don't count the
1916 png_debug2(3, "pCAL parameter %d length = %lu", i,
1921 png_debug1(3, "pCAL total length = %d", (int)total_len);
1971 png_debug1(3, "sCAL total length = %u", (unsigned int)total_len);