Searched refs:langtag (Results 1 – 2 of 2) sorted by relevance
/lvgl-3.7.0/src/extra/libs/png/ |
D | lodepng.c | 2975 static unsigned lodepng_add_itext_sized(LodePNGInfo* info, const char* key, const char* langtag, in lodepng_add_itext_sized() argument 2992 info->itext_langtags[info->itext_num - 1] = alloc_string(langtag); in lodepng_add_itext_sized() 2999 unsigned lodepng_add_itext(LodePNGInfo* info, const char* key, const char* langtag, in lodepng_add_itext() argument 3001 return lodepng_add_itext_sized(info, key, langtag, transkey, str, lodepng_strlen(str)); in lodepng_add_itext() 4530 char *key = 0, *langtag = 0, *transkey = 0; in readChunk_iTXt() local 4560 langtag = (char*)lodepng_malloc(length + 1); in readChunk_iTXt() 4561 if(!langtag) CERROR_BREAK(error, 83); /*alloc fail*/ in readChunk_iTXt() 4563 lodepng_memcpy(langtag, data + begin, length); in readChunk_iTXt() 4564 langtag[length] = 0; in readChunk_iTXt() 4591 if(!error) error = lodepng_add_itext_sized(info, key, langtag, transkey, (char*)str, size); in readChunk_iTXt() [all …]
|
D | lodepng.h | 614 unsigned lodepng_add_itext(LodePNGInfo* info, const char* key, const char* langtag,
|