Home | History | Annotate | Download | only in dix

Lines Matching defs:new_attr

349     InputAttributes *new_attr;
356 if (!(new_attr = calloc(1, sizeof(InputAttributes))))
359 if (attrs->product && !(new_attr->product = strdup(attrs->product)))
361 if (attrs->vendor && !(new_attr->vendor = strdup(attrs->vendor)))
363 if (attrs->device && !(new_attr->device = strdup(attrs->device)))
365 if (attrs->pnp_id && !(new_attr->pnp_id = strdup(attrs->pnp_id)))
367 if (attrs->usb_id && !(new_attr->usb_id = strdup(attrs->usb_id)))
370 new_attr->flags = attrs->flags;
376 new_attr->tags = calloc(ntags + 1, sizeof(char *));
377 if (!new_attr->tags)
381 new_tags = new_attr->tags;
393 return new_attr;
396 FreeInputAttributes(new_attr);