Lines Matching refs:transkey
2976 const char* transkey, const char* str, size_t size) { in lodepng_add_itext_sized() argument
2993 info->itext_transkeys[info->itext_num - 1] = alloc_string(transkey); in lodepng_add_itext_sized()
3000 const char* transkey, const char* str) { 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
4571 transkey = (char*)lodepng_malloc(length + 1); in readChunk_iTXt()
4572 if(!transkey) CERROR_BREAK(error, 83); /*alloc fail*/ in readChunk_iTXt()
4574 lodepng_memcpy(transkey, data + begin, length); in readChunk_iTXt()
4575 transkey[length] = 0; in readChunk_iTXt()
4591 if(!error) error = lodepng_add_itext_sized(info, key, langtag, transkey, (char*)str, size); in readChunk_iTXt()
4594 error = lodepng_add_itext_sized(info, key, langtag, transkey, (char*)(data + begin), length); in readChunk_iTXt()
4602 lodepng_free(transkey); in readChunk_iTXt()
5237 … const char* transkey, const char* textstring, LodePNGCompressSettings* zlibsettings) { in addChunk_iTXt() argument
5243 … lodepng_strlen(keyword), langsize = lodepng_strlen(langtag), transsize = lodepng_strlen(transkey); in addChunk_iTXt()
5265 lodepng_memcpy(chunk + pos, transkey, transsize); in addChunk_iTXt()