Home | History | Annotate | Download | only in libpng

Lines Matching refs:read_length

1372       uInt read_length, keyword_length;
1378 read_length = 81; /* maximum */
1379 if (read_length > length)
1380 read_length = (uInt)length;
1382 png_crc_read(png_ptr, (png_bytep)keyword, read_length);
1383 length -= read_length;
1386 while (keyword_length < 80 && keyword_length < read_length &&
1396 if (keyword_length+1 < read_length &&
1399 read_length -= keyword_length+2;
1408 png_ptr->zstream.avail_in = read_length;