• Home
  • Raw
  • Download

Lines Matching refs:slength

1051    png_size_t slength, prefix_length, data_length;  in png_handle_iCCP()  local
1085 slength = (png_size_t)length; in png_handle_iCCP()
1086 png_crc_read(png_ptr, (png_bytep)png_ptr->chunkdata, slength); in png_handle_iCCP()
1095 png_ptr->chunkdata[slength] = 0x00; in png_handle_iCCP()
1105 if ( profile >= png_ptr->chunkdata + slength - 1) in png_handle_iCCP()
1124 slength, prefix_length, &data_length); in png_handle_iCCP()
1173 png_size_t slength; in png_handle_sPLT() local
1215 slength = (png_size_t)length; in png_handle_sPLT()
1216 png_crc_read(png_ptr, (png_bytep)png_ptr->chunkdata, slength); in png_handle_sPLT()
1225 png_ptr->chunkdata[slength] = 0x00; in png_handle_sPLT()
1233 if (entry_start > (png_bytep)png_ptr->chunkdata + slength - 2) in png_handle_sPLT()
1243 data_length = (slength - (entry_start - (png_bytep)png_ptr->chunkdata)); in png_handle_sPLT()
1657 png_size_t slength; in png_handle_pCAL() local
1686 slength = (png_size_t)length; in png_handle_pCAL()
1687 png_crc_read(png_ptr, (png_bytep)png_ptr->chunkdata, slength); in png_handle_pCAL()
1696 png_ptr->chunkdata[slength] = 0x00; /* Null terminate the last string */ in png_handle_pCAL()
1702 endptr = png_ptr->chunkdata + slength; in png_handle_pCAL()
1796 png_size_t slength; in png_handle_sCAL() local
1824 slength = (png_size_t)length; in png_handle_sCAL()
1825 png_crc_read(png_ptr, (png_bytep)png_ptr->chunkdata, slength); in png_handle_sCAL()
1834 png_ptr->chunkdata[slength] = 0x00; /* Null terminate the last string */ in png_handle_sCAL()
1865 if (png_ptr->chunkdata + slength < ep) in png_handle_sCAL()
1905 if (png_ptr->chunkdata + slength < ep in png_handle_sCAL()
1991 png_size_t slength; in png_handle_tEXt() local
2036 slength = (png_size_t)length; in png_handle_tEXt()
2037 png_crc_read(png_ptr, (png_bytep)png_ptr->chunkdata, slength); in png_handle_tEXt()
2048 key[slength] = 0x00; in png_handle_tEXt()
2053 if (text != key + slength) in png_handle_tEXt()
2094 png_size_t slength, prefix_len, data_len; in png_handle_zTXt() local
2139 slength = (png_size_t)length; in png_handle_zTXt()
2140 png_crc_read(png_ptr, (png_bytep)png_ptr->chunkdata, slength); in png_handle_zTXt()
2148 png_ptr->chunkdata[slength] = 0x00; in png_handle_zTXt()
2154 if (text >= png_ptr->chunkdata + slength - 2) in png_handle_zTXt()
2215 png_size_t slength, prefix_len, data_len; in png_handle_iTXt() local
2260 slength = (png_size_t)length; in png_handle_iTXt()
2261 png_crc_read(png_ptr, (png_bytep)png_ptr->chunkdata, slength); in png_handle_iTXt()
2269 png_ptr->chunkdata[slength] = 0x00; in png_handle_iTXt()
2280 if (lang >= png_ptr->chunkdata + slength - 3) in png_handle_iTXt()
2297 if (lang_key >= png_ptr->chunkdata + slength) in png_handle_iTXt()
2308 if (text >= png_ptr->chunkdata + slength) in png_handle_iTXt()