Searched refs:keysize (Results 1 – 1 of 1) sorted by relevance
5197 size_t keysize = lodepng_strlen(keyword), textsize = lodepng_strlen(textstring); in addChunk_tEXt() local5198 size_t size = keysize + 1 + textsize; in addChunk_tEXt()5199 if(keysize < 1 || keysize > 79) return 89; /*error: invalid keyword size*/ in addChunk_tEXt()5201 lodepng_memcpy(chunk + 8, keyword, keysize); in addChunk_tEXt()5202 chunk[8 + keysize] = 0; /*null termination char*/ in addChunk_tEXt()5203 lodepng_memcpy(chunk + 9 + keysize, textstring, textsize); in addChunk_tEXt()5215 size_t keysize = lodepng_strlen(keyword); in addChunk_zTXt() local5216 if(keysize < 1 || keysize > 79) return 89; /*error: invalid keyword size*/ in addChunk_zTXt()5221 size_t size = keysize + 2 + compressedsize; in addChunk_zTXt()5225 lodepng_memcpy(chunk + 8, keyword, keysize); in addChunk_zTXt()[all …]