Lines Matching refs:valuestr
250 char *valuestr; in sa_extract_pgroup() local
273 valuestr = malloc(vallen); in sa_extract_pgroup()
279 valuestr == NULL || name == NULL) { in sa_extract_pgroup()
295 if (scf_value_get_astring(value, valuestr, in sa_extract_pgroup()
298 saprop = sa_create_property(name, valuestr); in sa_extract_pgroup()
321 if (valuestr != NULL) in sa_extract_pgroup()
322 free(valuestr); in sa_extract_pgroup()
342 char *valuestr; in sa_extract_attrs() local
348 valuestr = malloc(vallen); in sa_extract_attrs()
349 if (prop == NULL || value == NULL || valuestr == NULL || in sa_extract_attrs()
360 if (scf_value_get_astring(value, valuestr, in sa_extract_attrs()
363 (xmlChar *)valuestr); in sa_extract_attrs()
370 if (scf_value_get_astring(value, valuestr, in sa_extract_attrs()
373 (xmlChar *)valuestr); in sa_extract_attrs()
378 if (valuestr != NULL) in sa_extract_attrs()
379 free(valuestr); in sa_extract_attrs()
420 _sa_make_resource(xmlNodePtr node, char *valuestr) in _sa_make_resource() argument
426 idx = valuestr; in _sa_make_resource()
427 name = strchr(valuestr, ':'); in _sa_make_resource()
431 name = valuestr; in _sa_make_resource()
474 char *valuestr; in sa_share_from_pgroup() local
501 valuestr = malloc(vallen); in sa_share_from_pgroup()
532 if (scf_value_get_astring(value, valuestr, in sa_share_from_pgroup()
556 (xmlChar *)valuestr); in sa_share_from_pgroup()
578 valuestr, vallen) >= 0) { in sa_share_from_pgroup()
581 valuestr); in sa_share_from_pgroup()
583 valuestr, vallen) >= 0) { in sa_share_from_pgroup()
586 valuestr); in sa_share_from_pgroup()
599 (xmlChar *)valuestr); in sa_share_from_pgroup()
617 if (valuestr != NULL) in sa_share_from_pgroup()
618 free(valuestr); in sa_share_from_pgroup()
710 char *valuestr = NULL; in sa_share_props_from_pgroup() local
816 valuestr = malloc(vallen); in sa_share_props_from_pgroup()
829 valuestr, vallen) >= 0) { in sa_share_props_from_pgroup()
838 prop = sa_create_property(name, valuestr); in sa_share_props_from_pgroup()
858 if (valuestr != NULL) in sa_share_props_from_pgroup()
859 free(valuestr); in sa_share_props_from_pgroup()
1062 char *valuestr; in sa_extract_defaults() local
1068 valuestr = malloc(vallen); in sa_extract_defaults()
1079 if (scf_value_get_astring(value, valuestr, vallen) > 0) { in sa_extract_defaults()
1084 (xmlChar *)valuestr); in sa_extract_defaults()
1091 if (valuestr != NULL) in sa_extract_defaults()
1092 free(valuestr); in sa_extract_defaults()