Lines Matching +defs:val +defs:properties

139 	scf_value_t 			*val;
176 if ((val = scf_value_create(h)) == NULL) {
184 for (numvals = 0; (iterret = scf_iter_next_value(iter, val)) == 1;
195 if (scf_value_get_boolean(val,
201 if (scf_value_get_count(val,
207 if (scf_value_get_integer(val,
213 if (scf_value_get_time(val,
221 if ((valsize = scf_value_get_astring(val, NULL, 0)) ==
229 if (scf_value_get_astring(val,
245 if ((valsize = scf_value_get_ustring(val, NULL, 0)) ==
253 if (scf_value_get_ustring(val,
262 if (scf_value_get_opaque(val, NULL, 0) == -1)
265 malloc(val->value_size)) == NULL) {
269 vallist[numvals].pv_opaque.o_size = val->value_size;
270 if (scf_value_get_opaque(val,
297 (void) scf_value_destroy(val);
339 (void) scf_value_destroy(val);
350 * properties from a property group, and adding or overwriting them into
964 scf_value_t *val = NULL;
970 ((val = scf_value_create(h)) == NULL))
977 scf_property_get_value(prop, val) == -1) {
983 if (scf_value_get_astring(val, state, sizeof (state)) <= 0) {
1005 (void) scf_value_destroy(val);
1451 scf_value_t *val = scf_value_create(simple_h->h);
1454 if ((val == NULL) || (prop == NULL)) {
1467 if (scf_property_get_value(prop, val) == -1) {
1474 if (scf_value_get_count(val, ret_count) == -1) {
1482 scf_value_destroy(val);
1972 * properties at the service level. Now we iterate over all the
1973 * properties at the instance level, overwriting any duplicate
1974 * properties, in order to provide service/instance composition.
1995 * it, so we can insert/overwrite its properties.
2026 * properties in thispg.
2192 /* An empty pglist is legal, it just means no properties */
2744 * Reads a vector of properties from the specified fmri/property group.
2760 * Multi-valued properties are stored in the linked list of scf_propvec_mval_t.
2769 * to point at that property's entry in the properties array.
2775 scf_propvec_t *properties, scf_propvec_t **badprop)
2788 for (prop = properties; prop->pv_prop != NULL; prop++) {
2825 for (prop = properties; prop->pv_prop != NULL; prop++) {
2885 scf_clean_propvec(properties);
2907 scf_clean_propvec(properties);
2926 scf_clean_propvec(properties);
3008 * Writes a vector of properties to the specified fmri/property group.
3011 * to point at that property's entry in the properties array.
3020 scf_propvec_t *properties, scf_propvec_t **badprop)
3058 for (prop = properties, i = 0; prop->pv_prop != NULL; prop++, i++) {
3718 scf_value_t *val = NULL;
3739 (val = scf_value_create(h)) == NULL) {
3743 scf_value_destroy(val);
3752 scf_value_destroy(val);
3762 scf_value_destroy(val);
3785 if (scf_decoration_get_value(dec, val) != 0 ||
3786 scf_value_get_astring(val, d, fmri_sz) <= 0) {
3795 scf_value_destroy(val);