• Home
  • Raw
  • Download

Lines Matching refs:prefix_length

2615    png_uint_32 prefix_length;  in png_handle_iTXt()  local
2658 for (prefix_length=0; in png_handle_iTXt()
2659 prefix_length < length && buffer[prefix_length] != 0; in png_handle_iTXt()
2660 ++prefix_length) in png_handle_iTXt()
2664 if (prefix_length > 79 || prefix_length < 1) in png_handle_iTXt()
2671 else if (prefix_length + 5 > length) in png_handle_iTXt()
2674 else if (buffer[prefix_length+1] == 0 || in png_handle_iTXt()
2675 (buffer[prefix_length+1] == 1 && in png_handle_iTXt()
2676 buffer[prefix_length+2] == PNG_COMPRESSION_TYPE_BASE)) in png_handle_iTXt()
2678 int compressed = buffer[prefix_length+1] != 0; in png_handle_iTXt()
2683 prefix_length += 3; in png_handle_iTXt()
2684 language_offset = prefix_length; in png_handle_iTXt()
2686 for (; prefix_length < length && buffer[prefix_length] != 0; in png_handle_iTXt()
2687 ++prefix_length) in png_handle_iTXt()
2691 translated_keyword_offset = ++prefix_length; in png_handle_iTXt()
2693 for (; prefix_length < length && buffer[prefix_length] != 0; in png_handle_iTXt()
2694 ++prefix_length) in png_handle_iTXt()
2702 ++prefix_length; in png_handle_iTXt()
2704 if (compressed == 0 && prefix_length <= length) in png_handle_iTXt()
2705 uncompressed_length = length - prefix_length; in png_handle_iTXt()
2707 else if (compressed != 0 && prefix_length < length) in png_handle_iTXt()
2715 if (png_decompress_chunk(png_ptr, length, prefix_length, in png_handle_iTXt()
2730 buffer[uncompressed_length+prefix_length] = 0; in png_handle_iTXt()
2741 text.text = (png_charp)buffer + prefix_length; in png_handle_iTXt()