Lines Matching defs:key
58 char *key;
450 char *key, *s_val = NULL;
464 s = skip_non_eq_or_space(key = s);
466 if (!*key)
469 if (*key == '#')
481 p->key = strdup(key);
536 free(p->key);
555 if (!strcmp(p->key, "udi") && p->type == LIBHAL_PROPERTY_TYPE_STRING) {
560 old_type = libhal_device_get_property_type(hal_ctx, nd->real_udi, p->key, &error);
565 if (!libhal_device_remove_property(hal_ctx, nd->real_udi, p->key, &error)) {
576 if (!libhal_device_set_property_bool(hal_ctx, nd->real_udi, p->key, p->v.bool_value, &error)) {
583 if (!libhal_device_set_property_int(hal_ctx, nd->real_udi, p->key, p->v.int_value, &error)) {
590 if (!libhal_device_set_property_uint64(hal_ctx, nd->real_udi, p->key, p->v.uint64_value, &error)) {
597 if (!libhal_device_set_property_double(hal_ctx, nd->real_udi, p->key, p->v.double_value, &error)) {
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)) {
613 if (!libhal_device_property_strlist_append(hal_ctx, nd->real_udi, p->key, *s, &error)) {
641 free(prop->key);