Lines Matching refs:prop
296 scf_property_t *prop = NULL;
301 (prop = scf_property_create(h)) == NULL ||
307 scf_pg_get_property(pg, SCF_PROPERTY_ENABLED, prop) < 0 ||
308 scf_property_get_value(prop, val) < 0 ||
320 while (scf_iter_next_property(prop_iter, prop) > 0) {
321 if (scf_property_get_name(prop, pname, sizeof (pname)) == -1 ||
322 scf_property_get_value(prop, val) == -1 ||
332 scf_property_destroy(prop);
587 scf_property_t *prop = NULL;
599 (prop = scf_property_create(ss.h)) == NULL ||
606 scf_pg_get_property(pg, pname, prop) != 0 ||
607 scf_property_get_value(prop, val) != 0) {
619 scf_property_destroy(prop);
636 scf_property_t *prop = NULL;
652 (prop = scf_property_create(ss.h)) == NULL ||
663 if (scf_pg_get_property(pg, pname, prop) != 0) {
708 scf_property_destroy(prop);
807 scf_simple_prop_t *prop;
811 prop = scf_simple_prop_get(h, svc, SCF_PG_RESTARTER,
813 if (prop != NULL) {
814 state = scf_simple_prop_next_astring(prop);
819 scf_simple_prop_free(prop);
832 scf_simple_prop_t *prop;
836 prop = scf_simple_prop_get(h, svc, SCF_PG_GENERAL,
838 if (prop != NULL && scf_simple_prop_numvalues(prop) == 1) {
839 vbool = scf_simple_prop_next_boolean(prop);
843 scf_simple_prop_free(prop);