Home
last modified time | relevance | path

Searched refs:strlist_value (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/cmd/hal/hald/
H A Dproperty.c47 GSList *strlist_value; member
64 for (i = prop->v.strlist_value; i != NULL; i = g_slist_next (i)) { in hal_property_free()
67 g_slist_free (prop->v.strlist_value); in hal_property_free()
384 prop->v.strlist_value = NULL; in hal_property_new_strlist()
395 return prop->v.strlist_value; in hal_property_get_strlist()
404 prop->v.strlist_value = g_slist_append (prop->v.strlist_value, g_strdup (value)); in hal_property_strlist_append()
415 prop->v.strlist_value = g_slist_prepend (prop->v.strlist_value, g_strdup (value)); in hal_property_strlist_prepend()
428 if (prop->v.strlist_value == NULL) in hal_property_strlist_remove_elem()
431 elem = g_slist_nth (prop->v.strlist_value, index); in hal_property_strlist_remove_elem()
436 prop->v.strlist_value = g_slist_delete_link (prop->v.strlist_value, elem); in hal_property_strlist_remove_elem()
[all …]
/titanic_41/usr/src/cmd/hal/tools/
H A Dhal-device.c65 char **strlist_value; member
501 p->v.strlist_value = calloc(1, sizeof *p->v.strlist_value); in process_property()
505 p->v.strlist_value = realloc(p->v.strlist_value, (len + 2) * sizeof *p->v.strlist_value); in process_property()
506 p->v.strlist_value[len] = strdup(s_val); in process_property()
507 p->v.strlist_value[++len] = NULL; in process_property()
612 for(s = p->v.strlist_value; *s; s++) { in add_properties()
643 if (prop->type == LIBHAL_PROPERTY_TYPE_STRLIST && prop->v.strlist_value) { in free_properties()
644 for(s = prop->v.strlist_value; *s; ) free(*s++); in free_properties()
645 free(prop->v.strlist_value); in free_properties()
/titanic_41/usr/src/lib/hal/libhal/common/
H A Dlibhal.c244 char **strlist_value; /**< List of UTF-8 zero-terminated strings */ member
341 p->v.strlist_value = libhal_get_string_array_from_iter (&iter_array, NULL); in libhal_property_fill_value_from_variant()
573 libhal_free_string_array (p->v.strlist_value); in libhal_free_property_set()
777 return (const char *const *) p->v.strlist_value; in libhal_ps_get_strlist()
942 return iter->cur_prop->v.strlist_value; in libhal_psi_get_strlist()