Home
last modified time | relevance | path

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

/external/zopfli/src/zopflipng/lodepng/
Dlodepng.cpp2694 info->text_num = 0; in LodePNGText_init()
2702 for(i = 0; i < info->text_num; i++) in LodePNGText_cleanup()
2716 dest->text_num = 0; in LodePNGText_copy()
2717 for(i = 0; i < source->text_num; i++) in LodePNGText_copy()
2731 …char** new_keys = (char**)(lodepng_realloc(info->text_keys, sizeof(char*) * (info->text_num + 1))); in lodepng_add_text()
2732 …char** new_strings = (char**)(lodepng_realloc(info->text_strings, sizeof(char*) * (info->text_num in lodepng_add_text()
2740 info->text_num++; in lodepng_add_text()
2744 string_init(&info->text_keys[info->text_num - 1]); in lodepng_add_text()
2745 string_set(&info->text_keys[info->text_num - 1], key); in lodepng_add_text()
2747 string_init(&info->text_strings[info->text_num - 1]); in lodepng_add_text()
[all …]
Dlodepng.h439 …size_t text_num; /*the amount of texts in these char** buffers (there may be more texts in itext)*/ member