Searched refs:read_length (Results 1 – 2 of 2) sorted by relevance
1341 uInt read_length, keyword_length; in png_handle_iCCP() local1347 read_length = 81; /* maximum */ in png_handle_iCCP()1348 if (read_length > length) in png_handle_iCCP()1349 read_length = (uInt)length; in png_handle_iCCP()1351 png_crc_read(png_ptr, (png_bytep)keyword, read_length); in png_handle_iCCP()1352 length -= read_length; in png_handle_iCCP()1355 while (keyword_length < 80 && keyword_length < read_length && in png_handle_iCCP()1365 if (keyword_length+1 < read_length && in png_handle_iCCP()1368 read_length -= keyword_length+2; in png_handle_iCCP()1377 png_ptr->zstream.avail_in = read_length; in png_handle_iCCP()
1379 uInt read_length, keyword_length; in png_handle_iCCP() local1385 read_length = 81; /* maximum */ in png_handle_iCCP()1386 if (read_length > length) in png_handle_iCCP()1387 read_length = (uInt)length; in png_handle_iCCP()1389 png_crc_read(png_ptr, (png_bytep)keyword, read_length); in png_handle_iCCP()1390 length -= read_length; in png_handle_iCCP()1393 while (keyword_length < 80 && keyword_length < read_length && in png_handle_iCCP()1403 if (keyword_length+1 < read_length && in png_handle_iCCP()1406 read_length -= keyword_length+2; in png_handle_iCCP()1415 png_ptr->zstream.avail_in = read_length; in png_handle_iCCP()