Lines Matching refs:product
113 int32_t product; in get_id() local
121 if (get_int32(dev, CFSTR(kIOHIDProductIDKey), &product) < 0 || in get_id()
122 product > UINT16_MAX) { in get_id()
128 *product_id = (int16_t)product; in get_id()
134 get_str(IOHIDDeviceRef dev, char **manufacturer, char **product) in get_str() argument
140 *product = NULL; in get_str()
148 *product = strdup(""); in get_str()
150 *product = strdup(buf); in get_str()
152 if (*manufacturer == NULL || *product == NULL) { in get_str()
161 free(*product); in get_str()
163 *product = NULL; in get_str()
229 get_str(dev, &di->manufacturer, &di->product) < 0 || in copy_info()
233 free(di->product); in copy_info()