Home
last modified time | relevance | path

Searched refs:debug_attrs (Results 1 – 7 of 7) sorted by relevance

/external/libiio/src/bindings/python/examples/
Diio_info.py79 if len(dev.debug_attrs) != 0:
80 print('\t\t%u debug attributes found:' % len(dev.debug_attrs))
82 for attr in dev.debug_attrs:
84 print('\t\t\t' + attr + ', value: ' + dev.debug_attrs[attr].value)
/external/libiio/src/
Ddevice.c70 char *ptr, *str, **attrs, **channels, **buffer_attrs, **debug_attrs; in iio_device_get_xml() local
130 debug_attrs = malloc(dev->nb_debug_attrs * sizeof(*debug_attrs)); in iio_device_get_xml()
131 if (!debug_attrs) in iio_device_get_xml()
135 char *xml = get_attr_xml(dev->debug_attrs[k], in iio_device_get_xml()
139 debug_attrs[k] = xml; in iio_device_get_xml()
186 strcpy(ptr, debug_attrs[i]); in iio_device_get_xml()
188 free(debug_attrs[i]); in iio_device_get_xml()
191 free(debug_attrs); in iio_device_get_xml()
200 free(debug_attrs[k]); in iio_device_get_xml()
201 free(debug_attrs); in iio_device_get_xml()
[all …]
Dxml.c93 attrs = realloc(dev->debug_attrs, in add_attr_to_device()
114 dev->debug_attrs = attrs; in add_attr_to_device()
Diio-private.h204 char **debug_attrs; member
Dlocal.c534 attrs = dev->debug_attrs; in local_read_all_dev_attrs()
625 attrs = dev->debug_attrs; in local_write_all_dev_attrs()
1817 attrs = realloc(dev->debug_attrs, in add_debug_attr()
1825 dev->debug_attrs = attrs; in add_debug_attr()
/external/libiio/src/bindings/csharp/
DDevice.cs150 public readonly List<Attr> debug_attrs; field in iio.Device
161 debug_attrs = new List<Attr>(); in Device()
173debug_attrs.Add(new DeviceDebugAttr(dev, Marshal.PtrToStringAnsi(iio_device_get_debug_attr(dev, i)… in Device()
/external/libiio/src/bindings/python/
Diio.py674 debug_attrs = property(lambda self: self._debug_attrs, None, None, variable in _DeviceOrTrigger