Searched refs:newattrval (Results 1 – 1 of 1) sorted by relevance
894 jas_iccattrval_t *newattrval; in jas_iccattrval_allowmodify() local896 newattrval = 0; in jas_iccattrval_allowmodify()898 if (!(newattrval = jas_iccattrval_create0())) in jas_iccattrval_allowmodify()900 newattrval->ops = attrval->ops; in jas_iccattrval_allowmodify()901 newattrval->type = attrval->type; in jas_iccattrval_allowmodify()902 ++newattrval->refcnt; in jas_iccattrval_allowmodify()903 if (newattrval->ops->copy) { in jas_iccattrval_allowmodify()904 if ((*newattrval->ops->copy)(newattrval, attrval)) in jas_iccattrval_allowmodify()907 memcpy(&newattrval->data, &attrval->data, in jas_iccattrval_allowmodify()908 sizeof(newattrval->data)); in jas_iccattrval_allowmodify()[all …]