Lines Matching defs:templates
12804 * If 'templates' == 2, verbose output is printed in the format expected
12805 * for describe -v, which includes all templates fields. If pg is
12810 list_pg_tmpl(scf_pg_tmpl_t *pgt, scf_propertygroup_t *pg, int templates)
12817 if (templates == 0)
12824 if (templates == 2 && pg != NULL) {
12854 if (pg == NULL || templates == 2) {
12874 if (templates == 2 && scf_tmpl_pg_required(pgt, &required) == 0)
12878 if (templates == 2 && scf_tmpl_pg_target(pgt, &buf) > 0) {
12884 if (templates == 2 && scf_tmpl_pg_common_name(pgt, NULL, &buf) > 0) {
12891 if (templates == 2)
13080 * Verbose output if templates == 2, -v option of svccfg describe
13084 list_prop_tmpl(scf_prop_tmpl_t *prt, scf_property_t *prop, int templates)
13092 if (prt == NULL || templates == 0)
13104 if (prop == NULL || templates == 2) {
13117 if (templates == 2 && scf_tmpl_prop_required(prt, &u_buf) == 0)
13121 if (templates == 2 && scf_tmpl_prop_common_name(prt, NULL, &buf) > 0) {
13127 if (templates == 2 && scf_tmpl_prop_units(prt, NULL, &buf) > 0) {
13138 if (templates == 2 && scf_tmpl_prop_visibility(prt, &u_buf) == 0)
13142 if (templates == 2 && scf_tmpl_prop_cardinality(prt, &min, &max) == 0) {
13155 if (templates == 2 && scf_tmpl_prop_internal_seps(prt, &values) == 0) {
13166 if (templates != 2)
13257 list_entity_tmpl(int templates)
13293 * Do description, manpages, and doc links if templates == 2.
13295 if (templates == 2) {
13339 listtmpl(const char *pattern, int templates)
13381 list_pg_tmpl(pgt, NULL, templates);
13404 list_prop_tmpl(prt, NULL, templates);
13424 listprop(const char *pattern, int only_pgs, int templates)
13470 * matching items, their names, and their templates in objects,
13641 list_pg_tmpl(pgt, pg, templates);
13651 list_prop_tmpl(prt, prop, templates);