Lines Matching refs:NewSeq
810 cmsSEQ *NewSeq; in cmsDupProfileSequenceDescription() local
816 NewSeq = (cmsSEQ*) _cmsMalloc(pseq -> ContextID, sizeof(cmsSEQ)); in cmsDupProfileSequenceDescription()
817 if (NewSeq == NULL) return NULL; in cmsDupProfileSequenceDescription()
820 NewSeq -> seq = (cmsPSEQDESC*) _cmsCalloc(pseq ->ContextID, pseq ->n, sizeof(cmsPSEQDESC)); in cmsDupProfileSequenceDescription()
821 if (NewSeq ->seq == NULL) goto Error; in cmsDupProfileSequenceDescription()
823 NewSeq -> ContextID = pseq ->ContextID; in cmsDupProfileSequenceDescription()
824 NewSeq -> n = pseq ->n; in cmsDupProfileSequenceDescription()
828 memmove(&NewSeq ->seq[i].attributes, &pseq ->seq[i].attributes, sizeof(cmsUInt64Number)); in cmsDupProfileSequenceDescription()
830 NewSeq ->seq[i].deviceMfg = pseq ->seq[i].deviceMfg; in cmsDupProfileSequenceDescription()
831 NewSeq ->seq[i].deviceModel = pseq ->seq[i].deviceModel; in cmsDupProfileSequenceDescription()
832 memmove(&NewSeq ->seq[i].ProfileID, &pseq ->seq[i].ProfileID, sizeof(cmsProfileID)); in cmsDupProfileSequenceDescription()
833 NewSeq ->seq[i].technology = pseq ->seq[i].technology; in cmsDupProfileSequenceDescription()
835 NewSeq ->seq[i].Manufacturer = cmsMLUdup(pseq ->seq[i].Manufacturer); in cmsDupProfileSequenceDescription()
836 NewSeq ->seq[i].Model = cmsMLUdup(pseq ->seq[i].Model); in cmsDupProfileSequenceDescription()
837 NewSeq ->seq[i].Description = cmsMLUdup(pseq ->seq[i].Description); in cmsDupProfileSequenceDescription()
841 return NewSeq; in cmsDupProfileSequenceDescription()
845 cmsFreeProfileSequenceDescription(NewSeq); in cmsDupProfileSequenceDescription()