• Home
  • Raw
  • Download

Lines Matching refs:slength

1068    png_size_t slength, prefix_length, data_length;  in png_handle_iCCP()  local
1102 slength = (png_size_t)length; in png_handle_iCCP()
1103 png_crc_read(png_ptr, (png_bytep)png_ptr->chunkdata, slength); in png_handle_iCCP()
1112 png_ptr->chunkdata[slength] = 0x00; in png_handle_iCCP()
1122 if ( profile >= png_ptr->chunkdata + slength - 1) in png_handle_iCCP()
1141 slength, prefix_length, &data_length); in png_handle_iCCP()
1190 png_size_t slength; in png_handle_sPLT() local
1232 slength = (png_size_t)length; in png_handle_sPLT()
1233 png_crc_read(png_ptr, (png_bytep)png_ptr->chunkdata, slength); in png_handle_sPLT()
1242 png_ptr->chunkdata[slength] = 0x00; in png_handle_sPLT()
1250 if (entry_start > (png_bytep)png_ptr->chunkdata + slength - 2) in png_handle_sPLT()
1260 data_length = (slength - (entry_start - (png_bytep)png_ptr->chunkdata)); in png_handle_sPLT()
1674 png_size_t slength; in png_handle_pCAL() local
1703 slength = (png_size_t)length; in png_handle_pCAL()
1704 png_crc_read(png_ptr, (png_bytep)png_ptr->chunkdata, slength); in png_handle_pCAL()
1713 png_ptr->chunkdata[slength] = 0x00; /* Null terminate the last string */ in png_handle_pCAL()
1719 endptr = png_ptr->chunkdata + slength; in png_handle_pCAL()
1813 png_size_t slength; in png_handle_sCAL() local
1849 slength = (png_size_t)length; in png_handle_sCAL()
1850 png_crc_read(png_ptr, (png_bytep)png_ptr->chunkdata, slength); in png_handle_sCAL()
1859 png_ptr->chunkdata[slength] = 0x00; /* Null terminate the last string */ in png_handle_sCAL()
1890 if (png_ptr->chunkdata + slength < ep) in png_handle_sCAL()
1930 if (png_ptr->chunkdata + slength < ep in png_handle_sCAL()
2016 png_size_t slength; in png_handle_tEXt() local
2061 slength = (png_size_t)length; in png_handle_tEXt()
2062 png_crc_read(png_ptr, (png_bytep)png_ptr->chunkdata, slength); in png_handle_tEXt()
2073 key[slength] = 0x00; in png_handle_tEXt()
2078 if (text != key + slength) in png_handle_tEXt()
2119 png_size_t slength, prefix_len, data_len; in png_handle_zTXt() local
2164 slength = (png_size_t)length; in png_handle_zTXt()
2165 png_crc_read(png_ptr, (png_bytep)png_ptr->chunkdata, slength); in png_handle_zTXt()
2173 png_ptr->chunkdata[slength] = 0x00; in png_handle_zTXt()
2179 if (text >= png_ptr->chunkdata + slength - 2) in png_handle_zTXt()
2240 png_size_t slength, prefix_len, data_len; in png_handle_iTXt() local
2285 slength = (png_size_t)length; in png_handle_iTXt()
2286 png_crc_read(png_ptr, (png_bytep)png_ptr->chunkdata, slength); in png_handle_iTXt()
2294 png_ptr->chunkdata[slength] = 0x00; in png_handle_iTXt()
2305 if (lang >= png_ptr->chunkdata + slength - 3) in png_handle_iTXt()
2322 if (lang_key >= png_ptr->chunkdata + slength) in png_handle_iTXt()
2333 if (text >= png_ptr->chunkdata + slength) in png_handle_iTXt()