Searched refs:iio_strdup (Results 1 – 8 of 8) sorted by relevance
34 name = iio_strdup((char *) attr->children->content); in add_attr_to_channel()36 filename = iio_strdup((char *) attr->children->content); in add_attr_to_channel()49 filename = iio_strdup(name); in add_attr_to_channel()79 name = iio_strdup((char *) attr->children->content); in add_attr_to_device()188 chn->name = iio_strdup(content); in create_channel()190 chn->id = iio_strdup(content); in create_channel()241 dev->name = iio_strdup( in create_device()244 dev->id = iio_strdup((char *) attr->children->content); in create_device()357 ctx->description = iio_strdup( in iio_create_xml_context_helper()
46 old_locale = iio_strdup(setlocale(LC_NUMERIC, NULL)); in read_double_locale()65 char *old_locale = iio_strdup(setlocale(LC_NUMERIC, NULL)); in write_double_locale()200 char *iio_strdup(const char *str) in iio_strdup() function
1166 return iio_strdup(ptr); in get_short_attr_name()1178 dev->name = iio_strdup(buf); in read_device_name()1197 name = iio_strdup(attr); in add_attr_to_device()1254 chn->pdata->enable_fn = iio_strdup(path); in handle_protected_scan_element_attr()1322 fn = iio_strdup(path); in add_attr_to_channel()1592 attr = iio_strdup(name); in add_buffer_attr()1743 dev->id = iio_strdup(strrchr(path, '/') + 1); in create_device()1813 char **attrs, *name = iio_strdup(attr); in add_debug_attr()2055 desc = iio_strdup("Local devices"); in local_context_scan()2059 uri = iio_strdup("local:"); in local_context_scan()
423 new_key = iio_strdup(key); in iio_context_add_attr()427 new_val = iio_strdup(value); in iio_context_add_attr()
285 char *iio_strdup(const char *str);
1110 info->uri = iio_strdup(uri); in usb_fill_context_info()1114 info->description = iio_strdup(description); in usb_fill_context_info()
506 uri_dup = iio_strdup((const char *) in serial_create_context_from_uri()
209 str = iio_strdup(buf); in get_scan_element()