Searched refs:str_value (Results 1 – 7 of 7) sorted by relevance
/titanic_50/usr/src/cmd/hal/tools/ |
H A D | hal_set_property.c | 112 char *str_value = NULL; in main() local 164 str_value = strdup (optarg); in main() 186 str_value = strdup (optarg); in main() 189 str_value = strdup (optarg); in main() 192 str_value = strdup (optarg); in main() 269 rc = libhal_device_set_property_string (hal_ctx, udi, key, str_value, &error); in main() 284 rc = libhal_device_property_strlist_prepend (hal_ctx, udi, key, str_value, &error); in main() 287 rc = libhal_device_property_strlist_append (hal_ctx, udi, key, str_value, &error); in main() 290 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() 604 if (!strcmp(p->key, "info.udi")) udi3 = p->v.str_value; in add_properties() 605 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()
|
/titanic_50/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 …]
|
/titanic_50/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()
|
/titanic_50/usr/src/uts/common/contract/ |
H A D | device.c | 507 char *str_value; in ctmpl_device_set() local 512 str_value = (char *)kparam->ctpm_kbuf; in ctmpl_device_set() 513 str_value[param->ctpm_size - 1] = '\0'; in ctmpl_device_set() 549 if (*str_value != '/' || in ctmpl_device_set() 550 strncmp(str_value, "/devices/", in ctmpl_device_set() 552 strstr(str_value, "../devices/") != NULL || in ctmpl_device_set() 553 strchr(str_value, ':') == NULL) { in ctmpl_device_set() 559 if (resolve_pathname(str_value, &dip, NULL, &spec_type) != 0) { in ctmpl_device_set() 572 dtmpl->ctd_minor = i_ddi_strdup(str_value, KM_SLEEP); in ctmpl_device_set()
|
H A D | process.c | 232 char *str_value; in ctmpl_process_set() local 236 str_value = (char *)kparam->ctpm_kbuf; in ctmpl_process_set() 237 str_value[param->ctpm_size - 1] = '\0'; in ctmpl_process_set() 300 if (strcmp(CT_PR_SVC_DEFAULT, str_value) == 0) in ctmpl_process_set() 304 refstr_alloc(str_value); in ctmpl_process_set() 313 refstr_alloc(str_value); in ctmpl_process_set()
|
/titanic_50/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()
|