Lines Matching refs:g_strdup
83 prop->key = g_strdup (key); in hal_property_new_string()
84 prop->v.str_value = g_strdup (value != NULL ? value : ""); in hal_property_new_string()
108 prop->key = g_strdup (key); in hal_property_new_int()
122 prop->key = g_strdup (key); in hal_property_new_uint64()
136 prop->key = g_strdup (key); in hal_property_new_bool()
150 prop->key = g_strdup (key); in hal_property_new_double()
215 return g_strdup (prop->v.str_value); in hal_property_to_string()
222 return g_strdup (prop->v.bool_value ? "true" : "false"); in hal_property_to_string()
249 return g_strdup (buf); in hal_property_to_string()
279 prop->v.str_value = g_strdup (value); in hal_property_set_string()
383 prop->key = g_strdup (key); in hal_property_new_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()