Searched refs:text_keys (Results 1 – 2 of 2) sorted by relevance
2883 info->text_keys = NULL; in LodePNGText_init()2890 string_cleanup(&info->text_keys[i]); in LodePNGText_cleanup()2893 lodepng_free(info->text_keys); in LodePNGText_cleanup()2899 dest->text_keys = NULL; in LodePNGText_copy()2903 CERROR_TRY_RETURN(lodepng_add_text(dest, source->text_keys[i], source->text_strings[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()2912 if(new_keys) info->text_keys = new_keys; in lodepng_add_text_sized()2918 info->text_keys[info->text_num - 1] = alloc_string(key); 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()6007 if(lodepng_strlen(info.text_keys[i]) > 79) { in lodepng_encode()[all …]
488 char** text_keys; /*the keyword of a text chunk (e.g. "Comment")*/ member