Lines Matching refs:NewNC
568 cmsNAMEDCOLORLIST* NewNC; in cmsDupNamedColorList() local
572 …NewNC= cmsAllocNamedColorList(v ->ContextID, v -> nColors, v ->ColorantCount, v ->Prefix, v ->Suff… in cmsDupNamedColorList()
573 if (NewNC == NULL) return NULL; in cmsDupNamedColorList()
576 while (NewNC ->Allocated < v ->Allocated){ in cmsDupNamedColorList()
577 if (!GrowNamedColorList(NewNC)) { in cmsDupNamedColorList()
578 cmsFreeNamedColorList(NewNC); in cmsDupNamedColorList()
583 memmove(NewNC ->Prefix, v ->Prefix, sizeof(v ->Prefix)); in cmsDupNamedColorList()
584 memmove(NewNC ->Suffix, v ->Suffix, sizeof(v ->Suffix)); in cmsDupNamedColorList()
585 NewNC ->ColorantCount = v ->ColorantCount; in cmsDupNamedColorList()
586 memmove(NewNC->List, v ->List, v->nColors * sizeof(_cmsNAMEDCOLOR)); in cmsDupNamedColorList()
587 NewNC ->nColors = v ->nColors; in cmsDupNamedColorList()
588 return NewNC; in cmsDupNamedColorList()