Searched refs:text_strings (Results 1 – 2 of 2) sorted by relevance
543 char ** text_strings; /*the actual text*/ member
3348 info->text_strings = NULL; in LodePNGText_init()3356 string_cleanup(&info->text_strings[i]); in LodePNGText_cleanup()3359 lodepng_free(info->text_strings); in LodePNGText_cleanup()3366 dest->text_strings = NULL; in LodePNGText_copy()3369 CERROR_TRY_RETURN(lodepng_add_text(dest, source->text_keys[i], source->text_strings[i])); in LodePNGText_copy()3377 …char ** new_strings = (char **)(lodepng_realloc(info->text_strings, sizeof(char *) * (info->text_n… in lodepng_add_text_sized()3380 if(new_strings) info->text_strings = new_strings; 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()7068 …state->error = addChunk_zTXt(&outv, info.text_keys[i], info.text_strings[i], &state->encoder.zlibs… in lodepng_encode()[all …]