Lines Matching defs:from
10 * The functions here are used during reads to store data from the file
222 /* Changed from info->num_palette to 256 in version 1.2.1 */
893 /* Changed from num_trans to 256 in version 1.2.1 */
940 png_sPLT_tp from = entries + i;
943 png_strlen(from->name) + 1);
945 png_strcpy(to->name, from->name);
947 from->nentries * png_sizeof(png_sPLT_t));
949 png_memcpy(to->entries, from->entries,
950 from->nentries * png_sizeof(png_sPLT_t));
951 to->nentries = from->nentries;
952 to->depth = from->depth;
992 png_unknown_chunkp from = unknowns + i;
994 png_strncpy((png_charp)to->name, (png_charp)from->name, 5);
995 to->data = (png_bytep)png_malloc_warn(png_ptr, from->size);
1002 png_memcpy(to->data, from->data, from->size);
1003 to->size = from->size;
1032 and will be removed from libpng-2.0.0 */