Lines Matching refs:NewNC
543 cmsNAMEDCOLORLIST* NewNC; in cmsDupNamedColorList() local
547 …NewNC= cmsAllocNamedColorList(v ->ContextID, v -> nColors, v ->ColorantCount, v ->Prefix, v ->Suff… in cmsDupNamedColorList()
548 if (NewNC == NULL) return NULL; in cmsDupNamedColorList()
551 while (NewNC ->Allocated < v ->Allocated) { in cmsDupNamedColorList()
552 if (!GrowNamedColorList(NewNC)) { in cmsDupNamedColorList()
553 cmsFreeNamedColorList(NewNC); in cmsDupNamedColorList()
558 memmove(NewNC ->Prefix, v ->Prefix, sizeof(v ->Prefix)); in cmsDupNamedColorList()
559 memmove(NewNC ->Suffix, v ->Suffix, sizeof(v ->Suffix)); in cmsDupNamedColorList()
560 NewNC ->ColorantCount = v ->ColorantCount; in cmsDupNamedColorList()
561 memmove(NewNC->List, v ->List, v->nColors * sizeof(_cmsNAMEDCOLOR)); in cmsDupNamedColorList()
562 NewNC ->nColors = v ->nColors; in cmsDupNamedColorList()
563 return NewNC; in cmsDupNamedColorList()