Lines Matching refs:num_text
816 int num_text) in pngtest_check_text_support() argument
818 while (num_text > 0) in pngtest_check_text_support()
820 switch (text_ptr[--num_text].compression) in pngtest_check_text_support()
829 text_ptr[num_text].compression = PNG_TEXT_COMPRESSION_NONE; in pngtest_check_text_support()
837 text_ptr[num_text].compression = PNG_TEXT_COMPRESSION_NONE; in pngtest_check_text_support()
1316 int num_text; in test_one_file() local
1318 if (png_get_text(read_ptr, read_info_ptr, &text_ptr, &num_text) > 0) in test_one_file()
1320 pngtest_debug1("Handling %d iTXt/tEXt/zTXt chunks", num_text); in test_one_file()
1322 pngtest_check_text_support(read_ptr, text_ptr, num_text); in test_one_file()
1329 for (i=0; i<num_text; i++) in test_one_file()
1336 png_set_text(write_ptr, write_info_ptr, text_ptr, num_text); in test_one_file()
1536 int num_text; in test_one_file() local
1538 if (png_get_text(read_ptr, end_info_ptr, &text_ptr, &num_text) > 0) in test_one_file()
1540 pngtest_debug1("Handling %d iTXt/tEXt/zTXt chunks", num_text); in test_one_file()
1542 pngtest_check_text_support(read_ptr, text_ptr, num_text); in test_one_file()
1549 for (i=0; i<num_text; i++) in test_one_file()
1556 png_set_text(write_ptr, write_end_info_ptr, text_ptr, num_text); in test_one_file()