/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal_set_property.c | 112 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 D | hal-device.c | 60 char *str_value; member in union:lh_prop_s::__anon636 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);
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | property.c | 42 char *str_value; member in union:_HalProperty::__anon624 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...] |
/illumos-gate/usr/src/cmd/fs.d/hsfs/fstyp/ |
H A D | fstyp.c | 150 char *str_value; local 160 (void) nvpair_value_string(elem, &str_value); 161 if (strcmp(str_value, 168 " format\n", str_value); 176 (void) nvpair_value_string(elem, &str_value); 177 (void) fprintf(fout, "%s: %s\n", name, str_value);
|
/illumos-gate/usr/src/uts/common/contract/ |
H A D | process.c | 232 char *str_value; local 236 str_value = (char *)kparam->ctpm_kbuf; 237 str_value[param->ctpm_size - 1] = '\0'; 300 if (strcmp(CT_PR_SVC_DEFAULT, str_value) == 0) 304 refstr_alloc(str_value); 313 refstr_alloc(str_value);
|
H A D | device.c | 507 char *str_value; local 512 str_value = (char *)kparam->ctpm_kbuf; 513 str_value[param->ctpm_size - 1] = '\0'; 549 if (*str_value != '/' || 550 strncmp(str_value, "/devices/", 552 strstr(str_value, "../devices/") != NULL || 553 strchr(str_value, ':') == NULL) { 559 if (resolve_pathname(str_value, &dip, NULL, &spec_type) != 0) { 572 dtmpl->ctd_minor = i_ddi_strdup(str_value, KM_SLEEP);
|
/illumos-gate/usr/src/lib/hal/libhal/common/ |
H A D | libhal.c | 235 char *str_value; /**< UTF-8 zero-terminated string */ member in union:LibHalProperty_s::__anon2547 352 p->v.str_value = strdup (v); 353 if (p->v.str_value == NULL) 571 free (p->v.str_value); 662 return p->v.str_value; 872 return iter->cur_prop->v.str_value; 1625 const char *str_value, 1679 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &str_value); 1621 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
|