Lines Matching defs:pg
73 scf_propertygroup_t *pg;
76 if ((pg = scf_pg_create(h)) == NULL)
79 if (scf_instance_get_pg(inst, SCF_PG_GENERAL_OVR, pg) == 0 &&
80 get_bool_prop(pg, SCF_PROPERTY_ENABLED, &bp) == 0) {
81 scf_pg_destroy(pg);
85 if (scf_instance_get_pg(inst, SCF_PG_GENERAL, pg) == 0 &&
86 get_bool_prop(pg, SCF_PROPERTY_ENABLED, &bp) == 0) {
87 scf_pg_destroy(pg);
91 scf_pg_destroy(pg);
101 read_astring_prop(scf_propertygroup_t *pg, scf_value_t *val,
107 if (scf_pg_get_property(pg, name, prop) == -1) {
145 prop_walk_init(scf_propertygroup_t *pg, const char *name)
154 if (scf_pg_get_property(pg, name, prop) != 0) {
455 scf_propertygroup_t *pg;
467 (pg = scf_pg_create(h)) == NULL ||
476 if (scf_instance_get_pg_composed(inst, NULL, SCF_PG_GENERAL, pg) != 0)
479 r = get_astring_prop(pg, SCF_PROPERTY_RESTARTER, prop, val, value,
520 r = scf_iter_next_pg(iter, pg);
529 if ((grouping = read_astring_prop(pg, val, prop,
533 if ((type = read_astring_prop(pg, val, prop,
547 if ((viter = prop_walk_init(pg, SCF_PROPERTY_ENTITIES)) == NULL)
581 scf_pg_destroy(pg);