• Home
  • Raw
  • Download

Lines Matching refs:prefix_length

2700    png_uint_32 prefix_length;  in png_handle_iTXt()  local
2743 for (prefix_length=0; in png_handle_iTXt()
2744 prefix_length < length && buffer[prefix_length] != 0; in png_handle_iTXt()
2745 ++prefix_length) in png_handle_iTXt()
2749 if (prefix_length > 79 || prefix_length < 1) in png_handle_iTXt()
2756 else if (prefix_length + 5 > length) in png_handle_iTXt()
2759 else if (buffer[prefix_length+1] == 0 || in png_handle_iTXt()
2760 (buffer[prefix_length+1] == 1 && in png_handle_iTXt()
2761 buffer[prefix_length+2] == PNG_COMPRESSION_TYPE_BASE)) in png_handle_iTXt()
2763 int compressed = buffer[prefix_length+1] != 0; in png_handle_iTXt()
2768 prefix_length += 3; in png_handle_iTXt()
2769 language_offset = prefix_length; in png_handle_iTXt()
2771 for (; prefix_length < length && buffer[prefix_length] != 0; in png_handle_iTXt()
2772 ++prefix_length) in png_handle_iTXt()
2776 translated_keyword_offset = ++prefix_length; in png_handle_iTXt()
2778 for (; prefix_length < length && buffer[prefix_length] != 0; in png_handle_iTXt()
2779 ++prefix_length) in png_handle_iTXt()
2787 ++prefix_length; in png_handle_iTXt()
2789 if (compressed == 0 && prefix_length <= length) in png_handle_iTXt()
2790 uncompressed_length = length - prefix_length; in png_handle_iTXt()
2792 else if (compressed != 0 && prefix_length < length) in png_handle_iTXt()
2800 if (png_decompress_chunk(png_ptr, length, prefix_length, in png_handle_iTXt()
2815 buffer[uncompressed_length+prefix_length] = 0; in png_handle_iTXt()
2826 text.text = (png_charp)buffer + prefix_length; in png_handle_iTXt()