Searched refs:buffer_attrs (Results 1 – 4 of 4) sorted by relevance
/external/libiio/src/ |
D | device.c | 70 char *ptr, *str, **attrs, **channels, **buffer_attrs, **debug_attrs; in iio_device_get_xml() local 112 buffer_attrs = malloc(dev->nb_buffer_attrs * sizeof(*buffer_attrs)); in iio_device_get_xml() 113 if (!buffer_attrs) in iio_device_get_xml() 117 char *xml = get_attr_xml(dev->buffer_attrs[k], in iio_device_get_xml() 121 buffer_attrs[k] = xml; in iio_device_get_xml() 177 strcpy(ptr, buffer_attrs[i]); in iio_device_get_xml() 179 free(buffer_attrs[i]); in iio_device_get_xml() 182 free(buffer_attrs); in iio_device_get_xml() 206 free(buffer_attrs[k]); in iio_device_get_xml() 207 free(buffer_attrs); in iio_device_get_xml() [all …]
|
D | xml.c | 101 attrs = realloc(dev->buffer_attrs, in add_attr_to_device() 122 dev->buffer_attrs = attrs; in add_attr_to_device()
|
D | iio-private.h | 201 char **buffer_attrs; member
|
D | local.c | 538 attrs = dev->buffer_attrs; in local_read_all_dev_attrs() 629 attrs = dev->buffer_attrs; in local_write_all_dev_attrs() 1596 attrs = realloc(dev->buffer_attrs, (1 + dev->nb_buffer_attrs) * sizeof(char *)); in add_buffer_attr() 1603 dev->buffer_attrs = attrs; in add_buffer_attr() 1715 qsort(dev->buffer_attrs, dev->nb_buffer_attrs, sizeof(char *), in add_buffer_attributes()
|