Home
last modified time | relevance | path

Searched refs:text_num (Results 1 – 2 of 2) sorted by relevance

/lvgl-3.7.0/src/extra/libs/png/
Dlodepng.h487 …size_t text_num; /*the amount of texts in these char** buffers (there may be more texts in itext)*/ member
Dlodepng.c2882 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()
[all …]