Searched refs:str_value (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal_set_property.c | 113 char *str_value = NULL; in main() local 167 str_value = strdup (optarg); in main() 189 str_value = strdup (optarg); in main() 192 str_value = strdup (optarg); in main() 195 str_value = strdup (optarg); in main() 282 rc = libhal_device_set_property_string (hal_ctx, udi, key, str_value, &error); in main() 297 rc = libhal_device_property_strlist_prepend (hal_ctx, udi, key, str_value, &error); in main() 300 rc = libhal_device_property_strlist_append (hal_ctx, udi, key, str_value, &error); in main() 303 rc = libhal_device_property_strlist_remove (hal_ctx, udi, key, str_value, &error); in main()
|
H A D | hal-device.c | 60 char *str_value; member 494 p->v.str_value = strdup(s_val); in process_property() 556 udi2 = p->v.str_value; in add_properties() 602 if (!strcmp(p->key, "info.udi")) udi3 = p->v.str_value; in add_properties() 603 if (!libhal_device_set_property_string(hal_ctx, nd->real_udi, p->key, p->v.str_value, &error)) { in add_properties() 642 if (prop->type == LIBHAL_PROPERTY_TYPE_STRING) free(prop->v.str_value); in free_properties()
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | property.c | 42 char *str_value; member 61 g_free (prop->v.str_value); in hal_property_free() 84 prop->v.str_value = g_strdup (value != NULL ? value : ""); in hal_property_new_string() 86 while (!g_utf8_validate (prop->v.str_value, -1, in hal_property_new_string() 94 key, prop->v.str_value)); in hal_property_new_string() 178 return prop->v.str_value; in hal_property_get_string() 215 return g_strdup (prop->v.str_value); in hal_property_to_string() 277 if (prop->v.str_value != NULL) in hal_property_set_string() 278 g_free (prop->v.str_value); in hal_property_set_string() 279 prop->v.str_value = g_strdup (value); in hal_property_set_string() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/hsfs/fstyp/ |
H A D | fstyp.c | 150 char *str_value; in fstyp_mod_dump() local 160 (void) nvpair_value_string(elem, &str_value); in fstyp_mod_dump() 161 if (strcmp(str_value, in fstyp_mod_dump() 168 " format\n", str_value); in fstyp_mod_dump() 176 (void) nvpair_value_string(elem, &str_value); in fstyp_mod_dump() 177 (void) fprintf(fout, "%s: %s\n", name, str_value); in fstyp_mod_dump()
|
/illumos-gate/usr/src/uts/common/contract/ |
H A D | device.c | 508 char *str_value; in ctmpl_device_set() local 514 str_value = (char *)kparam->ctpm_kbuf; in ctmpl_device_set() 515 str_value[param->ctpm_size - 1] = '\0'; in ctmpl_device_set() 551 if (*str_value != '/' || in ctmpl_device_set() 552 strncmp(str_value, "/devices/", in ctmpl_device_set() 554 strstr(str_value, "../devices/") != NULL || in ctmpl_device_set() 555 strchr(str_value, ':') == NULL) { in ctmpl_device_set() 561 if (resolve_pathname(str_value, &dip, NULL, &spec_type) != 0) { in ctmpl_device_set() 574 dtmpl->ctd_minor = i_ddi_strdup(str_value, KM_SLEEP); in ctmpl_device_set()
|
H A D | process.c | 233 char *str_value; in ctmpl_process_set() local 237 str_value = (char *)kparam->ctpm_kbuf; in ctmpl_process_set() 238 str_value[param->ctpm_size - 1] = '\0'; in ctmpl_process_set() 301 if (strcmp(CT_PR_SVC_DEFAULT, str_value) == 0) in ctmpl_process_set() 305 refstr_alloc(str_value); in ctmpl_process_set() 314 refstr_alloc(str_value); in ctmpl_process_set()
|
/illumos-gate/usr/src/lib/hal/libhal/common/ |
H A D | libhal.c | 235 char *str_value; /**< UTF-8 zero-terminated string */ member 352 p->v.str_value = strdup (v); in libhal_property_fill_value_from_variant() 353 if (p->v.str_value == NULL) in libhal_property_fill_value_from_variant() 571 free (p->v.str_value); in libhal_free_property_set() 662 return p->v.str_value; in libhal_ps_get_string() 872 return iter->cur_prop->v.str_value; in libhal_psi_get_string() 1625 const char *str_value, in libhal_device_set_property_helper() argument 1679 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &str_value); in libhal_device_set_property_helper()
|