Home
last modified time | relevance | path

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

/lvgl-latest/src/libs/lodepng/
Dlodepng.h541 …size_t text_num; /*the amount of texts in these char** buffers (there may be more texts in itext)*/ member
Dlodepng.c3346 info->text_num = 0; in LodePNGText_init()
3354 for(i = 0; i != info->text_num; ++i) { in LodePNGText_cleanup()
3367 dest->text_num = 0; in LodePNGText_copy()
3368 for(i = 0; i != source->text_num; ++i) { in LodePNGText_copy()
3376 …char ** new_keys = (char **)(lodepng_realloc(info->text_keys, sizeof(char *) * (info->text_num + 1… in lodepng_add_text_sized()
3377 …ew_strings = (char **)(lodepng_realloc(info->text_strings, sizeof(char *) * (info->text_num + 1))); in lodepng_add_text_sized()
3384 ++info->text_num; in lodepng_add_text_sized()
3385 info->text_keys[info->text_num - 1] = alloc_string(key); in lodepng_add_text_sized()
3386 info->text_strings[info->text_num - 1] = alloc_string_sized(str, size); in lodepng_add_text_sized()
3387 …if(!info->text_keys[info->text_num - 1] || !info->text_strings[info->text_num - 1]) return 83; /*a… in lodepng_add_text_sized()
[all …]