Lines Matching refs:num_chunks
1312 unsigned int num_chunks, old_num_chunks; in png_set_keep_unknown_chunks() local
1359 num_chunks = (unsigned int)/*SAFE*/(sizeof chunks_to_ignore)/5U; in png_set_keep_unknown_chunks()
1374 num_chunks = num_chunks_in; in png_set_keep_unknown_chunks()
1383 if (num_chunks + old_num_chunks > UINT_MAX/5) in png_set_keep_unknown_chunks()
1397 5 * (num_chunks + old_num_chunks))); in png_set_keep_unknown_chunks()
1420 for (i=0; i<num_chunks; ++i) in png_set_keep_unknown_chunks()
1427 num_chunks = 0; in png_set_keep_unknown_chunks()
1435 ++num_chunks; in png_set_keep_unknown_chunks()
1440 if (num_chunks == 0) in png_set_keep_unknown_chunks()
1450 num_chunks = 0; in png_set_keep_unknown_chunks()
1452 png_ptr->num_chunk_list = num_chunks; in png_set_keep_unknown_chunks()