Lines Matching refs:iccp_name
3008 info->iccp_name = alloc_string(name); in lodepng_assign_icc()
3011 if(!info->iccp_name || !info->iccp_profile) return 83; /*alloc fail*/ in lodepng_assign_icc()
3020 if(info->iccp_name) lodepng_clear_icc(info); in lodepng_set_icc()
3027 string_cleanup(&info->iccp_name); in lodepng_clear_icc()
3054 info->iccp_name = NULL; in lodepng_info_init()
3083 …CERROR_TRY_RETURN(lodepng_assign_icc(dest, source->iccp_name, source->iccp_profile, source->iccp_p… in lodepng_info_copy()
4677 if(info->iccp_name) lodepng_clear_icc(info); in readChunk_iCCP()
4683 info->iccp_name = (char*)lodepng_malloc(length + 1); in readChunk_iCCP()
4684 if(!info->iccp_name) return 83; /*alloc fail*/ in readChunk_iCCP()
4686 info->iccp_name[length] = 0; in readChunk_iCCP()
4687 for(i = 0; i != length; ++i) info->iccp_name[i] = (char)data[i]; in readChunk_iCCP()
5359 size_t keysize = lodepng_strlen(info->iccp_name); in addChunk_iCCP()
5369 lodepng_memcpy(chunk + 8, info->iccp_name, keysize); in addChunk_iCCP()