Lines Matching refs:text_num
2882 info->text_num = 0; in LodePNGText_init()
2889 for(i = 0; i != info->text_num; ++i) { in LodePNGText_cleanup()
2901 dest->text_num = 0; in LodePNGText_copy()
2902 for(i = 0; i != source->text_num; ++i) { in LodePNGText_copy()
2909 …char** new_keys = (char**)(lodepng_realloc(info->text_keys, sizeof(char*) * (info->text_num + 1))); in lodepng_add_text_sized()
2910 …char** new_strings = (char**)(lodepng_realloc(info->text_strings, sizeof(char*) * (info->text_num … in lodepng_add_text_sized()
2917 ++info->text_num; in lodepng_add_text_sized()
2918 info->text_keys[info->text_num - 1] = alloc_string(key); in lodepng_add_text_sized()
2919 info->text_strings[info->text_num - 1] = alloc_string_sized(str, size); in lodepng_add_text_sized()
2920 …if(!info->text_keys[info->text_num - 1] || !info->text_strings[info->text_num - 1]) return 83; /*a… in lodepng_add_text_sized()
6006 for(i = 0; i != info.text_num; ++i) { in lodepng_encode()
6026 for(i = 0; i != info.text_num; ++i) { in lodepng_encode()