Searched refs:str_value (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/cmd/hal/tools/
H A Dhal_set_property.c112 char *str_value = NULL; local
164 str_value = strdup (optarg);
186 str_value = strdup (optarg);
189 str_value = strdup (optarg);
192 str_value = strdup (optarg);
269 rc = libhal_device_set_property_string (hal_ctx, udi, key, str_value, &error);
284 rc = libhal_device_property_strlist_prepend (hal_ctx, udi, key, str_value, &error);
287 rc = libhal_device_property_strlist_append (hal_ctx, udi, key, str_value, &error);
290 rc = libhal_device_property_strlist_remove (hal_ctx, udi, key, str_value, &error);
H A Dhal-device.c60 char *str_value; member in union:lh_prop_s::__anon50
494 p->v.str_value = strdup(s_val);
556 udi2 = p->v.str_value;
604 if (!strcmp(p->key, "info.udi")) udi3 = p->v.str_value;
605 if (!libhal_device_set_property_string(hal_ctx, nd->real_udi, p->key, p->v.str_value, &error)) {
642 if (prop->type == LIBHAL_PROPERTY_TYPE_STRING) free(prop->v.str_value);
/osnet-11/usr/src/cmd/hal/hald/
H A Dproperty.c42 char *str_value; member in union:_HalProperty::__anon38
61 g_free (prop->v.str_value);
84 prop->v.str_value = g_strdup (value != NULL ? value : "");
86 while (!g_utf8_validate (prop->v.str_value, -1,
94 key, prop->v.str_value));
178 return prop->v.str_value;
215 return g_strdup (prop->v.str_value);
277 if (prop->v.str_value != NULL)
278 g_free (prop->v.str_value);
279 prop->v.str_value
[all...]
/osnet-11/usr/src/lib/hal/libhal/common/
H A Dlibhal.c204 char *str_value; /**< UTF-8 zero-terminated string */ member in union:LibHalProperty_s::__anon1060
317 p->v.str_value = strdup (v);
318 if (p->v.str_value == NULL)
534 free (p->v.str_value);
626 return p->v.str_value;
836 return iter->cur_prop->v.str_value;
1586 const char *str_value,
1638 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &str_value);
1582 libhal_device_set_property_helper(LibHalContext *ctx, const char *udi, const char *key, int type, const char *str_value, dbus_int32_t int_value, dbus_uint64_t uint64_value, double double_value, dbus_bool_t bool_value, DBusError *error) argument

Completed in 128 milliseconds