Lines Matching defs:pgt
12797 list_pg_tmpl(scf_pg_tmpl_t *pgt, scf_propertygroup_t *pg, int templates)
12838 if (pgt == NULL)
12843 if (scf_tmpl_pg_name(pgt, &buf) != -1) {
12852 if (scf_tmpl_pg_type(pgt, &buf) != -1) {
12861 if (templates == 2 && scf_tmpl_pg_required(pgt, &required) == 0)
12865 if (templates == 2 && scf_tmpl_pg_target(pgt, &buf) > 0) {
12871 if (templates == 2 && scf_tmpl_pg_common_name(pgt, NULL, &buf) > 0) {
12877 if (scf_tmpl_pg_description(pgt, NULL, &buf) > 0) {
13328 scf_pg_tmpl_t *pgt;
13338 if ((pgt = scf_tmpl_pg_create(g_hndl)) == NULL ||
13364 while (scf_tmpl_iter_pgs(pgt, fmribuf, snapbuf, NULL, 0) == 1) {
13366 if (pattern == NULL || (scf_tmpl_pg_name(pgt, &pg_name) > 0 &&
13368 list_pg_tmpl(pgt, NULL, templates);
13374 while (scf_tmpl_iter_props(pgt, prt, 0) == 0) {
13404 scf_tmpl_pg_destroy(pgt);
13417 scf_pg_tmpl_t *pgt, *pgtp;
13439 (pgt = scf_tmpl_pg_create(g_hndl)) == NULL)
13486 if (scf_tmpl_get_by_pg(pg, pgt, 0) == -1) {
13491 pgtp = pgt;
13514 tmpls[i] = pgt;
13530 pgt = scf_tmpl_pg_create(g_hndl);
13531 if (pgt == NULL)
13577 if (scf_tmpl_get_by_prop(pgt, prnbuf,
13606 pgt = scf_tmpl_pg_create(g_hndl);
13607 if (pgt == NULL)
13618 scf_tmpl_pg_destroy(pgt);
13626 pgt = (scf_pg_tmpl_t *)tmpls[i];
13628 list_pg_tmpl(pgt, pg, templates);
13631 if (pgt != NULL)
13632 scf_tmpl_pg_destroy(pgt);
13814 scf_pg_tmpl_t *pgt;
13833 (pgt = scf_tmpl_pg_create(g_hndl)) == NULL ||
13926 } else if (scf_tmpl_get_by_pg(pg, pgt,
13928 scf_tmpl_get_by_prop(pgt, propname, prt,
14014 scf_tmpl_pg_destroy(pgt);