Lines Matching refs:entries
1063 png_inforp info_ptr, png_const_sPLT_tp entries, int nentries) in png_set_sPLT() argument
1075 if (png_ptr == NULL || info_ptr == NULL || nentries <= 0 || entries == NULL) in png_set_sPLT()
1104 if (entries->name == NULL || entries->entries == NULL) in png_set_sPLT()
1112 np->depth = entries->depth; in png_set_sPLT()
1117 length = strlen(entries->name) + 1; in png_set_sPLT()
1123 memcpy(np->name, entries->name, length); in png_set_sPLT()
1129 np->entries = png_voidcast(png_sPLT_entryp, png_malloc_array(png_ptr, in png_set_sPLT()
1130 entries->nentries, sizeof (png_sPLT_entry))); in png_set_sPLT()
1132 if (np->entries == NULL) in png_set_sPLT()
1139 np->nentries = entries->nentries; in png_set_sPLT()
1143 memcpy(np->entries, entries->entries, in png_set_sPLT()
1144 (unsigned int)entries->nentries * sizeof (png_sPLT_entry)); in png_set_sPLT()
1152 ++entries; in png_set_sPLT()